Data processing method and device, storage medium and electronic device

By dynamically configuring the approval process, using virtual controls and data flow directions to determine the processing sequence, the existing system's inefficiency is solved when handling complex approval processes, and the automation of the approval process and efficient data processing is realized.

CN119760185APending Publication Date: 2025-04-04中国建设银行股份有限公司安徽省分行
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411832139.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

Existing systems lack flexibility and intelligence when handling complex approval processes, making it difficult to cope with changing approval conditions and process branches, resulting in low data processing efficiency.

Method used

By determining a set of virtual controls based on the target business request, determining the starting virtual control according to the type of the virtual control, and sorting the virtual controls according to the data flow direction indicated by the starting virtual control, determining the target processing sequence to realize the dynamic configuration approval process.

Benefits of technology

It achieves the purpose of quickly adapting to changes in business needs, improves the automation of the approval process and data processing efficiency, and solves the problem of low data processing efficiency due to the complex process approval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119760185A_ABST
    Figure CN119760185A_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method and device, a storage medium and an electronic device. The method includes: determining a group of virtual controls according to a target business request, wherein a virtual control in a group of virtual controls is used to indicate an operation instruction related to the target business request; determining a starting virtual control according to the type of each virtual control in a group of virtual controls; sorting each virtual control according to the data flow direction indicated by the starting virtual control, and determining a target processing sequence, wherein the target processing sequence indicates the execution order of each operation instruction; and processing the target business request according to the target processing sequence. The present application solves the technical problem of low efficiency of data processing due to complex process approval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a data processing method and device, a storage medium, and an electronic device. Background Art

[0002] At present, in the relevant technologies, the existing systems often adopt fixed and linear processing modes when dealing with complex approval processes. They lack flexibility and intelligence and are difficult to cope with changing approval conditions and process branches. The data flow path of the process approval system is usually preset. Once the business process requirements change, code-level modifications and system redeployment are required. In summary, there are technical problems in the relevant technologies that the data processing efficiency is low due to the complexity of process approval.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a data processing method and device, a storage medium, and an electronic device to at least solve the technical problem of low efficiency of data processing due to complex process approval.

[0005] According to one aspect of an embodiment of the present application, a data processing method is provided, including: determining a group of virtual controls according to a target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request; determining a starting virtual control according to the types of each virtual control in the group of virtual controls; sorting the virtual controls according to the data flow direction indicated by the starting virtual control to determine a target processing sequence, wherein the target processing sequence represents the execution order of the each operation instruction; and processing the target business request according to the target processing sequence.

[0006] According to another aspect of an embodiment of the present application, a data processing device is also provided, including: a first determination module, used to determine a group of virtual controls according to a target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request; a second determination module, used to determine a starting virtual control according to the types of each virtual control in the group of virtual controls; a sorting module, used to sort the virtual controls according to the data flow direction indicated by the starting virtual control, and determine a target processing sequence, wherein the target processing sequence represents the execution order of the each operation instruction; a processing module, used to process the target business request according to the target processing sequence.

[0007] Optionally, the device is used to determine a starting virtual control according to the types of each virtual control in the group of virtual controls in the following manner: determining an attribute field from the target business request; determining the business type according to the attribute field; performing a target comparison operation on the types of each virtual control and the business type according to a target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between the each virtual control.

[0008] Optionally, the device is also used to: determine a virtual control of the start node type in the group of virtual controls as the starting virtual control; determine a virtual control of the user node type in the group of virtual controls as the first intermediate virtual control, wherein the target business request is set to allow sending from the starting virtual control to the first intermediate virtual control; determine a virtual control of the mutually exclusive gateway type in the group of virtual controls as the second intermediate virtual control, wherein the target business request is set to allow sending from the starting virtual control to the second intermediate virtual control; determine a virtual control of the parallel gateway type in the group of virtual controls as the third intermediate virtual control, wherein the target business request is set to allow sending from the starting virtual control to the third intermediate virtual control; determine a virtual control of the ending type in the group of virtual controls as the ending virtual control, wherein the target business request is set to allow sending from the starting virtual control to the ending virtual control.

[0009] Optionally, the device is also used for: when the business type indicates that it needs to be processed by one object, controlling the one object through the starting virtual control to process the target business request, obtaining a business processing result, and sending the target business request and the one business processing result to at least one of the first intermediate virtual control, the second intermediate virtual control, the third intermediate virtual control and the ending virtual control; when the business type indicates that it needs to be processed by multiple objects, controlling the multiple objects through the starting virtual control to process the target business request, obtaining multiple business processing results, and when the number of target business processing results in the multiple business processing results exceeds a preset threshold, sending the target business request and the target business processing result to at least one of the first intermediate virtual control, the second intermediate virtual control, the third intermediate virtual control and the ending virtual control.

[0010] Optionally, the device is used to sort the various virtual controls according to the data flow direction indicated by the starting virtual control to determine the target processing sequence in the following manner: create an initial processing sequence, wherein the initial processing sequence is used to store the sorted various virtual controls; add the starting virtual control to the first position of the initial processing sequence; perform a configuration parsing operation according to the starting virtual control to determine the data flow direction; search for a median virtual control connected to the starting virtual control from the group of virtual controls according to the data flow direction; add the median virtual control to the median of the initial processing sequence to obtain the target processing sequence, wherein the median of the initial processing sequence is after the first position of the initial processing sequence.

[0011] Optionally, the device is used to process the target business request according to the target processing sequence in the following manner: processing the target business request according to the target processing sequence to obtain a business processing result; generating a prompt message according to the business processing result, wherein the prompt message is used to respond to the target business request.

[0012] Optionally, the device is also used to: determine the group of virtual controls according to the target business request; extract attribute fields from the target business request, and determine the business type according to the attribute fields; compare the types of each virtual control and the business type according to the target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between the virtual controls; create an initial processing sequence, and add the starting virtual control to the first position of the initial processing sequence; perform a configuration parsing operation according to the starting virtual control to determine the data flow direction; search for a median virtual control connected to the starting virtual control from the group of virtual controls according to the data flow direction, and add the median virtual control to the median of the initial processing sequence to construct the target processing sequence, wherein the type of the median virtual control is one of a user node type, a mutually exclusive gateway type, or a parallel gateway type; execute the operation instructions one by one according to the target processing sequence to process the target business request until a virtual control of the end type is reached to obtain a business processing result; generate a prompt message according to the business processing result, wherein the prompt message is used to respond to the target business request.

[0013] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned data processing method when running.

[0014] According to another aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above data processing method.

[0015] According to another aspect of the embodiments of the present application, there is further provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the data processing method through the computer program.

[0016] In an embodiment of the present application, a group of virtual controls is determined according to a target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request; a starting virtual control is determined according to the type of each virtual control in the group of virtual controls; each virtual control is sorted according to the data flow direction indicated by the starting virtual control to determine a target processing sequence, wherein the target processing sequence represents the execution order of each operation instruction; a target business request is processed according to the target processing sequence, and the purpose of quickly adapting to changes in business needs is achieved by dynamically configuring the approval process, thereby achieving the technical effect of automating the approval process and improving the data processing efficiency, thereby solving the technical problem of low data processing efficiency due to complex process approval. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 is a schematic diagram of an application environment of an optional data processing method according to an embodiment of the present application;

[0019] Figure 2 is a flowchart of an optional data processing method according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of an optional data processing method according to an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of another optional data processing method according to an embodiment of the present application;

[0022] Figure 5 is a schematic structural diagram of an optional data processing device according to an embodiment of the present application;

[0023] Figure 6 is a schematic diagram of the structure of an optional data processing product according to an embodiment of the present application;

[0024] Figure 7 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] The present application is described below in conjunction with embodiments:

[0028] According to one aspect of an embodiment of the present application, a data processing method is provided. Optionally, in this embodiment, the data processing method can be applied to Figure 1 In the hardware environment composed of the server 101 and the terminal device 103 shown in FIG. Figure 1As shown, the server 101 is connected to the terminal 103 via a network, and can be used to provide services for the terminal device or an application 107 installed on the terminal device. The application can be a video application, an instant messaging application, a browser application, an educational application, a game application, etc. A database 105 may be set up on the server or independently of the server to provide data storage services for the server 101, for example, a game data storage server. The above-mentioned network may include, but is not limited to, a wired network and a wireless network, wherein the wired network includes, for example, a local area network, a metropolitan area network, and a wide area network; the wireless network includes, for example, Bluetooth, WIFI, and other networks that implement wireless communication; the terminal device 103 may be a terminal configured with an application program, and may include, but is not limited to, at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop computer, a tablet computer, a PDA, a MID (Mobile Internet Devices), a PAD, a desktop computer, a smart TV, an intelligent voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a mixed reality (MR) terminal, and other computer devices; the above-mentioned server may be a single server, a server cluster consisting of multiple servers, or a cloud server.

[0029] Combination Figure 1 As shown, the above data processing method can be executed by an electronic device, which can be a terminal device or a server. The above data processing method can be implemented by the terminal device or the server respectively, or by the terminal device and the server together.

[0030] The above is only an example and is not specifically limited in this embodiment.

[0031] Optionally, as an optional implementation, as Figure 2 As shown, the above data processing method includes:

[0032] S202, determining a group of virtual controls according to the target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request;

[0033] Optionally, in an embodiment of the present application, the above-mentioned set of virtual controls refers to a collection of software components used to perform specific business processing functions, including but not limited to user nodes, co-signature nodes, or signature nodes, ticket signature nodes, mutually exclusive gateways, parallel gateways and end nodes, etc. The virtual controls can execute corresponding operation instructions according to the nature and requirements of the business request, such as data verification, approval decision-making, process branch processing, etc.

[0034] It should be noted that the above-mentioned target business request can come from different business scenarios, such as procurement approval, financial approval, etc., and this application does not limit this.

[0035] It should also be noted that a business request can trigger multiple operation instructions. By combining different types of virtual controls, the system can build a processing sequence that adapts to various complex approval processes, ensuring that each operation instruction is executed correctly while optimizing data processing efficiency.

[0036] In addition, the types and functions of virtual controls can be expanded and customized according to actual business needs, increasing the flexibility and adaptability of the system.

[0037] S204, determining a starting virtual control according to the type of each virtual control in a group of virtual controls;

[0038] S206, sorting the virtual controls according to the data flow direction indicated by the starting virtual control, and determining a target processing sequence, wherein the target processing sequence represents the execution order of each operation instruction;

[0039] Optionally, in an embodiment of the present application, the above-mentioned starting virtual control refers to the first control at the beginning of the process, which is used to start the entire process and is also used to determine the initial direction of data flow. The data flow direction refers to the path for data to be transmitted between different virtual controls, including but not limited to the path from the starting node to the user approval node, then to the conditional judgment node, and finally to the end node.

[0040] It should be noted that in the process of determining the target processing sequence, the direction of data flow can be dynamically adjusted according to a variety of conditions and rules, for example, according to the user's role, the type of approval, or the parameters of the business request. The determination of this sequence is not limited to linear paths, but can also include complex structures such as loops, branches, and parallel processing to meet the needs of different business processes. This application does not limit this.

[0041] It should also be noted that the type of each virtual control and the logic for determining the starting virtual control can be customized according to different business rules and requirements. For example, the starting virtual control can be a submission request triggered by the user, or it can be an event automatically initiated by the system. In addition, the process path after the starting virtual control can change dynamically based on the result of the conditional judgment gateway. This application does not limit this and is intended to cover various process configurations and execution scenarios to adapt to the complexity and diversity of business process approval. This enables the system to handle various business requests more flexibly and improve the efficiency and accuracy of data processing.

[0042] S208: Process the target service request according to the target processing sequence.

[0043] Optionally, in an embodiment of the present application, the above-mentioned target processing sequence refers to the execution order of a series of virtual controls determined according to predefined rules and business requirements, including but not limited to starting the process from the start node, processing business requests through the user approval node, branching the process based on the decision of the conditional judgment gateway, executing parallel approval nodes to improve processing efficiency, and finally reaching the end node to complete the closed loop of the business process.

[0044] It should be noted that the method of processing the target service request can be dynamically adjusted according to various factors, including but not limited to user operation, external event triggering, system status change and service rule update, etc. This application does not limit this.

[0045] In an exemplary embodiment, taking the application scenario of employee leave approval as an example, it includes but is not limited to:

[0046] First, when an employee submits a leave application through the company's internal system, a set of virtual controls is determined based on the target business request (i.e., the leave application submitted by the employee), including: user node (for department manager approval), conditional gateway (for determining whether the number of days of leave exceeds the threshold), co-signing node (if the number of days of leave exceeds the threshold, joint approval by the human resources department and the finance department is required), and end node (for completing the process and updating the employee's leave status). Each virtual control is used to indicate an operation instruction related to the target business request, for example, the user node instructs the department manager to perform an approval operation.

[0047] Next, according to the types of each virtual control in a group of virtual controls, the system determines the starting virtual control. In this embodiment, the starting virtual control is the user node that receives the employee's leave application and is responsible for starting the entire leave approval process.

[0048] Subsequently, according to the data flow direction indicated by the starting virtual control, the system sorts each virtual control and determines the target processing sequence. For example, if the employee's leave days do not exceed the threshold value, the data flow direction will flow directly from the starting user node to the department manager's user node. After the department manager approves, the process directly reaches the end node. If the leave days exceed the threshold value, the data flow direction will be transferred to the joint signing node of the human resources department and the finance department through the conditional gateway, requiring joint approval by multiple departments before flowing to the end node.

[0049] Finally, according to the target processing sequence, the system starts to process the target business request, that is, to execute the approval process for employee leave. The process proceeds in a determined order, starting from the starting virtual control, and executing the approval tasks in sequence until the entire process is completed. The system updates the employee's leave status and notifies the relevant parties of the approval result.

[0050] Through the embodiments of the present application, a group of virtual controls is determined according to the target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request; a starting virtual control is determined according to the type of each virtual control in the group of virtual controls; each virtual control is sorted according to the data flow direction indicated by the starting virtual control to determine a target processing sequence, wherein the target processing sequence represents the execution order of each operation instruction; a target business request is processed according to the target processing sequence, and the purpose of quickly adapting to changes in business needs is achieved by dynamically configuring the approval process, thereby achieving the technical effect of automating the approval process and improving the data processing efficiency, and further solving the technical problem of low data processing efficiency due to complex process approval.

[0051] As an optional scheme, the above-mentioned determination of the starting virtual control according to the types of each virtual control in the above-mentioned group of virtual controls includes: determining the attribute field from the above-mentioned target business request; determining the above-mentioned business type according to the above-mentioned attribute field; performing a target comparison operation on the types of the above-mentioned each virtual control and the above-mentioned business type according to the target association relationship to determine the above-mentioned starting virtual control, wherein the above-mentioned target association relationship is used to indicate the dependency relationship and execution order between the above-mentioned each virtual control.

[0052] Optionally, in an embodiment of the present application, the above-mentioned attribute field refers to the request information carried in the target business request, which is used to determine the specific direction and detailed processing of the business process. The above-mentioned business type refers to the business processing category identified according to the attribute field. For example, based on the number of leave days and the type of leave, the business type can be divided into ordinary leave process, emergency leave process or special holiday approval process, etc. The above-mentioned target association relationship is used to define the dependencies and execution order between each virtual control to ensure that the process can proceed according to the correct logic, including but not limited to the path from the start node to the end node, the judgment logic of the conditional gateway, the synchronization requirements of the parallel approval nodes, etc., which is the basis for building the approval process.

[0053] It should be noted that the determination of the attribute fields, identification of the business types and comparison of the target association relationships can be adjusted according to different business rules and requirements to adapt to various complex business scenarios. This application does not limit this.

[0054] In an exemplary embodiment, taking the approval process of employee leave as an example, the system first determines the attribute fields such as employee number, leave days and leave type from the target business request; then, based on these attribute fields, the business type is determined, such as whether it is a normal leave or an emergency leave; finally, the system performs a comparison operation on the virtual control type and the business type according to the target association relationship to determine the starting virtual control. For example, if the identified business type is a normal leave, the system will select "department manager approval" as the starting virtual control from a set of virtual controls; and if it is an emergency leave, it is necessary to select "urgent approval" as the starting virtual control to ensure that the process can respond quickly.

[0055] Through the embodiments of the present application, attribute fields, business types and target association relationships are adopted to achieve the technical effects of process automation and intelligence, thereby achieving the purpose of improving approval efficiency, ensuring process accuracy and adapting to complex business scenarios.

[0056] As an optional scheme, the above method also includes: determining the virtual control of the start node type in the above group of virtual controls as the above starting virtual control; determining the virtual control of the user node type in the above group of virtual controls as the first intermediate virtual control, wherein the target business request is set to allow sending from the above starting virtual control to the above first intermediate virtual control; determining the virtual control of the mutually exclusive gateway type in the above group of virtual controls as the second intermediate virtual control, wherein the target business request is set to allow sending from the above starting virtual control to the above second intermediate virtual control; determining the virtual control of the parallel gateway type in the above group of virtual controls as the third intermediate virtual control, wherein the target business request is set to allow sending from the above starting virtual control to the above third intermediate virtual control; determining the virtual control of the end type in the above group of virtual controls as the end virtual control, wherein the target business request is set to allow sending from the above starting virtual control to the above ending virtual control.

[0057] Optionally, in an embodiment of the present application, the first intermediate virtual control refers to the part of the process used to handle operations in which users directly participate, including but not limited to department manager approval, financial review, etc. These nodes usually require manual decision-making and are key links in the business process. The second intermediate virtual control refers to the mutually exclusive gateways used for conditional judgment and path branching in the process, including but not limited to approval path selection based on the number of leave days, process-oriented control based on business type, etc. These gateways can dynamically adjust the direction of data flow according to preset rules to improve the flexibility and intelligence of the process. The third intermediate virtual control refers to a parallel gateway, which can trigger multiple parallel approval or processing tasks in the process at the same time, including but not limited to simultaneous approval by multiple departments, parallel filling of multiple business forms, etc., thereby speeding up process processing.

[0058] It should be noted that the types and functions of the above-mentioned virtual controls can be expanded and customized according to specific business needs, for example, adding automatic review nodes, third-party service call nodes, etc., and this application does not limit this.

[0059] In an exemplary embodiment, taking the leave approval process as an example, after the system receives the target business request, that is, the employee's leave application, it automatically identifies the virtual control of the start node type from a set of virtual controls as the starting virtual control. Subsequently, the process will be automatically sent to the department manager approval node as the first intermediate virtual control, and the manager will conduct preliminary approval. If the number of days of leave exceeds a certain threshold, the system will continue to flow from the first intermediate virtual control to the second intermediate virtual control, that is, the mutually exclusive gateway, to make conditional judgments and decide whether approval from more departments is required. In the case of multi-department approval, the data will flow to the third intermediate virtual control, that is, the parallel gateway, and the human resources department and the finance department will be notified for approval at the same time. The process will eventually be sent to the end virtual control to complete the entire leave approval process.

[0060] Through the embodiments of the present application, the virtual control type division of start node, user node, mutually exclusive gateway, parallel gateway and end node is adopted to achieve the technical effect of automated, intelligent and efficient processing of the approval process, and achieve the purpose of flexibly adapting to business needs, improving approval efficiency and ensuring process consistency.

[0061] As an optional scheme, the above method also includes: when the above business type indicates that it needs to be processed by an object, controlling the above object to process the target business request through the above starting virtual control to obtain a business processing result, and sending the above target business request and the above business processing result to at least one of the above first intermediate virtual control, the above second intermediate virtual control, the above third intermediate virtual control and the above ending virtual control; when the above business type indicates that it needs to be processed by multiple objects, controlling the above multiple objects to process the target business request through the above starting virtual control to obtain multiple business processing results, and when the number of target business processing results in the above multiple business processing results exceeds a preset threshold, sending the above target business request and the above target business processing result to at least one of the above first intermediate virtual control, the above second intermediate virtual control, the above third intermediate virtual control and the above ending virtual control.

[0062] Optionally, in an embodiment of the present application, the above-mentioned one object refers to an entity responsible for executing a single approval or processing task in a business process, directly participating in the initial processing of a business request and returning a business processing result.

[0063] Optionally, in an embodiment of the present application, the above-mentioned multiple objects refer to the multiple entities that the system needs to schedule when the business type indicates that multiple nodes need to participate in the approval, including but not limited to reviewers from multiple departments, co-signers of different roles, etc., to provide their own business processing results for the target business request to meet the needs of multi-signature or multi-department approval. The above-mentioned preset threshold refers to the minimum number of business processing results that the system needs to collect in the multi-object approval process. When this threshold is reached or exceeded, the system will consider the current approval stage to be completed, and then send the target business request and the target business processing result to the subsequent intermediate virtual control or end virtual control for processing.

[0064] It should be noted that the business type determination criteria and the preset threshold setting can be adjusted according to different business needs and scenarios. For example, for emergency business processing, the preset threshold can be set lower to speed up the process execution; while for complex business, the preset threshold can be set higher to ensure sufficient approval and review. This application does not limit this.

[0065] In an exemplary embodiment, the system identifies the business type as "normal leave" based on the target business request, such as an employee's leave application. In this case, the system directly controls an object (department manager) through the initial virtual control to perform an approval operation and obtains a business processing result (manager's approval opinion). Subsequently, the system sends the target business request and a business processing result to the first intermediate virtual control (for example, the additional review node of the human resources department) for further approval or data processing.

[0066] If the business type indicates "large project approval", the system controls multiple objects (approvers from different departments) through the initial virtual control to approve and obtain multiple business processing results. In this case, when the number of target business processing results among the collected multiple business processing results exceeds the preset threshold (for example, the consent of the project leader and more than two department managers), the system sends the target business request and the target business processing result to the second intermediate virtual control (such as the review node of the legal compliance department) for subsequent process processing.

[0067] Through the embodiments of the present application, a combination of single-object approval and multi-object approval is adopted to achieve the technical effect of flexible execution and efficient processing of the approval process, and achieve the purpose of adaptively adjusting the approval strategy according to the business type and complexity, improving the overall process efficiency and ensuring process compliance.

[0068] As an optional scheme, the above-mentioned virtual controls are sorted according to the data flow direction indicated by the above-mentioned starting virtual control to determine the target processing sequence, including: creating an initial processing sequence, wherein the above-mentioned initial processing sequence is used to store the above-mentioned sorted virtual controls; adding the above-mentioned starting virtual control to the first position of the above-mentioned initial processing sequence; performing a configuration parsing operation according to the above-mentioned starting virtual control to determine the above-mentioned data flow direction; searching for a median virtual control connected to the above-mentioned starting virtual control from the above-mentioned group of virtual controls according to the above-mentioned data flow direction; adding the above-mentioned median virtual control to the median of the above-mentioned initial processing sequence to obtain the above-mentioned target processing sequence, wherein the median of the above-mentioned initial processing sequence is located after the first position of the above-mentioned initial processing sequence.

[0069] Optionally, in an embodiment of the present application, the above-mentioned initial processing sequence refers to a data structure used to store and record the execution order of virtual controls in the approval process, including but not limited to arrays, linked lists or stacks, etc., to ensure that the execution order of the process complies with predefined rules and business logic.

[0070] Optionally, in an embodiment of the present application, the above-mentioned configuration parsing operation refers to the process of the system interpreting and analyzing preset process configuration files, which describe in detail the connection relationship and data flow direction between virtual controls, including but not limited to XML, JSON or custom configuration formats, for dynamically generating approval processes.

[0071] In an exemplary embodiment, after receiving the target business request, the system first creates an initial processing sequence to store the execution order of the entire approval process. Subsequently, the system adds the starting virtual control (e.g., the department manager approval node) to the first position of the initial processing sequence as the first execution step of the process. Next, the system performs a configuration parsing operation based on the starting virtual control, parses the preset process rule file, and determines the direction of data flow, that is, determines the next step of the process based on the processing result of the starting virtual control, for example, whether further approval by the human resources department is required or directly enters the financial processing stage.

[0072] Next, according to the data flow direction obtained by parsing, the median virtual control connected to the starting virtual control is found from a set of virtual controls. For example, if the department manager agrees to the leave, the median virtual control is the approval node of the human resources department; if the department manager refuses the leave, the median virtual control is the notification node of the employee. Then, the system adds the found median virtual control to the median of the initial processing sequence, that is, after the starting virtual control, and constructs the target processing sequence to indicate the next approval task.

[0073] Through the embodiment of the present application, the process sequence is dynamically generated to achieve the technical effect of flexible configuration and automatic execution of the approval process, thereby achieving the purpose of improving approval efficiency, reducing manual intervention and ensuring process accuracy. This not only optimizes the user experience, but also enhances the adaptability and scalability of the system.

[0074] As an optional scheme, the above-mentioned processing of the target business request according to the above-mentioned target processing sequence includes: processing the above-mentioned target business request according to the above-mentioned target processing sequence to obtain a business processing result; generating a prompt message according to the above-mentioned business processing result, wherein the above-mentioned prompt message is used to respond to the above-mentioned target business request.

[0075] Optionally, in an embodiment of the present application, the above-mentioned business processing results refer to the feedback information generated by the system based on the process configuration and the approver's operation after each link in the approval process is completed, including but not limited to the approval status (agree, reject), approval opinion, subsequent operation instructions or updated data status, etc., used to indicate the progress and results of the process.

[0076] Optionally, in an embodiment of the present application, the above-mentioned prompt message refers to the information generated by the system based on the business processing results for notifying the business requester or other participants in the process, which can be conveyed in a variety of ways, including but not limited to email notifications, system message push, SMS reminders, etc., to ensure that each participant can promptly understand the status changes of the approval process and the actions that need to be taken.

[0077] In an exemplary embodiment, the system processes a target business request, such as an employee's leave application, according to a target processing sequence. When the department manager completes the approval operation, the system automatically obtains the business processing result (for example, the department manager's approval opinion is consent) according to the process defined in the target processing sequence. Subsequently, the system automatically generates a prompt message according to the business processing result, notifies the human resources department of this information, and instructs them to proceed with the next step of approval or processing. At the same time, the system also sends a message to the employee to inform him of the current status of his leave application.

[0078] It should be noted that the type and content of business processing results can be customized according to different business scenarios and needs. For example, in the financial reimbursement approval process, the business processing results can include confirmation of the reimbursement amount, compliance review results of invoices, etc. The generation method and content of prompt messages can also be adjusted according to the business type and the preferences of the participants. For example, emergency business processing can be done by phone or emergency push notification, while general business can choose email or system message. This application does not limit this, and aims to provide a flexible and changeable approval process processing and notification mechanism.

[0079] Through the embodiment of the present application, the technology of automatically processing the target processing sequence and automatically generating prompt messages is adopted to achieve the technical effect of efficient execution of the approval process and timely notification, and achieve the purpose of improving the efficiency of the business process and ensuring the accuracy and timeliness of information transmission. This not only improves the user experience, but also enhances the flexibility and reliability of the system when processing complex business processes.

[0080] As an optional solution, the method further includes: determining the group of virtual controls according to the target business request; extracting attribute fields from the target business request, and determining the business type according to the attribute fields; comparing the types of the virtual controls and the business type according to the target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between the virtual controls; creating an initial processing sequence, adding the starting virtual control to the first position of the initial processing sequence; performing a configuration parsing operation according to the starting virtual control to determine the data flow direction; searching for a median virtual control connected to the starting virtual control from the group of virtual controls according to the data flow direction, and adding the median virtual control to the median of the initial processing sequence to construct the target processing sequence, wherein the type of the median virtual control is one of a user node type, a mutually exclusive gateway type, or a parallel gateway type; executing the operation instructions one by one according to the target processing sequence to process the target business request until a virtual control of the end type is reached to obtain a business processing result; generating a prompt message according to the business processing result, wherein the prompt message is used to respond to the target business request.

[0081] In an exemplary embodiment, the system receives a target business request, such as a leave application submitted by an employee, and first determines a set of virtual controls based on the content of the leave application. Then, attribute fields are extracted from the target business request, such as the number of days of leave, the employee's department, etc., and the business type, such as emergency leave or ordinary leave, is determined based on these fields. The system then compares the virtual control type and the business type according to the preset target association relationship, that is, the dependency relationship and execution order between each virtual control, and determines the starting virtual control (such as department manager approval).

[0082] First, create an initial processing sequence and add the starting virtual control (department manager approval) to the top of the list. Next, the system performs a configuration analysis operation to determine the direction of data flow, that is, to determine the direction of the process after the department manager's approval, such as whether further approval from the human resources department is required. Based on the data flow direction, the system searches for a median virtual control connected to the starting virtual control, such as human resources department approval, and adds this median virtual control to the corresponding position in the initial processing sequence to construct the target processing sequence.

[0083] Next, the system executes the operation instructions one by one according to the target processing sequence, processes the target business request, and completes the entire process until it encounters a virtual control of the end type and obtains the final business processing result, for example, the employee's leave application has been approved or rejected.

[0084] Finally, the system generates a prompt message based on the business processing results and feeds back the results to the employee who submitted the application and all relevant approvers through email or system notification.

[0085] Through the embodiment of the present application, the technology of dynamically generating virtual control processing sequences and adaptively executing operation instructions is adopted to achieve the technical effect of automatic and intelligent approval process, and achieve the purpose of quickly responding to business needs, improving approval efficiency and ensuring process accuracy. This solution not only greatly reduces the need for manual intervention, but also optimizes the user experience through automated processes and timely feedback, ensuring the continuity and compliance of business processing.

[0086] In an exemplary embodiment, the data processing method proposed in the present application can be applied to a configurable business process approval system. Specifically, the terms appearing in the embodiments of the present application are first explained as follows:

[0087] Configurable process approval: The system allows users to quickly configure the approval process through a graphical interface according to their own business needs without the need for code modification.

[0088] Workflow engine: responsible for parsing and executing process definitions, supporting complex business logic and conditional judgments.

[0089] API: Application Programming Interface, a way for software to communicate.

[0090] UI: User interface refers to the interface through which people interact and operate with computer systems.

[0091] For example, Figure 3 is a schematic diagram of an optional data processing method according to an embodiment of the present application. The embodiment of the present application can provide flexible approval process customization capabilities to meet the needs of different organizations and businesses. The system functions are as follows: Figure 3 As shown:

[0092] S1, Process Designer: Uses a graphical configuration method, supports users to drag nodes to the drawing area, clicks the node with the mouse, and arrows in different directions appear. Click the arrow and hold down the mouse to drag a line to connect the two nodes. Click the node to set node properties such as: handler, listener, bound business form, etc. The node handler supports setting by user, role, department or variable expression. The system provides a total of 7 types of nodes: start node, user node-or signature (only one person is required to approve), user node-vote signature (approval ratio reaches the set value), user node-co-signature (all processing requires approval), mutually exclusive gateway (conditional judgment), parallel gateway (branch approval), end node.

[0093] S2, role management: The system supports multiple role definitions, each with different approval permissions and responsibilities.

[0094] S3, Approval Operation: The system supports users to trigger the process start through API or front-end interface. Users can also provide some input parameters when starting the process, such as employee number, number of days of leave, reason, etc.

[0095] S4, the system assigns the approval task to the corresponding personnel according to the predefined rules. After receiving the task, the approver can perform approval operations, such as "agree", "reject", "transfer", etc., and fill in the approval opinion. If the approver fails to handle the task in time or refuses to approve, the system will trigger the exception handling mechanism, which can end the task, assign the task to other personnel or skip the current link according to the previous settings. When the approver changes or the user refuses the approval operation, the system supports the configuration of the corresponding listener and sends a notification according to the user notification logic in the listener. The system ensures the consistency and integrity of the data through transaction management. The data is backed up regularly to prevent data loss and damage and ensure data reliability.

[0096] S5, process monitoring: The system provides real-time process monitoring function, and users can view the process status and progress.

[0097] S6, Notification mechanism: When the approval process status changes, the system automatically notifies the relevant approvers and participants.

[0098] S7, data report: The system can generate data statistics and analysis reports for the approval process.

[0099] For example, Figure 4 is a schematic diagram of another optional data processing method according to an embodiment of the present application, such as Figure 4 As shown, the embodiment of the present application includes the following key components:

[0100] User interface (UI): provides an intuitive graphical interface that allows non-technical users to easily configure and manage processes. Workflow engine: core component responsible for parsing and executing process definitions. Database layer: stores process definitions, approval data and other information. Security module: includes identity authentication, permission control and data encryption.

[0101] Furthermore, the system framework includes:

[0102] Data layer: stores metadata, user data, approval status and other information of the approval process, usually using a relational database such as ORACLE. Service layer: contains business logic and handles various requests in the approval process, such as submitting approvals, approval operations, process changes, etc. The service layer adopts a microservice architecture to improve the maintainability and scalability of the system. Application layer: provides an interactive interface for users, which can be a web application or a mobile application. The application layer communicates with the service layer through APIs to implement various user operation requests.

[0103] Through the embodiments of the present application, an intuitive graphical interface is provided, so that non-technical users can easily configure and manage processes, and configure a workflow engine that is responsible for parsing and executing process definitions, storing process definitions, approval data and other information at the database layer, and implementing identity authentication, authority control and data encryption and other functions through a security module.

[0104] In addition, in terms of the system framework, the data layer stores metadata, user data, approval status and other information of the approval process, usually using a relational database such as ORACLE; the service layer contains business logic and handles various requests in the approval process, such as submitting approvals, approval operations, process changes, etc. The service layer adopts a microservice architecture to improve the maintainability and scalability of the system, and the application layer provides users with an interactive interface, which can be a web application or a mobile application. The application layer communicates with the service layer through an API to implement various user operation requests. It can also consider using cloud computing technology to achieve remote management and execution of process approvals, or further improve the intelligence level of the approval process through artificial intelligence technology.

[0105] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0106] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0107] According to another aspect of the embodiment of the present application, a data processing device for implementing the above data processing method is also provided. Figure 5 As shown, the device comprises:

[0108] A first determining module 502 is used to determine a group of virtual controls according to a target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request;

[0109] A second determination module 504 is used to determine a starting virtual control according to the type of each virtual control in a group of virtual controls;

[0110] A sorting module 506 is used to sort the virtual controls according to the data flow direction indicated by the starting virtual control to determine a target processing sequence, wherein the target processing sequence represents the execution order of each operation instruction;

[0111] The processing module 508 is used to process the target service request according to the target processing sequence.

[0112] As an optional scheme, the above-mentioned device is used to determine the starting virtual control according to the type of each virtual control in a group of virtual controls in the following manner: determine the attribute field from the target business request; determine the business type according to the attribute field; perform a target comparison operation on the type and business type of each virtual control according to the target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between each virtual control.

[0113] As an optional scheme, the above-mentioned device is also used to: determine a virtual control of a start node type in a group of virtual controls as a starting virtual control; determine a virtual control of a user node type in a group of virtual controls as a first intermediate virtual control, wherein the target business request is set to allow sending from the starting virtual control to the first intermediate virtual control; determine a virtual control of a mutually exclusive gateway type in a group of virtual controls as a second intermediate virtual control, wherein the target business request is set to allow sending from the starting virtual control to the second intermediate virtual control; determine a virtual control of a parallel gateway type in a group of virtual controls as a third intermediate virtual control, wherein the target business request is set to allow sending from the starting virtual control to the third intermediate virtual control; determine a virtual control of an ending type in a group of virtual controls as an ending virtual control, wherein the target business request is set to allow sending from the starting virtual control to the ending virtual control.

[0114] As an optional scheme, the above-mentioned device is also used for: when the business type indicates that it needs to be processed by an object, controlling an object through the starting virtual control to process the target business request, obtaining a business processing result, and sending the target business request and the business processing result to at least one of the first intermediate virtual control, the second intermediate virtual control, the third intermediate virtual control and the ending virtual control; when the business type indicates that it needs to be processed by multiple objects, controlling multiple objects through the starting virtual control to process the target business request, obtaining multiple business processing results, and when the number of target business processing results in the multiple business processing results exceeds a preset threshold, sending the target business request and the target business processing result to at least one of the first intermediate virtual control, the second intermediate virtual control, the third intermediate virtual control and the ending virtual control.

[0115] As an optional solution, the above-mentioned device is used to sort each virtual control according to the data flow direction indicated by the starting virtual control in the following manner to determine the target processing sequence: create an initial processing sequence, wherein the initial processing sequence is used to store the sorted virtual controls; add the starting virtual control to the first position of the initial processing sequence; perform a configuration parsing operation according to the starting virtual control to determine the data flow direction; search for a median virtual control connected to the starting virtual control from a group of virtual controls according to the data flow direction; add the median virtual control to the median of the initial processing sequence to obtain the target processing sequence, wherein the median of the initial processing sequence is located after the first position of the initial processing sequence.

[0116] As an optional solution, the above-mentioned device is used to process the target business request according to the target processing sequence in the following manner: process the target business request according to the target processing sequence to obtain the business processing result; generate a prompt message according to the business processing result, wherein the prompt message is used to respond to the target business request.

[0117] As an optional solution, the above-mentioned device is also used to: determine a group of virtual controls according to the target business request; extract attribute fields from the target business request, and determine the business type according to the attribute fields; compare each virtual control type and business type according to the target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between each virtual control; create an initial processing sequence, and add the starting virtual control to the first position of the initial processing sequence; perform configuration parsing operations according to the starting virtual control to determine the data flow direction; search for a median virtual control connected to the starting virtual control from a group of virtual controls according to the data flow direction, and add the median virtual control to the median of the initial processing sequence to construct a target processing sequence, wherein the type of the median virtual control is one of a user node type, a mutually exclusive gateway type, or a parallel gateway type; execute operation instructions one by one according to the target processing sequence to process the target business request until a virtual control of the end type is reached to obtain a business processing result; generate a prompt message according to the business processing result, wherein the prompt message is used to respond to the target business request.

[0118] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0119] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0120] According to one aspect of the present application, a computer program product is provided. The computer program product includes a computer program.

[0121] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0122] Figure 6 The structure block diagram of a computer system for implementing an electronic device according to an embodiment of the present application is schematically shown.

[0123] It should be noted that Figure 6 The computer system 600 of the electronic 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 application.

[0124] like Figure 6As shown, the computer system 600 includes a central processing unit 601 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 602 (ROM) or the program loaded from the storage part 608 to the random access memory 603 (RAM). Various programs and data required for system operation are also stored in the random access memory 603. The central processing unit 601, the read-only memory 602 and the random access memory 603 are connected to each other through a bus 604. The input / output interface 605 (Input / Output interface, i.e., I / O interface) is also connected to the bus 604.

[0125] The following components are connected to the input / output 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; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a local area network 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 input / output 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.

[0126] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. 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 processor 601, various functions defined in the system of the present application are executed.

[0127] 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 processor 601, various functions provided by the embodiment of the present application are performed.

[0128] According to another aspect of the embodiment of the present application, an electronic device for implementing the above data processing method is also provided. The electronic device may be Figure 1 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a terminal device as an example. Figure 7 As shown, the electronic device includes a memory 702 and a processor 704. The memory 702 stores a computer program, and the processor 704 is configured to execute the steps in any of the above method embodiments through the computer program.

[0129] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0130] Optionally, in this embodiment, the above-mentioned processor can be configured to execute the methods in each embodiment of the present application through a computer program.

[0131] Alternatively, a person skilled in the art may understand that: Figure 7 The structure shown is for illustration only. Figure 7 The structure of the electronic device is not limited. Figure 7 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 7 Different configurations are shown.

[0132] Among them, the memory 702 can be used to store software programs and modules, such as program instructions / modules corresponding to the data processing method and device in the embodiments of the present application. The processor 704 executes various functional applications and data processing by running the software programs and modules stored in the memory 702, that is, realizing the above-mentioned data processing method. The memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 702 may further include a memory remotely located relative to the processor 704, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 702 can be specifically, but not limited to, used to store information such as target business requests. As an example, such as Figure 7 As shown, the memory 702 may include but is not limited to the first determination module 502, the second determination module 504, the sorting module 506 and the processing module 508 in the data processing device. In addition, other modules and units in the data processing device may also be included but are not limited to, which will not be repeated in this example.

[0133] Optionally, the transmission device 706 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 706 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 706 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0134] In addition, the electronic device further comprises: a display 708 for displaying the target service request; and a connection bus 710 for connecting various module components in the electronic device.

[0135] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. The nodes may form a peer-to-peer network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0136] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the data processing method provided in various optional implementations of the above-mentioned data processing aspects.

[0137] Optionally, in this embodiment, the above-mentioned computer-readable storage medium can be configured to store data for executing the methods in various embodiments of the present application.

[0138] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0139] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0140] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for one or more electronic devices to execute all or part of the steps of the methods described in each embodiment of the present application.

[0141] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0142] In the several embodiments provided in the present application, it should be understood that the disclosed application can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0144] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0145] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A data processing method, characterized in that: include: Determine a group of virtual controls according to the target service request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target service request; Determine a starting virtual control according to the type of each virtual control in the group of virtual controls; Sorting the virtual controls according to the data flow direction indicated by the starting virtual control to determine a target processing sequence, wherein the target processing sequence represents the execution order of the operation instructions; The target service request is processed according to the target processing sequence.

2. The method according to claim 1, characterized in that The step of determining a starting virtual control according to the type of each virtual control in the group of virtual controls includes: Determining an attribute field from the target service request; Determine the service type according to the attribute field; A target comparison operation is performed on the types of the various virtual controls and the business types according to the target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between the various virtual controls.

3. The method according to claim 1, characterized in that The method further comprises: Determine a virtual control of the start node type in the group of virtual controls as the starting virtual control; Determine a virtual control of the user node type in the group of virtual controls as a first intermediate virtual control, wherein the target service request is set to allow being sent from the starting virtual control to the first intermediate virtual control; Determine a virtual control of the mutually exclusive gateway type in the group of virtual controls as a second intermediate virtual control, wherein the target service request is set to allow being sent from the starting virtual control to the second intermediate virtual control; Determine a virtual control of the parallel gateway type in the group of virtual controls as a third intermediate virtual control, wherein the target service request is set to allow being sent from the starting virtual control to the third intermediate virtual control; A virtual control of the ending type in the group of virtual controls is determined as an ending virtual control, wherein the target service request is set to allow being sent from the starting virtual control to the ending virtual control.

4. The method according to claim 3, characterized in that The method further comprises: In the case where the business type indicates that it needs to be processed by an object, controlling the one object to process the target business request through the starting virtual control to obtain a business processing result, and sending the target business request and the one business processing result to at least one of the first intermediate virtual control, the second intermediate virtual control, the third intermediate virtual control and the ending virtual control; When the business type indicates that it needs to be processed by multiple objects, the multiple objects are controlled by the starting virtual control to process the target business request to obtain multiple business processing results. When the number of target business processing results among the multiple business processing results exceeds a preset threshold, the target business request and the target business processing result are sent to at least one of the first intermediate virtual control, the second intermediate virtual control, the third intermediate virtual control and the ending virtual control.

5. The method according to claim 1, characterized in that The step of sorting the virtual controls according to the data flow direction indicated by the starting virtual control to determine a target processing sequence includes: Creating an initial processing sequence, wherein the initial processing sequence is used to store the sorted virtual controls; Adding the starting virtual control to the first position of the initial processing sequence; Performing a configuration parsing operation according to the initial virtual control to determine the data flow direction; Searching for a middle virtual control connected to the starting virtual control from the group of virtual controls according to the data flow direction; The median virtual control is added to the median of the initial processing sequence to obtain the target processing sequence, wherein the median of the initial processing sequence is located after the first position of the initial processing sequence.

6. The method according to claim 1, characterized in that The processing of the target service request according to the target processing sequence includes: Process the target service request according to the target processing sequence to obtain a service processing result; A prompt message is generated according to the service processing result, wherein the prompt message is used to respond to the target service request.

7. The method according to claim 1, characterized in that The method further comprises: Determining the set of virtual controls according to the target business request; Extracting an attribute field from the target service request, and determining the service type according to the attribute field; Comparing the virtual control types and the business types according to the target association relationship to determine the starting virtual control, wherein the target association relationship is used to indicate the dependency relationship and execution order between the virtual controls; Creating an initial processing sequence, and adding the initial virtual control to the first position of the initial processing sequence; Performing a configuration parsing operation according to the initial virtual control to determine the data flow direction; Searching for a median virtual control connected to the starting virtual control from the group of virtual controls according to the data flow direction, and adding the median virtual control to the median of the initial processing sequence to construct the target processing sequence, wherein the type of the median virtual control is one of a user node type, a mutually exclusive gateway type, or a parallel gateway type; Execute the operation instructions one by one according to the target processing sequence, process the target business request, until a virtual control of the end type is reached, and obtain a business processing result; A prompt message is generated according to the service processing result, wherein the prompt message is used to respond to the target service request.

8. A data processing device, characterized in that: include: A first determination module is used to determine a group of virtual controls according to a target business request, wherein a virtual control in the group of virtual controls is used to indicate an operation instruction related to the target business request; A second determination module, configured to determine a starting virtual control according to the type of each virtual control in the group of virtual controls; A sorting module, used to sort the virtual controls according to the data flow direction indicated by the starting virtual control, and determine a target processing sequence, wherein the target processing sequence represents the execution order of the operation instructions; A processing module is used to process the target service request according to the target processing sequence.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein the computer program can be executed by an electronic device to perform the method described in any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.

11. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.