Null rollback control method and device, computer equipment and storage medium
A control method and idling technology, which are applied in the directions of calculation, generation of response errors, and error detection of redundant data in operations, which can solve the problems of fixed number of idling loops and difficult business scenarios.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] see figure 1 , figure 1 It is a schematic flowchart of an empty rollback control method disclosed in an embodiment of the present invention. Such as figure 1 As shown, the control method of the empty rollback may include the following operations:
[0037] 101. Detect whether an empty rollback request of a target module is received, where the target module refers to a business module in a predetermined microservice software architecture.
[0038] In the above step 101, multiple business modules are usually set in the entire microservice software architecture, and different business modules are used to implement different business processes. For example, the create order business module is used to implement the business process of creating an order. When an exception occurs in the business process of creating an order, the create order business module can trigger an empty rollback request, and the payment business module is used to implement the business process of pay...
Embodiment 2
[0088] see figure 2 , figure 2 It is a schematic structural diagram of an empty rollback control device disclosed in an embodiment of the present invention. Such as figure 2 As shown, the controls for the empty rollback can include:
[0089] A detection module 201, configured to detect whether an empty rollback request of a target module is received, wherein the target module refers to a business module in a predetermined microservice software architecture;
[0090] An acquisition module 202, configured to acquire a target empty rollback threshold corresponding to the target module from a preset empty rollback threshold set when the empty rollback request is detected;
[0091] An execution module 203, configured to execute the empty rollback operation of the target module, and detect whether the empty rollback operation of the target module is executed successfully;
[0092] A stop module 204, configured to stop the execution of the empty rollback operation of the targe...
Embodiment 3
[0096] see image 3 , image 3 It is a structural schematic diagram of a computer device disclosed in an embodiment of the present invention. Such as image 3 As shown, the computer equipment may include:
[0097] A memory 301 storing executable program codes;
[0098] A processor 302 connected to the memory 301;
[0099] The processor 302 invokes the executable program code stored in the memory 301 to execute the steps in the method for controlling empty rollback disclosed in Embodiment 1 of the present invention.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


