A method, apparatus, device, and storage medium for configuring process nodes

By obtaining the configuration node information in the process node configuration instructions and determining static and dynamic routing parameters, the problem of high cost of process node configuration and inability to take effect in real time is solved, and the process node configuration with low cost and real-time effect is achieved.

CN114089955BActive Publication Date: 2025-06-24SHANGHAI PUDONG DEVELOPMENT BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111349459.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-15
Publication Date
2025-06-24
Estimated Expiration
2041-11-15

AI Technical Summary

Technical Problem

In process node configuration, the existing technology has the problem of high configuration costs and inability to take effect in real time.

Method used

By receiving process node configuration instructions, obtain configuration node information, including configuration status, configuration actions and configuration form parameters. Based on this information, the static routing parameters and dynamic routing parameters are determined, thereby determining the first node information of the next process node of the configuration process node.

Benefits of technology

It realizes configuring process nodes in a low configuration cost and real-time effective manner, reducing development costs and improving development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114089955B_ABST
    Figure CN114089955B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a method, device, equipment and storage medium for configuring process nodes. The method includes: when receiving a process node configuration instruction, obtaining configuration node information corresponding to the process node configuration instruction, where the configuration node information includes a configuration status, a configuration action, and configuration form parameters under the configured process node; determining static routing parameters according to the configuration status and the configuration action, and determining dynamic routing parameters according to the configuration form parameters and the static routing parameters; determining first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes a next step status, a next receiving role, and a next candidate action. The technical solution of the embodiment of the present invention can configure process nodes with a relatively low configuration cost and a configuration method that can take effect in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of information software, and in particular, to a method, apparatus, device, and storage medium for configuring process nodes. Background Art

[0002] Process node configuration is the core part of a workflow engine, which mainly realizes the process of the application software routing and transmitting according to some decision information and processing business processes in turn according to a set of predefined rules.

[0003] In order to reduce the development difficulty of the workflow engine and unify the development standards, the industry standard organization has developed the Business Process Modeling Notation (BPMN) specification. Based on this specification, a large number of workflow engine frameworks have emerged in the industry, such as Activiti, JBPM, etc. Developers can quickly develop business processes by means of the services and interfaces provided by these frameworks.

[0004] However, with the diversification and personalization of business requirements, not all business requirements can be incorporated into this specification for solution. Once there are business requirements that cannot be met by this specification, currently developers configure process nodes that meet the current business requirements by modifying existing frameworks or bypassing existing frameworks for customized development. Obviously, both of these involve work at the code level, which has the problems of high configuration costs and inability to take effect in real time. Summary of the Invention

[0005] Embodiments of the present invention provide a method, apparatus, device, and storage medium for configuring process nodes, which solve the problems of high configuration costs and inability to take effect in real time in process node configuration.

[0006] In a first aspect, embodiments of the present invention provide a method for configuring process nodes, which may include:

[0007] When receiving a process node configuration instruction, obtain configuration node information corresponding to the process node configuration instruction, where the configuration node information includes the configuration status, configuration action, and configuration form parameters under the configured process node; determine static routing parameters according to the configuration status and configuration action, and determine dynamic routing parameters according to the configuration form parameters and the static routing parameters; determine first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes the next step status, the next receiving role, and the next candidate action.

[0008] In a second aspect, embodiments of the present invention further provide a device for configuring process nodes, which may include:

[0009] A configuration node information acquisition module is configured to obtain configuration node information corresponding to a process node configuration instruction when receiving the process node configuration instruction, where the configuration node information includes a configuration status, a configuration action, and configuration form parameters under the configured process node;

[0010] A routing parameter determination module is configured to determine static routing parameters according to the configuration status and the configuration action, and determine dynamic routing parameters according to the configuration form parameters and the static routing parameters;

[0011] A first node information determination module is configured to determine first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes a next step status, a next receiving role, and a next candidate action.

[0012] Thirdly, an embodiment of the present invention further provides a configuration device for a process node, which may include:

[0013] One or more processors;

[0014] A memory for storing one or more programs;

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the configuration method for a process node provided in any embodiment of the present invention.

[0016] Fourthly, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the configuration method for a process node provided in any embodiment of the present invention is implemented.

[0017] The technical solution of the embodiment of the present invention obtains configuration node information corresponding to the received process node configuration instruction, where the configuration node information includes a configuration status, a configuration action, and configuration form parameters under the configured process node; furthermore, static routing parameters are determined according to the configuration status and the configuration action, and dynamic routing parameters are determined according to the configuration form parameters and the static routing parameters; thereby, first node information of the next process node of the configured process node is determined according to the static routing parameters and the dynamic routing parameters, where the first node information includes a next step status, a next receiving role, and a next candidate action. The above technical solution does not involve work at the code level when configuring a process node, thereby achieving the effect of configuring a process node with a relatively low configuration cost and a configuration method that can take effect in real time. Description of the Drawings

[0018] Figure 1 is a flowchart of a configuration method for a process node in Embodiment 1 of the present invention;

