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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com