Unlock instant, AI-driven research and patent intelligence for your innovation.

Service calling method and device

A technology of service call and call request, which is applied in the computer field, can solve the problems of difficulty in uniform sampling, microservice client and server development and deployment, and reduce the effect of development

Active Publication Date: 2020-03-03
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide a service invocation method and device to solve the difficulties in the development and deployment of the microservice client and server in traditional solutions, and the difficulty of uniform sampling by different service providers technical issues

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service calling method and device
  • Service calling method and device
  • Service calling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Before introducing the technical solution of the present invention in detail, first introduce the microservice architecture:

[0058] Microservice refers to the development of multiple independent small services with complete business functions. Each service has its own processing and communication mechanism and can be deployed on a single or multiple servers. The idea and concept of microservice architecture are as follows: decouple the system into smaller units; each unit has its own responsibilities; each unit is exposed through the application programming interface (Application Programming Interface, API), and the outside world does not need to care about it The specific implementation of the system; all units are independent, and can be independently developed, deployed, expanded and monitored; each unit can interact through the Remote Procedure Call Protocol (Remote Procedure Call Protocol, RPC).

[0059] In the micro-service architecture, the client and the serve...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a service calling method and device. The service gateway receives the service calling request and sends the service calling request to the corresponding service provider; and, the service gateway returns the response result returned by the service provider to the service calling terminal. . Wherein, the service invocation request includes an invocation identifier that uniquely identifies the current invocation link, and the invocation identifier is passed between service providers in the entire invocation link. Each service invocation request and invocation result needs to be forwarded by the service gateway, so the service gateway can obtain invocation information corresponding to all service invocations. Therefore, the service invocation link corresponding to the invocation identifier is searched from the invocation information. This method only needs to set buried points on the service gateway for sampling, and does not need to set buried points on both the client and server. Therefore, the development and deployment costs of the service client and server are greatly reduced.

Description

technical field [0001] The invention belongs to the field of computers, and in particular relates to a service calling method and device. Background technique [0002] At present, the systems of Internet companies are usually composed of a large number of subsystems that provide different functions and adopt a microservice architecture. Microservice refers to the development of multiple independent small services with complete business functions. Each service has its own processing and communication mechanism and can be deployed on a single or multiple servers. [0003] There are a large number of microservices in the microservice architecture, and there are complex call relationships between microservices. Therefore, it is difficult for developers to figure out the call relationships between the various microservices contained in the entire system. Moreover, when the entire call chain When a performance bottleneck occurs, it can be difficult to locate the problematic servi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/66H04L29/08
CPCH04L12/66H04L67/146H04L67/60
Inventor 梁云龙
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD