Micro-service processing method and micro-service processing equipment
A processing method and micro-service technology, applied in the field of micro-service processing methods and equipment, can solve the problems of different fault scenarios, large-scale micro-service host clusters, large upgrades and monitoring, etc., and achieve the effect of low hardware and operation and maintenance costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] The embodiment of the present application provides a microservice processing method, which is executed by a server that provides microservices. For the specific process of the microservice processing method, refer to Figure 5 shown, including:
[0072] In step 501, the terminal sends a message to call the microservice to the server.
[0073] Wherein, the message includes the service identifier of the target microservice requested to be invoked and the operation type identifier corresponding to the operation type of the target microservice. For example, a game center application is installed on the mobile phone side, and when the mobile phone detects that the user acts on the download and purchase control of the dazzling dance mobile game (a fee-paying application) in the game center application, an order is generated (the order is to download and purchase the Xuanwu mobile game). Dance Mobile Game) message, the service ID of the target microservice in the message is t...
Embodiment 2
[0105] The embodiment of the present application also provides a microservice scheduling method, which is executed by a terminal consuming the microservice. For the specific process of the microservice processing method, refer to Figure 6 shown, including:
[0106] Step 601, the terminal determines the target thread pool corresponding to the service ID and interface ID of the target microservice.
[0107] Step 602, the terminal sends a request for invoking the microservice to the server providing the microservice through the target thread pool.
[0108]Wherein, the request includes the service ID and the interface ID of the target microservice that is requested to be invoked.
[0109] Such as Figure 7 As shown, before executing step 601, the terminal may first execute step 701, subscribe to the registration information in the registry server, and then execute step 702, query the thread pool configuration parameters corresponding to the service ID and interface ID of the mi...
Embodiment 3
[0116] The embodiment of the present application also provides a microservice processing method, which is executed by the registration center server. For the specific process of the microservice processing method, refer to Figure 9 shown, including:
[0117] Step 801, the registration center server receives registration information from the server.
[0118] Wherein, the registration information includes thread pool configuration parameters corresponding to the service identifier and interface identifier of the microservice, address information of the microservice, and the like.
[0119] Step 802, the registration center server saves the registration information.
[0120] For example, the registration center server persists the registration information in a storage system (such as disk, DB, etc.), such as saving it in a thread pool configuration parameter cache table.
[0121] Wherein, after the server starts successfully, it automatically synchronizes the thread pool config...
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