[0019] Figure 2It is a schematic diagram of a routing model in a method for configuring process nodes in Embodiment 1 of the present invention;

[0020] Figure 3 It is a flowchart of a method for configuring process nodes in Embodiment 2 of the present invention;

[0021] Figure 4 It is a flowchart of a method for configuring process nodes in Embodiment 3 of the present invention;

[0022] Figure 5 It is a flowchart of an optional example in a method for configuring process nodes in Embodiment 3 of the present invention;

[0023] Figure 6 It is a schematic diagram of the architecture of a process node configuration engine in a method for configuring process nodes in Embodiment 3 of the present invention;

[0024] Figure 7 It is a structural block diagram of a device for configuring process nodes in Embodiment 4 of the present invention;

[0025] Figure 8 It is a schematic structural diagram of a device for configuring process nodes in Embodiment 5 of the present invention. Detailed implementation manners

[0026] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention rather than all structures are shown in the accompanying drawings.

[0027] Embodiment 1

[0028] Figure 1 It is a flowchart of a method for configuring process nodes provided in Embodiment 1 of the present invention. This embodiment can be applicable to the situation of configuring process nodes. This method can be executed by the device for configuring process nodes provided in the embodiments of the present invention. The device can be implemented in software and / or hardware, and the device can be integrated on the device for configuring process nodes. The device can be various user terminals or servers.

[0029] See Figure 1 , the method of the embodiments of the present invention specifically includes the following steps:

[0030] S110. When receiving a process node configuration instruction, obtain the configuration node information corresponding to the process node configuration instruction, where the configuration node information includes the configuration status, configuration action, and configuration form parameters under the configured process node.

[0031] Among them, the process node configuration instruction can be an instruction for configuring a process node, which can be an instruction triggered after receiving the configuration node information input by a certain configuration object. The configuration object may be a developer or a user of an application software, etc., and no specific limitation is made here. The configuration node information may include the configuration status, configuration action, and configuration form parameters under the configured process node. Specifically, the configured process node may be the process node to be configured, the configuration status may be a status under the configured process node, the configuration action may be an action under the configured process node, and the configuration form parameter may be a parameter in the form under the configured process node. The specific contents of the above status, action, and parameter are related to the actual business scenario and no specific limitation is made here. Exemplarily, taking the leave application process as an example, when the configured process node is the leave application node, the configuration status may be saved (i.e., the form submitted by the applicant for leave has been saved), the configuration action may be to submit for review, and the configuration form parameter may be 1 day (i.e., the number of days of leave is 1 day); when the configured process node is the leave review node after the leave application node, the configuration status may be pending review, the configuration action may be to approve the review, and the form parameter may be 1 day; and so on.

[0032] S120. Determine the static routing parameters according to the configuration status and configuration action, and determine the dynamic routing parameters according to the configuration form parameters and the static routing parameters.

[0033] Among them, the static routing parameter can be a parameter determined according to the configuration status and configuration action, which can solve general business process operations. Exemplarily, continuing with the above example, when the configuration status is saved and the configuration action is to submit for review, the resulting static routing parameter can be pending review; when the configuration status is pending review and the configuration action is to approve the review, the resulting static routing parameter can be completed; and so on. In practical applications, optionally, the above static routing parameters can be obtained by acquiring a pre-configured static routing table and matching based on the configuration status and configuration action in the static routing table. In other words, the above static routing table can be understood as a mapping relationship, with one end of the mapping relationship being the configuration status and configuration action, and the other end being the static routing parameter. It should be noted that the reason why the static routing parameter is called "static" is that the corresponding configuration content is the fixed configuration status and configuration action.

[0034] The dynamic routing parameter can be a parameter determined based on the configuration form parameter and the static routing parameter, and its setting can solve complex dynamic branching operations. Exemplarily, taking the approval process as an example, the configuration form parameter can be the degree of importance. Since different degrees of importance correspond to their respective approval process branches, such as non-important approval tasks passing directly and important approval tasks requiring further review, the dynamic routing parameter that can be transferred to the corresponding approval process branch can be determined based on the static routing parameter and the form parameter; continuing with the leave application process as an example, the configuration form parameter can include the number of days of leave. Since different numbers of days of leave correspond to their respective leave process branches, the dynamic routing parameter that can be transferred to the corresponding leave process branch can be determined based on the static routing parameter and the form parameter. In practical applications, optionally, the above dynamic routing parameter can be obtained by retrieving a pre-configured dynamic routing table and matching it in the dynamic routing table based on the static routing parameter and the configuration form parameter. In other words, the above dynamic routing table can be understood as a mapping relationship, where one end of the mapping relationship is the static routing parameter and the configuration form parameter, and the other end is the dynamic routing parameter. It should be noted that the reason why the dynamic routing parameter is called "dynamic" is that the configuration content corresponding to it is the dynamically changing configuration form parameter, and its essential content is related to the business process it has.

