Business process processing method and device, computer device, and storage medium

By intercepting business requests and generating business process data, and using a workflow system to handle node transitions, the problems of cumbersome node transitions and large development workloads in business systems are solved. This achieves decoupling and unified management of business processes and reduces development costs.

CN116366724BActive Publication Date: 2026-06-09CHINA CONSTRUCTION BANK +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2023-03-31
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

When processing multiple stages in a business system, the node transition operation is cumbersome, and traditional methods require the development of a large number of API calls, resulting in a large development workload and difficulty in managing the business process.

Method used

By intercepting business requests, creating business process data and sending it to the workflow system, generating the corresponding business process, and transferring the processing node to the corresponding node, obtaining the process processing result, and then transferring it to the next node, the decoupling of the business system and the workflow system is achieved.

Benefits of technology

It reduces the development cost of business process processing methods, realizes unified management and decoupling of business processes, simplifies development workload, and improves process processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116366724B_ABST
    Figure CN116366724B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of big data processing, in particular to a business process processing method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: intercepting a business request sent to a business system; creating business process data corresponding to the business request, sending the business process data to a workflow system to instruct the workflow system to generate a business process corresponding to the business request, and transferring a processing node of the business process to a corresponding first node; obtaining a process processing result returned by the first node; and sending the process processing result to the workflow system to instruct the workflow system to transfer the processing node of the business process to a second node corresponding to the process processing result. The method can realize decoupling of a business system and a business process, and greatly reduces the development cost of a business process processing method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of big data processing technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for processing business processes. Background Technology

[0002] Business systems may involve multiple processing stages when handling business requests, such as approval, verification, transaction, and payment processing. Since each stage requires different operations, the system needs to redirect the request's processing node to the corresponding node in the next stage. The more processing stages a business request involves, the more complex the node redirection becomes. Therefore, a method to simplify business processes is urgently needed.

[0003] In traditional technologies, workflow system call interfaces corresponding to business functions can be added to the business system to extract business process-related processing operations from the business functions and process them in the workflow system. However, when a business system integrates multiple business functions, using the traditional business process processing method requires developing multiple corresponding call interfaces, resulting in a large development workload. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for processing business processes with a smaller development workload to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for processing a business process. The method includes:

[0006] Intercept business requests sent to the business system;

[0007] Create business process data corresponding to the business request, send the business process data to the workflow system to instruct the workflow system to generate a business process corresponding to the business request, and transfer the processing node of the business process to the corresponding first node;

[0008] Obtain the process processing result returned by the first node;

[0009] The process processing result is sent to the workflow system to instruct the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result.

[0010] In one embodiment, the method further includes:

[0011] Obtain the service identifier of the service request;

[0012] Use the business identifier to query whether there is a process record corresponding to the business request;

[0013] In response to the result that the process record does not exist, a target process record corresponding to the business request is created using the business identifier and the business process data.

[0014] In one embodiment, the method further includes:

[0015] In response to the process processing result being verified as passed, the business request is forwarded to the business system, and the processing status of the target process record is updated.

[0016] In one embodiment, the method further includes:

[0017] If the processing result of the process is that the verification fails, the business request will be rolled back to the request initiator.

[0018] Obtain the service update data corresponding to the service request sent by the request initiator;

[0019] The business process data is updated using the business update data, and the updated business process data is sent to the workflow system to instruct the workflow system to transfer the processing node of the business process to the first node.

[0020] In one embodiment, before obtaining the service update data corresponding to the service request sent by the request initiator, the method further includes:

[0021] In response to the data query request sent by the request initiator, abnormal business data corresponding to the process processing result is retrieved from the target process record;

[0022] The abnormal service data is returned to the request initiator to instruct the request initiator to update the abnormal service data and return the updated service data.

[0023] In one embodiment, before obtaining the process processing result returned by the first node, the following steps are included:

[0024] In response to the information browsing request sent by the first node, the business data of the business request is obtained from the target process record;

[0025] The business data is sent to the first node to instruct the first node to return the process processing result corresponding to the business data.

