A microservice adjustment method, device, server and computer storage medium
An adjustment method and micro-service technology, applied in transmission systems, electrical components, etc., can solve the problems of stable operation of the processing center, high business pressure, unstable services, etc., to improve business stability, reduce load, and develop flexible solutions. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0092] An embodiment of the present invention provides a communication method, the method is applied to a sub-server, Figure 4 A schematic diagram of a microservice adjustment method provided by an embodiment of the present invention, as shown in Figure 4 As shown, the method mainly includes the following steps:
[0093] Step 401, receiving a service request sent by the main server; wherein, the service request includes a parameter indicating the type of the service request;
[0094] Step 402, calling the microservice corresponding to the service request according to the service request;
[0095] Step 403, obtaining the first attribute and the second attribute of the called microservice;
[0096] Step 404, determine whether the called microservice is normal according to the first attribute and the second attribute;
[0097] Step 405, corresponding to determining that the called microservice is abnormal, generate a microservice extension instruction; wherein, the microserv...
Embodiment 2
[0130] An embodiment of the present invention provides a communication method, the method is applied to the main server, Figure 5 A schematic diagram of a microservice adjustment method provided by an embodiment of the present invention, as shown in Figure 5 As shown, the method mainly includes the following steps:
[0131] Step 501. Receive a service request; wherein, the service request includes parameters indicating the type of service request;
[0132] Step 502. Determine the type of the service request according to the service request;
[0133]Step 503. According to the type of the service request, forward the service request to a sub-server having a microservice corresponding to the type of the service request;
[0134] Step 504, receiving the microservice extension instruction sent by the sub-server; wherein, the microservice extension instruction includes the number of microservices to be extended and the type of microservice to be extended;
[0135] Step 505, acc...
Embodiment 3
[0149] An embodiment of the present invention provides a microservice adjustment method, Figure 7A A schematic diagram of a microservice adjustment method provided by an embodiment of the present invention, as shown in Figure 7A As shown, the method mainly includes the following steps:
[0150] Step 701, the main server acquires a service request; wherein, the service request includes a parameter for indicating the type of the service request.
[0151] It should be noted that the service request is a request sent by a user through a PC or a mobile phone APP, wherein the service request includes a parameter for indicating a service request type. For example, when a user needs to log in via SMS, he can click the login button on the PC or mobile APP and send a random SMS code, then the user sends a SMS login service request through the PC or mobile APP, and the background server of the PC or mobile APP sends the SMS The login service request is encapsulated and sent to the ma...
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