Method and device for business process breakpoint retry
By judging abnormal nodes in business records, the responsibility chain mode and filter mode are used to implement business process breakpoint retry, which solves the problem of data anomalies caused by non-idempotent methods in microservice systems, reduces the amount of operation and maintenance, and realizes automatic Breakpoint recovery.
Patent Information
- Application Number
- CN202010075227.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-01-22
AI Technical Summary
In the microservice system architecture, calling non-idempotent methods during the execution of business processes leads to data anomalies, and breakpoint retries cannot be implemented, resulting in the system having to be manually intervened to recover, which increases the amount of operation and maintenance.
By obtaining the business record of the business request, it is determined whether there is an abnormal node. If it exists, the abnormal node is used as the starting node to process the request. Otherwise, the first node is used as the starting node for processing. The responsibility chain mode and filter mode are used to implement the business. Execution of the chain, recording request and response objects to implement breakpoint retries.
It realizes abnormal on-site recovery of complex business processes, automatically resumes execution from breakpoints, reduces the operation and maintenance of the business system to zero, and solves the problem of data anomalies caused by non-idempotent methods.
Smart Images

Figure CN113157405B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for retrying a business process breakpoint. Background Art
[0002] Currently, software systems all flow according to inherent processes and pre-arranged processes. In the current microservice system architecture, interfaces of other systems must be called during the process flow to complete information completion, parameter verification and other operations until the process ends.
[0003] When an exception occurs during the execution of the business process code, the entire method will throw an exception and exit. After the upstream system receives the exception return, it will try to re-initiate the request, and the business process will go through it from beginning to end.
[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0005] Since the business process calls a non-idempotent method during execution, when the same request is made to the business process again, the system data will be abnormal. However, the request of the upstream system must complete this request, so there is a contradiction. In this case, only manual intervention can be made to delete the data generated by the non-idempotent method and restore the system status before the first request. Summary of the invention
[0006] In view of this, an embodiment of the present invention provides a method and device for business process breakpoint retry, which can realize abnormal on-site recovery for complex business processes, automatically continue to execute unfinished business processes from the breakpoint, and reduce the business system operation and maintenance workload to zero.
[0007] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for retrying a business process breakpoint is provided, comprising:
[0008] In response to the service request, obtaining a service chain of the service request;
[0009] Obtaining a service record of the service request to determine whether there is an abnormal node corresponding to the service request in the service record;
[0010] If so, the abnormal node in the service chain is used as the starting node to process the service request; otherwise, the first node in the service chain is used as the starting node to process the service request.
[0011] Optionally, the nodes in the service chain are implemented using a responsibility chain model and a filter model.
[0012] Optionally, the method of the embodiment of the present invention further includes: recording a business record of the business request; the business record includes: a request object and a response object.
[0013] Optionally, obtaining the service chain of the service request includes:
[0014] Determine the service type of the service request; obtain a service chain corresponding to the service type according to the service type and a preset mapping relationship; the mapping relationship refers to a one-to-one correspondence between the service type and the service chain.
[0015] According to a second aspect of an embodiment of the present invention, there is provided a device for business process breakpoint retry, comprising:
[0016] A process chain scheduler module, in response to a service request, obtains a service chain of the service request;
[0017] A process chain execution module obtains the business record of the business request to determine whether there is an abnormal node corresponding to the business request in the business record; if so, the abnormal node in the business chain is used as the starting node to process the business request; otherwise, the first node in the business chain is used as the starting node to process the business request.
[0018] Optionally, the nodes in the service chain are implemented using a responsibility chain model and a filter model.
[0019] Optionally, the apparatus of the embodiment of the present invention further comprises an execution site recording module, which is used to: record a business record of the business request; the business record comprises: a request object and a response object.
[0020] Optionally, the process chain scheduler module obtains the service chain of the service request including:
[0021] Determine the service type of the service request; obtain a service chain corresponding to the service type according to the service type and a preset mapping relationship; the mapping relationship refers to a one-to-one correspondence between the service type and the service chain.
[0022] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for business process breakpoint retry, comprising:
[0023] one or more processors;
[0024] a storage device for storing one or more programs,
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.
[0026] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0027] An embodiment of the above invention has the following advantages or beneficial effects: calling an idempotent method to process a business request, determining whether there is an abnormal node corresponding to the business request in the business record, and if so, using the abnormal node in the business chain as the starting node to process the business request, being able to implement on-site recovery of abnormalities for complex business processes, and automatically continuing to execute unfinished business processes from the breakpoint, thereby reducing the amount of business system operation and maintenance to zero.
[0028] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0030] Figure 1 This is a schematic diagram of the main process flow of the method for retrying a business process breakpoint in an embodiment of the present invention;
[0031] Figure 2 is a schematic diagram of a method in which an abnormal node in a responsibility chain is used as a starting node in an optional embodiment of the present invention;
[0032] Figure 3 It is a schematic diagram of a method for business process breakpoint retry in an optional embodiment of the present invention;
[0033] Figure 4 is a schematic diagram of main modules of a device for business process breakpoint retry according to an embodiment of the present invention;
[0034] Figure 5 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0035] Figure 6 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0037] Idempotence means that the interface can be called repeatedly, and the final result obtained by the interface is consistent when the caller calls it multiple times. In the prior art, the business process calls non-idempotent methods during execution. For example, the business process provides an interface, the function of which is to receive upstream requests, then call the inventory system interface to reserve inventory, call the waybill system interface to create a waybill, and call the warehousing system interface to issue a request.
[0038] First upstream request:
[0039] The business process starts to process, calling the inventory system interface to reserve inventory. The inventory system receives the interface request and reserves the product inventory, and the available quantity of the product changes from 3 to 2. The waybill system interface is called to create a waybill, but the waybill system interface returns an error. Therefore, the business process judgment process is not successful, the entire interface returns a processing failure, and the subsequent logic will not be processed.
[0040] The upstream receives an error message and initiates a second request:
[0041] The business process starts to process, calling the inventory system interface to pre-occupy inventory. The inventory system receives the interface request and pre-occupies the product inventory. The available quantity of the product changes from 2 to 1 (the inventory is occupied repeatedly at this time). The waybill system interface is continued to be called to create a waybill, and the waybill system creates a waybill. The warehousing system interface is continued to be called to send a request, but the warehousing system interface returns an error. Therefore, the business process judgment process is not completed, the entire interface returns a processing failure, and the subsequent logic will not be processed.
[0042] The upstream receives an error message and initiates a third request:
[0043] The business process starts to process, calling the inventory system interface to reserve inventory. The inventory system receives the interface request and reserves the product inventory. The available quantity of the product changes from 1 to 0 (the inventory is occupied repeatedly at this time). The waybill system interface is called to create a waybill. Since the waybill system has already created the waybill in the second request, it returns an error message, indicating that the waybill has been created. Therefore, the business process judgment process is not successful, the entire interface returns processing failure, and the subsequent logic will not be processed.
[0044] The third request is repeated in this way until the reserved inventory is manually restored, and the waybill created by the second request is deleted to restore the request scenario.
[0045] In the prior art, when an exception occurs during the execution of a business process code, the entire method will throw an exception and exit. After the upstream system receives the exception return, it will try to re-initiate the request. The business process will go through the entire process from beginning to end, resulting in data exceptions and inability to retry at breakpoints.
[0046] To solve the above problem, according to one aspect of an embodiment of the present invention, a method for breakpoint retry of a business process is provided.
[0047] Figure 1 FIG. 1 is a schematic diagram of the main flow of the method for retrying a business process breakpoint in an embodiment of the present invention. Figure 1 As shown, the method of business process breakpoint retry includes:
[0048] Step S101: In response to a service request, obtain a service chain of the service request;
[0049] Step S102: Obtain the business record of the business request;
[0050] Step S103, judging whether there is an abnormal node corresponding to the business request in the business record; if so, jumping to step S104, otherwise jumping to step S105;
[0051] Step S104: taking the abnormal node in the service chain as the starting node, processing the service request;
[0052] Step S105: Use the first node in the service chain as a starting node to process the service request.
[0053] The business chain is a combination of nodes that execute a business. Each business requires a combination of nodes that can be predetermined and configured, and these configurations are loaded when the system is initialized. Exemplarily, optionally, obtaining the business chain of the business request includes: determining the business type of the business request; obtaining a business chain corresponding to the business type according to the business type and a preset mapping relationship; the mapping relationship refers to a one-to-one correspondence between a business type and a business chain. In actual application, other methods can also be used to establish a mapping relationship, such as establishing a one-to-one correspondence between a unique identifier such as a business code and a corresponding business chain.
[0054] When a node in a business chain executes a business process abnormally, a breakpoint occurs in the business process, and the node is called an abnormal node. The business record contains the breakpoint location of the business execution, that is, the abnormal node. The business chain starts execution from the first node of the business chain by default, but when retrying at a breakpoint, it will automatically start execution from the abnormal node in the business record. By recording the non-idempotent interfaces called in the business process, it can be ensured that after the business process exits abnormally, the reprocessing request can skip the non-idempotent interface that has been called, thereby achieving the idempotence of the business process interface. When a business request is generated, by judging whether there is an abnormal node corresponding to the business request in the business record, if there is, the business request is processed with the abnormal node in the business chain as the starting node, which can realize abnormal on-site recovery for complex business processes, automatically continue to execute the unfinished business process from the breakpoint, and reduce the business system operation and maintenance to zero.
[0055] Optionally, the nodes in the business chain are implemented using the Chain of Responsibility Pattern and the Filter Pattern. The Chain of Responsibility Pattern creates a chain of receiver objects for a request. The Chain of Responsibility Pattern is used to control the execution of process nodes in the business chain, and the Filter Pattern is used to control whether the process nodes are executed. Each node provides a handle method and a filter method. The handle method is used to implement specific modular business logic, and the filter method is used to implement the filtering logic for whether the process node is executed. Figure 2 As shown, assuming that business process A has three modular process nodes, after the business request is passed to modular process node 1, the filter method of modular process node 1 determines whether to execute the handle method of modular process node 1 based on the request parameters. If the filter method returns true, indicating that it is necessary, the handle method of modular process node 1 is executed. If, the handle method of modular process node 1 is executed, and if the filter method returns false, indicating that it is necessary, modular process node 1 is skipped to modular process node 2. Modular process node 2 executes the filter method therein according to the above process until a node processes the business request. In this way, after sending the business request to the business chain, there is no need to care about the processing details and the transmission of the request, and the sender of the request and the processor of the request can be decoupled.
[0056] Optionally, the method of the embodiment of the present invention further includes: recording a business record of the business request; the business record includes: a request object and a response object. By recording the request object (Request object) and the response object (Response object), a complete record of a business process chain execution process can be achieved. When an exception occurs in the execution of a node in the business chain, the execution program will write the abnormal node into the Request object, and when the business chain is retried, it will automatically retry the execution from the abnormal node.
[0057] Figure 3 It is a schematic diagram of a method for retrying a business process breakpoint in an optional embodiment of the present invention. The chain process scheduler in the figure is used to execute the steps of obtaining a business chain of a business request in response to a business request and obtaining a business record of the business request to determine whether there is an abnormal node in the business record. There can be multiple chain process schedulers, for example, multiple chain process schedulers execute a large number of business requests in a distributed manner, or multiple chain process schedulers adopt a master-slave backup mode, and switch the business to the backup machine when the host machine is abnormal.
[0058] The chain process scheduler combines modular process nodes in a personalized manner according to the expected execution order to form a business chain, and provides a unified call entry to trigger the execution of personalized processes. After receiving a business request, the chain process scheduler determines whether there is an abnormal node in the business request based on the business record of the business request.
[0059] If it exists, the business request is sent to the abnormal node (see the positions indicated by 2, 3, etc. in the figure), otherwise it is sent to the first node of the business chain of the business request (see the node indicated by 1 in the figure). Modular process nodes are independent, replaceable functional modules that solve simple process problems. Each modular process node has the same input and output parts.
[0060] The process execution site runs through a process chain execution process, uniformly records the execution site and position of the current process node, and ensures that the process node automatically retries from the breakpoint when an execution exception occurs.
[0061] This embodiment calls an idempotent method to process a business request, so that the contradictory situation that the method cannot be called again due to an exception in the flow process is resolved, and the failure breakpoint retry of the method execution process can be achieved.
[0062] According to a second aspect of an embodiment of the present invention, a device for implementing the above method is provided.
[0063] Figure 4 Schematic diagram of the main modules of the device for business process breakpoint retry according to an embodiment of the present invention. Figure 4 As shown, the device 400 for retrying a business process breakpoint includes:
[0064] The process chain scheduler module 401 obtains the service chain of the service request in response to the service request;
[0065] The process chain execution module 402 obtains the business record of the business request to determine whether there is an abnormal node corresponding to the business request in the business record; if so, the abnormal node in the business chain is used as the starting node to process the business request; otherwise, the first node in the business chain is used as the starting node to process the business request.
[0066] Optionally, the nodes in the service chain are implemented using a responsibility chain model and a filter model.
[0067] Optionally, the apparatus of the embodiment of the present invention further comprises an execution site recording module 403, which is used to: record a business record of the business request; the business record comprises: a request object and a response object.
[0068] Optionally, the process chain scheduler module obtains the service chain of the service request including:
[0069] Determine the service type of the service request; obtain a service chain corresponding to the service type according to the service type and a preset mapping relationship; the mapping relationship refers to a one-to-one correspondence between the service type and the service chain.
[0070] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for business process breakpoint retry, comprising:
[0071] one or more processors;
[0072] a storage device for storing one or more programs,
[0073] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.
[0074] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.
[0075] Figure 5 An exemplary system architecture 500 is shown to which the method for retrying a business process breakpoint or the apparatus for retrying a business process breakpoint according to an embodiment of the present invention may be applied.
[0076] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0077] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0078] The terminal devices 501 , 502 , and 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0079] The server 505 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 501, 502, and 503. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0080] It should be noted that the method for retrying a business process breakpoint provided in the embodiment of the present invention is generally executed by the server 505 , and accordingly, the device for retrying a business process breakpoint is generally disposed in the server 505 .
[0081] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0082] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0083] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0084] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0085] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present invention are executed.
[0086] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0087] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0088] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor, for example, may be described as: a processor includes: a process chain scheduler module, which, in response to a business request, obtains the business chain of the business request; a process chain execution module, which obtains the business record of the business request to determine whether there is an abnormal node corresponding to the business request in the business record; if so, the abnormal node in the responsibility chain is used as the starting node to process the business request; otherwise, the first node in the responsibility chain is used as the starting node to process the business request. Among them, the names of these modules do not constitute a limitation on the module itself in some cases. For example, the process chain scheduler module can also be described as a "module for processing the business request."
[0089] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: in response to a service request, obtaining a service chain of the service request; obtaining a service record of the service request to determine whether there is an abnormal node corresponding to the service request in the service record; if so, using the abnormal node in the service chain as the starting node to process the service request; otherwise, using the first node in the service chain as the starting node to process the service request.
[0090] According to the technical solution of the embodiment of the present invention, an idempotent method is called to process a business request. By judging whether there is an abnormal node corresponding to the business request in the business record, if so, the abnormal node in the business chain is used as the starting node to process the business request. This can achieve on-site recovery of abnormalities for complex business processes, automatically continue to execute unfinished business processes from the breakpoint, and reduce the amount of business system operation and maintenance to zero.
[0091] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for retrying a business process breakpoint, characterized in that: include: The modular process nodes are personalized and combined in the expected execution order to form a business chain, and a unified call entry is provided to trigger the execution of the personalized process, and each of the modular process nodes has the same input and output parts; In response to a service request, obtaining the service chain of the service request; Obtaining a service record of the service request to determine whether there is an abnormal node corresponding to the service request in the service record; If so, the abnormal node in the service chain is used as the starting node to process the service request; otherwise, the first node in the service chain is used as the starting node to process the service request; The nodes in the business chain are implemented using the responsibility chain mode and the filter mode. Each node provides a handle method and a filter method. The handle method is used to implement specific modular business logic, and the filter method is used to implement the filtering logic of whether the node is executed.
2. The method according to claim 1, characterized in that Also includes: A business record recording the business request; the business record includes: a request object and a response object.
3. The method according to claim 1, characterized in that Obtaining the service chain of the service request includes: Determine the service type of the service request; obtain a service chain corresponding to the service type according to the service type and a preset mapping relationship; the mapping relationship refers to a one-to-one correspondence between the service type and the service chain.
4. A device for business process breakpoint retry, characterized in that: include: The process chain scheduler module combines modular process nodes in a personalized manner according to the expected execution order to form a business chain, and provides a unified call entry to trigger the execution of personalized processes. Each of the modular process nodes has the same input and output parts; In response to the service request, obtaining a service chain of the service request; A process chain execution module obtains a business record of the business request to determine whether there is an abnormal node corresponding to the business request in the business record; If so, the abnormal node in the service chain is used as the starting node to process the service request; otherwise, the first node in the service chain is used as the starting node to process the service request; The nodes in the business chain are implemented using the responsibility chain mode and the filter mode. Each node provides a handle method and a filter method. The handle method is used to implement specific modular business logic, and the filter method is used to implement the filtering logic of whether the node is executed.
5. The device according to claim 4, characterized in that It also includes an execution site recording module, which is used to: record the business record of the business request; the business record includes: a request object and a response object.
6. The device according to claim 4, characterized in that The process chain scheduler module obtains the service chain of the service request including: Determine the service type of the service request; obtain a service chain corresponding to the service type according to the service type and a preset mapping relationship; the mapping relationship refers to a one-to-one correspondence between the service type and the service chain.
7. An electronic device for business process breakpoint retry, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.
8. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