[0026] In one embodiment, the interception of business requests sent to the business system includes:

[0027] Determine the business type corresponding to the business request;

[0028] In response to the result that the service type meets the preset conditions, the operation of intercepting the service request sent to the service system is executed.

[0029] Secondly, this application also provides a business process processing apparatus. The apparatus includes:

[0030] The request interception module is used to intercept business requests sent to the business system;

[0031] The process creation module is used to create business process data corresponding to the business request, send the business process data to the workflow system to instruct the workflow system to generate a business process corresponding to the business request, and transfer the processing node of the business process to the corresponding first node.

[0032] The result acquisition module is used to acquire the process processing result returned by the first node;

[0033] The node transfer module is used to send the process processing result to the workflow system to instruct the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result.

[0034] In one embodiment, the device further includes:

[0035] The identifier acquisition module is used to acquire the service identifier of the service request;

[0036] The record query module is used to query whether there is a process record corresponding to the business request using the business identifier;

[0037] The record creation module is used to create a target process record corresponding to the business request using the business identifier and the business process data in response to the result that the process record does not exist.

[0038] In one embodiment, the device further includes:

[0039] The request forwarding module is used to forward the business request to the business system and update the processing status of the target process record in response to the process processing result being verified as passed.

[0040] In one embodiment, the device further includes:

[0041] The node rollback module is used to roll back the business request to the request initiator when the process processing result is that the verification fails.

[0042] The data update module is used to obtain the business update data corresponding to the business request sent by the request initiator, update the business process data with the business update data, and send the updated business process data to the workflow system to instruct the workflow system to transfer the processing node of the business process to the first node.

[0043] In one embodiment, the device further includes:

[0044] The query response module is used to respond to the data query request sent by the request initiating end and query the abnormal business data corresponding to the process processing result from the target process record;

[0045] The first data return module is used to return the abnormal business data to the request initiating end, so as to instruct the request initiating end to update the abnormal business data and return the updated business data.

[0046] In one embodiment, the device further includes:

[0047] The browsing response module is used to respond to the information browsing request sent by the first node and obtain the business data of the business request from the target process record;

[0048] The second data return module is used to send the business data to the first node, so as to instruct the first node to return the process processing result corresponding to the business data.

[0049] In one embodiment, the request interception module is further configured to determine the business type corresponding to the business request, and in response to the result that the business type meets preset conditions, execute the operation of intercepting the business request sent to the business system.

[0050] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the business process processing method described in any of the embodiments of the first aspect.

[0051] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the processing method of the business process described in any of the embodiments of the first aspect.

[0052] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the processing method of the business process described in any of the embodiments of the first aspect.

[0053] The aforementioned business process processing method, apparatus, computer equipment, storage medium, and computer program product intercept business requests sent to the business system, create business process data corresponding to the business requests, send the business process data to the workflow system to instruct the workflow system to generate a business process corresponding to the business requests, and transfer the processing nodes of the business process to the corresponding first node. The process processing result returned by the first node is obtained, and the process processing result is sent to the workflow system to instruct the workflow system to transfer the processing nodes of the business process to the second node corresponding to the process processing result. This allows for unified interception and processing of business requests before the business system receives them, eliminating the need to configure corresponding workflow call interfaces for each individual business module in the business system. This significantly reduces the development cost of business process processing methods. Furthermore, it allows for direct invocation of the workflow system to execute process processing operations related to business requests through data interaction with the workflow system. This eliminates the need for the business system to focus on process information related to business requests, achieving decoupling between the business system and the business process.

[0054] Furthermore, since the business process processing method provided in this application intercepts business requests sent to the business system and creates business process data corresponding to the business requests, thereby instructing the workflow system to generate the corresponding business processes, it can also achieve unified management of business processes. Attached Figure Description

[0055] Figure 1 This is an application environment diagram of a business process processing method in one embodiment;

[0056] Figure 2 This is a flowchart illustrating a business process processing method in one embodiment;

[0057] Figure 3 This is a flowchart illustrating the steps for creating a process record in one embodiment.

[0058] Figure 4 This is a flowchart illustrating the service request rollback steps in one embodiment;

[0059] Figure 5 This is a flowchart illustrating a business process processing method in another embodiment;

[0060] Figure 6 This is a flowchart illustrating a review process method in one embodiment;

[0061] Figure 7 This is a flowchart illustrating the review process in another embodiment;

[0062] Figure 8 This is a structural block diagram of a business process processing device in one embodiment;

[0063] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0064] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0065] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0066] The business process processing method provided in this application embodiment can be applied to, for example, Figure 1 The application environment shown is implemented through interaction between terminal 102 and server 104. Server 104 may run a process processing component 1042, a business system 1044, and a workflow system 1046. In one example, if server 104 includes multiple distributed servers, the process processing component 1042, business system 1044, and workflow system 1046 are also deployed on different distributed servers. Terminal 102 may run a client corresponding to the business system 1044.

[0067] Specifically, server 104 can use process processing component 1042 to intercept business requests sent from client in terminal 102 to business system 1044. Process processing component 1042 creates business process data corresponding to the business request and sends the business process data to workflow system 1046 to instruct workflow system 1046 to generate a business process corresponding to the business request and transfer the processing node of the business process to the first node. Server 104 can use process processing component 1042 to obtain the process processing result returned by the first node corresponding to the business request and send the process processing result to workflow system 1046 to instruct workflow system 1046 to transfer the processing node of the business process to the second node corresponding to the process processing result.

[0068] The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a distributed server cluster composed of multiple servers.

[0069] In one embodiment, such as Figure 2 As shown, a business process processing method is provided, which is applied to... Figure 1 Taking server 104 as an example, the following steps are included:

[0070] Step S202: Intercept business requests sent to the business system.

[0071] Specifically, when the server detects a business request sent by a client, it can use a process processing component to intercept all business requests sent by the client to the business system, or it can use a process processing component to intercept business requests that meet the interception conditions according to preset rules.

[0072] Step S204: Create business process data corresponding to the business request, and send the business process data to the workflow system to transfer the processing node to the first node.

[0073] Specifically, the server can use a process processing component to parse business requests and obtain information such as the business identifier, request data, and business type carried in the business request. Based on the business type, it determines the processing stage corresponding to the business request and the processing node corresponding to each processing stage, thereby using the processing stage, processing node, business identifier, request data, and other information to create business process data corresponding to the business request.

[0074] The server can use a process processing component to send business process data to the workflow system, instructing the workflow system to generate a business process corresponding to the business request and transfer the processing nodes of the business process to the corresponding first node. The first node can represent the initial processing node for the business request. The first node can be, but is not limited to, a node from the business system, a client node, or a third-party node.

[0075] In one example, if the business request is an account application request, the first node could be the account creation node in the business system. In another example, if the business request requires approval, the first node could be the approval node in the client. In yet another example, if the business request is a data query request, the first node could be the query node from a third-party data source.

[0076] Step S206: Obtain the process processing result returned by the first node.

[0077] The process processing result can be used to characterize the processing result of the first node on the business request.

[0078] In one example, if the operation performed at the first node is an audit, the workflow result can be either verification passed or failed. In another example, if the operation performed at the first node is a data retrieval operation, the workflow result can be the specific data content.

[0079] Specifically, the server can use a process processing component to respond to the data acquisition operation triggered by the first node, sending the business process data related to the business request required by the first node to the first node. This allows the first node to process the business process data, generate a process processing result for the business request, and return it. The server can then use the process processing component to obtain the process processing result returned by the first node.

[0080] Step S208: Send the process processing result to the workflow system to transfer the processing node to the second node.

[0081] Specifically, the server can use a process processing component to send the process processing result to the workflow system, instructing the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result. The second node can be the node corresponding to the next processing stage after the current processing stage of the business request.

[0082] In one example, the second node can be a new node from the business system, the client, or a third party, or it can be the first node. For instance, if the process result is that the request verification passed or specific data content is provided, the second node corresponding to the process result can be the node of the next processing stage corresponding to the business request. Conversely, if the process result is that the verification failed, the second node corresponding to the process result can be the first node corresponding to the business request and the current processing node.

[0083] The above-described business process processing method intercepts business requests sent to the business system, creates business process data corresponding to the business request, sends the business process data to the workflow system to instruct the workflow system to generate a business process corresponding to the business request, and transfers the processing node of the business process to the corresponding first node. It then obtains the process processing result returned by the first node and sends the process processing result back to the workflow system to instruct the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result. This allows the workflow system to directly invoke the workflow system to execute process processing operations related to the business request before the business system receives the business request, through data interaction with the workflow system. This decouples the business system from the business process, significantly reducing the development cost of the business process processing method.

[0084] Meanwhile, since the above-mentioned business process processing method intercepts business requests sent to the business system and creates business process data corresponding to the business requests, instructing the workflow system to generate the corresponding business processes, it can also achieve unified management of business processes.

[0085] In one embodiment, such as Figure 3 As shown, the business process processing method provided in this application may further include:

[0086] Step S302: Obtain the service identifier of the service request.

[0087] Step S304: Use the business identifier to query whether there is a process record corresponding to the business request.

[0088] Among them, the business identifier can be used to uniquely identify the business request, such as any one of the following: business sequence number, business request string, etc.

[0089] Specifically, the server can parse the business request to obtain its business identifier. It then uses this identifier to query the database for a matching process record, i.e., a process record corresponding to the current business request. If a matching process record exists, the server can return a corresponding message to the client to avoid duplicate processing of the request. If no matching process record exists, step S306 can be executed.

[0090] Step S306: In response to the result that the process record does not exist, a target process record corresponding to the business request is created using the business identifier and business process data.

[0091] Specifically, in response to the result that the process record corresponding to the current business request does not exist, the server can create a target process record corresponding to the business request using a business identifier and business process data, so as to store information such as the process processing stage, process processing result or process processing node related to the current business request.

[0092] In this embodiment, by obtaining a unique business identifier for the business request and using the business identifier to query whether a process record corresponding to the business request exists, the query efficiency and accuracy of the process record can be improved. In response to the result that the process record does not exist, a target process record corresponding to the business request can be created using the business identifier and business process data, which can avoid repeatedly creating process records corresponding to the same business request, thereby reducing the processing cost of the business process.

[0093] In one embodiment, the business process processing method provided in this application may further include: in response to the process processing result being verified as passed, forwarding the business request to the business system and updating the processing status of the target process record.

[0094] Specifically, the server can respond to the first node's return indicating that the process has passed verification, thus confirming that the business request can be processed in the business system. At this point, the second node corresponding to the process result can be a business processing node within the business system. The process processing component forwards the intercepted business request to the business system and updates the processing status of the corresponding business request in the target process record to "processed." The verified process result is then sent to the workflow system, instructing it to transfer the processing node of the business process corresponding to the business request to the business processing node within the business system. This allows the business processing node in the business system to begin executing the processing operation for the business request.

[0095] In this embodiment, by responding to the process processing result of verification passing, the business request is forwarded to the business system and the processing status of the target process record is updated. This allows the verification process of the business request to be completed before the business request enters the business system, thereby reducing the development workload of the business system.

[0096] In one embodiment, such as Figure 4 As shown, the business process processing method provided in this application may further include:

[0097] In step S402, in response to the process processing result being that the verification failed, the business request is rolled back to the request initiator.

[0098] The request initiator can be used to represent the client that initiates the business request.

[0099] Specifically, in response to a verification failure returned by the first node, the server can determine that the current business request is not suitable for proceeding to the next processing node. It can then use the process processing component to roll back the business request to the request initiator. The verification failure result is then sent to the workflow system, instructing it to roll back the processing node of the business process corresponding to the request to the request initiator. This allows the request initiator to confirm whether to abandon the business request or modify and resubmit it.

[0100] Step S404: Obtain the business update data corresponding to the business request sent by the request initiator.

[0101] Step S406: Update the business process data using business update data, and send the updated business process data to the workflow system.

[0102] Specifically, the server can use a process processing component to obtain the business update data corresponding to the business request sent by the request initiator. It queries the currently stored business process data corresponding to the business request based on the business identifier of the request, updates the business process data using the business update data, and sends the updated business process data to the workflow system. This instructs the workflow system to transfer the processing node of the business process corresponding to the current business request to the first node. The first node then processes the updated business process data and returns the corresponding process processing result.

[0103] In one example, the server can also use the updated business process data to add a record related to the business process data update operation in the target process record.

[0104] In this embodiment, in response to the process processing result of verification failure, the business request is rolled back to the request initiator, the business update data corresponding to the business request sent by the request initiator is obtained, the business process data is updated using the business update data, and the updated business process data is sent to the workflow system. This makes it easier for the request initiator to update and modify the data of business requests that fail verification, thereby improving the flexibility of business process processing.

[0105] In one embodiment, before obtaining the business update data corresponding to the business request sent by the request initiator in step S404, the method may further include: responding to the data query request sent by the request initiator, querying the abnormal business data corresponding to the process processing result from the target process record, and returning the abnormal business data to the request initiator.

[0106] Among them, abnormal business data can be used to characterize data that the first node determines has failed verification.

[0107] Specifically, in response to a data query request corresponding to a business request sent by the request initiator, the server can use a process processing component to retrieve the abnormal business data corresponding to the failed process processing result from the target process record according to the business identifier of the business request. The server then returns the abnormal business data to the request initiator to instruct it to update the business data and returns the updated business data. In one example, the server can also send the reason for the abnormal business data's failure to the request initiator along with the returned abnormal business data, so that the request initiator can update the abnormal business data based on the reason.

[0108] In this embodiment, by responding to the data query request sent by the request initiator, abnormal business data corresponding to the process processing result is retrieved from the target process record, and the abnormal business data is returned to the request initiator. This not only improves the efficiency of obtaining business update data, but also helps to improve the verification pass rate of the updated business process data.

[0109] In one embodiment, before obtaining the process processing result returned by the first node in step S206, the method may further include: in response to the information browsing request sent by the first node, obtaining the business data of the business request from the target process record, and sending the business data to the first node.

[0110] Specifically, after the workflow system transfers the processing node of the business process to the first node, the server can respond to the information browsing request triggered when the first node performs the processing operation on the business request, retrieve the business data that the first node needs to process in the business request from the target process record according to the business identifier of the business request, and send the business data to the first node to instruct the first node to return the process processing result corresponding to the business data.

[0111] Optionally, in some embodiments, the server can also determine the processing method for the information browsing request based on the type identifier carried in the information browsing request. For example, when receiving a type identifier of "S", a simple processing method can be used to process the information browsing request, in which case only the business identifier of the business request needs to be used to query the information required by the first node. When receiving a type identifier of "C", a complex processing method can be used to process the information browsing request, such as parsing the query conditions carried in the information browsing request and using the parsed query conditions to perform the query.

[0112] In this embodiment, by responding to the information browsing request sent by the first node, the business data of the business request is obtained from the target process record, and the business data is sent to the first node, which can simplify the first node's processing operation of the business request and improve the efficiency of obtaining business data.

[0113] In one embodiment, step S202, intercepting a business request sent to the business system, includes: determining the business type corresponding to the business request, and, in response to the result that the business type meets a preset condition, performing the operation of intercepting the business request sent to the business system.

[0114] Specifically, the server can pre-configure preset conditions related to request interception. When a business request to the business system is detected, the business type corresponding to the business request can be determined based on the message identifier of the business request. The business type is then matched with the interception type in the preset conditions. If the business type and the interception type match successfully, in response to the result that the business type meets the preset conditions, the operation of intercepting the business request sent to the business system is executed.

[0115] In one example, the preset condition could be to intercept business requests of the transaction type.

[0116] In this embodiment, by determining whether the business type of the business request meets the preset conditions, it is possible to determine whether the business request should be intercepted. This enables request interception processing for specific businesses, thereby reducing the interception workload of the process processing component.

[0117] In one embodiment, such as Figure 5 As shown, a business process processing method is provided, including:

[0118] Step S502: In response to the result that the business type meets the preset conditions, intercept the business request sent to the business system.

[0119] Specifically, the server can use a process processing component to respond to business requests triggered by the request initiator (such as a client-side page), parse the business requests, and thus determine the corresponding business type. The process processing component uses preset conditions to determine the business type. In response to the business type meeting the preset conditions, the server intercepts the business request sent to the business system. In one example, when the business type does not meet the preset conditions, the business request can be sent directly to the business system.

[0120] Step S504: Use the business identifier of the business request to query whether there is a process record corresponding to the business request.

[0121] Specifically, the server can use the unique business identifier of the business request to query the database to see if a process record corresponding to the current business request exists. If a process record exists, step S514 can be executed to roll back the current business request to the request initiator and return the corresponding prompt information. If no process record exists, step S506 can be executed.

[0122] Step S506: In response to the result that the process record does not exist, create business process data and target process record corresponding to the business request, and send the business process data and target process record to the workflow system.

[0123] Specifically, in response to a non-existent process record, the server can use a process processing component to determine the processing stage corresponding to the business request and the processing nodes under each processing node. It then uses the processing stage, processing nodes, and relevant data parsed from the business request to create business process data corresponding to the business request. Furthermore, it uses the business identifier of the business request and the business process data to generate a target process record corresponding to the business request. The process processing component then sends the business process data and the target process record to the workflow system for storage and instructs the workflow system to transfer the processing node of the current business request to the first node.

[0124] Step S508: In response to the information browsing request sent by the first node, retrieve the business data of the business request from the target process record and send it.

[0125] Step S510: Obtain the corresponding process processing result returned by the first node.

[0126] Specifically, in response to an information browsing request sent by the first node, the server retrieves the business data of the business request from the target process record according to the unique business identifier of the business request, sends the business data to the first node to instruct the first node to process the business data, and returns the corresponding process processing result. A process processing component receives the corresponding process processing result returned by the first node. If the process processing result is successful verification, step S512 is executed. If the process processing result is unsuccessful verification, step S514 is executed.

[0127] Step S512: Forward the business request to the business system and update the processing status of the target process record.

[0128] Specifically, the server can use a process processing component to respond to a successful process processing result by forwarding the business request to the business system and updating the processing status of the target process record to "processed". The successful process processing result is then sent to the workflow system to instruct it to transfer the processing node of the business process request to the business system node.

[0129] Step S514: Roll back the business request to the request initiator.

[0130] Specifically, the server can use a process processing component to respond to a process processing result of verification failure, roll back the business request to the request initiating end, and send the verification failure process processing result to the workflow system to instruct the workflow system to transfer the processing node of the business request to the request initiating node.

[0131] The server can use a process processing component to respond to data query requests triggered by the request initiating node. It can return abnormal business data related to verification failures from the request initiating node and receive updated business data from the request initiating node. The updated business process data is then used to update the business process data, which is then sent to the workflow system. This instructs the workflow system to redirect the processing node of the business request to the first node, thereby enabling the first node to re-execute the verification operation on the updated business process data.

[0132] Alternatively, in some embodiments, such as Figure 6 As shown, a review process processing method is provided in an embodiment of this application. Figure 7 As shown, a prior art method for processing review workflows is provided.

[0133] go through Figure 6 and Figure 7 The comparison clearly shows that existing review process methods require the business system to call the workflow system to create and process the review workflow nodes after the business request enters the business system. Each time a new business module is added to the business system, a new interface needs to be added to the workflow system, resulting in a large development workload. Furthermore, because the business request process is relatively independent, there is also the problem of difficulty in managing the business process.

[0134] The review process processing method in this application embodiment directly intercepts business requests initiated by the front-end page using a process processing component. By utilizing the interaction between the process processing component, the workflow system, and the front-end page, a complete review process for business requests is achieved, thereby reducing development workload and improving review efficiency.

[0135] In this embodiment, by intercepting business requests sent to the business system, business process data corresponding to the business request is created. The business process data is then sent to the workflow system to instruct the workflow system to generate a business process corresponding to the business request. The processing nodes of the business process are then transferred to the corresponding first node. The process processing result returned by the first node is obtained and sent to the workflow system to instruct the workflow system to transfer the processing nodes of the business process to the second node corresponding to the process processing result. This allows the workflow system to directly call the workflow system to execute process processing operations related to the business request before the business system receives the business request, by utilizing data interaction with the workflow system. This decouples the business system from the business process and greatly reduces the development cost of the business process processing method.

[0136] Meanwhile, since the business process processing method provided in this embodiment intercepts business requests sent to the business system and creates business process data corresponding to the business requests, instructing the workflow system to generate the corresponding business process, it can also achieve unified management of business processes.

[0137] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the steps or stages of other steps.

[0138] Based on the same inventive concept, this application also provides a business process processing apparatus for implementing the above-described business process processing method. The solution provided by this apparatus is similar to the implementation scheme described in the above-described method. Therefore, the specific limitations of one or more business process processing apparatus embodiments provided below can be found in the limitations of the business process processing method described above, and will not be repeated here.

[0139] In one embodiment, such as Figure 8 As shown, a business process processing device 800 is provided, including: a request interception module 802, a process creation module 804, a result acquisition module 806, and a node flow module 808, wherein:

[0140] The request interception module 802 is used to intercept business requests sent to the business system.

[0141] The process creation module 804 is used to create business process data corresponding to the business request, send the business process data to the workflow system to instruct the workflow system to generate the business process corresponding to the business request, and transfer the processing node of the business process to the corresponding first node.

[0142] The result acquisition module 806 is used to acquire the process processing result returned by the first node.

[0143] The node transfer module 808 is used to send the process processing result to the workflow system to instruct the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result.

[0144] In one embodiment, the business process processing apparatus 800 further includes: an identifier acquisition module for acquiring a business identifier of a business request; a record query module for querying whether a process record corresponding to the business request exists using the business identifier; and a record creation module for creating a target process record corresponding to the business request using the business identifier and business process data in response to the result that the process record does not exist.

[0145] In one embodiment, the business process processing apparatus 800 further includes a request forwarding module, configured to forward the business request to the business system and update the processing status of the target process record in response to the process processing result being verified as passed.

[0146] In one embodiment, the business process processing device 800 further includes: a node rollback module, used to roll back the business request to the request initiator in response to the process processing result being verification failure; and a data update module, used to obtain business update data corresponding to the business request sent by the request initiator, update the business process data using the business update data, and send the updated business process data to the workflow system to instruct the workflow system to transfer the processing node of the business process to the first node.

[0147] In one embodiment, the business process processing device 800 further includes: a query response module, configured to respond to a data query request sent by the request initiator, query the target process record to obtain abnormal business data corresponding to the process processing result; and a first data return module, configured to return the abnormal business data to the request initiator to instruct the request initiator to update the abnormal business data and return the updated business update data.

[0148] In one embodiment, the business process processing apparatus 800 further includes: a browsing response module, configured to respond to an information browsing request sent by a first node and obtain business data of the business request from a target process record; and a second data return module, configured to send the business data to the first node to instruct the first node to return the process processing result corresponding to the business data.

[0149] In one embodiment, the request interception module 802 is further configured to determine the business type corresponding to the business request, and in response to the result that the business type meets the preset conditions, execute the operation of intercepting the business request sent to the business system.

[0150] Each module in the processing device for the aforementioned business process can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the operations corresponding to each module.

[0151] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores business identifiers, business process data, target process records, etc. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a business process processing method.

[0152] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0153] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0154] In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the above method embodiments.

[0155] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0156] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0157] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0158] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for processing a business process, characterized in that, The method includes: Intercept business requests sent to the business system; Create business process data corresponding to the business request, send the business process data to the workflow system to instruct the workflow system to generate a business process corresponding to the business request, and transfer the processing node of the business process to the corresponding first node; Obtain the process processing result returned by the first node; The process processing result is sent to the workflow system to instruct the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result; The method further includes: The service request is parsed to obtain the service identifier of the service request; Use the business identifier to query whether there is a process record corresponding to the business request; In response to the result that the process record does not exist, a target process record corresponding to the business request is created using the business identifier and the business process data.

2. The method according to claim 1, characterized in that, The method further includes: In response to the process processing result being verified as passed, the business request is forwarded to the business system, and the processing status of the target process record is updated.

3. The method according to claim 1, characterized in that, The method further includes: If the process results in a verification failure, the business request is returned to the request initiator. Obtain the service update data corresponding to the service request sent by the request initiator; The business process data is updated using the business update data, and the updated business process data is sent to the workflow system to instruct the workflow system to transfer the processing node of the business process to the first node.

4. The method according to claim 3, characterized in that, Before obtaining the service update data corresponding to the service request sent by the request initiator, the method further includes: In response to the data query request sent by the request initiator, abnormal business data corresponding to the process processing result is retrieved from the target process record; The abnormal service data is returned to the request initiator to instruct the request initiator to update the abnormal service data and return the updated service data.

5. The method according to claim 1, characterized in that, Before obtaining the process processing result returned by the first node, the process includes: In response to the information browsing request sent by the first node, the business data of the business request is obtained from the target process record; The business data is sent to the first node to instruct the first node to return the process processing result corresponding to the business data.

6. The method according to any one of claims 1 to 5, characterized in that, The interception of business requests sent to the business system includes: Determine the business type corresponding to the business request; In response to the result that the service type meets the preset conditions, the operation of intercepting the service request sent to the service system is executed.

7. A business process processing apparatus, characterized in that, The device includes: The request interception module is used to intercept business requests sent to the business system; The process creation module is used to create business process data corresponding to the business request, send the business process data to the workflow system to instruct the workflow system to generate a business process corresponding to the business request, and transfer the processing node of the business process to the corresponding first node. The result acquisition module is used to acquire the process processing result returned by the first node; The node transfer module is used to send the process processing result to the workflow system to instruct the workflow system to transfer the processing node of the business process to the second node corresponding to the process processing result; The device further includes: The identifier acquisition module is used to parse the service request to obtain the service identifier of the service request; The record query module is used to query whether there is a process record corresponding to the business request using the business identifier; The record creation module is used to create a target process record corresponding to the business request using the business identifier and the business process data in response to the result that the process record does not exist.

8. The apparatus according to claim 7, characterized in that, The device further includes: The request forwarding module is used to forward the business request to the business system and update the processing status of the target process record in response to the process processing result being verified as passed.

9. The apparatus according to claim 7, characterized in that, The device further includes: The node rollback module is used to roll back the business request to the request initiator when the process processing result is that the verification fails. The data update module is used to obtain the business update data corresponding to the business request sent by the request initiator, update the business process data with the business update data, and send the updated business process data to the workflow system to instruct the workflow system to transfer the processing node of the business process to the first node.

10. The apparatus according to claim 9, characterized in that, The device further includes: The query response module is used to respond to the data query request sent by the request initiating end and query the abnormal business data corresponding to the process processing result from the target process record; The first data return module is used to return the abnormal business data to the request initiating end, so as to instruct the request initiating end to update the abnormal business data and return the updated business data.

11. The apparatus according to claim 7, characterized in that, The device further includes: The browsing response module is used to respond to the information browsing request sent by the first node and obtain the business data of the business request from the target process record; The second data return module is used to send the business data to the first node, so as to instruct the first node to return the process processing result corresponding to the business data.

12. The apparatus according to any one of claims 7 to 11, characterized in that, The request interception module is further configured to determine the business type corresponding to the business request, and in response to the result that the business type meets the preset conditions, execute the operation of intercepting the business request sent to the business system.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.