CN109583746A - The method and device of the routing rule of setting procedure, readable storage medium storing program for executing - Google Patents

The method and device of the routing rule of setting procedure, readable storage medium storing program for executing Download PDF

Info

Publication number
CN109583746A
CN109583746A CN201811420337.2A CN201811420337A CN109583746A CN 109583746 A CN109583746 A CN 109583746A CN 201811420337 A CN201811420337 A CN 201811420337A CN 109583746 A CN109583746 A CN 109583746A
Authority
CN
China
Prior art keywords
routing rule
node
routing
pending tasks
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811420337.2A
Other languages
Chinese (zh)
Other versions
CN109583746B (en
Inventor
袁天明
张霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811420337.2A priority Critical patent/CN109583746B/en
Publication of CN109583746A publication Critical patent/CN109583746A/en
Application granted granted Critical
Publication of CN109583746B publication Critical patent/CN109583746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Abstract

The embodiment of the present invention provides a kind of method and device of the routing rule of setting procedure, readable storage medium storing program for executing.This method comprises: when opening Pending tasks progress task is handled, obtain the nodal information of destination node, destination node is the next node of flow nodes where Pending tasks, when the node type for determining destination node is routing node, routing rule is obtained from extended attribute, routing rule is stored in advance in the extended attribute of routing node;Before the list for submitting Pending tasks, when determining that destination node meets corresponding routing rule according to the corresponding business datum of the list of Pending tasks, by the corresponding multi-branch transport line identification record of destination node in the extended attribute of destination node, when for the workflow in Pending tasks to destination node, the process of Pending tasks is identified according to the multi-branch transport line stored in the extended attribute of destination node to be identified corresponding transmission line to multi-branch transport line and circulates.

Description

The method and device of the routing rule of setting procedure, readable storage medium storing program for executing
Technical field
The present embodiments relate to a kind of method of field of computer technology more particularly to routing rule of setting procedure and Device, readable storage medium storing program for executing.
Background technique
Operation flow is by work process flow itself and the process for information solicitation and interaction relevant to work process flow List is constituted, and work process flow is a kind of flow direction expression, itself has the description language and rule of standard.
The process of operation flow circulation are as follows: the routing rule for pre-setting process on stream is run in operation flow Phase, for the variable assignments in process when process parses transmission line, flow engine obtains variate-value, verifies each biography according to routing rule The routing rule of defeated line.A kind of existing method is to assign in such a way that list and process do data docking for the variable in process Value, creates variable of the same name specifically for process and list, and process and list are required to the physical table of creation maintenance variable, list The type of the variable of creation is workflow interfacing type, can be automatically the variable assignments of the same name in process when list is submitted.
But in the above method, on the one hand, since process and list need to create the physical table of maintenance variable, that is, create Two parts of physical tables, increase database purchase, on the other hand, when list is submitted, need to traverse all variables by list engine, take The variable of workflow interfacing type out increases the pressure of list engine for the variable assignments in process.It is run in operation flow Phase, flow engine need to verify the routing rule of each transmission line, circulate to the transmission line for meeting routing rule, increase process and draw The pressure held up.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of the routing rule of setting procedure, readable storage medium storing program for executing, can drop The storage of low database reduces the pressure of list engine and flow engine.
In a first aspect, the embodiment of the present invention provides a kind of method of the routing rule of setting procedure, comprising:
When opening Pending tasks progress task is handled, the nodal information of destination node is obtained, the nodal information includes section Vertex type and extended attribute, the destination node are the next node of flow nodes where the Pending tasks;
When the node type for determining the destination node is routing node, routing rule is obtained from the extended attribute, The routing rule is stored in advance in the extended attribute of routing node;
Before the list for submitting the Pending tasks, determined according to the corresponding business datum of the list of the Pending tasks When the destination node meets corresponding routing rule, by the corresponding multi-branch transport line identification record of the destination node described In the extended attribute of destination node, when for the workflow in the Pending tasks to the destination node, described pending The multi-branch transport line that the process of business stores in the extended attribute according to the destination node is identified to identify to multi-branch transport line and be corresponded to Transmission line circulation.
Optionally, the method also includes:
It is corresponding to determine that the destination node is unsatisfactory for according to the corresponding business datum of the flow chart of the Pending tasks When routing rule, the instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
Optionally, before opening Pending tasks progress task and handling, the method also includes:
List is bound for the process of the Pending tasks;
According to the metadata of the mark acquisition list of the list and parsing is stored in the flow template of the process In, the metadata of the list includes at least the data of multiple form fields;
Routing rule is arranged in transmission line for the process of the Pending tasks, when routing rule is arranged according to the list Metadata selected form fields, set routing rule is stored in the extended attribute of routing node.
Optionally, the storage format of the routing rule of routing node is that transmission line identifies and corresponding routing rule.
Second aspect, the embodiment of the present invention provide a kind of device of the routing rule of setting procedure, comprising:
First obtains module, is used to open Pending tasks and carries out task when handling, obtains the nodal information of destination node, institute Stating nodal information includes node type and extended attribute, and the destination node is the next of flow nodes where the Pending tasks Node;
Second obtain module, for the node type for determining the destination node be routing node when, from the extension Routing rule is obtained in attribute, the routing rule is stored in advance in the extended attribute of routing node;
First processing module, for before the list for submitting the Pending tasks, according to the list of the Pending tasks When corresponding business datum determines that the destination node meets corresponding routing rule, the corresponding branch of the destination node is passed Defeated line identification record is in the extended attribute of the destination node, for the workflow in the Pending tasks to the target When node, the multi-branch transport line that the process of the Pending tasks stores in the extended attribute according to the destination node identify to point Branch transmission line identifies corresponding transmission line circulation.
Optionally, the first processing module is also used to:
It is corresponding to determine that the destination node is unsatisfactory for according to the corresponding business datum of the flow chart of the Pending tasks When routing rule, the instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
Optionally, described device further include:
Binding module, for before opening Pending tasks progress task and handling, being that the process of the Pending tasks is bound List;
Second processing module obtains the metadata of the list for the mark according to the list and parsing is stored in institute It states in the flow template of process, the metadata of the list includes at least the data of multiple form fields;
Routing rule is arranged in third processing module, the transmission line for the process for the Pending tasks, routes in setting According to the metadata selected form fields of the list when regular, set routing rule is stored in the extension of routing node In attribute.
Optionally, the storage format of the routing rule of routing node is that transmission line identifies and corresponding routing rule.
The third aspect, the embodiment of the present invention provide a kind of device of the routing rule of setting procedure, comprising:
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, to realize the setting procedure of first aspect Routing rule method.
Fourth aspect, the embodiment of the present invention provide a kind of readable storage medium storing program for executing, are stored with computer in readable storage medium storing program for executing Program, when at least one processor of the device of the routing rule of setting procedure executes the computer program, setting procedure The method that the device of routing rule executes the routing rule of the setting procedure of first aspect.
5th aspect, the embodiment of the present invention provide a kind of program product, which includes computer program, the calculating Machine program is stored in readable storage medium storing program for executing.At least one processor of the device of the routing rule of setting procedure can be from readable Storage medium reads the computer program, at least one processor executes the routing rule that the computer program makes setting procedure Device implement first aspect setting procedure routing rule method.
The method and device of the routing rule of setting procedure provided in an embodiment of the present invention, readable storage medium storing program for executing, pass through by The routing rule of routing node is stored in advance in the extended attribute of routing node, is handled opening Pending tasks progress task When, the nodal information of destination node is obtained, destination node is the next node of flow nodes where Pending tasks, nodal information packet Node type and extended attribute are included, when the node type for determining destination node is routing node, can directly be obtained from extended attribute Routing rule is taken, before the list for submitting Pending tasks, target is determined according to the corresponding business datum of the list of Pending tasks When node meets corresponding routing rule, by the corresponding multi-branch transport line identification record of destination node destination node extension category In property, thus, it, can be according to the branch stored in the extended attribute of destination node when the workflows of Pending tasks is to destination node Transmission line identifies to multi-branch transport line and identifies corresponding transmission line circulation, and the flow engine in the prior art that compares needs to verify each It circulates after the routing rule of transmission line to the transmission line for meeting routing rule, it is each without flow engine verification in the embodiment of the present invention The routing rule of transmission line reduces the pressure of flow engine.When list is submitted, all variables are traversed without list engine, are subtracted The pressure of few list engine.And directly routing rule is stored in the extended attribute of routing node in the embodiment of the present invention, During process flow operation, the extended attribute of routing node can be directly acquired, compares and needs to create two parts of physics in the prior art Table can reduce the storage of database in the embodiment of the present invention.
Detailed description of the invention
It, below will be to embodiment or existing in order to clearly demonstrate the embodiment of the present invention or technical solution in the prior art Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments of embodiment, for those of ordinary skill in the art, without any creative labor, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is a kind of flow chart of the embodiment of the method for the routing rule of setting procedure provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of all nodes in a process;
Fig. 3 is a kind of flow chart of the embodiment of the method for the routing rule of setting procedure provided in an embodiment of the present invention;
Fig. 4 is an exemplary schematic diagram of the transmission line options form fields of the process of Pending tasks;
Fig. 5 is a kind of flow chart of the embodiment of the method for the routing rule of setting procedure provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of the Installation practice of the routing rule of setting procedure provided in an embodiment of the present invention Figure;
Fig. 7 is a kind of structural representation of the Installation practice of the routing rule of setting procedure provided in an embodiment of the present invention Figure;
Fig. 8 is a kind of structural representation of the Installation practice of the routing rule of setting procedure provided in an embodiment of the present invention Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment in the embodiment of the present invention, this field Those of ordinary skill's every other embodiment obtained without making creative work, belongs to implementation of the present invention The range of example protection.
Firstly, the part term in the embodiment of the present invention is explained below, in order to those skilled in the art Understand.
1, list indicates that the data exchange of structuring, list are a kind of letters for allowing users to interact with network server Folk prescription formula, simplest list are usually created to solicit feedback from user there, and on network, list can be used for searching element Engine, ballot, e-commerce and online application etc..
The method and device of the routing rule of setting procedure provided in an embodiment of the present invention can be applied at least one calculating In machine or network server.
Fig. 1 is a kind of flow chart of the embodiment of the method for the routing rule of setting procedure provided in an embodiment of the present invention, this The executing subject of embodiment can be the device of the routing rule of setting procedure, and the device of the routing rule of the setting procedure can be with By software and or hardware realization, as shown in Figure 1, the method for the present embodiment may include:
When S101, opening Pending tasks progress task are handled, the nodal information of destination node is obtained, nodal information includes section Vertex type and extended attribute, destination node are the next node of flow nodes where Pending tasks.
Specifically, the node in process includes start node, manual node (node, the routing node also referred to as manually participated in (i.e. branch judges node) and end node, Fig. 2 is the schematic diagram of all nodes in a process, as shown in Fig. 2, shown in Fig. 2 It is the process of examination & approval of asking for leave, it further includes 4 that the node in the process, which includes start node, end node and a routing node, A node is manual node.
Wherein, destination node is the next node of flow nodes where Pending tasks, such as process is A-- > B-- > C, to Task is done in B node, destination node is the next node C of B node.
Wherein, nodal information can also include node identification, which node node identification is for identifying, and distinguish different Node, specifically can also by node identification obtain node identification corresponding node nodal information, node type include routing section Point and non-routing node.
When S102, the node type for determining destination node are routing node, routing rule is obtained from extended attribute, is routed Rule is stored in advance in the extended attribute of routing node.
Specifically, by taking process shown in Fig. 2 as an example, the routing rule of routing node is greater than 7 less than 15, then for number of days of asking for leave It is examined by department head, is then examined again by hr, number of days of asking for leave is less than or equal to 7, then is examined by hr.
The routing rule of routing node is stored in advance in the extended attribute of routing node in the present embodiment, it specifically can be with Include:
S11, it carries out before task handles opening Pending tasks, is that the process of Pending tasks binds list.
Specifically, a process can bind multiple lists, and process is bundled with after list, be obtained according to the mark of list The metadata of list.
S12, it is stored in the flow template of process according to the metadata for identifying acquisition list and parsing of list, metadata Including at least the data of multiple form fields.
Specifically, the metadata that list is obtained according to the mark of list, parses the metadata of list, specially will Metadata jsonization, the metadata for parsing acquisition includes the data of multiple form fields and the mark of form fields.After parsing The metadata of list be stored in the flow template of process, so as to subsequent when routing rule is arranged, directly from current process Flow template in obtain list metadata, do not have to secondary parsing.
S13, routing rule is set for the transmission line of the process of Pending tasks, when routing rule is arranged according to the member of list Data select form fields, and set routing rule is stored in the extended attribute of routing node.
Specifically, if the Liang Ge branch after the routing node in Fig. 2 is two transmission lines, the routing rule of transmission line are set Then, routing rule is specifically, the attribute page of transmission line to be opened, according to the metadata of list by being manually arranged Form fields are loaded, the arithmetic operator of form fields and the page is double-clicked, routing rule is set.For example, in process shown in Fig. 2 Name, number of days of asking for leave, reason of asking for leave, product manager examination & approval, hr examination & approval and department head examination & approval any of be one Form fields.
Optionally, in the present embodiment the routing rule of routing node storage format can for transmission line mark with it is corresponding Routing rule, for example, " transmission line mark: routing rule ".
S103, submit Pending tasks list before, mesh is determined according to the corresponding business datum of the list of Pending tasks Mark node is when meeting corresponding routing rule, by the corresponding multi-branch transport line identification record of destination node destination node extension In attribute, when workflow for Pending tasks is to destination node, the processes of Pending tasks is according to the extension category of destination node Property in the multi-branch transport line that stores identify to multi-branch transport line and identify corresponding transmission line circulation.
Specifically, the method for the present embodiment can also include: the corresponding business datum of flow chart according to Pending tasks When determining that destination node is unsatisfactory for corresponding routing rule, the instruction letter for being unsatisfactory for routing rule is used to indicate to user's push Breath.It is unsatisfactory for informing responsible person when routing rule in time, can occur abnormal, promotion user experience to avoid the runtime in this way.It needs It is noted that a routing rule is generally arranged in a routing node, when determining that destination node is unsatisfactory for this routing rule, The instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
In the present embodiment, by before the list for submitting Pending tasks, first according to the corresponding industry of list of Pending tasks Business data determine that destination node meets corresponding routing rule, by the corresponding multi-branch transport line identification record of destination node in target In the extended attribute of node, such as it is recorded as " meeting the transmission line mark of routing rule ", when such process is spread downwards, obtained The extended attribute for getting routing node identifies to multi-branch transport line according to the multi-branch transport line stored in extended attribute and identifies correspondence Transmission line circulation, the flow engine in the prior art that compares needs to verify after the routing rule of each transmission line to meeting routing rule Transmission line then circulates, and verifies the routing rule of each transmission line in the embodiment of the present invention without flow engine, reduces flow engine Pressure.When list is submitted, all variables are traversed without list engine, reduce the pressure of list engine.And in the present embodiment Directly routing rule is stored in the extended attribute of routing node, during process flow operation, routing node can be directly acquired Extended attribute, compare and need to create two parts of physical tables in the prior art, the storage of database can be reduced in this implementation.
The method of the routing rule of setting procedure provided in this embodiment, by depositing the routing rule of routing node in advance Storage, when opening Pending tasks progress task is handled, obtains the nodal information of destination node in the extended attribute of routing node, Destination node is the next node of flow nodes where Pending tasks, and nodal information includes node type and extended attribute, is determined When the node type of destination node is routing node, routing rule can be directly obtained from extended attribute, submitting Pending tasks List before, when determining that destination node meets corresponding routing rule according to the corresponding business datum of the list of Pending tasks, By the corresponding multi-branch transport line identification record of destination node in the extended attribute of destination node, thus, the process of Pending tasks When circulating to destination node, it can be identified according to the multi-branch transport line stored in the extended attribute of destination node to multi-branch transport line mark Know the circulation of corresponding transmission line, the flow engine in the prior art that compares needs to verify after the routing rule of each transmission line to satisfaction The transmission line of routing rule circulates, and verifies the routing rule of each transmission line in the embodiment of the present invention without flow engine, reduces stream The pressure of journey engine.When list is submitted, all variables are traversed without list engine, reduce the pressure of list engine.And this hair Directly routing rule is stored in the extended attribute of routing node in bright embodiment, during process flow operation, can directly be obtained The extended attribute for taking routing node compares and needs to create two parts of physical tables in the prior art, can reduce in the embodiment of the present invention The storage of database.
A specific embodiment is used below, and the technical solution of embodiment of the method shown in Fig. 1 is described in detail.
Fig. 3 is a kind of flow chart of the embodiment of the method for the routing rule of setting procedure provided in an embodiment of the present invention, this The executing subject of embodiment can be the device of the routing rule of setting procedure, and for example, business process designer, business process designer can How by software and or hardware realization, mainly to be described in the present embodiment in the process design stage by the routing of routing node Rule is stored in advance in the extended attribute of routing node, as shown in figure 3, the method for the present embodiment may include:
S201, list is bound for the process of Pending tasks.
Specifically, a process can bind multiple lists, and process is bundled with after list, be obtained according to the mark of list The metadata of list.
S202, the metadata that list is obtained according to the mark of list.
Specifically, the metadata of list is parsed, the metadata for parsing acquisition includes the data of multiple form fields With the mark of form fields.
S203, the metadata that parsing obtains is stored in the flow template of process.
The metadata of list after parsing is stored in the flow template of process, so as to subsequent in setting routing rule When, the metadata of list is obtained directly from the flow template of current process, does not have to secondary parsing.
S204, load form fields are that routing rule is arranged in the transmission line of the process of Pending tasks, in setting routing rule When according to the metadata selected form fields of list.
Specifically, one of selection form fields shows when Fig. 4 is the transmission line setting routing rule of the process of Pending tasks The schematic diagram of example opens the transmission line attribute page as shown in figure 4, specific be, for example, and name, gender and the age in left side be One form fields, the form fields for double-clicking left side are selected, such as selection name and gender this 2 form fields, setting The routing rule of transmission line is specifically to judge in the follow-up operation phase shown in Fig. 4 " name=" Wang Ming " gender=" male " " When whether routing node meets routing rule, determine to meet routing rule if when name is " Wang Ming " and gender is " male ", it is no Then it is judged to being unsatisfactory for routing rule.
S205, set routing rule is stored in the extended attribute of routing node.
In the present embodiment, by the way that routing rule is arranged in the transmission line for the process that the process design stage is Pending tasks, According to the metadata selected form fields of list when being arranged routing rule, the routing rule of routing node is stored in advance in routing In the extended attribute of node, when opening Pending tasks progress task is handled, to determine target section during process flow operation When the node type of point is routing node, routing rule directly can be obtained from the extended attribute of routing node.
Fig. 5 is a kind of flow chart of the embodiment of the method for the routing rule of setting procedure provided in an embodiment of the present invention, this The executing subject of embodiment can be the device of the routing rule of setting procedure, mainly describe in the present embodiment in process flow operation Phase, the circulation process of process, as shown in figure 5, the method for the present embodiment may include:
S301, opening Pending tasks carry out task and handle.
The nodal information of the next node of flow nodes where S302, acquisition Pending tasks, nodal information includes node class Type and extended attribute.
S303, submit Pending tasks list before, judge whether the node type of the next node is routing node, If so, S304 is executed, if it is not, then process circulates downwards.
S304, routing rule is obtained from the extended attribute of the next node.
S305, judge whether the next node meets corresponding routing according to the corresponding business datum of list of Pending tasks Rule, if so, S306 is executed, if it is not, executing S308.
S306, by the corresponding multi-branch transport line identification record of the next node in the extended attribute of the next node.
S307, Pending tasks workflow to routing node when, according to point stored in the extended attribute of routing node Branch transmission line identifies to multi-branch transport line and identifies corresponding transmission line circulation.
S308, the instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
Specifically, in the present embodiment, before the list for submitting Pending tasks, it is corresponding to judge whether routing node meets Routing rule, if meeting the extended attribute that routing node is directly arranged (i.e. by the corresponding multi-branch transport line mark of routing node It is recorded in the extended attribute of routing node), if being unsatisfactory for directly prompting user on foreground, without meeting the subsequent of routing rule Node, user can directly modify, and avoid flow operating period from occurring abnormal.
By taking process shown in Fig. 2 as an example, the routing rule of routing node is greater than 7 less than 15, then by department for number of days of asking for leave Leader's examination & approval, are then examined by hr again, and number of days of asking for leave is less than or equal to 7, then are examined by hr, as discontented if number of days of asking for leave is 16 Sufficient routing rule is unsatisfactory for informing responsible person when routing rule in time, can occur abnormal, promotion user to avoid the runtime in this way Experience.
In the present embodiment, by before the list for submitting Pending tasks, first determining that routing node meets corresponding routing When regular, by the corresponding multi-branch transport line identification record of routing node in the extended attribute of routing node, such process to Under when spreading, get the extended attribute of routing node, identified according to the multi-branch transport line stored in extended attribute to branch and passed Defeated line identifies corresponding transmission line circulation, verifies without flow engine, reduces the pressure of flow engine.List submit when, also without It needs list engine to traverse all variables, reduces the pressure of list engine.And routing rule is directly stored in road in the present embodiment By during process flow operation, the extended attribute of routing node can be directly acquired in the extended attribute of node, more existing skill is compared It needs to create two parts of physical tables in art, the storage of database can be reduced in this implementation.Further, when being unsatisfactory for routing rule to User's push is used to indicate the instruction information for being unsatisfactory for routing rule, can occur abnormal, promotion user experience to avoid the runtime.
Fig. 6 is a kind of structural representation of the Installation practice of the routing rule of setting procedure provided in an embodiment of the present invention Figure, as shown in fig. 6, the device of the present embodiment may include: that the first acquisition module 11, second obtains module 12 and the first processing mould Block 13, wherein
First acquisition module 11 is used to open Pending tasks and carries out task when handling, and obtains the nodal information of destination node, The nodal information includes node type and extended attribute, and the destination node is under flow nodes where the Pending tasks One node.
Second, which obtains module 12, is used for when the node type for determining the destination node is routing node, from the extension Routing rule is obtained in attribute, routing rule is stored in advance in the extended attribute of routing node.
First processing module 13 is used for before the list for submitting the Pending tasks, according to the list of the Pending tasks When corresponding business datum determines that the destination node meets corresponding routing rule, the corresponding branch of the destination node is passed Defeated line identification record is in the extended attribute of the destination node, for the workflow in the Pending tasks to the target When node, the multi-branch transport line that the process of the Pending tasks stores in the extended attribute according to the destination node identify to point Branch transmission line identifies corresponding transmission line circulation.
Further, first processing module 13 is also used to:
It is corresponding to determine that the destination node is unsatisfactory for according to the corresponding business datum of the flow chart of the Pending tasks When routing rule, the instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle class Seemingly, details are not described herein again.
The device of the routing rule of setting procedure provided in this embodiment, by depositing the routing rule of routing node in advance Storage, when opening Pending tasks progress task is handled, obtains the nodal information of destination node in the extended attribute of routing node, Destination node is the next node of flow nodes where Pending tasks, and nodal information includes node type and extended attribute, is determined When the node type of destination node is routing node, routing rule can be directly obtained from extended attribute, submitting Pending tasks List before, when determining that destination node meets corresponding routing rule according to the corresponding business datum of the list of Pending tasks, By the corresponding multi-branch transport line identification record of destination node in the extended attribute of destination node, thus, the process of Pending tasks When circulating to destination node, the process of Pending tasks can be identified according to the multi-branch transport line stored in the extended attribute of destination node Corresponding transmission line circulation is identified to multi-branch transport line, the flow engine in the prior art that compares needs to verify the road of each transmission line By the regular transmission line circulation for meeting routing rule backward, the road of each transmission line is verified in the embodiment of the present invention without flow engine By rule, the pressure of flow engine is reduced.When list is submitted, all variables are traversed without list engine, reduce list engine Pressure.And directly routing rule is stored in the extended attribute of routing node in the embodiment of the present invention, in process flow operation mistake Cheng Zhong can directly acquire the extended attribute of routing node, compare and need to create two parts of physical tables in the prior art, and the present invention is real Apply the storage that database can be reduced in example.
Fig. 7 is a kind of structural representation of the Installation practice of the routing rule of setting procedure provided in an embodiment of the present invention Figure, as shown in fig. 7, can also include: binding module further on the basis of the device of the present embodiment device shown in Fig. 6 14, Second processing module 15 and third processing module 16, wherein
Binding module 14 is used for before opening Pending tasks progress task and handling, and is that the process of the Pending tasks is bound List.
Second processing module 15 is used to obtain the metadata of the list according to the mark of the list and parsing is stored in In the flow template of the process, the metadata of the list includes at least the data of multiple form fields.
Routing rule is arranged in the transmission line that third processing module 16 is used for the process for the Pending tasks, routes in setting According to the metadata selected form fields of the list when regular, set routing rule is stored in the extension of routing node In attribute.
In the present embodiment, optionally, the storage format of the routing rule of routing node is that transmission line identifies and corresponding road By rule.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle and skill Art effect is similar, and details are not described herein again.
Fig. 8 is a kind of structural representation of the Installation practice of the routing rule of setting procedure provided in an embodiment of the present invention Figure, as shown in figure 8, the device of the present embodiment may include: memory 201 and processor 202,
Memory 201, for storing program instruction, which can be flash (flash memory).
Processor 202, for calling and executing the program instruction in memory, to realize in Fig. 1 or method shown in Fig. 4 Each step.It specifically may refer to the associated description in previous methods embodiment.
The device of the present embodiment can also include input/output interface 203.Input/output interface 203 may include independence Output interface and input interface, or the integrated integrated interface output and input.Wherein, output interface is for exporting number According to input interface is used to obtain the data of input, and the data of above-mentioned output are the general designation exported in above method embodiment, input Data be the general designation that inputs in above method embodiment.
The embodiment of the present invention also provides a kind of readable storage medium storing program for executing, is stored with computer program in readable storage medium storing program for executing, when When at least one processor of the device of the routing rule of setting procedure executes the computer program, the routing rule of setting procedure Device setting procedure shown in FIG. 1 routing rule method.
The embodiment of the present invention also provides a kind of program product, which includes computer program, the computer program It is stored in readable storage medium storing program for executing.At least one processor of the device of the routing rule of setting procedure can be from readable storage medium Matter reads the computer program, at least one processor executes the device that the computer program makes the routing rule of setting procedure Implement the method for the routing rule of setting procedure shown in FIG. 1.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair The range of bright each embodiment technical solution of embodiment.

Claims (10)

1. a kind of method of the routing rule of setting procedure characterized by comprising
When opening Pending tasks progress task is handled, the nodal information of destination node is obtained, the nodal information includes node class Type and extended attribute, the destination node are the next node of flow nodes where the Pending tasks;
When the node type for determining the destination node is routing node, routing rule is obtained from the extended attribute, it is described Routing rule is stored in advance in the extended attribute of routing node;
Before the list for submitting the Pending tasks, according to the corresponding business datum determination of the list of the Pending tasks When destination node meets corresponding routing rule, by the corresponding multi-branch transport line identification record of the destination node in the target In the extended attribute of node, when for the workflow in the Pending tasks to the destination node, the Pending tasks The multi-branch transport line that process stores in the extended attribute according to the destination node identifies to multi-branch transport line and identifies corresponding biography Defeated line circulation.
2. the method according to claim 1, wherein the method also includes:
Determine that the destination node is unsatisfactory for corresponding routing according to the corresponding business datum of the flow chart of the Pending tasks When regular, the instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
3. method according to claim 1 or 2, which is characterized in that before opening Pending tasks progress task and handling, institute State method further include:
List is bound for the process of the Pending tasks;
The metadata of the list is obtained according to the mark of the list and parsing is stored in the flow template of the process, institute The metadata for stating list includes at least the data of multiple form fields;
Routing rule is arranged in transmission line for the process of the Pending tasks, when routing rule is arranged according to the member of the list Data select form fields, and set routing rule is stored in the extended attribute of routing node.
4. according to the method described in claim 3, it is characterized in that,
The storage format of the routing rule of routing node is that transmission line identifies and corresponding routing rule.
5. a kind of device of the routing rule of setting procedure characterized by comprising
First obtains module, is used to open Pending tasks and carries out task when handling, obtains the nodal information of destination node, the section Point information includes node type and extended attribute, and the destination node is next section of flow nodes where the Pending tasks Point;
Second obtain module, for the node type for determining the destination node be routing node when, from the extended attribute Middle acquisition routing rule, the routing rule are stored in advance in the extended attribute of routing node;
First processing module, for being corresponded to according to the list of the Pending tasks before the list for submitting the Pending tasks Business datum when determining that the destination node meets corresponding routing rule, by the corresponding multi-branch transport line of the destination node Identification record is in the extended attribute of the destination node, for the workflow in the Pending tasks to the destination node When, the multi-branch transport line that the process of the Pending tasks stores in the extended attribute according to the destination node is identified to be passed to branch Defeated line identifies corresponding transmission line circulation.
6. device according to claim 5, which is characterized in that the first processing module is also used to:
Determine that the destination node is unsatisfactory for corresponding routing according to the corresponding business datum of the flow chart of the Pending tasks When regular, the instruction information for being unsatisfactory for routing rule is used to indicate to user's push.
7. device according to claim 5 or 6, which is characterized in that described device further include:
Binding module, for before opening Pending tasks progress task and handling, being that the process of the Pending tasks binds list;
Second processing module obtains the metadata of the list for the mark according to the list and parsing is stored in the stream In the flow template of journey, the metadata of the list includes at least the data of multiple form fields;
Routing rule is arranged in third processing module, the transmission line for the process for the Pending tasks, in setting routing rule When according to the metadata selected form fields of the list, set routing rule is stored in the extended attribute of routing node In.
8. device according to claim 7, which is characterized in that
The storage format of the routing rule of routing node is that transmission line identifies and corresponding routing rule.
9. a kind of device of the routing rule of setting procedure characterized by comprising
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, to realize described in any one of Claims 1 to 4 Setting procedure routing rule method.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program in the readable storage medium storing program for executing, work as setting When at least one processor of the device of the routing rule of process executes the computer program, the routing rule of setting procedure The method that device perform claim requires the routing rule of 1~4 described in any item setting procedures.
CN201811420337.2A 2018-11-26 2018-11-26 Method and device for setting routing rule of flow and readable storage medium Active CN109583746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811420337.2A CN109583746B (en) 2018-11-26 2018-11-26 Method and device for setting routing rule of flow and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811420337.2A CN109583746B (en) 2018-11-26 2018-11-26 Method and device for setting routing rule of flow and readable storage medium

Publications (2)

Publication Number Publication Date
CN109583746A true CN109583746A (en) 2019-04-05
CN109583746B CN109583746B (en) 2020-10-30

Family

ID=65924296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811420337.2A Active CN109583746B (en) 2018-11-26 2018-11-26 Method and device for setting routing rule of flow and readable storage medium

Country Status (1)

Country Link
CN (1) CN109583746B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110389748A (en) * 2019-06-17 2019-10-29 平安银行股份有限公司 Business data processing method and terminal device
CN110413367A (en) * 2019-07-31 2019-11-05 北京字节跳动网络技术有限公司 Task creation method, apparatus, storage medium and electronic equipment
CN110515600A (en) * 2019-09-02 2019-11-29 政采云有限公司 A kind of method and apparatus of workflow conditional configuration
CN111222783A (en) * 2019-12-31 2020-06-02 深圳市创梦天地科技有限公司 Method for processing workflow and electronic equipment
CN111652580A (en) * 2020-05-29 2020-09-11 平安医疗健康管理股份有限公司 Method and device for processing data of nodes
CN112199012A (en) * 2020-07-24 2021-01-08 上海泛微网络科技股份有限公司 Data processing method and related equipment
CN115051948A (en) * 2022-05-19 2022-09-13 天翼云科技有限公司 VPC distributed network element data transmission method and device and electronic equipment
CN115225572A (en) * 2022-07-13 2022-10-21 阿里巴巴(中国)有限公司 Routing information processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104091222A (en) * 2014-05-08 2014-10-08 武大吉奥信息技术有限公司 Workflow engine supporting multimode driving
CN104850665A (en) * 2015-06-12 2015-08-19 江苏中威科技软件系统有限公司 Method and system for realizing flow circulation based on flow embedding
CN106408272A (en) * 2016-10-26 2017-02-15 金航数码科技有限责任公司 Distributed deployment based cross-system process engine collaboration system and method
CN107480184A (en) * 2017-07-06 2017-12-15 联动优势科技有限公司 A kind of data access method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104091222A (en) * 2014-05-08 2014-10-08 武大吉奥信息技术有限公司 Workflow engine supporting multimode driving
CN104850665A (en) * 2015-06-12 2015-08-19 江苏中威科技软件系统有限公司 Method and system for realizing flow circulation based on flow embedding
CN106408272A (en) * 2016-10-26 2017-02-15 金航数码科技有限责任公司 Distributed deployment based cross-system process engine collaboration system and method
CN107480184A (en) * 2017-07-06 2017-12-15 联动优势科技有限公司 A kind of data access method and equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110389748A (en) * 2019-06-17 2019-10-29 平安银行股份有限公司 Business data processing method and terminal device
CN110413367A (en) * 2019-07-31 2019-11-05 北京字节跳动网络技术有限公司 Task creation method, apparatus, storage medium and electronic equipment
CN110413367B (en) * 2019-07-31 2022-09-23 北京字节跳动网络技术有限公司 Task creation method and device, storage medium and electronic equipment
CN110515600A (en) * 2019-09-02 2019-11-29 政采云有限公司 A kind of method and apparatus of workflow conditional configuration
CN111222783A (en) * 2019-12-31 2020-06-02 深圳市创梦天地科技有限公司 Method for processing workflow and electronic equipment
CN111652580A (en) * 2020-05-29 2020-09-11 平安医疗健康管理股份有限公司 Method and device for processing data of nodes
CN111652580B (en) * 2020-05-29 2023-02-14 深圳平安医疗健康科技服务有限公司 Method and device for processing data of nodes
CN112199012A (en) * 2020-07-24 2021-01-08 上海泛微网络科技股份有限公司 Data processing method and related equipment
CN115051948A (en) * 2022-05-19 2022-09-13 天翼云科技有限公司 VPC distributed network element data transmission method and device and electronic equipment
CN115051948B (en) * 2022-05-19 2023-10-13 天翼云科技有限公司 VPC distributed network element data transmission method and device and electronic equipment
CN115225572A (en) * 2022-07-13 2022-10-21 阿里巴巴(中国)有限公司 Routing information processing method and device, electronic equipment and storage medium
CN115225572B (en) * 2022-07-13 2023-05-26 阿里巴巴(中国)有限公司 Processing method and device of routing information, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109583746B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN109583746A (en) The method and device of the routing rule of setting procedure, readable storage medium storing program for executing
EP1868087B1 (en) System and method for configuration application programs
US9704115B2 (en) Automating workflow participation
US8869111B2 (en) Method and system for generating test cases for a software application
EP2778929B1 (en) Test script generation system
US20120260254A1 (en) Visual scripting of web services for task automation
US10380085B2 (en) Method, apparatus and computer program for migrating records in a database from a source database schema to a target database schema
US20140310053A1 (en) Method and systems for providing business process suggestions and recommendations utilizing a business process modeler
US20180081994A1 (en) Automatically mapping data while designing process flows
CN112036577B (en) Method and device for applying machine learning based on data form and electronic equipment
CN105956087A (en) Data and code version management system and method
WO2019019379A1 (en) Service template matching method and apparatus, computer device, and storage medium
US20130096894A1 (en) Automatic insertion point identification in model merging operations
CN114385816A (en) Conversation flow mining method and device, electronic equipment and computer storage medium
CN111984882A (en) Data processing method, system and equipment
CN109976725A (en) A kind of process program development approach and device based on lightweight flow engine
Miksa et al. Defining requirements for machine-actionable data management plans.
CN109241564A (en) A kind of Photographing On-line method and apparatus of computer room assets
CN106294530A (en) The method and system of rule match
Reich et al. Scheduling crash tests at ford motor company
US20130346141A1 (en) Workflow modeling with workets and transitions
JP3225996B2 (en) Information processing system
KR100974300B1 (en) Work flow management apparatus and method there of the same
CN110149356A (en) Method and device is uniformly processed in a kind of network request abnormality
WO2019056708A1 (en) Electronic device, method for recommending re-use of previously contracted personnel, and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant