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

Fusing method suitable for micro server and external system

An external system and micro-server technology, applied in the field of cloud computing, can solve the problems of micro-service architecture blocking, failure to realize micro-server and external system fusing, etc., and achieve the effect of improving high availability

Pending Publication Date: 2019-12-17
广州易起行信息技术有限公司 +1
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current micro-server-based fusing method is aimed at the service fusing between micro-servers. When the micro-server calls the external system, when an abnormal situation occurs in the external system, this method cannot realize the fusing between the micro-server and the external system. There are still blocking problems in the microservice architecture

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
  • Fusing method suitable for micro server and external system
  • Fusing method suitable for micro server and external system
  • Fusing method suitable for micro server and external system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0053] See figure 1 , is a schematic flowchart of the first embodiment of the method for fusing between the micro server and the external system provided by the present invention. like figure 1 , the construction method includes step 101 to step 104, each step is as follows:

[0054] Step 101: Get the current external system status.

[0055] Step 102: According to the state of the external system, it is judged whether the mode in which the microserver calls the external system is in the normal mode.

[0056] In this embodiment, the external system has a normal state and an abnormal state. If the external system is in a normal state, the mode of the microserver calling the external system is the normal mode; if the external system is in an abnormal state, the microserver calls the mode of the external system The mode is protected mode. Among them, the normal mode means that the micro-server can normally call the API interface of the external system; the protection mode mean...

no. 2 example

[0072] See figure 2 , is a schematic flowchart of the second embodiment of the method for fusing between the micro server and the external system provided by the present invention. On the basis of the first embodiment of the present invention, a method for detecting the state of the lightweight interface of the external system is added, and the specific steps are:

[0073] Step 205: Detect the lightweight interface status of the external system after a preset heartbeat time;

[0074] Step 206: If the status of the lightweight interface of the external system is displayed as a normal status, then the mode of calling the external system by the micro-server is switched to the normal mode, and the counter is cleared at the same time.

[0075] Step 207: If the status of the lightweight interface of the external system is displayed as an abnormal state, the mode in which the microserver calls the external system is still in the protected mode.

[0076] It can be seen from the abo...

no. 3 example

[0089] See image 3 , is a structural diagram of a third embodiment of a fuse device suitable for use between a microserver and an external system provided by the present invention. Such as image 3 As shown, the device includes:

[0090] An acquisition module 301, configured to acquire the current external system state;

[0091] The judging module 302 is used for judging whether the mode of calling the external system by the micro-server is in the normal mode according to the state of the external system.

[0092] In this embodiment, the external system has a normal state and an abnormal state. If the external system is in a normal state, the mode of the microserver calling the external system is the normal mode; if the external system is in an abnormal state, the microserver calls the mode of the external system The mode is protected mode. Among them, the normal mode means that the micro-server can normally call the API interface of the external system; the protection mo...

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 fusing method suitable for a micro server and an external system, and the method comprises the steps: firstly obtaining the state of the current external system, and judgingwhether the mode of calling the external system by the micro server is in a normal mode or not according to the state of the external system; when the mode of calling the external system by the microserver is in a normal mode, recording the overtime times that the interface response duration exceeds a preset duration threshold value within a preset time; and when the overtime frequency is greaterthan a preset frequency threshold, switching the mode of calling the external system by the micro-server from the normal mode to the protection mode, and outputting a notification signal to the micro-server at the same time. By adopting the technical scheme of the invention, the call chain blockage caused by the exception of the external system can be prevented, so that the service system crash caused by the call chain blockage is effectively avoided.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a fusing method suitable for micro-servers and external systems. Background technique [0002] The microservice architecture has high availability and will not interrupt the business at most of the time; at the same time, the microservice architecture also has the advantage of strong communication performance, which can ensure that the communication will not be reduced in the process of business switching from the monolithic architecture to the microservice architecture. performance. Therefore, more and more traditional enterprises begin to adopt the microservice architecture for the development of distributed applications. [0003] At present, there are usually two ways to realize the information interaction of the microservice architecture, one is the remote adjustment method between the microservers, and the other is the way the microserver calls the API interface of ...

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
IPC IPC(8): G06F13/10G06F11/30
CPCG06F13/102G06F11/3055G06F11/3034
Inventor 王星杰洪晓吴怡德朱少东赵文志王偕旭李乐天谢富成刘骏杰陈光站
Owner 广州易起行信息技术有限公司
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