Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Microservice invocation method, device, server, and storage medium

A technology of microservices and invocation requests, applied in program control devices, instruments, program control design, etc., can solve the problems of offline service, slow network connection, busy resources, etc.

Inactive Publication Date: 2018-12-28
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Creating a virtual machine requires computing services, network services, storage services, logging services, etc. Under high concurrent access, the stability of these dependencies has a great impact on the system, but there are many uncontrollable problems in dependencies: such as Slow network connection, busy resource, temporarily unavailable, service offline, etc.
[0005] In the existing microservice calling method, there is no isolation measure for highly concurrent microservice calling, and the current microservice is at risk of being dragged down

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
  • Microservice invocation method, device, server, and storage medium
  • Microservice invocation method, device, server, and storage medium
  • Microservice invocation method, device, server, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] figure 1 It is a schematic flowchart of the microservice invocation method provided by Embodiment 1 of the present invention. The method can be executed by a microservice invocation device or server. The device or server can be implemented by software and / or hardware. The device or server can be integrated In any smart device with network communication function. Such as figure 1As shown, the microservice invocation method may include the following steps:

[0047] Step 101: Receive the invocation request corresponding to the current microservice sent by the current consumer through the interceptor; wherein, the invocation request carries the service level of the current microservice.

[0048] In a specific embodiment of the present invention, the server may receive the invocation request corresponding to the current microservice sent by the current consumer through the interceptor; wherein, the invocation request carries the service level of the current microservice. ...

Embodiment 2

[0056] figure 2 It is a schematic flowchart of the method for invoking a microservice provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the microservice invocation method may include the following steps:

[0057] Step 201: Receive the invocation request corresponding to the current microservice sent by the current consumer through the interceptor; wherein, the invocation request carries the service level of the current microservice.

[0058] In a specific embodiment of the present invention, the server may receive the invocation request corresponding to the current microservice sent by the current consumer through the interceptor; wherein, the invocation request carries the service level of the current microservice. Specifically, all invocation requests sent by each consumer end to the server will pass through the interceptor, and the interceptor will process each invocation request accordingly after receiving the invocation request sent by each...

Embodiment 3

[0069] image 3 It is a schematic flowchart of the method for invoking a microservice provided by Embodiment 3 of the present invention. Such as image 3 As shown, the microservice invocation method may include the following steps:

[0070] Step 301: Receive the invocation request corresponding to the current microservice sent by the current consumer through the interceptor; wherein, the invocation request carries the service level of the current microservice.

[0071] In a specific embodiment of the present invention, the server may receive the invocation request corresponding to the current microservice sent by the current consumer through the interceptor; wherein, the invocation request carries the service level of the current microservice. Specifically, all invocation requests sent by each consumer end to the server will pass through the interceptor, and the interceptor will process each invocation request accordingly after receiving the invocation request sent by each c...

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 invention discloses a micro-service invoking method, a device, a server and a storage medium. The method comprises the following steps: receiving a invoking request corresponding to the current micro-service sent by a current consumer end through an interceptor; wherein the invocation request carries the service level of the current micro service; acquiring thread pool resources correspondingto the current micro-service in a thread pool where the current micro-service is located in response to a call request corresponding to the current micro-service; a thread pool resource correspondingto the current micro-service is used to invoke the current micro-service within a preset invocation time. It can not only improve the efficiency of micro-service invocation, but also ensure the stability of micro-service invocation.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a microservice calling method, device, server and storage medium. Background technique [0002] With the development of information technology, cloud computing has gradually become a hot spot in the industry, and cloud computing service platforms of major manufacturers at home and abroad have also begun to invest in science, education, culture, health, government, high-performance computing, e-commerce, and the Internet of Things. and other fields for use. [0003] The Yunhai OS system provides tenants with virtual computing and storage network services. In the cloud operating system, a microservice architecture can be used to implement distributed deployment. There are multiple consumers in the entire system, and the consumers can call the microservices provided by the server. With the increase of system functions, the interaction between the consumer and the server be...

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 Applications(China)
IPC IPC(8): H04L29/08G06F9/455
CPCH04L67/1004G06F9/45558H04L67/51H04L67/63
Inventor 郭涛
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products