[0035] S130. Determine the first node information of the next process node of the configuration process node according to the static routing parameter and the dynamic routing parameter, where the first node information includes the next step status, the next receiving role, and the next candidate action.

[0036] Among them, the next process node can be the next process node to which the business process can flow after the configuration process node is configured with the above configuration information; the first node information can be the information of the next process node, such as the next step status, the next receiving role, and the next candidate action. Specifically, the next step status can be the status when the business process flows to the next process node, the next receiving role can be the role that can receive the next process node, and the next candidate action can be the action that the user with the next receiving role can perform at the next process node. Exemplarily, continuing with the leave application process in the above text as an example, when the configuration process node is the leave application node, the next process node can be the leave approval node. At this time, the next step status can be pending approval, the next receiving role can be the leader of the leave applicant, and the next candidate actions can be approval and disapproval. In practical applications, optionally, the above first node information can be obtained by obtaining the pre-configured routing role table and routing action table, and matching the next step status and the next receiving role in the routing role table based on the static routing parameters and dynamic routing parameters, and matching the next candidate action in the routing action table. In other words, the above routing role table can be understood as a mapping relationship. One end of the mapping relationship is the static routing parameters and dynamic routing parameters, and the other end is the next step status and the next receiving role; similarly, the above routing action table can also be understood as a mapping relationship. One end of the mapping relationship is the static routing parameters and dynamic routing parameters, and the other end is the next candidate action.

[0037] To better understand the specific implementation process of the above technical solution, the following will be described by way of specific examples. Exemplarily, referring to Figure 2 , the configuration actions and configuration status input by the user / developer are input into the static routing table, and thus the static routing parameters are obtained by matching; the configuration form parameters input by the user / developer and the static routing parameters output by the static routing table are input into the dynamic routing table, and thus the dynamic routing parameters are obtained by matching; furthermore, the static routing parameters output by the static routing table and the dynamic routing parameters output by the dynamic routing table are jointly input into the routing role table and the routing action table, and thus the first step status and the next receiving role output by the routing role table, and the next candidate action output by the routing action table are obtained, and these three are used as the first node information.

[0038] It should be noted that the above technical solution can be understood as a state-driven real-time effective routing model. The reason for this description is as follows: For the "state-driven" routing model, assume that a certain business process includes configuration process node 1, configuration process node 2, and configuration process node 3. If the configuration action configured in configuration process node 2 is to roll back, the next process node of configuration process node 2 at this time is configuration process node 3, rather than configuration process node 1. That is, in the routing model proposed in the embodiments of the present invention, rolling back does not mean rolling back to the previous process node, but rolling back to the previous state of the previous process node and flowing to the next process node. This is the "state-driven" rather than the "node-driven" routing model; for the "real-time effective" routing model, since the above process node configuration process does not involve work at the code level, that is, it does not require developers to modify the code according to the latest business process, recompile, and deploy the application software. During the operation of the application software, it allows users and / or developers to configure process nodes at any time according to the latest business process and take effect immediately, thus meeting the needs of quickly responding to the business processes configured by all parties. In addition, it can be seen from this that the above technical solution provides developers with a large space for customization and expansion. It allows developers to customize personalized business requirements to the greatest extent, thereby reducing development costs and improving development efficiency.

[0039] In the technical solution of the embodiments of the present invention, by obtaining configuration node information corresponding to the received process node configuration instruction, the configuration node information includes the configuration state, configuration action, and configuration form parameters under the configuration process node; furthermore, static routing parameters are determined according to the configuration state and configuration action, and dynamic routing parameters are determined according to the configuration form parameters and the static routing parameters; thus, first node information of the next process node of the configuration process node is determined according to the static routing parameters and the dynamic routing parameters, and the first node information includes the next state, the next receiving role, and the next candidate action. The above technical solution does not involve work at the code level when configuring the process node, thereby achieving the effect of configuring the process node with a low configuration cost and a real-time effective configuration method.

[0040] Based on this, an optional technical solution for the configuration method of the above process node may further include: when receiving a table configuration instruction, obtaining the table to be configured and the configuration operation corresponding to the table configuration instruction, where the table to be configured is at least one of a static routing table, a dynamic routing table, a routing role table, and a routing action table to be configured; operating on the table to be configured based on the configuration operation, and updating the table to be configured according to the operation result. Among them, the table configuration instruction may be an instruction for configuring certain tables involved in the process node configuration process; the table to be configured may be a table to be configured, such as a static routing table, a dynamic routing table, a routing role table, a routing action table, etc. to be configured; the configuration operation may indicate what operation to perform on the table to be configured, such as adding, modifying, and / or deleting a pair of mapping relationships in the table to be configured. Thus, after obtaining the table to be configured and the configuration operation corresponding to the table configuration instruction, the table to be configured can be operated on based on the configuration operation, and the table to be configured can be updated according to the operation result. In this way, since the table configuration instruction may be an instruction triggered according to the latest business requirements of developers and / or users, subsequent process node configuration can be based on the latest table to be configured, thereby achieving the effect of meeting the real-time and changing business requirements.

