CN112799803B - Micro-service architecture operation maintenance method, device, equipment and readable storage medium - Google Patents
Micro-service architecture operation maintenance method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN112799803B CN112799803B CN202110051581.1A CN202110051581A CN112799803B CN 112799803 B CN112799803 B CN 112799803B CN 202110051581 A CN202110051581 A CN 202110051581A CN 112799803 B CN112799803 B CN 112799803B
- Authority
- CN
- China
- Prior art keywords
- target
- micro
- service
- maintained
- receiving thread
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012423 maintenance Methods 0.000 title claims abstract description 146
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000015556 catabolic process Effects 0.000 claims abstract description 10
- 238000006731 degradation reaction Methods 0.000 claims abstract description 10
- 230000004044 response Effects 0.000 claims description 74
- 230000002159 abnormal effect Effects 0.000 claims description 15
- 238000012216 screening Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 10
- 238000007670 refining Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a micro-service architecture operation maintenance method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: when a micro-service maintenance instruction is received, a target service gateway is created through a gateway component in the micro-service architecture, and a target receiving thread pool is created through a degradation component in the micro-service architecture; establishing an association relation between a target service gateway and a micro service to be maintained, and an association relation between a target receiving thread pool and the micro service to be maintained; intercepting a target request sent by a target micro service to a micro service to be maintained through a target service gateway, and acquiring the operation type of the target request; if the operation type of the target request is a writing operation, storing a target receiving thread corresponding to the target request into a target receiving thread pool; when the maintenance of the micro-service to be maintained is detected to be completed, the target receiving thread pool is responded to complete the maintenance of the micro-service to be maintained.
Description
Technical Field
The present invention relates to the field of micro-service architecture, and in particular, to a method, an apparatus, a device, and a readable storage medium for operating and maintaining a micro-service architecture.
Background
The micro-service architecture is a new technology for deploying applications and services, solves the technical problem that the original single application architecture cannot meet the requirements of the current internet products, but the micro-service architecture also has the self-problems, when a certain micro-service in the micro-service architecture is in a maintenance state, other micro-services and data requests between the micro-services become problems, and the existing solution is that when the certain micro-service in the micro-service architecture is in the maintenance state, the other micro-services in the same micro-service architecture are also in the maintenance state, which obviously is unfavorable for the operation of the micro-service architecture, so that when the certain micro-service in the micro-service architecture is in the maintenance state, how to ensure the normal operation of the micro-service architecture becomes the technical problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a micro-service architecture operation maintenance method, a device, equipment and a readable storage medium, which aim to solve the technical problem of how to ensure the normal operation of a micro-service architecture when a certain micro-service in the micro-service architecture is in a maintenance state.
In addition, in order to achieve the above object, the present invention also provides a micro service architecture operation maintenance method, which includes the following steps:
when a micro service maintenance instruction is received, a target service gateway is created through a gateway component in the micro service architecture, and a target receiving thread pool is created through a degradation component in the micro service architecture;
establishing an association relationship between the target service gateway and the micro-service to be maintained, and establishing an association relationship between the target receiving thread pool and the micro-service to be maintained;
intercepting a target request sent by the target micro service to the micro service to be maintained through the target service gateway, and acquiring an operation type of the target request;
if the operation type of the target request is a writing operation, storing a target receiving thread corresponding to the target request into the target receiving thread pool;
and when the maintenance of the micro-service to be maintained is detected to be completed, responding to the target receiving thread pool to complete the maintenance of the micro-service to be maintained.
Optionally, after the step of intercepting, by the target service gateway, the target request sent by the target micro service to the micro service to be maintained and obtaining the operation type of the target request, the method includes:
If the operation type of the target request is a read operation, acquiring a preset response time corresponding to the target request, and acquiring the maintenance time of the micro-service to be maintained;
if the preset response time is longer than the maintenance time, storing a target receiving thread corresponding to the target request into a target receiving thread pool associated with the micro-service to be maintained;
in the preset response time after the target request is sent, if the maintenance of the micro-service to be maintained is not detected to be completed, removing the target receiving thread from the target receiving thread pool, and sending response exception prompt information to the target micro-service;
the step of responding to the target receiving thread pool to complete the maintenance of the micro-service to be maintained when the completion of the maintenance of the micro-service to be maintained is detected comprises the following steps:
and in the preset response time after the target request is sent, if the completion of the maintenance of the micro-service to be maintained is detected, responding to the target receiving thread pool to complete the maintenance of the micro-service to be maintained.
Optionally, if the operation type of the target request is a write operation, the step of storing the target receiving thread corresponding to the target request in the target receiving thread pool includes:
If the operation type of the target request is a writing operation, judging whether the target receiving thread pool is full;
if the target receiving thread pool is full, removing a first receiving thread from the target receiving thread pool, wherein the first receiving thread is the thread with the longest storage time in the target receiving thread pool;
storing the first receiving thread removed from the target receiving thread pool in a target database corresponding to the micro-service architecture, and sending writing exception prompt information to the target micro-service;
and if the target receiving thread pool is not full, storing the target receiving thread corresponding to the target request into the target receiving thread pool.
Optionally, the step of responding to the target receiving thread pool to complete the maintenance of the micro service to be maintained when the completion of the maintenance of the micro service to be maintained is detected includes:
when the micro-service to be maintained is detected to be maintained, screening out a second receiving thread and a third receiving thread in the target receiving thread pool and the target database, wherein the operation type of a request corresponding to the second receiving thread is the reading operation, and the operation type of a request corresponding to the third receiving thread is the writing operation;
Acquiring read data corresponding to the second receiving thread and write data corresponding to the third receiving thread;
transmitting the read data to the target micro-service and receiving the write data;
and removing the second receiving thread and the third receiving thread from the target receiving thread pool so that the target micro service removes the sending thread corresponding to the second receiving thread and the sending thread corresponding to the third receiving thread, and the maintenance of the micro service to be maintained is completed.
Further, in order to achieve the above object, the present invention also provides a micro service architecture operation and maintenance method, the micro service architecture operation and maintenance method is applied to a micro service architecture, the micro service architecture includes a target micro service and a micro service to be maintained, the micro service architecture operation and maintenance method is applied to the target micro service, the micro service architecture operation and maintenance method includes the following steps:
when a request sending instruction is received, a target request corresponding to the request sending instruction is obtained, and the target request is sent to a target service gateway associated with the micro service to be maintained;
storing a target sending thread corresponding to the target request into a first sending thread pool associated with the target micro-service;
And when receiving response exception prompt information sent by the micro-service to be maintained based on the target sending thread, removing the target sending thread from the first sending thread pool so as to complete the target request.
Optionally, when receiving the response exception prompt information sent by the micro-service to be maintained based on the target sending thread, the step of removing the target sending thread from the first sending thread pool to complete the target request includes:
when response abnormal prompt information sent by the micro-service to be maintained is received, a target receiving thread corresponding to the response abnormal prompt information is obtained;
and if the target sending thread is matched with the target receiving thread, removing the target sending thread from the first sending thread pool so as to complete the target request.
Optionally, after the step of obtaining the target receiving thread corresponding to the response exception prompt information when receiving the response exception prompt information sent by the micro service to be maintained, the method includes:
acquiring a first thread number associated with the target sending thread and a second thread number associated with the target receiving thread;
And if the first thread number is the same as the second thread number, determining that the target sending thread is matched with the target receiving thread.
In addition, to achieve the above object, the present invention also provides a micro service architecture operation maintenance device, including:
the component calling module is used for creating a target service gateway through a gateway component in the micro-service architecture and creating a target receiving thread pool through a degradation component in the micro-service architecture when a micro-service maintenance instruction is received;
the incidence relation establishing module is used for establishing an incidence relation between the target service gateway and the micro-service to be maintained, and the incidence relation between the target receiving thread pool and the micro-service to be maintained;
the target request interception module is used for intercepting a target request sent by the target micro service to the micro service to be maintained through the target service gateway and acquiring the operation type of the target request;
the target receiving thread storage module is used for storing the target receiving thread corresponding to the target request into the target receiving thread pool if the operation type of the target request is a writing operation;
And the response module is used for responding to the target receiving thread pool when the completion of the maintenance of the micro-service to be maintained is detected, so as to complete the maintenance of the micro-service to be maintained.
In addition, to achieve the above object, the present invention also provides a micro service architecture operation and maintenance apparatus, including: the micro-service architecture operation maintenance program is executed by the processor and realizes the steps of the micro-service architecture operation maintenance method.
In addition, in order to achieve the above object, the present invention further provides a readable storage medium, on which a micro service architecture operation maintenance program is stored, which when executed by a processor, implements the steps of the micro service architecture operation maintenance method described above.
Compared with the prior art that when one micro service needs to be maintained, other related micro services cannot normally operate and therefore need to be maintained together, in the embodiment of the invention, when the micro service to be maintained receives a micro service maintenance instruction, a target service gateway is created through a gateway component in the micro service architecture, a target receiving thread pool is created through a degradation component in the micro service architecture, the association relation between the target service gateway and the micro service to be maintained is established, the association relation between the target receiving thread pool and the micro service to be maintained is intercepted through the target service gateway, a target request sent by the target micro service to the micro service to be maintained is intercepted, the operation type of the target request is acquired, and if the operation type of the target request is a write operation type, a target receiving thread corresponding to the target request is stored in the target receiving thread pool, and when the completion of the micro service to be maintained is detected, the target receiving thread pool is responded to the micro service to be maintained, so that the micro service is completed. The method has the advantages that the target gateway and the target thread pool are established, so that the micro-service to be maintained can normally receive and cache requests from other micro-services during maintenance, the requests are stored in the thread pool, the requests in the thread pool are responded after the micro-service to be maintained is completed, other related micro-services do not need to be maintained together during the maintenance of the micro-service to be maintained, and the normal operation of other micro-services is ensured.
Drawings
Fig. 1 is a schematic hardware structure of an implementation manner of a micro service architecture operation maintenance device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for operating and maintaining a micro-service architecture according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a micro-service architecture operation and maintenance method according to the present invention;
FIG. 4 is a schematic diagram of functional modules of an embodiment of a micro-service architecture operation and maintenance device according to the present invention;
fig. 5 is a schematic functional block diagram of a micro-service architecture operation maintenance device according to another embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The micro-service architecture operation maintenance terminal (also called terminal, equipment or terminal equipment) of the embodiment of the invention can be a PC (personal computer) or a mobile terminal equipment with a display function such as a smart phone, a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a micro-service architecture operation maintenance program may be included in the memory 1005 as one type of readable storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a micro service architecture operation maintenance program stored in the memory 1005, which when executed by the processor, implements the operations in the micro service architecture operation maintenance method provided in the embodiments described below.
Based on the hardware structure of the device, the embodiment of the operation and maintenance method of the micro-service architecture is provided.
Referring to fig. 2, in a first embodiment of the micro service architecture operation maintenance method of the present invention, the micro service architecture operation maintenance method includes:
Step S10, when a micro service maintenance instruction is received, a target service gateway is created through a gateway component in the micro service architecture, and a target receiving thread pool is created through a degradation component in the micro service architecture.
The micro-service architecture operation and maintenance method is applied to a micro-service architecture, the micro-service architecture comprises a target micro-service and a micro-service to be maintained, wherein the target micro-service and the micro-service to be maintained comprise a plurality of micro-services, and in the embodiment, the micro-service architecture operation and maintenance method is applied to the micro-service to be maintained in the micro-service, the micro-service to be maintained can receive a request instruction during maintenance, the target micro-service can receive and send the request instruction, and the target micro-service to be maintained receives the request instruction and sends the request instruction for the target maintenance service as an example. When the micro service to be maintained receives the micro service maintenance instruction, a target service gateway is created through a gateway component in the micro service architecture, the gateway component in the micro service is used for creating a communication interface and a communication rule among the micro services, and the target service gateway created through the gateway component is an interface called by the micro service command and can filter, screen and classify and identify the instruction received by the micro service to be maintained. The micro-service architecture further comprises a degradation component for managing instructions received by the micro-service, when the micro-service to be maintained receives the maintenance instructions, a target receiving thread pool is created through the degradation component in the micro-service architecture, and the created target thread pool is used for caching the instructions received by the micro-service to be maintained.
Step S20, establishing an association relationship between the target service gateway and the micro-service to be maintained, and establishing an association relationship between the target receiving thread pool and the micro-service to be maintained.
The association relationship between the target service gateway and the micro service to be maintained comprises an instruction receiving rule of the micro service to be maintained, namely, when the micro service to be maintained receives a maintenance instruction, the target service gateway is established through a gateway component in the micro service architecture, the association relationship between the micro service to be maintained and the target service gateway is established, and a filtering and screening rule of the target service gateway on the instruction is established through the association relationship, for example, when the micro service to be maintained receives the maintenance instruction, only the writing request instruction is responded, the reading request instruction is filtered and the like. Meanwhile, the association relation between the target receiving thread pool and the micro-service to be maintained is established, and the management rule of the instructions received by the micro-service to be maintained by the target receiving thread pool, such as the highest instruction cache quantity, the instruction removing logic or the deleting logic, is established.
And step S30, intercepting a target request sent by the target micro service to the micro service to be maintained through the target service gateway, and acquiring the operation type of the target request.
When the micro service to be maintained receives a maintenance instruction, intercepting a target request received by the micro service to be maintained through an established target service gateway, and determining an operation type of the target request, wherein the target request comprises a requested operation type and task information, the operation type of the target request comprises a writing operation and a reading operation, the task information refers to data requested to be read or written and data information, the data information comprises a data type, a data storage address, a data size and the like, and when the micro service to be maintained is maintained, all types of request instructions cannot be responded, therefore, all the request instructions need to be intercepted through the established target service gateway, screening and filtering are carried out according to the operation type of the request instructions, for example, when the micro service to be maintained is maintained, only the request instructions of a writing operation type can be responded, and the request instructions of the reading operation type cannot be responded, and the request instructions of the reading type are screened and filtered through the target service gateway.
Step S40, if the operation type of the target request is a write operation, storing the target receiving thread corresponding to the target request into the target receiving thread pool.
When the operation type of the target request received by the micro-service to be maintained is a writing operation, storing the target receiving thread corresponding to the received target request into an established target receiving thread pool for caching, wherein the micro-service to be maintained can receive but not necessarily completely execute the request instruction during the maintenance period, and can store the request instruction which cannot be immediately executed into the established thread pool for caching.
And step S50, when the maintenance of the micro service to be maintained is detected to be completed, responding to the target receiving thread pool to complete the maintenance of the micro service to be maintained.
When the maintenance of the micro-service to be maintained is detected to be completed, for example, when the micro-service to be maintained is detected to execute a starting instruction, it can be determined that the micro-service to be maintained is completed, then the target receiving threads stored in the target thread pool corresponding to the micro-service to be maintained respond, and the data of the micro-service to be maintained is updated by using the task information in the target threads, so that the maintenance of the micro-service to be maintained is completed.
Specifically, the steps following step S30 include:
step a1, if the operation type of the target request is a read operation, acquiring a preset response time corresponding to the target request, and acquiring the maintenance time of the micro-service to be maintained.
And a2, if the preset response time is longer than the maintenance time, storing the target receiving thread corresponding to the target request into the target receiving thread pool associated with the micro-service to be maintained.
And a step a3 of removing the target receiving thread from the target receiving thread pool and sending response exception prompt information to the target micro-service if the completion of the maintenance of the micro-service to be maintained is not detected within the preset response time after the target request is sent.
The step of refining in the step S50 comprises the following steps:
and a step a4 of responding to the target receiving thread pool to finish the maintenance of the micro service to be maintained if the completion of the maintenance of the micro service to be maintained is detected within the preset response time after the target request is sent.
When the operation type of the intercepted request instruction is a read operation, the preset response time of the request is obtained, the preset response time of the request instruction is the response time of the request instruction defined by the micro-service for sending the request instruction, the response time requirements of different micro-services on the sent request instruction are different, and the response time requirements of the same micro-service on the sent request instruction with different operation types are possibly different. Therefore, it is required to obtain the preset response time of the target request of the read operation type received by the micro-service to be maintained, and compare the preset response time of the target request with the maintenance time of the micro-service to be maintained, where it is required to be noted that the micro-service to be maintained is provided with the preset maintenance time, for example, "xxx year xxx month xxx day, afternoon 20:00-22:00", and when the micro-service to be maintained receives the request instruction of the read operation type, if the preset response time of the target request instruction is greater than the maintenance time of the micro-service to be maintained, for example, the preset response time of the target request is 2 minutes, the time of the micro-service to be maintained receiving the target request is "xxx year xxx month xxx day, afternoon 21:59:30", the predicted maintenance time is also 30 seconds, and if the preset response time of the target request is greater than the maintenance time of the micro-service to be maintained, the target request of the write operation type is stored in the thread pool to wait for response.
Further, the actual maintenance time of the micro service to be maintained is uncontrollable, the target request includes time information of request transmission, when the target request is transmitted and stored in a thread pool established by the micro service to be maintained, the target request is removed from the target thread pool after the completion of maintenance of the micro service to be maintained is still not detected after the preset response time, meanwhile, response exception prompt information is transmitted to the target micro service which transmits the target request, the response exception prompt information includes request instruction information, response result, response exception type and the like, wherein the response exception type includes request failure, request unresponsiveness and the like, the request failure can be caused by authority problems, for example, some micro services can only write data, no read data is allowed, and the request unresponsiveness can be caused by the lack of response to the micro service to be maintained or response timeout. If the target request is sent and stored in the thread pool established by the micro-service to be maintained, and the completion of the micro-service maintenance to be maintained is detected within the preset response time, responding to the target request in the target thread pool corresponding to the micro-service to be maintained, and updating the data of the micro-service to be maintained so as to complete the maintenance of the micro-service to be maintained.
Specifically, the step of refining in step S40 includes:
and b1, if the operation type of the target request is a writing operation, judging whether the target receiving thread pool is full.
And b2, if the target receiving thread pool is full, removing a first receiving thread from the target receiving thread pool, wherein the first receiving thread is the thread with the longest storage time in the target receiving thread pool.
And b3, storing the first receiving thread removed from the target receiving thread pool in a target database corresponding to the micro-service architecture, and sending writing exception prompt information to the target micro-service.
And b4, if the target receiving thread pool is not full, storing the target receiving thread corresponding to the target request into the target receiving thread pool.
If the operation type of the target request received by the micro-service to be maintained is a writing operation, when the target receiving thread corresponding to the target request is stored in the target receiving thread pool, whether the target thread pool corresponding to the micro-service to be maintained is full or not needs to be judged, if so, a first receiving thread with the longest storage time in the target thread pool is removed, the first receiving thread is stored in a target database corresponding to the micro-service architecture, and then writing abnormal prompt information is sent to the target micro-service for sending the target request corresponding to the first receiving thread. And if the target thread pool corresponding to the micro-service to be maintained is not full, storing the target request received by the micro-service to be maintained into the target thread pool.
Specifically, the step of refining in step S50 includes:
and c1, when the completion of the maintenance of the micro-service to be maintained is detected, screening out a second receiving thread and a third receiving thread in the target receiving thread pool and the target database, wherein the operation type of the request corresponding to the second receiving thread is the reading operation, and the operation type of the request corresponding to the third receiving thread is the writing operation.
Step c2, obtaining the read data corresponding to the second receiving thread and the write data corresponding to the third receiving thread.
And step c3, sending the read data to the target micro-service and receiving the write data.
And c4, removing the second receiving thread and the third receiving thread from the target receiving thread pool so that the target micro service removes the sending thread corresponding to the second receiving thread and the sending thread corresponding to the third receiving thread, and completing maintenance of the micro service to be maintained.
When the maintenance of the micro-service to be maintained is detected, a second receiving thread and a third receiving thread are screened out from a target thread pool and a target database of the micro-service to be maintained, the operation type of a request corresponding to the second receiving thread is a read operation, the operation type of a request corresponding to the third receiving thread is a write operation, read data corresponding to the second receiving thread and write data corresponding to the third receiving thread are obtained, the read data are sent to the target micro-service corresponding to the second receiving thread, the write data corresponding to the third receiving thread are received, then the second receiving thread and the third receiving thread are removed, and after the receiving thread is removed from the thread pool of the micro-service to be maintained, a response completion instruction is sent to the target micro-service corresponding to the removed receiving thread, so that the data update of the micro-service to be maintained is completed, the cache data of the thread pool is cleaned, and the maintenance of the micro-service to be maintained is completed.
In this embodiment, when a micro service to be maintained receives a micro service maintenance instruction, a target service gateway is created through a gateway component in the micro service architecture, a target receiving thread pool is created through a degradation component in the micro service architecture, an association relationship between the target service gateway and the micro service to be maintained is established, the association relationship between the target receiving thread pool and the micro service to be maintained is established, a target request sent by the target micro service to the micro service to be maintained is intercepted through the target service gateway, an operation type of the target request is obtained, if the operation type of the target request is a write operation, a target receiving thread corresponding to the target request is stored in the target receiving thread pool, and when the completion of the micro service to be maintained is detected, the target receiving thread pool is responded to complete the maintenance of the micro service to be maintained. The method has the advantages that the target gateway and the target thread pool are established, so that the micro-service to be maintained can normally receive and cache requests from other micro-services during maintenance, the requests are stored in the thread pool, the requests in the thread pool are responded after the micro-service to be maintained is completed, other related micro-services do not need to be maintained together during the maintenance of the micro-service to be maintained, and the normal operation of other micro-services is ensured.
Further, referring to fig. 3, in a second embodiment of the micro service architecture operation maintenance method of the present invention, the micro service architecture operation maintenance method includes:
step S60, when a request sending instruction is received, a target request corresponding to the request sending instruction is obtained, and the target request is sent to a target service gateway associated with the micro service to be maintained.
And step S70, storing the target sending thread corresponding to the target request into a first sending thread pool associated with the target micro-service.
And step S80, when receiving response exception prompt information sent by the micro-service to be maintained based on the target sending thread, removing the target sending thread from the first sending thread pool so as to complete the target request.
As in the above embodiment, the micro service architecture operation and maintenance method in the present invention is applied to a micro service architecture, where the micro service architecture includes a micro service to be maintained and a target micro service, and the micro service to be maintained and the target service include, but are not limited to, a plurality of micro services. When the target micro-service receives the request sending instruction, obtaining a target request corresponding to the request sending instruction, sending the target request to a target service gateway associated with the micro-service to be maintained, and sending the target request to the target service gateway associated with the micro-service to be maintained, wherein the following two cases include but are not limited to:
Case one: after the target micro-service obtains the target request corresponding to the request sending instruction, detecting the micro-service receiving the target request according to the target request, and detecting that the micro-service receiving the target request is the micro-service to be maintained;
and a second case: after the target micro-service obtains the target request corresponding to the target instruction request sending instruction, the target micro-service is detected for receiving the target request, the target request is directly sent out, and if the micro-service receiving the target request is the micro-service to be maintained, the target request sent by the target micro-service is intercepted by a target gateway established by the micro-service to be maintained.
When a target request is intercepted by a target service gateway associated with a micro service to be maintained, the target micro service receives an interception instruction from the target service gateway, after receiving the interception instruction, a first sending thread pool associated with the target serving is established, a sending thread corresponding to the target request is stored in the first sending thread pool, if the target request corresponding to the target sending thread is of a reading operation type, the target sending thread is removed from the target sending thread pool when response abnormal prompt information corresponding to the target sending thread is received, the target request corresponding to the target sending thread can also be of a writing operation type, and if write abnormal prompt information is received, the target sending thread corresponding to the target request is proved to be stored fully, the target sending thread corresponding to the target request is required to be stored in a target database defined by the micro service framework, and after the maintenance of the micro service to be maintained is completed, writing data corresponding to the target thread can be responded. When the to-be-maintained micro-service responds to the target request, the target micro-service receives a response completion instruction from the to-be-maintained micro-service regardless of the request of the write operation type or the request of the read operation type, and when the target service receives the response completion instruction, the first sending thread corresponding to the target request associated with the response completion instruction is removed from the first sending thread pool, and after the second receiving thread is removed from the first thread pool, the target request is completed.
Specifically, the step of refining in step S80 includes:
and d1, when response abnormal prompt information sent by the micro-service to be maintained is received, acquiring a target receiving thread corresponding to the response abnormal prompt information.
And d2, if the target sending thread is matched with the target receiving thread, removing the target sending thread from the first sending thread pool to finish the target request.
When the target micro service receives the response exception prompt information sent by the micro service to be maintained, acquiring a target receiving thread corresponding to the response exception prompt information, and then acquiring a target sending thread corresponding to the target receiving thread, wherein the acquisition of the target sending thread can be according to a thread number, a storage address of the target sending thread corresponding to the target receiving thread, or a sending time of a target request, which is not particularly limited herein. And if the target sending thread is matched with the target receiving thread, removing the target sending thread from the first sending thread pool, and after removing the target sending thread from the first sending thread pool, completing a target request corresponding to the target sending thread.
Specifically, the steps following step d1 include:
step e1, obtaining a first thread number associated with the target sending thread, and obtaining a second thread number associated with the target receiving thread.
And e2, if the first thread number is the same as the second thread number, determining that the target sending thread is matched with the target receiving thread.
Taking the example of number matching, when a target request is sent and a target sending thread is stored in a target sending thread pool, the target request and the target sending thread corresponding to the target request are encoded, the target request and the corresponding target thread have the same number, response exception prompt information sent by the micro-service to be maintained and received by the target micro-service contains target request information, the number of the target request is obtained from the information of the target request, and the target sending thread corresponding to the target request is obtained according to the number of the target request. When the target sending thread is matched with the target receiving thread, the acquired number associated with the target sending thread is used as a first thread number, the acquired number associated with the target receiving thread is used as a second thread number, and if the first thread number is the same as the second thread number, the target sending thread is determined to be matched with the target receiving thread.
In this embodiment, the micro-service architecture operation maintenance method is applied to a target micro-service, when the target micro-service receives a request sending instruction, a target request corresponding to the request sending instruction is obtained, the target request is sent to a target service gateway associated with the micro-service to be maintained, a target sending thread corresponding to the target request is stored in a first sending thread pool associated with the target micro-service, and when response abnormal prompt information sent by the micro-service to be maintained is received based on the target sending thread, the target sending thread is removed from the first sending thread pool, so that the target request is completed. In the maintenance period of the micro-service to be maintained, the target micro-service can still normally operate in the maintenance period of the micro-service to be maintained through communication between the established sending thread pool and the micro-service to be maintained, the maintenance with the micro-service to be maintained is not needed, and the normal operation of the target micro-service in the maintenance period of the associated micro-service to be maintained is ensured through utilizing thread communication.
In addition, referring to fig. 4, an embodiment of the present invention further proposes a micro service architecture operation maintenance device, where the micro service architecture operation maintenance device includes:
The component calling module 10 is configured to create a target service gateway through a gateway component in the micro service architecture and create a target receiving thread pool through a downgraded component in the micro service architecture when receiving a micro service maintenance instruction;
the association relationship establishing module 20 is configured to establish an association relationship between the target service gateway and the micro service to be maintained, and an association relationship between the target receiving thread pool and the micro service to be maintained;
a target request interception module 30, configured to intercept, by using the target service gateway, a target request sent by the target micro service to the micro service to be maintained, and obtain an operation type of the target request;
a target receiving thread storage module 40, configured to store a target receiving thread corresponding to the target request into the target receiving thread pool if the operation type of the target request is a write operation;
and the response module 50 is used for responding to the target receiving thread pool when the completion of the maintenance of the micro-service to be maintained is detected, so as to complete the maintenance of the micro-service to be maintained.
Optionally, the micro service architecture operation maintenance device includes:
the time acquisition module is used for acquiring a preset response time corresponding to the target request and acquiring the maintenance time of the micro-service to be maintained if the operation type of the target request is a read operation;
The target receiving thread storage module is used for storing the target receiving thread corresponding to the target request into the target receiving thread pool associated with the micro-service to be maintained if the preset response time is longer than the maintenance time;
the response exception sending module is used for removing the target receiving thread from the target receiving thread pool and sending response exception prompt information to the target micro service if the completion of the maintenance of the micro service to be maintained is not detected within the preset response time after the target request is sent;
the response module 50 includes:
and the response unit is used for responding to the target receiving thread pool to finish the maintenance of the micro service to be maintained if the completion of the maintenance of the micro service to be maintained is detected within the preset response time after the target request is sent.
Optionally, the target receiving thread depositing module 40 includes:
the judging unit is used for judging whether the target receiving thread pool is full or not if the operation type of the target request is a writing operation;
a first receiving thread removing unit, configured to remove a first receiving thread from the target receiving thread pool if the target receiving thread pool is full, where the first receiving thread is a thread with a longest storage time in the target receiving thread pool;
The abnormal prompt information writing unit is used for storing the first receiving thread removed from the target receiving thread pool in a target database corresponding to the micro-service architecture and sending the written abnormal prompt information to the target micro-service;
and the target receiving thread storage unit is used for storing the target receiving thread corresponding to the target request into the target receiving thread pool if the target receiving thread pool is not full.
Optionally, the response module 50 includes:
the screening unit is used for screening out the target receiving thread pool and a second receiving thread and a third receiving thread in the target database when the completion of the maintenance of the micro-service to be maintained is detected, wherein the operation type of the request corresponding to the second receiving thread is the reading operation, and the operation type of the request corresponding to the third receiving thread is the writing operation;
the data acquisition unit is used for acquiring read data corresponding to the second receiving thread and write data corresponding to the third receiving thread;
the data sending and receiving unit is used for sending the read data to the target micro service and receiving the write data;
And the thread removing unit is used for removing the second receiving thread and the third receiving thread from the target receiving thread pool so that the target micro service removes the sending thread corresponding to the second receiving thread and the sending thread corresponding to the third receiving thread, and the maintenance of the micro service to be maintained is completed.
In addition, referring to fig. 5, another micro service architecture operation and maintenance device is further provided in the embodiment of the present invention, where the micro service architecture operation and maintenance device further includes:
the target request sending module 50 is configured to, when receiving a request sending instruction, obtain a target request corresponding to the request sending instruction, and send the target request to a target service gateway associated with the micro service to be maintained;
a target sending thread storage module 60, configured to store a target sending thread corresponding to the target request into a first sending thread pool associated with the target micro service;
and a target sending thread removing module 70, configured to remove the target sending thread from the first sending thread pool to complete the target request when response exception prompt information sent by the micro-service to be maintained is received based on the target sending thread.
Optionally, the target sending thread removing module 70 includes:
the target receiving thread receiving unit is used for acquiring a target receiving thread corresponding to the response abnormal prompt information when receiving the response abnormal prompt information sent by the micro-service to be maintained;
and the matching unit is used for removing the target sending thread from the first sending thread pool to finish the target request if the target sending thread is matched with the target receiving thread.
Optionally, the micro service architecture operation maintenance device includes:
the thread number acquisition module is used for acquiring a first thread number associated with the target sending thread and a second thread number associated with the target receiving thread;
and the matching judging module is used for determining that the target sending thread is matched with the target receiving thread if the first thread number is the same as the second thread number.
In addition, the embodiment of the invention also provides a readable storage medium, and the readable storage medium stores a micro-service architecture operation maintenance program, and when the micro-service architecture operation maintenance program is executed by a processor, the micro-service architecture operation maintenance method provided by the embodiment is implemented.
The methods performed by the program modules may refer to various embodiments of the methods according to the present invention, and are not described herein.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity/operation/object from another entity/operation/object without necessarily requiring or implying any actual such relationship or order between such entities/operations/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The apparatus embodiments described above are merely illustrative, in which the units illustrated as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the micro service architecture operation maintenance method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (10)
1. The micro service architecture operation and maintenance method is characterized in that the micro service architecture operation and maintenance method is applied to a micro service architecture, the micro service architecture comprises a target micro service and a micro service to be maintained, the micro service architecture operation and maintenance method is applied to the micro service to be maintained, and the micro service architecture operation and maintenance method comprises the following steps:
when a micro service maintenance instruction is received, a target service gateway is created through a gateway component in the micro service architecture, and a target receiving thread pool is created through a degradation component in the micro service architecture;
establishing an association relationship between the target service gateway and the micro-service to be maintained, wherein the association relationship between the target receiving thread pool and the micro-service to be maintained comprises an instruction receiving rule of the micro-service to be maintained, and the association relationship between the target receiving thread pool and the micro-service to be maintained is used for establishing a management rule of an instruction received by the target receiving thread pool to be maintained by the micro-service to be maintained;
intercepting a target request sent by the target micro service to the micro service to be maintained through the target service gateway, and acquiring an operation type of the target request;
If the operation type of the target request is a writing operation, storing a target receiving thread corresponding to the target request into the target receiving thread pool;
and when the maintenance of the micro-service to be maintained is detected to be completed, responding to the target receiving thread pool to complete the maintenance of the micro-service to be maintained.
2. The method for maintaining micro-service architecture operation according to claim 1, wherein after the step of intercepting, by the target service gateway, a target request sent by the target micro-service to the micro-service to be maintained and obtaining an operation type of the target request, the method comprises:
if the operation type of the target request is a read operation, acquiring a preset response time corresponding to the target request, and acquiring the maintenance time of the micro-service to be maintained;
if the ending time point of the preset response time is larger than the ending time point of the maintenance time, storing the target receiving thread corresponding to the target request into the target receiving thread pool associated with the micro-service to be maintained;
in the preset response time after the target request is sent, if the maintenance of the micro-service to be maintained is not detected to be completed, removing the target receiving thread from the target receiving thread pool, and sending response exception prompt information to the target micro-service;
The step of responding to the target receiving thread pool to complete the maintenance of the micro-service to be maintained when the completion of the maintenance of the micro-service to be maintained is detected comprises the following steps:
and in the preset response time after the target request is sent, if the completion of the maintenance of the micro-service to be maintained is detected, responding to the target receiving thread pool to complete the maintenance of the micro-service to be maintained.
3. The method for maintaining micro service architecture operation according to claim 2, wherein if the operation type of the target request is a write operation, the step of storing the target receiving thread corresponding to the target request in the target receiving thread pool includes:
if the operation type of the target request is a writing operation, judging whether the target receiving thread pool is full;
if the target receiving thread pool is full, removing a first receiving thread from the target receiving thread pool, wherein the first receiving thread is the thread with the longest storage time in the target receiving thread pool;
storing the first receiving thread removed from the target receiving thread pool in a target database corresponding to the micro-service architecture, and sending write-in abnormal prompt information to a target micro-service which sends a target request corresponding to the first receiving thread;
And if the target receiving thread pool is not full, storing the target receiving thread corresponding to the target request into the target receiving thread pool.
4. The micro service architecture operation and maintenance method according to claim 3, wherein the step of responding to the target receiving thread pool to complete maintenance of the micro service to be maintained when the completion of maintenance of the micro service to be maintained is detected comprises:
when the micro-service to be maintained is detected to be maintained, screening out a second receiving thread and a third receiving thread in the target receiving thread pool and the target database, wherein the operation type of a request corresponding to the second receiving thread is the reading operation, and the operation type of a request corresponding to the third receiving thread is the writing operation;
acquiring read data corresponding to the second receiving thread and write data corresponding to the third receiving thread;
transmitting the read data to the target micro-service and receiving the write data;
and removing the second receiving thread and the third receiving thread from the target receiving thread pool so that the target micro service removes the sending thread corresponding to the second receiving thread and the sending thread corresponding to the third receiving thread, and the maintenance of the micro service to be maintained is completed.
5. The micro-service architecture operation and maintenance method is characterized in that the micro-service architecture operation and maintenance method is applied to a micro-service architecture, the micro-service architecture comprises a target micro-service and a micro-service to be maintained, the micro-service architecture operation and maintenance method is applied to the target micro-service, and the micro-service architecture operation and maintenance method comprises the following steps:
when a request sending instruction is received, a target request corresponding to the request sending instruction is obtained, and the target request is sent to a target service gateway associated with the micro service to be maintained;
storing a target sending thread corresponding to the target request into a first sending thread pool associated with the target micro-service;
and if the target request is of a read operation type, removing the target sending thread from the first sending thread pool when response exception prompt information sent by the micro-service to be maintained is received based on the target sending thread, so as to complete the target request.
6. The micro-service architecture operation and maintenance method according to claim 5, wherein the step of removing the target sending thread from the first sending thread pool to complete the target request when response exception prompt information sent by the micro-service to be maintained is received based on the target sending thread comprises:
When response abnormal prompt information sent by the micro-service to be maintained is received, a target receiving thread corresponding to the response abnormal prompt information is obtained;
and if the target sending thread is matched with the target receiving thread, removing the target sending thread from the first sending thread pool so as to complete the target request.
7. The method for operating and maintaining a micro-service architecture according to claim 6, wherein after the step of obtaining the target receiving thread corresponding to the response exception prompt message when the response exception prompt message sent by the micro-service to be maintained is received, the method comprises:
acquiring a first thread number associated with the target sending thread and a second thread number associated with the target receiving thread;
and if the first thread number is the same as the second thread number, determining that the target sending thread is matched with the target receiving thread.
8. A micro-service architecture operation and maintenance device, wherein the micro-service architecture operation and maintenance device is applied to a micro-service architecture, the micro-service architecture comprises a target micro-service and a micro-service to be maintained, and the micro-service architecture operation and maintenance device comprises:
The component calling module is used for creating a target service gateway through a gateway component in the micro-service architecture and creating a target receiving thread pool through a degradation component in the micro-service architecture when a micro-service maintenance instruction is received;
the incidence relation establishing module is used for establishing an incidence relation between the target service gateway and the micro-service to be maintained, and the incidence relation between the target receiving thread pool and the micro-service to be maintained, wherein the incidence relation between the target service gateway and the micro-service to be maintained comprises an instruction receiving rule of the micro-service to be maintained, and the incidence relation between the target receiving thread pool and the micro-service to be maintained is used for establishing a management rule of an instruction received by the target receiving thread pool to be maintained by the micro-service to be maintained;
the target request interception module is used for intercepting a target request sent by the target micro service to the micro service to be maintained through the target service gateway and acquiring the operation type of the target request;
the target receiving thread storage module is used for storing the target receiving thread corresponding to the target request into the target receiving thread pool if the operation type of the target request is a writing operation;
And the response module is used for responding to the target receiving thread pool when the completion of the maintenance of the micro-service to be maintained is detected, so as to complete the maintenance of the micro-service to be maintained.
9. A micro-service architecture operation and maintenance device, characterized in that the micro-service architecture operation and maintenance device comprises: memory, a processor and a micro-service-architecture-operation-maintenance program stored on the memory and operable on the processor, which when executed by the processor, implements the steps of the micro-service-architecture-operation-maintenance method of any one of claims 1 to 7.
10. A readable storage medium, characterized in that a micro service architecture operation maintenance program is stored on the readable storage medium, which when executed by a processor implements the steps of the micro service architecture operation maintenance method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110051581.1A CN112799803B (en) | 2021-01-14 | 2021-01-14 | Micro-service architecture operation maintenance method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110051581.1A CN112799803B (en) | 2021-01-14 | 2021-01-14 | Micro-service architecture operation maintenance method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112799803A CN112799803A (en) | 2021-05-14 |
CN112799803B true CN112799803B (en) | 2023-11-17 |
Family
ID=75809419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110051581.1A Active CN112799803B (en) | 2021-01-14 | 2021-01-14 | Micro-service architecture operation maintenance method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112799803B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105447092A (en) * | 2015-11-09 | 2016-03-30 | 联动优势科技有限公司 | Caching method and apparatus |
WO2018113556A1 (en) * | 2016-12-22 | 2018-06-28 | 成都西加云杉科技有限公司 | Network operation support system and network device management method |
CN108427581A (en) * | 2018-02-07 | 2018-08-21 | 平安普惠企业管理有限公司 | System micro services method and terminal device |
CN109101334A (en) * | 2018-06-29 | 2018-12-28 | 中译语通科技股份有限公司 | A kind of micro services concurrency control method towards Zuul gateway |
CN109981561A (en) * | 2019-01-17 | 2019-07-05 | 华南理工大学 | Monomer architecture system moves to the user authen method of micro services framework |
CN110377437A (en) * | 2019-07-19 | 2019-10-25 | 深圳前海微众银行股份有限公司 | Communication means, computer equipment and storage medium between a kind of micro services |
TWI676374B (en) * | 2018-09-10 | 2019-11-01 | 中華電信股份有限公司 | Server and method for assigning job for microservices thereof |
WO2020115521A1 (en) * | 2018-12-02 | 2020-06-11 | Pratik Sharma | Service gateway in microservices architecture |
CN111756601A (en) * | 2020-06-24 | 2020-10-09 | 中国平安财产保险股份有限公司 | Microservice architecture monitoring method and device, computer equipment and readable storage medium |
CN112000448A (en) * | 2020-07-17 | 2020-11-27 | 北京计算机技术及应用研究所 | Micro-service architecture-based application management method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10841256B2 (en) * | 2017-05-05 | 2020-11-17 | ShieldX Networks, Inc. | Upgrading components of a messaging system used by a microservice-based application |
US11056107B2 (en) * | 2018-03-30 | 2021-07-06 | International Business Machines Corporation | Conversational framework |
US10958757B2 (en) * | 2018-11-19 | 2021-03-23 | International Business Machines Corporation | Microservices request flow control synchronization |
-
2021
- 2021-01-14 CN CN202110051581.1A patent/CN112799803B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105447092A (en) * | 2015-11-09 | 2016-03-30 | 联动优势科技有限公司 | Caching method and apparatus |
WO2018113556A1 (en) * | 2016-12-22 | 2018-06-28 | 成都西加云杉科技有限公司 | Network operation support system and network device management method |
CN108427581A (en) * | 2018-02-07 | 2018-08-21 | 平安普惠企业管理有限公司 | System micro services method and terminal device |
CN109101334A (en) * | 2018-06-29 | 2018-12-28 | 中译语通科技股份有限公司 | A kind of micro services concurrency control method towards Zuul gateway |
TWI676374B (en) * | 2018-09-10 | 2019-11-01 | 中華電信股份有限公司 | Server and method for assigning job for microservices thereof |
WO2020115521A1 (en) * | 2018-12-02 | 2020-06-11 | Pratik Sharma | Service gateway in microservices architecture |
CN109981561A (en) * | 2019-01-17 | 2019-07-05 | 华南理工大学 | Monomer architecture system moves to the user authen method of micro services framework |
CN110377437A (en) * | 2019-07-19 | 2019-10-25 | 深圳前海微众银行股份有限公司 | Communication means, computer equipment and storage medium between a kind of micro services |
CN111756601A (en) * | 2020-06-24 | 2020-10-09 | 中国平安财产保险股份有限公司 | Microservice architecture monitoring method and device, computer equipment and readable storage medium |
CN112000448A (en) * | 2020-07-17 | 2020-11-27 | 北京计算机技术及应用研究所 | Micro-service architecture-based application management method |
Non-Patent Citations (2)
Title |
---|
"微服务架构关键技术研究与通用框架实现";周家昊;《中国优秀硕士学位论文全文数据库 信息科技辑》;全文 * |
"A Scalable Bioinformatics Analysis Platform based on Microservices Architecture";S. Rajapaksa等;《IEEE》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112799803A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107276789B (en) | Log uploading method and device and computer readable storage medium | |
KR102379313B1 (en) | Electronic device for displaying application andoperating method thereof | |
US20160007204A1 (en) | Method and apparatus of notifying of smishing | |
CN107908487B (en) | Task control management method, device and equipment and computer readable storage medium | |
CN107679058B (en) | Data synchronization method, device and computer readable storage medium | |
US20150067669A1 (en) | Method for managing application and electronic device thereof | |
EP2784661B1 (en) | Computer program product, information processing method, and information processing apparatus | |
EP3355183A1 (en) | System and method to distribute firmware updates in a hierarchical network structure using a publish/subscribe message broker | |
CN111694660A (en) | Cloud mobile phone data sending method, computer device and storage medium | |
CN109117153B (en) | Application processing method, device, terminal and storage medium | |
CN108415767B (en) | Server thread control method, device, equipment and readable storage medium | |
CN110852649B (en) | Resource management method, terminal, device and readable storage medium | |
CN110084035A (en) | For suggesting the electronic equipment and method of response guide when refusing | |
CN110825509A (en) | Application management method, device, equipment and readable storage medium | |
US11564082B2 (en) | Nomination of a primary cell phone from a pool of cell phones | |
CN112799803B (en) | Micro-service architecture operation maintenance method, device, equipment and readable storage medium | |
US9838397B2 (en) | Information processing apparatus and control method thereof | |
KR20210101583A (en) | Electronic device and method for operating contents using the same | |
JP2012164145A (en) | Configuration information management device and computer program | |
CN110650051A (en) | Self-service terminal monitoring method and system and computer readable storage medium | |
CN108509236A (en) | Subject replacement method and device, face identification system subject replacement method and device | |
US20110263295A1 (en) | System and method for providing a smart card-based widget service, and smart card for the same | |
CN104954503B (en) | Dispensing device and dispensing method | |
JP2020194444A (en) | Data relay device, data relay method, monitoring system, server device, terminal device and computer program | |
CN108712325B (en) | Dynamic account notification method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |