Business data processing method, device, equipment and computer storage medium
By introducing flowchart lanes and public information configuration into the business flow chart, the problem of inefficient design and configuration of complex business flow charts is solved, rapid changes and efficient data processing are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202210277671.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-21
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-03-21
AI Technical Summary
The existing business flow chart is complex, with many nodes and error-prone, resulting in low processing efficiency and large configuration workload, and lack of effective solutions.
By introducing a flowchart lane into the business flow chart, dividing the responsibility stages of the task processing objects and configuring public information, the rapid switching and data processing of nodes at different responsibility stages are realized.
It improves the efficiency and convenience of business data processing, and achieves rapid changes and information acquisition through the flowchart lane structure, simplifies workflow configuration and enhances user experience.
Smart Images

Figure CN114610383B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and system for processing business data. Background Art
[0002] Business process diagrams have been widely used in the process design of software engineering. Generally, business process diagrams can be involved according to the processing process of business flows, and then data processing of business flows can be performed based on business process diagrams. However, as business flows become more and more complex, more and more nodes are involved, and the design and configuration of business process diagrams are becoming more and more complex. In some scenarios, the processing nodes of business flows may need to be changed, which requires reconfiguration of business process diagrams, which is a large workload and prone to errors.
[0003] To address the above problems, no effective solution has been proposed yet. Summary of the invention
[0004] The purpose of the embodiments of this specification is to provide a business data processing method, device, equipment and computer storage medium, which improve the efficiency and convenience of business data processing.
[0005] On the one hand, an embodiment of this specification provides a business data processing method, the method comprising:
[0006] Draw a business process diagram based on the business processing flow;
[0007] Determine the task processing object corresponding to each node in the business process diagram;
[0008] Adding a flow chart lane in the business process diagram according to the business process stage corresponding to the task processing object, wherein the nodes in the same flow chart lane correspond to the same business process stage of the task processing object, and each flow chart lane is configured with common information;
[0009] Business data processing is performed based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes.
[0010] Furthermore, when adding a flow chart swim lane to the business process chart according to the task processing object, the method further includes:
[0011] Obtaining task attribute information corresponding to each node in the flow chart lane and user attribute information of the task processing object corresponding to each node;
[0012] The task general information of each task attribute information and the user general information of each user attribute information are acquired, and the task general information and the user general information are configured as the public information of the flow chart swim lane.
[0013] Furthermore, the business data processing based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes:
[0014] The business data is circulated and processed in sequence according to the order of each node in the business process diagram and the tasks corresponding to each node. When it flows to each node, the corresponding public information is obtained in sequence according to the flowchart lane corresponding to each node. The corresponding task processing object and task configuration parameters are determined based on the obtained public information, and the tasks and task configuration parameters corresponding to the nodes are pushed to the corresponding task processing objects to process the business data.
[0015] Furthermore, when adding a flowchart lane to the business process diagram, a flowchart lane identifier is configured for each flowchart lane, and a node identifier of each node in the business process diagram is obtained, and a flowchart lane mapping relationship between the flowchart lane identifier of each flowchart lane and the node identifier of the node in each flowchart lane is established;
[0016] The obtaining of corresponding public information according to the flowchart lanes corresponding to each node includes:
[0017] When the business process flow is transferred to the current node, the node identifier of the current node is obtained, and the corresponding flowchart lane identifier is obtained according to the mapping relationship between the node identifier and the flowchart lane;
[0018] The public information of the flowchart lane corresponding to the current node is obtained according to the flowchart lane identifier.
[0019] Furthermore, the method further comprises:
[0020] If the business processing stage corresponding to the target node needs to be changed, the target node is dragged to the flowchart lane corresponding to the target business processing stage.
[0021] Furthermore, the method further comprises:
[0022] After dragging the target node to the flowchart lane corresponding to the target business processing stage, a flowchart lane mapping relationship is established between the target node and the flowchart lane corresponding to the target business processing stage, and the flowchart lane mapping relationship between the target node and the original flowchart lane is released.
[0023] Furthermore, the adding a flow chart swim lane in the business process chart according to the task processing object includes:
[0024] Get the position information of each task processing object;
[0025] The tasks corresponding to all nodes of the same position information are regarded as a business processing stage, and the nodes corresponding to the task processing objects with the same position information are divided into a flowchart lane.
[0026] Furthermore, the method further comprises:
[0027] If the task attribute information corresponding to each node in the flowchart lane is changed or the user attribute information of the task processing object corresponding to each node is changed, the public information of the flowchart lane is updated.
[0028] Furthermore, the processing of business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes:
[0029] Setting a listener and a hook function in the business process diagram;
[0030] When the listener monitors that the business processing flow is transferred to each node in the business process diagram, the hook function is triggered, and the flowchart lane corresponding to each node is obtained by using the hook function, and the public information corresponding to each node is obtained based on the flowchart lane.
[0031] On the other hand, this specification provides a service data processing device, the device comprising:
[0032] A flowchart building module is used to draw a business flowchart according to the business processing flow;
[0033] A task processing object determination module, used to determine the task processing object corresponding to each node in the business process diagram;
[0034] A flowchart lane configuration module, used to add a flowchart lane in the business flowchart according to the business processing stage corresponding to the task processing object, wherein the nodes in the same flowchart lane correspond to the same business processing stage of the task processing object, and each flowchart lane is configured with common information;
[0035] The business processing module is used to process business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes.
[0036] Furthermore, the business processing module is specifically used for:
[0037] The business data is circulated and processed in sequence according to the order of each node in the business process diagram and the tasks corresponding to each node. When it flows to each node, the corresponding public information is obtained in sequence according to the flowchart lane corresponding to each node. The corresponding task processing object and task configuration parameters are determined based on the obtained public information, and the tasks and task configuration parameters corresponding to the nodes are pushed to the corresponding task processing objects to process the business data.
[0038] Furthermore, the device also includes a node changing module, which is used to:
[0039] When the business processing stage corresponding to the target node needs to be changed, the target node is dragged to the flowchart lane corresponding to the target business processing stage.
[0040] On the other hand, an embodiment of the present specification provides a business data processing device, the device includes at least one processor and a memory for storing processor executable instructions, and when the instructions are executed by the processor, the above-mentioned business data processing method is implemented.
[0041] On the other hand, an embodiment of the present specification provides a computer-readable storage medium having computer instructions stored thereon, and the instructions implement the above-mentioned business data processing method when executed by a processor.
[0042] On the other hand, an embodiment of the present specification provides a computer program product, including computer instructions, which implement the above-mentioned business data processing method when executed by a processor.
[0043] The business data processing method, device, equipment and computer storage medium provided in this specification realize the division of each task node of the business into different responsibility stages by configuring flowchart lanes in the business process diagram, and realize the rapid switching of nodes between different flowchart lanes, i.e., different responsibility stages, by configuring the public information of each flowchart lane. When performing business processing based on a business process diagram with flowchart lanes, the corresponding public information can be quickly obtained based on the lane where the node is located, and the information required to perform the task can be further quickly obtained, thereby improving the business processing speed. The lane structure is used to impose certain constraints on the workflow design, so that users can quickly change the workflow in the graphical interface by simply dragging and dropping, and the flowchart structure is clear, which brings certain conveniences to users. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 It is a flowchart of an embodiment of a business data processing method provided in an embodiment of this specification;
[0046] Figure 2 is a business process diagram with flow chart swim lanes in one embodiment of this specification;
[0047] Figure 3 is a structural schematic diagram of a business process diagram with a flow chart swim lane in another embodiment of the present specification;
[0048] Figure 4 is a schematic diagram of the structure of a business data processing device in one embodiment of this specification;
[0049] Figure 5 It is a hardware structure block diagram of a business data processing server in one embodiment of this specification. DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0051] With the development of computer technology, more and more businesses are processed by computers. When the business processing process is relatively complex, business data can be processed by drawing a business processing flowchart. The business processing flowchart can be understood as a chart that describes the business relationship between various units and personnel in the management system, the order of operations, and the flow of management information. Some prescribed symbols and lines are used to represent the processing process of a specific business. In general, there will be nodes involved in the business processing process in the business processing flowchart. Each node can correspond to the corresponding tasks that need to be processed and the objects that process the tasks. The computer can flow to the corresponding nodes in turn based on the business processing flowchart, push the tasks to the corresponding task processing objects, and the corresponding task processing objects will complete the corresponding tasks. After the task of the node is completed, it will automatically flow to the next node until the node flow of the business flowchart is completed, and the business data processing is completed.
[0052] Figure 1 1 is a flow chart of an embodiment of a business data processing method provided in the embodiment of this specification. Figure 1 As shown, the business data processing method provided in the embodiments of this specification can be a server or a client, specifically a computer, a tablet computer, a smart phone and other devices. Although this specification provides the method operation steps or device structures shown in the following embodiments or drawings, more or fewer operation steps or module units after partial merger may be included in the method or device based on routine or no creative labor. In the steps or structures where there is no necessary causal relationship logically, the execution order of these steps or the module structure of the device is not limited to the execution order or module structure shown in the embodiments of this specification or the drawings. When the method or module structure is applied in an actual device, server or terminal product, it can be executed sequentially or in parallel according to the method or module structure shown in the embodiments or drawings (for example, a parallel processor or multi-threaded processing environment, or even a distributed processing, server cluster implementation environment).
[0053] A specific implementation example is Figure 1 As shown, in one embodiment of the business data processing method provided in this specification, the method may include the following steps:
[0054] Step 102: Draw a business process diagram according to the business processing flow.
[0055] In the specific implementation process, as mentioned above, the business process flow chart can be understood as a chart that describes the business relationship between various units and personnel in the management system, the operation sequence and the flow of management information, and uses some specified symbols and lines to represent the processing process of a specific business. The corresponding business process flow chart can be drawn according to the specific processing process of the business, such as: the visual interface of the business process chart can be used by a computer to configure each node of the business processing, and then the nodes are connected by corresponding symbols or connecting lines according to the specific processing flow or operation sequence of the business. The specific drawing of the flow chart can be configured according to actual needs, and the embodiments of this specification are not specifically limited.
[0056] Step 104: Determine the task processing object corresponding to each node in the business process diagram.
[0057] In the specific implementation process, business data processing can be understood as the execution of a task corresponding to a business, such as the design of a project plan, which may require many processes such as research, preliminary plan, modification plan, plan review, summary of review opinions, plan modification, etc. For more complex businesses, multiple business processing objects may be required to complete them together. Generally, a node in a business process diagram corresponds to a business processing object. After drawing the business process diagram, the task processing objects of each node in the business process diagram can be configured.
[0058] Step 106: Add a flowchart lane to the business process diagram according to the business process stage corresponding to the task processing object, wherein the nodes in the same flowchart lane correspond to the same business process stage of the task processing object, and each flowchart lane is configured with common information.
[0059] In the specific implementation process, the embodiments of this specification divide the various responsibility stages in the business processing process by adding flowchart lanes in the business process diagram. The flowchart lane can be understood as a business process modeling symbol, which can clearly reflect at which process stage a certain action occurs. According to the business processing stage where the task processing object corresponding to each node in the business process diagram is located, the nodes in the same business processing stage can be divided into a flowchart lane.
[0060] In some embodiments, adding a flow chart swim lane to the business process chart according to the task processing object includes:
[0061] Get the position information of each task processing object;
[0062] The tasks corresponding to all nodes of the same position information are regarded as a business processing stage, and the nodes corresponding to the task processing objects with the same position information are divided into a flowchart lane.
[0063] In the specific implementation process, after obtaining the task processing objects corresponding to each node in the business process diagram, the job responsibilities of each task processing object can be obtained. The job information can be understood as a job or position, which can represent the information on the scope of responsibilities of the business processing object. The nodes corresponding to the task processing objects with the same job information can be divided into a business processing stage, and then the nodes corresponding to the task processing objects with the same job information can be divided into a flowchart lane. Figure 2 is a business process diagram with a flow chart swim lane in one embodiment of this specification, such as Figure 2 As shown, the long rectangle used to separate the roles can represent the flow chart swim lanes recorded in the embodiments of this specification. In addition, in addition to the nodes recorded in the embodiments of this specification, other workflow elements such as gateways can also be placed in the flow chart swim lanes, which are not specifically limited in the embodiments of this specification. By setting the flow chart swim lanes, the user tasks of each responsibility stage are effectively divided, making the entire business process diagram clearer.
[0064] In addition, in the embodiments of this specification, after the flowchart lanes are set, the public information of each flowchart lane can be configured. The public information can be understood as the general information of the nodes and / or task processing objects in the flowchart lane.
[0065] In some embodiments of the present specification, when adding a flow chart swim lane to the business process chart according to the task processing object, the method further includes:
[0066] Obtaining task attribute information corresponding to each node in the flow chart lane and user attribute information of the task processing object corresponding to each node;
[0067] The task general information of each task attribute information and the user general information of each user attribute information are acquired, and the task general information and the user general information are configured as the public information of the flow chart swim lane.
[0068] In the specific implementation process, when configuring the public information of the flowchart lane, the task attribute information of each node in the flowchart lane and the user attribute information of the task processing object corresponding to the node can be obtained, wherein the task attribute information can be understood as the parameters required to execute the task corresponding to the node, such as: reviewer parameters, task required time, etc., and the user attribute information can be understood as personal related information of the task processing object, such as: object identification, name, age, department, etc. of the task processing object can be included. The task general information of the task attribute information of each node in the flowchart lane and the user general information of the user attribute information of the task processing object of each node are obtained. The general information can be understood as the same part of the attribute information, and the task general information and the user general information are configured as the public information of the flowchart lane. The public information of the same responsibility stage is configured in the flowchart lane. When the business processing flows to the node in the flowchart lane, the public information in the flowchart lane can be directly taken as the parameter of the node processing task to process the business data, thereby improving the speed and accuracy of business processing.
[0069] In some embodiments of this specification, the method further includes:
[0070] If the task attribute information corresponding to each node in the flowchart lane is changed or the user attribute information of the task processing object corresponding to each node is changed, the public information of the flowchart lane is updated.
[0071] In the specific implementation process, if the task attribute information of the node in the flowchart lane or the user attribute information of the task processing object corresponding to the node changes, the public information in the flowchart lane is changed according to the actual change to ensure the accurate and normal processing of business data.
[0072] Step 108: Process the business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes.
[0073] In the specific implementation process, after the configuration of the flowchart lanes and the public information in the flowchart lanes is completed, the business process flowchart can be considered to be constructed, and the business data can be processed based on the business process flowchart. Starting from the starting node of the business process flowchart, the tasks corresponding to each node can be executed in sequence. When the task processing of a node is completed, it will flow to the next node. When executing the tasks of each node, the corresponding public information can be obtained based on the flowchart lane where the node is located, and the corresponding tasks can be completed based on the obtained public information.
[0074] In some embodiments of this specification, the business data processing based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes:
[0075] The business data is circulated and processed in sequence according to the order of each node in the business process diagram and the tasks corresponding to each node. When it flows to each node, the corresponding public information is obtained in sequence according to the flowchart lane corresponding to each node. The corresponding task processing object and task configuration parameters are determined based on the obtained public information, and the tasks and task configuration parameters corresponding to the nodes are pushed to the corresponding task processing objects to process the business data.
[0076] In the specific implementation process, when processing business data based on the business process diagram, the task can be transferred one by one according to the order of the nodes in the business process diagram. When it flows to each node, the corresponding public information is obtained based on the flowchart lane where the node is located. Based on the obtained public information, the task processing object corresponding to the node and the task configuration parameters required to complete the task can be determined, and then the task and task configuration parameters corresponding to the node are pushed to the corresponding task processing object, and the task processing object completes the task of the corresponding node based on the task configuration parameters.
[0077] In some embodiments of the present specification, when adding a flowchart lane to the business process diagram, a flowchart lane identifier is configured for each flowchart lane, and a node identifier of each node in the business process diagram is obtained, and a mapping relationship between the flowchart lane identifier of each flowchart lane and the node identifier of the node in each flowchart lane is established;
[0078] The obtaining of corresponding public information according to the flowchart lanes corresponding to each node includes:
[0079] When the business process flow is transferred to the current node, the node identifier of the current node is obtained, and the corresponding flowchart lane identifier is obtained according to the mapping relationship between the node identifier and the flowchart lane;
[0080] The public information of the flowchart lane corresponding to the current node is obtained according to the flowchart lane identifier.
[0081] In the specific implementation process, when configuring the flowchart lanes, the flowchart lane identifiers of each flowchart lane and the node identifiers of each node in the flowchart lane can be configured, and a mapping relationship is established between the flowchart lane identifiers of each flowchart lane and the node identifiers of the nodes in the flowchart lane. When processing business data based on the business process diagram, when the business flow is transferred to the current node, the node identifier corresponding to the current node can be obtained, and the flowchart lane identifier of the flowchart lane where the current node is located can be obtained based on the flowchart lane mapping relationship, and then the public information of the flowchart lane can be obtained, and the tasks and task configuration parameters corresponding to the node can be pushed to the corresponding task processing object based on the public information, and the task processing object completes the tasks of the corresponding node based on the task configuration parameters to process the business data.
[0082] By establishing a mapping relationship between the flowchart lanes and nodes, the public information of the flowchart lanes where the nodes are located can be quickly obtained when the nodes are transferred, thereby speeding up the efficiency and accuracy of business data processing. In view of the characteristics of the workflow lane structure, the embodiments of this specification propose a new idea for obtaining public information in the business process diagram, provide a method for different user tasks to uniformly obtain information through the lane structure, solve the problem of flexible configuration of variable processes, realize the rapid change of the configuration scene of the business process diagram graphical interface, and improve the convenience and ease of use of workflow configuration.
[0083] In some embodiments of this specification, the method further includes:
[0084] If the business processing stage corresponding to the target node needs to be changed, the target node is dragged to the flowchart lane corresponding to the target business processing stage.
[0085] During the specific implementation process, when it is necessary to change the business processing stage corresponding to a certain node in the business process diagram, that is, the target node, the target node can be dragged directly in the business process diagram to the new business processing stage, that is, the flowchart lane where the target business processing stage is located. Figure 3 is a structural schematic diagram of a business process diagram with a flow chart swim lane in another embodiment of this specification, compared with Figure 2 and Figure 3 In the upper left corner, there is a node called "Supplementary Materials for Withdrawal of Account". When the demand changes and the step needs to be handled by the security supervisor instead of the account manager, just drag the node to the flowchart lane to which the security supervisor belongs to make it effective.
[0086] In some embodiments of this specification, the method further includes:
[0087] After dragging the target node to the flowchart lane corresponding to the target business processing stage, a flowchart lane mapping relationship is established between the target node and the flowchart lane corresponding to the target business processing stage, and the flowchart lane mapping relationship between the target node and the original flowchart lane is released.
[0088] In the specific implementation process, after the target node is dragged to the flowchart lane corresponding to the target business processing stage, the mapping relationship between the target node and the flowchart lane is automatically changed, and the flowchart lane mapping relationship between the target node and the flowchart lane corresponding to the target business processing stage is established, and the flowchart lane mapping relationship between the target node and the original flowchart lane is released. Through the business process diagram visualization configuration interface, the task node of one responsibility stage can be dragged to another responsibility stage, and the responsibility stage of the user task can be quickly switched without other configuration.
[0089] In some embodiments of this specification, the processing of business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes:
[0090] Setting a listener and a hook function in the business process diagram;
[0091] When the listener monitors that the business processing flow is transferred to each node in the business process diagram, the hook function is triggered, and the flowchart lane corresponding to each node is obtained by using the hook function, and the public information corresponding to each node is obtained based on the flowchart lane.
[0092] In the specific implementation process, in the embodiment of this specification, the construction and hook functions can be configured in the business process diagram, the listener can be used to monitor the flow of each node in the business process diagram, and the hook function can be used to obtain the public information corresponding to the node. When the listener is firm to the business processing flow flowing to a node in the business process diagram, the hook function is triggered, and the hook function is used to obtain the flowchart lane where the node is located, and then obtain the public information of the flowchart lane where the node is located. For example: after the hook function is triggered, the node identifier of the node is obtained by the hook function, and the flowchart lane identifier of the node mapping is obtained based on the node identifier, and then the flowchart lane where the node is located is determined, and the public information configured by the flowchart lane is obtained, and the task corresponding to the node is executed based on the public information. Through the cooperation of the flowchart lane, the hook function and the task listener, the relevant parameters can be flexibly configured or obtained for the active node of the current task. When the business process diagram configures the task node to change the flowchart lane, the public information saved in the flowchart lane can be changed without modifying the code, so as to achieve the purpose of switching the responsibility stage of the user task by dragging and dropping.
[0093] The business data processing method provided in the embodiments of this specification realizes the division of each task node of the business into different responsibility stages by configuring flowchart lanes in the business process diagram, and realizes the rapid switching of nodes between different flowchart lanes, i.e., different responsibility stages, by configuring the public information of each flowchart lane. When performing business processing based on a business process diagram with flowchart lanes, the corresponding public information can be quickly obtained based on the lane where the node is located, and the information required to perform the task can be further quickly obtained, thereby improving the business processing speed. The lane structure is used to impose certain constraints on the workflow design, so that users can quickly change the workflow in the graphical interface by simply dragging and dropping, and the flowchart structure is clear, which brings certain conveniences to users.
[0094] In this specification, each embodiment of the above method is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. For relevant parts, refer to the partial description of the method embodiment.
[0095] Based on the above-mentioned business data processing method, one or more embodiments of this specification also provide a device for business data processing. The device may include a system (including a distributed system), software (application), module, component, server, client, etc. using the method of the embodiment of this specification and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided by the embodiment of this specification is as follows. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device of the embodiment of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware of predetermined functions. Although the system and device described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0096] Figure 4 is a schematic diagram of the structure of a business data processing device in one embodiment of this specification, such as Figure 4 As shown, the device comprises:
[0097] A flow chart construction module 41 is used to draw a business flow chart according to the processing flow of the business;
[0098] A task processing object determination module 42, used to determine the task processing object corresponding to each node in the business process diagram;
[0099] A flow chart lane configuration module 43, used to add a flow chart lane in the business flow chart according to the business processing stage corresponding to the task processing object, wherein the nodes in the same flow chart lane correspond to the same business processing stage of the task processing object, and each flow chart lane is configured with common information;
[0100] The business processing module 44 is used to process business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes.
[0101] In some embodiments of this specification, the service processing module is specifically used for:
[0102] The business data is circulated and processed in sequence according to the order of each node in the business process diagram and the tasks corresponding to each node. When it flows to each node, the corresponding public information is obtained in sequence according to the flowchart lane corresponding to each node. The corresponding task processing object and task configuration parameters are determined based on the obtained public information, and the tasks and task configuration parameters corresponding to the nodes are pushed to the corresponding task processing objects to process the business data.
[0103] In some embodiments of this specification, the device further includes a node changing module, which is used to:
[0104] When the business processing stage corresponding to the target node needs to be changed, the target node is dragged to the flowchart lane corresponding to the target business processing stage.
[0105] The business data processing device provided in the embodiment of this specification realizes the division of each task node of the business into different responsibility stages by configuring flowchart lanes in the business process diagram, and realizes the rapid switching of nodes between different flowchart lanes, i.e., different responsibility stages, by configuring the public information of each flowchart lane. When performing business processing based on a business process diagram with flowchart lanes, the corresponding public information can be quickly obtained based on the lane where the node is located, and the information required to perform the task can be further quickly obtained, thereby improving the business processing speed. The lane structure is used to impose certain constraints on the workflow design, so that users can realize rapid changes in the workflow in the graphical interface by simply dragging and dropping, and the flowchart structure is clear, which brings certain conveniences to users.
[0106] It should be noted that the above-mentioned device may also include other implementation modes according to the description of the corresponding method embodiment. The specific implementation modes may refer to the description of the corresponding method embodiment, and will not be described one by one here.
[0107] The embodiments of this specification also provide a business data processing device, the device includes at least one processor and a memory for storing processor executable instructions, and when the instructions are executed by the processor, the business data processing method in the above embodiments is implemented, such as:
[0108] Draw a business process diagram based on the business processing flow;
[0109] Determine the task processing object corresponding to each node in the business process diagram;
[0110] Adding a flow chart lane in the business process diagram according to the business process stage corresponding to the task processing object, wherein the nodes in the same flow chart lane correspond to the same business process stage of the task processing object, and each flow chart lane is configured with common information;
[0111] Business data processing is performed based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes. It should be noted that the above-mentioned device can also include other implementation methods according to the description of the method embodiment. The specific implementation method can refer to the description of the relevant method embodiment, and will not be repeated here.
[0112] The methods or devices of the above embodiments provided in this specification can implement business logic through computer programs and record them on storage media, and the storage media can be read and executed by computers to achieve the effects of the solutions described in the embodiments of this specification.
[0113] The embodiments of this specification also provide a computer program product, including computer instructions, which implement the above-mentioned business data processing method when executed by a processor, such as:
[0114] Draw a business process diagram based on the business processing flow;
[0115] Determine the task processing object corresponding to each node in the business process diagram;
[0116] Adding a flow chart lane in the business process diagram according to the business process stage corresponding to the task processing object, wherein the nodes in the same flow chart lane correspond to the same business process stage of the task processing object, and each flow chart lane is configured with common information;
[0117] Business data processing is performed based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes.
[0118] The method embodiments provided in the embodiments of this specification can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 5 1 is a hardware structure block diagram of a business data processing server in one embodiment of this specification. The computer terminal may be a business data processing server or a business data processing device in the above embodiment. Figure 5 The server 10 shown may include one or more (only one is shown in the figure) processors 100 (the processor 100 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a non-volatile memory 200 for storing data, and a transmission module 300 for communication functions. Those skilled in the art will understand that Figure 5 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 5 More or fewer components shown in the figure may also include other processing hardware, such as a database or multi-level cache, GPU, or other hardware with Figure 5 Different configurations are shown.
[0119] The non-volatile memory 200 can be used to store software programs and modules of application software, such as the program instructions / modules corresponding to the taxi data processing method in the embodiment of this specification. The processor 100 executes various functional applications and resource data updates by running the software programs and modules stored in the non-volatile memory 200. The non-volatile memory 200 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 examples, the non-volatile memory 200 may further include a memory remotely arranged relative to the processor 100, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0120] The transmission module 300 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission module 300 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 300 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0121] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0122] The above-mentioned business data processing method or device provided in the embodiments of this specification can be implemented by a processor in a computer executing corresponding program instructions, such as using the C++ language of the Windows operating system to implement it on a PC, on a Linux system, or other systems such as Android and iOS system programming languages to implement it on a smart terminal, as well as processing logic based on a quantum computer, etc.
[0123] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0124] Although one or more embodiments of the present specification provide method operation steps such as embodiments or flow charts, more or less operation steps may be included based on conventional or non-creative means. The order of steps listed in the embodiment is only one way of executing the order of many steps, and does not represent the only execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiment or the accompanying drawings (for example, a parallel processor or a multi-threaded processing environment, or even a distributed resource data update environment). The term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or equipment. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or equipment including the elements. The first, second, etc. words are used to represent the name, and do not represent any specific order.
[0125] For the convenience of description, the above devices are described in various modules according to their functions. Of course, when implementing one or more of the present specification, the functions of each module can be implemented in the same or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are only schematic. For example, the division of 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 devices or units, which can be electrical, mechanical or other forms.
[0126] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. In the description of this specification, the description of the reference term "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.
[0127] The above are only examples of one or more embodiments of this specification and are not intended to limit one or more embodiments of this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification should be included in the scope of the claims.
Claims
1. A business data processing method, characterized in that: The method comprises: Draw a business process diagram based on the business processing flow; Determine the task processing object corresponding to each node in the business process diagram; Adding a flow chart lane in the business process diagram according to the business process stage corresponding to the task processing object, wherein the nodes in the same flow chart lane correspond to the same business process stage of the task processing object, and each flow chart lane is configured with common information; Processing business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes; Wherein, when adding a flowchart lane in the business process diagram according to the task processing object, the method further comprises: obtaining task attribute information corresponding to each node in the flowchart lane and user attribute information of the task processing object corresponding to each node; obtaining task general information of each task attribute information and user general information of each user attribute information, and configuring the task general information and the user general information as public information of the flowchart lane; The business data processing based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes: performing flow processing of the business data in sequence according to the order of the nodes in the business process diagram and the tasks corresponding to the nodes, and when the business data is transferred to each node, obtaining the corresponding public information in sequence according to the flowchart lanes corresponding to each node, determining the corresponding task processing object and task configuration parameters according to the obtained public information, and pushing the tasks and task configuration parameters corresponding to the nodes to the corresponding task processing objects for processing the business data; Among them, when adding flowchart lanes in the business process diagram, the flowchart lane identifiers of each flowchart lane are configured, and the node identifiers of each node in the business process diagram are obtained, and a flowchart lane mapping relationship between the flowchart lane identifiers of each flowchart lane and the node identifiers of the nodes in each flowchart lane is established; the obtaining of corresponding public information according to the flowchart lanes corresponding to each node includes: when the business processing flow flows to the current node, obtaining the node identifier of the current node, and obtaining the corresponding flowchart lane identifier according to the node identifier and the flowchart lane mapping relationship; obtaining the public information of the flowchart lane corresponding to the current node according to the flowchart lane identifier.
2. The method according to claim 1, characterized in that The method further comprises: If the business processing stage corresponding to the target node needs to be changed, the target node is dragged to the flowchart lane corresponding to the target business processing stage.
3. The method according to claim 2, characterized in that The method further comprises: After dragging the target node to the flowchart lane corresponding to the target business processing stage, a flowchart lane mapping relationship is established between the target node and the flowchart lane corresponding to the target business processing stage, and the flowchart lane mapping relationship between the target node and the original flowchart lane is released.
4. The method according to claim 1, characterized in that The adding a flow chart swim lane to the business flow chart according to the task processing object includes: Get the position information of each task processing object; The tasks corresponding to all nodes of the same position information are regarded as a business processing stage, and the nodes corresponding to the task processing objects with the same position information are divided into a flowchart lane.
5. The method according to claim 1, characterized in that The method further comprises: If the task attribute information corresponding to each node in the flowchart lane is changed or the user attribute information of the task processing object corresponding to each node is changed, the public information of the flowchart lane is updated.
6. The method according to claim 1, characterized in that The processing of business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes: Setting a listener and a hook function in the business process diagram; When the listener monitors that the business processing flow is transferred to each node in the business process diagram, the hook function is triggered, and the flowchart lane corresponding to each node is obtained by using the hook function, and the public information corresponding to each node is obtained based on the flowchart lane.
7. A business data processing device, characterized in that: The device comprises: A flowchart building module is used to draw a business flowchart according to the business processing flow; A task processing object determination module, used to determine the task processing object corresponding to each node in the business process diagram; A flowchart lane configuration module, used to add a flowchart lane in the business flowchart according to the business processing stage corresponding to the task processing object, wherein the nodes in the same flowchart lane correspond to the same business processing stage of the task processing object, and each flowchart lane is configured with common information; A business processing module, used for processing business data based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes; Wherein, when adding a flowchart lane in the business process diagram according to the task processing object, it also includes: obtaining task attribute information corresponding to each node in the flowchart lane and user attribute information of the task processing object corresponding to each node; obtaining task general information of each task attribute information and user general information of each user attribute information, and configuring the task general information and the user general information as public information of the flowchart lane; The business data processing based on the flowchart lanes in the business process diagram and the public information in the flowchart lanes includes: performing flow processing of the business data in sequence according to the order of the nodes in the business process diagram and the tasks corresponding to the nodes, and when the business data is transferred to each node, obtaining the corresponding public information in sequence according to the flowchart lanes corresponding to each node, determining the corresponding task processing object and task configuration parameters according to the obtained public information, and pushing the tasks and task configuration parameters corresponding to the nodes to the corresponding task processing objects for processing the business data; Among them, when adding flowchart lanes in the business process diagram, the flowchart lane identifiers of each flowchart lane are configured, and the node identifiers of each node in the business process diagram are obtained, and a flowchart lane mapping relationship between the flowchart lane identifiers of each flowchart lane and the node identifiers of the nodes in each flowchart lane is established; the obtaining of corresponding public information according to the flowchart lanes corresponding to each node includes: when the business processing flow flows to the current node, obtaining the node identifier of the current node, and obtaining the corresponding flowchart lane identifier according to the node identifier and the flowchart lane mapping relationship; obtaining the public information of the flowchart lane corresponding to the current node according to the flowchart lane identifier.
8. The device according to claim 7, characterized in that The device also includes a node changing module, which is used to: When the business processing stage corresponding to the target node needs to be changed, the target node is dragged to the flowchart lane corresponding to the target business processing stage.
9. A business data processing device, characterized in that: The device comprises at least one processor and a memory for storing processor executable instructions, and when the instructions are executed by the processor, the steps of any one of the methods of claims 1 to 6 are implemented.
10. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of any one of the methods of claims 1 to 6 are implemented.
11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