[0041] Embodiment 2

[0042] Figure 3 It is a flowchart of a configuration method for a process node provided in Embodiment 2 of the present invention. This embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the configuration method of the above process node may further include: when receiving a business process processing instruction, obtaining the business process corresponding to the business process processing instruction and the current node information under the current process node of the business process, where the current node information includes the submitted form, the processed actions, and the current status; determining the submitted form parameters from the submitted form, and updating the current node information based on the submitted form parameters, the processed actions, and the current status; determining the second node information of the next process node of the current process node from the configuration results of each configured process node according to the current node information; and processing the business process according to the second node information. The explanations of the same or corresponding terms as those in the above embodiments will not be repeated here.

[0043] See Figure 3 , the method of this embodiment may specifically include the following steps:

[0044] S210. When receiving a process node configuration instruction, obtain the configuration node information corresponding to the process node configuration instruction, where the configuration node information includes the configuration status, the configuration action, and the configuration form parameters under the configured process node.

[0045] S220. Determine static routing parameters based on the configuration status and configuration actions, and determine dynamic routing parameters based on the configuration form parameters and the static routing parameters.

[0046] S230. Determine the first node information of the next process node of the current configuration process node based on the static routing parameters and the dynamic routing parameters, where the first node information includes the next step status, the next receiving role, and the next candidate actions.

[0047] S240. When receiving a business process processing instruction, obtain the business process corresponding to the business process processing instruction and the current node information under the current process node of the business process, where the current node information includes the submitted form, the processed actions, and the current status.

[0048] Among them, the business process processing instruction can be an instruction for processing a business process, or an instruction for continuing to transfer process nodes; the current process node can be the process node where the business process is located when receiving the business process processing instruction; the current node information can be information submitted, processed, and in the current process node by the user, such as the submitted form, the processed actions, and the current status. Specifically, the submitted form can be the form submitted by the user under the current process node, and its form type is related to the specific business process. Exemplarily, when the business process is a leave application process, the submitted form can be the submitted leave application form; when the business process is a reimbursement process, the submitted form can be the submitted reimbursement form; and so on. The processed actions can be the actions processed or selected by the user under the current process node. Assuming the selectable actions include approved and not approved, then the processed action may be approved or not approved. The current status can be the status where the user is in the current process node, such as saved, pending review, etc.

[0049] S250. Determine the submitted form parameters from the submitted form, and update the current node information based on the submitted form parameters, the processed actions, and the current status.

[0050] Among them, the submitted form parameters can be a certain parameter in the submitted form, and its specific selection can be related to the form type of the submitted form. For example, when the form type is a leave application form, the submitted form parameters can be the number of leave days; when the form type is a reimbursement form, the submitted form parameters can be the reimbursement amount; and so on. Take the submitted form parameters, the processed actions, and the current status as the current node information.

[0051] S260. Determine the second node information of the next process node of the current process node based on the current node information in the configuration results of each configuration process node.

[0052] Among them, the configuration process of the process node can be understood as a process of configuring the first node information of its next process node according to the configuration node information of the configured process node. Then, during the application process of the process node, the second node information of its next process node can be determined according to the configuration results of each configured process node and the current node information of the current process node. The second node information may include a target receiving role, a target status, target candidate actions, etc., which are not specifically limited herein.

[0053] It should be noted that the essential content of the current node information and the configuration node information in the above text is the same, and they are both node information input by users and / or developers. Here, different names are used only to distinguish the configuration scenario and the application scenario; the situation of the first node information and the second node information is similar, and they are both node information automatically determined by the configuration device of the process node, and their essential content is the same.

[0054] S270. Process the business process according to the second node information.

[0055] Among them, it is determined how to continue processing the business process according to the second node information. Exemplarily, according to the target receiving role in the second node information, it is determined which user with what role continues to process the business process; according to the target status in the second node information, it is determined the status when the business process flows to the user with the target receiving role; according to the target candidate actions in the second node information, it is determined the actions that the user can process when the business process flows to the user with the target receiving role; and so on.

[0056] Exemplarily again, if the second node information includes a target status and a target receiving role, then it can be first determined whether the target status is a completed status; if not, this indicates that the business process has not ended yet. Then, a business process task is created according to the second node information and the business process task is assigned to the object with the target receiving role so that the object processes the business process task. The business process task may be a task to be completed by the object, such as a leave approval task, a reimbursement verification task, etc. On this basis, optionally, if the target status is a completed status, this indicates that the entire business process has ended, and no further operation is performed.

[0057] In the technical solution of the embodiment of the present invention, by obtaining a business process corresponding to a received business process processing instruction and current node information under the current process node of the business process, the current node information includes a submitted form, a processed action, and a current status; further, determining submitted form parameters from the submitted form, and updating the current node information based on the submitted form parameters, the processed action, and the current status; since each configured process node has been pre-configured, the second node information of the next process node of the current process node can be determined from the configuration results of each configured process node according to the current node information, and the business process is processed according to the second node information, thereby achieving the effect of effectively processing the business process.

[0058] Embodiment III

[0059] Figure 4 It is a flowchart of a method for configuring a process node provided in Embodiment III of the present invention. This embodiment is optimized based on the technical solutions in the above Embodiment II. In this embodiment, optionally, the method for configuring the process node may further include: obtaining each pre-constructed candidate form processor, and determining a target form processor from each candidate form processor according to the form type of the submitted form; obtaining each pre-constructed candidate action processor, and determining a target action processor from each candidate action processor according to the action type of the processed action; obtaining a routing matcher pre-constructed according to the configuration results of each configured process node; correspondingly, determining the second node information of the next process node of the current process node from the configuration results of each configured process node according to the current node information may include: processing the submitted form based on the target form processor and the target action processor and matching the second node information of the next process node of the current process node in the routing matcher based on the current node information. Among them, the explanations of the same or corresponding terms as those in the above embodiments will not be elaborated here.

[0060] See Figure 4 , the method of this embodiment may specifically include the following steps:

[0061] S3010. When receiving a process node configuration instruction, obtain configuration node information corresponding to the process node configuration instruction, where the configuration node information includes a configuration status, a configuration action, and configuration form parameters under the configured process node.

[0062] S3020. Determine static routing parameters according to the configuration status and the configuration action, and determine dynamic routing parameters according to the configuration form parameters and the static routing parameters.

[0063] S3030. Determine the first node information of the next process node of the configuration process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes the next step status, the next receiving role, and the next candidate action.

[0064] S3040. When receiving a business process processing instruction, obtain the business process corresponding to the business process processing instruction and the current node information under the current process node of the business process, where the current node information includes the submitted form, the processed action, and the current status.

[0065] S3050. Determine the submitted form parameters from the submitted form, and update the current node information based on the submitted form parameters, the processed action, and the current status.

[0066] S3060. Obtain each pre-built candidate form processor, and determine the target form processor from each candidate form processor according to the form type of the submitted form.

[0067] Among them, the candidate form processor can be a processor pre-built by the developer for processing forms, such as saving the form to the database, extracting form parameters from the form, etc. Each candidate form processor can be applicable to process forms with corresponding form types. Therefore, the target form processor can be a candidate form processor determined from each candidate form processor that matches the form type of the submitted form, that is, a candidate form processor that can be used to process the submitted form.

[0068] S3070. Obtain each pre-built candidate action processor, and determine the target action processor from each candidate action processor according to the action type of the processed action.

[0069] Among them, the candidate action processor can be a processor pre-built by the developer for processing forms according to actions, such as saving the form, transferring the form to the next process node of the current process node, etc. Different candidate action processors can be applicable to process forms according to actions with corresponding action types. Therefore, the target action processor can be a candidate action processor determined from each candidate action processor that matches the action type of the processed action, that is, a candidate action processor that can be used to process the form according to the processed action. As for whether the form to be processed is the submitted form, the target action processor does not care.

[0070] S3080. Obtain the routing matcher pre-built according to the configuration results of each configuration process node.

[0071] Among them, the routing matcher can be a matcher pre-built by the developer according to the configuration results of each configuration process node for determining the second node information according to the current node information.

[0072] In practical applications, optionally, the candidate form processor, candidate action processor, and routing matcher described above can be considered as a piece of code written by a developer, such as a piece of code written in the JAVA language, and then the corresponding functions are completed by executing the code.

[0073] S3090. Process the submitted form based on the target form processor and target action processor, and match the second node information of the next process node of the current process node in the routing matcher based on the current node information.

[0074] Among them, when processing the submitted form based on the target form processor and target action processor, the target form processor and target action processor can be processed serially, in parallel, embedded, etc., and no specific limitation is made here. Similarly, when determining the second node information based on the routing matcher, it can also be processed serially, in parallel, embedded, etc. with the above-mentioned target form processor and target action processor, and no specific limitation is made here either.

[0075] S3100. Process the business process according to the second node information.

[0076] The technical solution of the embodiment of the present invention determines the target form processor capable of processing the submitted form from each pre-constructed candidate form processor through the form type of the submitted form; and determines the target action processor capable of processing the form based on the processed action from each pre-constructed candidate action processor through the action type of the processed action; again, obtain the routing matcher pre-constructed according to the configuration results of each configured process node; thus, the submitted form can be processed based on the target form processor and target action processor, and the second node information of the next process node of the current process node can be matched in the routing matcher based on the current node information, thereby achieving the effect of meeting different business requirements according to various processors / matchers customized by developers.

[0077] On this basis, an optional technical solution is to process the submitted form based on the target form processor and the target action processor, and match the second node information of the next process node of the current process node in the routing matcher based on the current node information, which may include: packing the routing matcher, the target form processor, and the target action processor to obtain a packing result, where the packing result is the result of embedding the routing matcher and the target form processor into the target action processor; processing the submitted form based on the packing result and determining the second node information of the next process node of the current process node. Among them, the target form processor and the target action processor in the packing result are used to process the submitted form, and the routing matcher in the packing result is used to determine the second node information according to the current node information. Among them, in the packing result, the routing matcher and the target form processor are embedded in the target action processor. Figuratively speaking, the target action processor is like a socket, on which there are two plugs inserted. One plug is the target form processor, and the other plug is the routing matcher. When executing the packing result, the target action processor is the main one. When executing the target action processor, the target form processor and the routing matcher embedded in it are executed, thereby achieving the effect of processing the submitted form and determining the second node information.

[0078] To better understand the application process of the above process node as a whole, the execution process of the user and the execution process of the configuration device of the process node will be combined and exemplified below. Exemplarily, see Figure 5 , the user creates a new business process or receives and processes the business process task transferred to himself, such as creating a leave application process or receiving and processing a leave approval task. In creating a leave application process, the submitted form can be to fill in the name and leave time in the to-be-filled form on the current display page and then submit it, and the processing action can be to select save or submit for approval; when processing the leave approval task, the submitted form can be to fill in the approval opinion in the approval result column of the submitted form of the leave applicant and then submit it, and the processing action can be to select approved or not approved. Furthermore, the configuration device of the process node selects the corresponding target action processor and target form processor through the controller, and packs the target action processor, the target form processor, and the routing matcher to obtain a packing result; execute the packing result. Specifically, when executing the target action processor, the target form processor and the routing matcher embedded in it are executed, thereby completing the process of processing the submitted form and the process of determining the second node information. Furthermore, the configuration device determines whether to end or continue to process the business process according to whether the target state in the second node information is the completed state; if it is to continue to process the business process, a new business process task is created and assigned to the user with the target receiving role in the second node information.

[0079] To better understand the configuration process and application process of process nodes as a whole, specific examples are given below for illustration. Exemplarily, refer to Figure 6 the schematic diagram of the process node configuration engine architecture shown in the figure. It is divided into three layers: the process node configuration layer, the business process operation layer, and the business model layer. Among them, the process node configuration layer is mainly responsible for configuring process nodes. The content that can be configured is stored in the status library, role library, and action library shown in the figure; the business process operation layer is mainly responsible for executing the processed actions of users and processing the submitted forms of users, and creating business process tasks according to the second node information matched in the process node configuration layer and assigning them to the corresponding users. The business process operation information shown in the figure is equivalent to the current node information in the above text; the business model layer is mainly responsible for modeling specific business requirements and generating corresponding business forms. The above process node configuration engine architecture belongs to a semi-open process engine framework, which allows developers and / or users to directly configure process nodes according to actual business needs and the configuration results take effect in real time, providing a better user experience.

[0080] Example 4

[0081] Figure 7 The structural block diagram of the configuration device of the process node provided in the fourth embodiment of the present invention. This device is used to execute the configuration method of the process node provided in any of the above embodiments. This device and the configuration method of the process node in the above embodiments belong to the same inventive concept. For the details not described in detail in the embodiment of the configuration device of the process node, reference can be made to the embodiments of the configuration method of the process node above. Refer to Figure 7 . Specifically, the device may include: a configuration node information acquisition module 410, a routing parameter determination module 420, and a first node information determination module 430.

[0082] Among them, the configuration node information acquisition module 410 is used to obtain the configuration node information corresponding to the process node configuration instruction when receiving the process node configuration instruction, where the configuration node information includes the configuration status, configuration action, and configuration form parameters under the configured process node;

[0083] The routing parameter determination module 420 is used to determine the static routing parameters according to the configuration status and configuration action, and determine the dynamic routing parameters according to the configuration form parameters and the static routing parameters;

[0084] The first node information determination module 430 is used to determine the first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes the next step status, the next receiving role, and the next candidate action.

[0085] Optionally, the routing parameter determination module 420 may include:

[0086] A static routing parameter obtaining unit, configured to obtain a pre-configured static routing table, and match static routing parameters in the static routing table based on a configuration status and a configuration action; and / or,

[0087] A dynamic routing parameter obtaining unit, configured to obtain a pre-configured dynamic routing table, and match dynamic routing parameters in the dynamic routing table based on configuration form parameters and static routing parameters;

[0088] and / or,

[0089] A first node information determining module 430 may include:

[0090] A routing matching unit, configured to obtain a pre-configured routing role table and a routing action table, match a next status and a next receiving role in the routing role table based on static routing parameters and dynamic routing parameters, and match a next candidate action in the routing action table;

[0091] A first node information determining unit, configured to use the next status, the next receiving role, and the next candidate action as first node information of a next process node of a configuration process node.

[0092] On this basis, optionally, the configuration device of the foregoing process node may further include:

[0093] A configuration operation obtaining module, configured to obtain a to-be-configured table and a configuration operation corresponding to a table configuration instruction when receiving the table configuration instruction, where the to-be-configured table is at least one of a to-be-configured static routing table, a to-be-configured dynamic routing table, a routing role table, and a routing action table;

[0094] A to-be-configured table updating module, configured to operate on the to-be-configured table based on the configuration operation, and update the to-be-configured table according to an operation result.

[0095] Optionally, the configuration device of the foregoing process node may further include:

[0096] A current node information obtaining module, configured to obtain a service process corresponding to a service process processing instruction and current node information under a current process node of the service process when receiving the service process processing instruction, where the current node information includes a submitted form, a processed action, and a current status;

[0097] A current node information updating module, configured to determine submitted form parameters from the submitted form, and update the current node information based on the submitted form parameters, the processed action, and the current status;

[0098] The second node information determination module is used to determine the second node information of the next process node of the current process node from the configuration results of each configuration process node according to the current node information;

[0099] The business process processing module is used to process the business process according to the second node information.

[0100] On this basis, optionally, the second node information includes the target receiving role and the target status. The business process processing module includes:

[0101] The target status determination unit is used to determine whether the target status is the completion status;

[0102] The business process task assignment unit is used to, if not, create a business process task according to the second node information and assign the business process task to the object with the target receiving role.

[0103] Optionally again, the above-mentioned configuration device of the process node may further include:

[0104] The target form processor determination module is used to obtain each pre-built candidate form processor and determine the target form processor from each candidate form processor according to the form type of the submitted form;

[0105] The target action processor acquisition module is used to obtain each pre-built candidate action processor and determine the target action processor from each candidate action processor according to the action type of the processed action;

[0106] The routing matcher acquisition module is used to obtain the routing matcher pre-built according to the configuration results of each configuration process node;

[0107] Correspondingly, the second node information determination module may include:

[0108] The second node information determination unit is used to process the submitted form based on the target form processor and the target action processor, and match the second node information of the next process node of the current process node in the routing matcher based on the current node information.

[0109] Optionally, the second node information determination unit may include:

[0110] The packaging subunit is used to package the routing matcher, the target form processor and the target action processor to obtain a packaging result, where the packaging result is the result of embedding the routing matcher and the target form processor in the target action processor;

[0111] The second node information determination subunit is configured to process the submitted form based on the packaging result and determine the second node information of the next process node of the current process node. Among them, the target form processor and the target action processor in the packaging result are used to process the submitted form, and the routing matcher in the packaging result is used to determine the second node information according to the current node information.

[0112] The configuration device for process nodes provided in the fourth embodiment of the present invention obtains the configuration node information corresponding to the received process node configuration instruction through the configuration node information acquisition module. The configuration node information includes the configuration status, configuration action, and configuration form parameters under the configured process node. Further, the routing parameter determination module determines the static routing parameters according to the configuration status and configuration action, and determines the dynamic routing parameters according to the configuration form parameters and the static routing parameters. Thus, the first node information determination module determines the first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters. The first node information includes the next status, the next receiving role, and the next candidate action. The above device does not involve work at the code level when configuring the process node, thereby achieving the effect of configuring the process node with a relatively low configuration cost and a configuration method that can take effect in real time.

[0113] The configuration device for process nodes provided in the embodiments of the present invention can execute the configuration method for process nodes provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0114] It should be noted that in the embodiments of the above configuration device for process nodes, the included units and modules are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.

[0115] Embodiment Five

[0116] Figure 8 is a schematic structural diagram of a configuration device for a process node provided in the fifth embodiment of the present invention. As Figure 8 shown, the device includes a memory 510, a processor 520, an input device 530, and an output device 540. The number of processors 520 in the device can be one or more, Figure 8 and one processor 520 is taken as an example here; the memory 510, the processor 520, the input device 530, and the output device 540 in the device can be connected through a bus or other means, Figure 8 and connected through the bus 550 is taken as an example here.

[0117] The memory 510, being a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the configuration method of the process nodes in the embodiments of the present invention (for example, the configuration node information acquisition module 410, the routing parameter determination module 420, and the first node information determination module 430 in the configuration device of the process nodes). The processor 520 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 510, that is, implements the above-mentioned configuration method of the process nodes.

[0118] The memory 510 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the device, etc. In addition, the memory 510 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 510 may further include a memory remotely set relative to the processor 520, and these remote memories can be connected to the device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0119] The input device 530 can be used to receive input digital or character information and generate key signal inputs related to the user settings and function controls of the device. The output device 540 may include a display device such as a display screen.

[0120] Embodiment Six

[0121] Embodiment Six of the present invention provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute a configuration method of process nodes when executed by a computer processor. The method includes:

[0122] When receiving a process node configuration instruction, obtain configuration node information corresponding to the process node configuration instruction, where the configuration node information includes the configuration status, configuration actions, and configuration form parameters under the configured process node; determine static routing parameters according to the configuration status and configuration actions, and determine dynamic routing parameters according to the configuration form parameters and the static routing parameters; determine the first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes the next step status, the next receiving role, and the next candidate actions.

[0123] Of course, for the storage medium containing computer-executable instructions provided by the embodiments of the present invention, the computer-executable instructions are not limited to the method operations described above, and can also execute the related operations in the configuration method of the process nodes provided by any embodiment of the present invention.

