Microservice call method and apparatus, device, and medium

US12200082B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12200082-B2
Application numberUS-202217941878-A
CountryUS
Kind codeB2
Filing dateSep 9, 2022
Priority dateMar 12, 2020
Publication dateJan 14, 2025
Grant dateJan 14, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A microservice call method is provided. The method includes: a network interface card receives service call requests separately generated by a plurality of first services deployed on a first device, where each of the plurality of first services is corresponding to one second service, and the second service is used to process first data of a service call request generated by the first service corresponding to the second service; and the network interface card sends the service call request to the second service based on service governance logic related to the first data. In this way, a problem that contention of a plurality of proxies for a system resource causes process context switching and further causes a sharp increase in a service delay is resolved, and application performance is improved.

First claim

Opening claim text (preview).

What is claimed is: 1. A microservice call method, comprising: receiving, by a network interface card, service call requests separately generated by a plurality of first services deployed on a first device, wherein each of the plurality of first services corresponds to one second service, and the second service is used to process first data of a service call request generated by the first service corresponding to the second service; and sending, by the network interface card, the service call request to the second service based on service governance logic related to the first data. 2. The method according to claim 1 , wherein the sending, by the network interface card, the service call request to the second service based on service governance logic related to the first data comprises: determining, by the network interface card based on the service governance logic related to the first data, an address of a second device providing the second service; and sending, by the network interface card, the service call request to the second service based on the address of the second device. 3. The method according to claim 1 , further comprising: sending, by the network interface card, a traffic check request to a governance center, wherein the traffic check request is used to perform traffic check for N service call requests and N is a positive integer; receiving, by the network interface card, a traffic check result sent by the governance center; and sending, by the network interface card, the service call request to the second service in response to the traffic check result indicating that the traffic check succeeds. 4. The method according to claim 1 , further comprising: receiving, by the network interface card, a service call response sent by the second service, wherein the service call response comprises second data obtained by processing the first data by the second service; generating, by the network interface card, a service call log based on at least one of the service call request and the service call response; and sending, by the network interface card, the service call log to a data collection center in batches. 5. The method according to claim 1 , further comprising: subscribing, by the network interface card, to a change message for a service provider list to determine, from a changed service provider list, the address of the second device providing the second service. 6. The method according to claim 1 , further comprising: subscribing, by the network interface card, to a change message for a service governance rule; and running, by the network interface card, the service governance logic for the first data according to a changed service governance rule. 7. The method according to claim 1 , wherein the network interface card is a smart network interface card. 8. A microservice call method, comprising: receiving, by a network interface card, service call requests sent by a plurality of first services, wherein each of the plurality of first services corresponds to one second service, and the second service is used to process first data of a service call request generated by the first service corresponding to the second service; sending, by the network interface card, the service call request to the second service; receiving, by the network interface card, a service call response sent by the second service, wherein the service call response comprises second data obtained by processing the first data by the second service; and sending, by the network interface card, the service call response to the first service corresponding to the second service. 9. The method according to claim 8 , further comprising: generating, by the network interface card, a service call log based on at least one of the service call request and the service call response; and sending, by the network interface card, the service call log to a data collection center in batches. 10. The method according to claim 8 , wherein the network interface card is a smart network interface card. 11. A network interface card, wherein the network interface card comprises a processor and a memory, wherein the processor is configured to execute instructions stored in the memory to enable the network interface card to: receive service call requests separately generated by a plurality of first services deployed on a first device, wherein each of the plurality of first services corresponds to one second service, and the second service is used to process first data of a service call request generated by the first service corresponding to the second service; and send the service call request to the second service based on service governance logic related to the first data. 12. The network interface card according to claim 11 , wherein the processor is further configured to execute instructions stored in the memory to enable the network interface card to: determine, based on the service governance logic related to the first data, an address of a second device providing the second service; and send the service call request to the second service based on the address of the second device. 13. The network interface card according to claim 11 , wherein the processor is further configured to execute instructions stored in the memory to enable the network interface card to: send a traffic check request to a governance center, wherein the traffic check request is used to perform traffic check for N service call requests, and N is a positive integer; receive a traffic check result sent by the governance center; and send the service call request to the second service in response to the traffic check result indicating that the traffic check succeeds. 14. The network interface card according to claim 11 , the processor is further configured to execute instructions stored in the memory to enable the network interface card to: receive a service call response sent by the second service, wherein the service call response comprises second data obtained by processing the first data by the second service; generate a service call log based on at least one of the service call request and the service call response; and send the service call log to a data collection center in batches. 15. The network interface card according to claim 11 , wherein the processor is further configured to execute instructions stored in the memory to enable the network interface card to: subscribe to a change message for a service provider list to determine, from a changed service provider list, the address of the second device providing the second service. 16. The network interface card according to claim 11 , the processor is further configured to execute instructions stored in the memory to enable the network interface card to: subscribe to a change message for a service governance rule; and run the service governance logic for the first data according to a changed service governance rule. 17. A network interface card, wherein the network interface card comprises a processor and a memory, and wherein the processor is configured to execute instructions stored in the memory to enable the network interface card to: receive service call requests sent by a plurality of first services, wherein each of the plurality of first services corresponds to one second service, and the second service is used to process first data of a service call request generated by the first service corresponding to the second service; send the service call request to the second service; receive a service call response sent by the second service,

Assignees

Inventors

Classifications

  • H04L67/60Primary

    Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70) · CPC title

  • Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70) · CPC title

  • H04L67/51Primary

    Discovery or management thereof, e.g. service location protocol [SLP] or web services · CPC title

  • Grouping or aggregating service requests, e.g. for unified processing · CPC title

  • Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12200082B2 cover?
A microservice call method is provided. The method includes: a network interface card receives service call requests separately generated by a plurality of first services deployed on a first device, where each of the plurality of first services is corresponding to one second service, and the second service is used to process first data of a service call request generated by the first service co…
Who is the assignee on this patent?
Huawei Cloud Computing Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L67/60. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 14 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).