[0124] From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and the necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk, or optical disc of a computer, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0125] Note that the above is only the preferred embodiment of the present invention and the applied technical principle. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, it can also include more other equivalent embodiments, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A configuration method for process nodes, characterized in that, Including: When receiving a process node configuration instruction, obtaining configuration node information corresponding to the process node configuration instruction, where the configuration node information includes a configuration status, a configuration action, and configuration form parameters under a configured process node; Determining static routing parameters according to the configuration status and the configuration action, and determining dynamic routing parameters according to the configuration form parameters and the static routing parameters; Determining first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes a next step status, a next receiving role, and next candidate actions; The determining the first node information of the next process node of the configured process node according to the static routing parameters and the dynamic routing parameters includes: Obtaining a pre-configured routing role table and a routing action table, matching the next step status and the next receiving role in the routing role table based on the static routing parameters and the dynamic routing parameters, and matching the next candidate actions in the routing action table; Taking the next step status, the next receiving role, and the next candidate actions as the first node information of the next process node of the configured process node.

2. The method according to claim 1, wherein: The determining static routing parameters according to the configuration status and the configuration action includes: Obtaining a pre-configured static routing table, and matching static routing parameters in the static routing table based on the configuration status and the configuration action; And / or, The determining dynamic routing parameters according to the configuration form parameters and the static routing parameters includes: Obtaining a pre-configured dynamic routing table, and matching dynamic routing parameters in the dynamic routing table based on the configuration form parameters and the static routing parameters.

3. The method according to claim 2, wherein Further including: When receiving a table configuration instruction, obtaining a table to be configured and a configuration operation corresponding to the table configuration instruction, where the table to be configured is at least one of the static routing table, the dynamic routing table, the routing role table, and the routing action table to be configured; Operating on the table to be configured based on the configuration operation, and updating the table to be configured according to the operation result.

4. The method according to claim 1, wherein Further including: When receiving a business process processing instruction, obtaining a business process corresponding to the business process processing instruction, and current node information under the current process node of the business process, where the current node information includes a submitted form, a processed action, and a current status; Determining submitted form parameters from the submitted form, and updating the current node information based on the submitted form parameters, the processed action, and the current status; Determining second node information of the next process node of the current process node from the configuration results of the configured process nodes according to the current node information; Processing the business process according to the second node information.

5. The method according to claim 4, wherein The second node information includes a target receiving role and a target status, and the processing the business process according to the second node information includes: Determine whether the target state is a completed state; If not, create a business process task according to the second node information, and assign the business process task to an object with the target receiving role.

6. The method according to claim 4, wherein It further includes: Obtain each pre-built candidate form processor, and determine a target form processor from each of the candidate form processors according to the form type of the submitted form; Obtain each pre-built candidate action processor, and determine a target action processor from each of the candidate action processors according to the action type of the processed action; Obtain a routing matcher pre-built according to the configuration results of each of the configuration process nodes; The determining the second node information of the next process node of the current process node from the configuration results of each of the configuration process nodes according to the current node information includes: Process the submitted form based on the target form processor and the target action processor, and match the second node information of the next process node of the current process node in the routing matcher based on the current node information.

7. The method according to claim 6, wherein The processing the submitted form based on the target form processor and the target action processor, and matching the second node information of the next process node of the current process node in the routing matcher includes: Package the routing matcher, the target form processor, and the target action processor to obtain a packaging result, where the packaging result is the result of embedding the routing matcher and the target form processor in the target action processor; Process the submitted form based on the packaging result and determine the second node information of the next process node of the current process node, where the target form processor and the target action processor in the packaging result are used to process the submitted form, and the routing matcher in the packaging result is used to determine the second node information according to the current node information.

8. A configuration device for process nodes, characterized in that, It includes: A configuration node information acquisition module, configured to obtain configuration node information corresponding to the process node configuration instruction when receiving the process node configuration instruction, where the configuration node information includes a configuration state, a configuration action, and configuration form parameters under the configuration process node; A routing parameter determination module, configured to determine static routing parameters according to the configuration state and the configuration action, and determine dynamic routing parameters according to the configuration form parameters and the static routing parameters; A first node information determination module, configured to determine the first node information of the next process node of the configuration process node according to the static routing parameters and the dynamic routing parameters, where the first node information includes a next step state, a next step receiving role, and a next step candidate action; The first node information determination module includes: A routing matching unit, configured to obtain a pre-configured routing role table and a routing action table, match the next state and the next receiving role in the routing role table based on the static routing parameters and the dynamic routing parameters, and match the next candidate action in the routing action table; A first node information determining unit, configured to use the next state, the next receiving role, and the next candidate action as the first node information of the next process node of the configuration process node.

9. A configuration device for process nodes, characterized in that, Comprising: One or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the configuration method of the process node as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the configuration method of the process node as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Business process configuration method and device, computer device and storage medium

    CN110610406A

  • Examination and approval circulation method and device, electronic equipment and storage medium

    CN112132548A