CN111144837A - Flow arrangement method and device, storage medium and electronic equipment - Google Patents

Flow arrangement method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111144837A
CN111144837A CN201911284907.4A CN201911284907A CN111144837A CN 111144837 A CN111144837 A CN 111144837A CN 201911284907 A CN201911284907 A CN 201911284907A CN 111144837 A CN111144837 A CN 111144837A
Authority
CN
China
Prior art keywords
node
attribute information
flow
nodes
arrangement
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.)
Pending
Application number
CN201911284907.4A
Other languages
Chinese (zh)
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 CN201911284907.4A priority Critical patent/CN111144837A/en
Publication of CN111144837A publication Critical patent/CN111144837A/en
Pending legal-status Critical Current

Links

Images

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/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a process arrangement method, a device, a storage medium and an electronic device, which can obtain a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set, wherein the process node set comprises a plurality of process nodes; constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node instance template is used for recording the process nodes corresponding to the attribute information of each node; determining an execution sequence of a plurality of process nodes according to the node attribute information; instantiating a plurality of the process nodes according to the node instance template and the execution order.

Description

Flow arrangement method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of process arrangement, and in particular, to a method, an apparatus, a storage medium, and an electronic device for process arrangement.
Background
The business process is the most important implementation mode for coordinating enterprise services and describing business logic, the business process usually comprises a plurality of process nodes, when a user sets the plurality of process nodes in an actual application scene, the set nodes are different from each other, but the attributes of the nodes such as configured transaction actions, time limits, reminding settings, associated events, preconditions and the like of the business form mounted in the nodes are all highly identical or even completely identical, so unnecessary redundancy is caused on attribute storage.
In the other flow arranging mode, sub-flow nodes with the same attribute are arranged, and corresponding nodes are synchronously copied after the arrangement.
Disclosure of Invention
The purpose of the present disclosure is to provide a method, an apparatus, a storage medium, and an electronic device for process arrangement.
In a first aspect, a method for process orchestration is provided, the method comprising: acquiring a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set, wherein the process node set comprises a plurality of process nodes; constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node instance template is used for recording the process nodes corresponding to the attribute information of each node; determining an execution sequence of a plurality of process nodes according to the node attribute information; instantiating a plurality of the process nodes according to the node instance template and the execution order.
Optionally, the node arrangement type includes automatic arrangement or manual arrangement, and the constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information includes: if the node arrangement type is the automatic arrangement, determining the node attribute information corresponding to each process node; determining a target process node to be configured with the node attribute information from a plurality of process nodes aiming at each node attribute information, and establishing a corresponding relation between the node attribute information and the node identification information of the target process node; and obtaining the node instance template according to the established corresponding relation.
Optionally, the constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information includes: and if the node arrangement type is the manual arrangement, constructing the node instance template according to the node attribute information and the node identification information of each flow node.
Optionally, the node attribute information further includes a clerk identifier corresponding to each of the process nodes; the determining an execution order of the plurality of process nodes according to the node attribute information includes: determining the node circulation relationship of the flow node set according to the identification of the transactor; and determining the execution sequence according to the node circulation relationship and the node identification information of each flow node.
In a second aspect, an apparatus for process orchestration is provided, the apparatus comprising: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set, and the process node set comprises a plurality of process nodes; the template construction module is used for constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node instance template is used for recording the process nodes corresponding to the attribute information of each node; the determining module is used for determining the execution sequence of the flow nodes according to the node attribute information; and the node instance module is used for instantiating a plurality of process nodes according to the node instance template and the execution sequence.
Optionally, the node arrangement type includes automatic arrangement or manual arrangement, and the template construction module is configured to determine the node attribute information corresponding to each flow node if the node arrangement type is the automatic arrangement; determining a target process node to be configured with the node attribute information from a plurality of process nodes aiming at each node attribute information, and establishing a corresponding relation between the node attribute information and the node identification information of the target process node; and obtaining the node instance template according to the established corresponding relation.
Optionally, the template building module is configured to build the node instance template according to the node attribute information and the node identification information of each flow node if the node layout type is the manual layout.
Optionally, the node attribute information further includes a clerk identifier corresponding to each of the process nodes; the determining module is used for determining the node flow relationship of the flow node set according to the identification of the transacting personnel; and determining the execution sequence according to the node circulation relationship and the node identification information of each flow node.
In a third aspect, a computer readable storage medium is provided, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the method according to the first aspect of the disclosure.
In a fourth aspect, an electronic device is provided, comprising: a memory having a computer program stored thereon; a processor for executing the computer program in the memory to implement the steps of the method of the first aspect of the disclosure.
According to the technical scheme, the node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set are obtained, wherein the process node set comprises a plurality of process nodes; constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node instance template is used for recording the process nodes corresponding to the attribute information of each node; determining an execution sequence of a plurality of process nodes according to the node attribute information; and instantiating a plurality of process nodes according to the node instance template and the execution sequence, so that the node instance template is adopted to record the process node corresponding to each node attribute information, when a plurality of process nodes all correspond to the same node attribute information, the same node attribute information is only required to be recorded in the node instance template once, and the storage is not required to be repeatedly carried out according to the corresponding plurality of process nodes, thereby avoiding the redundancy problem during the storage of the node attributes and greatly saving the storage space.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow diagram illustrating a first method of flow orchestration according to an example embodiment;
FIG. 2 is a flow diagram illustrating a second method of flow orchestration according to an example embodiment;
FIG. 3 is a diagram illustrating an example template of a tree node in accordance with an illustrative embodiment;
FIG. 4 is a block diagram illustrating a flow orchestration device according to an example embodiment;
fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
First, an application scenario of the present disclosure is introduced, and the present disclosure is mainly applied to an arrangement scenario of a business process, and in a general case, when a user sets a plurality of process nodes of the business process, usually, only transactants corresponding to the set nodes are different, and node attributes (such as attributes of a mounted business form, transaction actions, time restrictions, reminder settings, and the like) configured for each node are usually highly similar or even completely the same, which causes unnecessary redundancy in attribute storage.
In the existing process arrangement mode, a user can select direct manual dragging and set a plurality of repeated manual nodes, or setting sub-process nodes with the same attribute, synchronously copying the corresponding nodes after setting, wherein the configuration attribute of each node is independently stored when the node attribute is stored in the two process arrangement modes, even if the attribute of a certain node is the same attribute corresponding to a plurality of nodes, the storage needs to be repeated, this creates a redundancy problem for the node attribute storage and, in addition, based on existing process orchestration, in the process of instantiating each process node during the process execution, the attribute information corresponding to the process node needs to be acquired by a persistent layer (which can be understood as a database) for node instantiation, which obviously increases throughput operation of the persistent layer, so that the process execution efficiency is low.
In order to solve the existing problems, the present disclosure provides a method, an apparatus, a storage medium, and an electronic device for process arrangement, which can construct a node instance template corresponding to a process node set to be arranged according to a node arrangement type and node attribute information corresponding to the process node set, and record a process node corresponding to each node attribute information through the node instance template, so that, when a plurality of process nodes all correspond to the same node attribute information, the same node attribute information only needs to be recorded in the node instance template once, and there is no need to repeatedly store according to a plurality of corresponding process nodes, thereby avoiding redundancy during node attribute storage, and greatly saving storage space, and in addition, during process execution, based on an execution sequence of each process node and a process node corresponding to each node attribute information recorded by the node instance template, each process node is instantiated in the memory, and the node attribute information corresponding to each process node does not need to be acquired by repeatedly accessing the database, so that the handling operation of the database can be reduced, and the execution efficiency of the process is improved.
Specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
FIG. 1 is a flow chart illustrating a flow orchestration method according to an exemplary embodiment, as shown in FIG. 1, comprising the steps of:
in step 101, a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set are obtained, where the process node set includes a plurality of process nodes.
In an actual process arrangement scenario, a user (generally referred to as a process designer) may perform process setting according to an actual service requirement through process editing software, and after the user completes the setting and saves the process operation, the device for executing the process arrangement method provided by the present disclosure may obtain the process node set to be arranged, where the process node set may include a plurality of process nodes corresponding to an entire service process, and in addition, if a certain process node is a sub-process node, the sub-process node corresponds to an entire sub-process composed of a plurality of nodes, and at this time, the process node set may also include a plurality of process nodes constituting the entire sub-process.
The node arrangement type is used for representing a process arrangement mode selected by a user, the process arrangement mode provided by the disclosure supports both manual arrangement of the user and automatic arrangement based on a node instance template, so the node arrangement type can comprise manual arrangement or automatic arrangement, and the node attribute information can comprise attribute information such as a service form mounted by each process node, configured handling actions, time limitation, reminding setting, handling events, preconditions and the like.
Different node layout types may be represented by different type identifiers (e.g., manual layout is represented by 0, and automatic layout is represented by 1), so in one possible implementation manner of this step, the node layout type may be determined by obtaining the type identifier corresponding to the flow node set.
In step 102, a node instance template corresponding to the flow node set is constructed according to the node arrangement type and the node attribute information; the node case template is used for recording the process nodes corresponding to the attribute information of each node.
The method supports manual arrangement or automatic arrangement, and the generation modes of node instance templates corresponding to different process arrangement modes are different, wherein in the automatic arrangement mode, the node instance templates corresponding to the process node set can be automatically generated based on the same node attribute information by comparing the attribute configuration of each process node, specifically, the node attribute information corresponding to each process node in the process node set can be determined firstly, then a target process node needing to be configured with the node attribute information is determined from a plurality of process nodes aiming at each node attribute information, the corresponding relation between the node attribute information and the node identification information of the target process node is established, and the node instance template is obtained according to the established corresponding relation.
In addition, in the manual arrangement mode, the user can set that the node attribute information of each process node in the process node set is the same according to the actual service requirement, and at this time, the node attribute information is the node attribute that needs to be configured for each process node in the process node set by the user.
In step 103, the execution order of a plurality of the flow nodes is determined according to the node attribute information.
It can be understood that, the transactants corresponding to each flow node in the business flow are generally different, and the transactants corresponding to different flow nodes can be marked with different transactant identifiers, in this step, the node attribute information can further include the transactant identifier corresponding to each flow node, because there is a transactant relationship between the transactants corresponding to different flow nodes, in the process of determining the execution sequence of a plurality of flow nodes according to the node attribute information, the node flow relationship of the flow node set can be determined according to the transactant identifier, and then the execution sequence is determined according to the node flow relationship and the node identifier information of each flow node.
The node flow relationship is an approval relationship directed graph of a complete business process (composed of a plurality of process nodes in the process node set) abstracted according to the transaction relationship, and the node identification information may include a node name or a hash address value of the corresponding process node.
In step 104, a plurality of the flow nodes are instantiated according to the node instance template and the execution order.
During the process running, for the node instance of each process node, instance rendering can be performed through the node instance template and the execution sequence, that is, after the corresponding process node is run according to the execution sequence, the node attribute information required to be configured for the process node is searched and obtained in the node instance template according to the node identification information of the process node, so as to instantiate the process node.
It should be noted that, compared to the prior art that attribute information corresponding to each process node needs to be acquired by accessing the database when each process node is instantiated, the method provided by the present disclosure can read the execution sequence and the node instance template from the database at one time and store the read result in the memory, so that each node can be instantiated according to the execution sequence and the node instance template in the memory when each process node is instantiated, thereby reducing throughput of the database and significantly improving execution efficiency.
By adopting the method, the process node corresponding to each node attribute information is recorded through the node instance template, when a plurality of process nodes all correspond to the same node attribute information, the same node attribute information only needs to be recorded in the node instance template once, and the repeated storage according to the corresponding plurality of process nodes is not needed, so that the redundancy problem during node attribute storage is avoided, and the storage space is greatly saved.
Fig. 2 is a flow chart of a method of flow orchestration according to the embodiment shown in fig. 1, the method comprising the steps of, as shown in fig. 2:
in step 201, a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set are obtained, where the process node set includes a plurality of process nodes.
In an actual flow arrangement scene, a user (generally referred to as a flow designer) may perform flow arrangement according to an actual service requirement through flow editing software, and after the user completes the arrangement and saves the flow operation, the device executing the flow arrangement method provided by the present disclosure may obtain the flow node set to be arranged, where the flow node set may include a plurality of flow nodes corresponding to a complete service flow, for example, a set flow saved by the user is a service flow composed of four flow nodes, i.e., node a → node B → node C → node D, and then the flow node set is a flow node set composed of four flow nodes, i.e., node a, node B, node C, and node D.
In addition, if a certain process node is a sub-process node, the sub-process node corresponds to a complete sub-process composed of a plurality of nodes, and the process node set may also include a plurality of process nodes composing the complete sub-process, for example, if the node a is the sub-process node, the corresponding complete sub-process below the node a is a1 → a2 → a3, and the process node set may be a process node set composed of three process nodes, i.e., a node a1, a node a2, and a node a3, which is only an example and is not limited in this disclosure.
The node arrangement type is used for representing a process arrangement mode selected by a user, the process arrangement mode provided by the disclosure supports both manual arrangement of the user and automatic arrangement based on a node instance template, so the node arrangement type can comprise manual arrangement or automatic arrangement, and the node attribute information can comprise attribute information such as a service form mounted by each process node, configured handling actions, time limitation, reminding setting, handling events, preconditions and the like.
Different node layout types may be represented by different type identifiers (e.g., manual layout is represented by 0, and automatic layout is represented by 1), so in one possible implementation manner of this step, the node layout type may be determined by obtaining the type identifier corresponding to the flow node set.
In order to avoid repeated storage of the same node attribute information which is required to be configured for a plurality of process nodes, the method can adopt the node instance template to record the process node corresponding to each node attribute information, thus, for one or more node attribute information corresponding to the process node set to be arranged, each node attribute information can be recorded in the node instance template only once, and repeated storage is not required; in addition, because the present disclosure supports two process arrangement modes, i.e., manual arrangement mode or automatic arrangement mode, the generation modes of the node instance templates corresponding to different process arrangement modes are different, wherein in the automatic arrangement mode, the node instance template corresponding to the process node set can be constructed by executing the steps 202 to 204, and in the manual arrangement mode, the node instance template can be constructed by executing the step 205.
In step 202, if the node layout type is automatic layout, the node attribute information corresponding to each flow node is determined.
After step 201 is executed, one or more node attribute information corresponding to a process node set to be arranged may be obtained, and since the process node set includes a plurality of process nodes, each process node may configure at least one node attribute information, the node attribute information corresponding to each process node may be determined from one or more node attribute information corresponding to the process node set according to node identification information of each process node, for example, assuming that the process node set to be arranged includes two process nodes, i.e., a node a and a node B, and the node attribute information corresponding to the process node set includes three node attributes, i.e., an attribute 1, an attribute 2, and an attribute 3, where the node a needs to configure an attribute 1 and an attribute 2, and the node B needs to configure an attribute 2 and an attribute 3, then, it may be determined that the node attribute information corresponding to the node a is attribute 1 and attribute 2, and the node attribute information corresponding to the node B is attribute 2 and attribute 3, which is only an example here and is not limited by this disclosure.
In step 203, for each piece of node attribute information, a target process node to which the node attribute information needs to be configured is determined from a plurality of process nodes, and a corresponding relationship between the node attribute information and the node identification information of the target process node is established.
The node identification information may be a hash address value or a node name of each process node.
For example, assuming that a process node set to be arranged includes three process nodes, namely a node a, a node B, and a node C, and node attribute information corresponding to the node a includes an attribute 1, an attribute 2, and an attribute 3, node attribute information corresponding to the node B includes an attribute 2, and node attribute information corresponding to the node C includes an attribute 2, an attribute 3, and an attribute 4, at this time, it may be determined that the entire process node set corresponds to four node attribute information, namely, an attribute 1, an attribute 2, an attribute 3, and an attribute 4, and then for each node attribute information in the four node attribute information, a process of sequentially determining the target process node corresponding to the node attribute information is as follows: since the node to which the attribute 1 needs to be configured is the node a, the nodes to which the attribute 2 needs to be configured are the node a, the node B, and the node C, the nodes to which the attribute 3 needs to be configured are the node a and the node C, and the node to which the attribute 4 needs to be configured is the node C, the following correspondence relationship can be established: the target process node corresponding to the attribute 1 is a node A; the target process nodes corresponding to the attribute 2 are a node A, a node B and a node C; the target process nodes corresponding to the attribute 3 are the node a and the node C, and the target process nodes corresponding to the attribute 4 are the node C, and the above example is only an example, and the disclosure does not limit this.
In step 204, a node instance template is obtained according to the established correspondence.
The node instance template is used for recording the process node corresponding to each node attribute information, and can be represented as a tree instance template.
Exemplarily, fig. 3 is a schematic diagram of a tree instance template according to an exemplary embodiment, where for a flow node set to be arranged, which is composed of five flow nodes, i.e., node a (corresponding hash address 01) → node B (corresponding hash address 02) → node C (corresponding hash address 03) → node D (corresponding hash address 04) → node E (corresponding hash address 05), the tree instance template corresponding to the flow node set is as shown in fig. 3, and the flow node set corresponds to four flow node attributes, i.e., attribute 1, attribute 2, attribute 3, and attribute 4, where attribute 1 in the tree node located at the uppermost layer in the tree instance template and the corresponding hash addresses are flow nodes of 01,02,03,04, and 05, respectively; the attribute 2 in the tree node on the left side of the middle layer of the tree instance template corresponds to the flow node with the Hash addresses of 01 and 02 respectively; the attribute 3 in the tree node on the right side of the middle layer of the tree instance template corresponds to the flow nodes with hash addresses of 04 and 05 respectively; the attribute 4 in the tree node at the lowest layer in the tree instance template corresponds to the flow node with the hash address of 03, and the above example is only an example, and the disclosure does not limit this.
In step 205, if the node layout type is manual layout, the node instance template is constructed according to the node attribute information and the node identification information of each flow node.
Wherein, in the manual arrangement mode, the user can set the node attribute information of each flow node in the flow node set to be the same according to the actual service requirement, at this time, the node attribute information is the node attribute that needs to be configured for each process node in the process node set by the user, and therefore, in the manual layout mode, the node instance template can be constructed according to the node attribute information and the node identification information of each flow node, in this case, the node instance template may be a node instance template including only one root node, specifically, the root node template may be directly generated according to the node attribute that needs to be configured for each flow node in the flow node set by the user, that is, each process node in the process node set can instantiate a node according to the attribute information recorded in the root node template.
For example, suppose that a user sets node attributes that each process node in the process node set needs to be configured as attribute 1 and attribute 2, if the process node set includes node a and node B, then node a needs to configure attribute 1 and attribute 2, and node B also needs to configure attribute 1 and attribute 2, at this time, the correspondence relationship recorded in the root node template may be represented as (attribute 1, attribute 2) correspondence (node a: node B), that is, it represents that both attribute 1 and attribute 2 are common attributes of two nodes, which is also illustrated here by way of example only, and the disclosure does not limit this.
In step 206, the execution order of a plurality of the flow nodes is determined according to the node attribute information.
It can be understood that, the transactants corresponding to each flow node in the business flow are generally different, and the transactants corresponding to different flow nodes can be marked with different transactant identifiers, in this step, the node attribute information can further include the transactant identifier corresponding to each flow node, because there is a transactant relationship between the transactants corresponding to different flow nodes, in the process of determining the execution sequence of a plurality of flow nodes according to the node attribute information, the node flow relationship of the flow node set can be determined according to the transactant identifier, and then the execution sequence is determined according to the node flow relationship and the node identifier information of each flow node.
The node flow relationship is an approval relationship directed graph of a complete business process (composed of a plurality of process nodes in the process node set) abstracted according to the transaction relationship, and the node identification information may include a node name or a hash address value of the corresponding process node.
Exemplarily, if the business process: node A → node B → node C → node D is a process of asking for leave approval, wherein the transactants corresponding to node A are the vacationer, the transactioner corresponding to node B is the group leader, the transactioner corresponding to node C is the department manager, the transactioner corresponding to node D is the general manager, for different transactants, the vacationer can be represented by 1, the group leader is represented by 2, the department manager is represented by 3, and the general manager is represented by 4, so that when the node circulation relationship is determined according to the identifier of the transactant, the node circulation relationship of vacationer → group leader → department manager → general manager can be obtained according to the sequence of the identifier number from small to large, and because the transactioner corresponding to node A is the vacationer, the transactioner corresponding to node B is the group leader, the transactioner corresponding to node C is the department manager, and the general manager corresponding to node D (wherein A, B, the general manager is the group leader, the general manager corresponding to node D is the general manager, C. D is the node identification information of the corresponding flow node), and therefore, the execution order is determined to be node a → node B → node C → node D based on the determined node flow relationship and the node identification information of each flow node, the above example is only an illustration, and the disclosure is not limited thereto.
In step 207, a plurality of the flow nodes are instantiated according to the node instance template and the execution order.
During the process running, for the node instance of each process node, instance rendering can be performed through the node instance template and the execution sequence, that is, after the corresponding process node is run according to the execution sequence, the node attribute information required to be configured for the process node is searched and obtained in the node instance template according to the node identification information of the process node, so as to instantiate the process node.
For example, taking fig. 3 as an example, if it is determined that a flow node currently executed to a hash address 01 is according to an execution sequence, the flow node currently executed to the hash address 01 needs to be instantiated, at this time, node attribute information corresponding to the flow node with the hash address 01 in the tree node instance template shown in fig. 3 may be attribute 1 and attribute 2, and therefore, the flow node with the hash address 01 may be instantiated according to attribute 1 and attribute 2, the above example is merely an example, and the disclosure does not limit this.
It should be noted that, compared to the prior art that attribute information corresponding to each process node needs to be acquired by accessing the database when each process node is instantiated, the method provided by the present disclosure can read the execution sequence and the node instance template from the database at one time and store the read result in the memory, so that each node can be instantiated according to the execution sequence and the node instance template in the memory when each process node is instantiated, thereby reducing throughput of the database and significantly improving execution efficiency.
By adopting the method, when a plurality of process nodes correspond to the same node attribute information, the same node attribute information only needs to be recorded in the node instance template once, and the repeated storage according to the corresponding plurality of process nodes is not needed, so that the redundancy problem in the node attribute storage is avoided, and the storage space is greatly saved.
Fig. 4 is a block diagram illustrating a flow orchestration apparatus according to an example embodiment, as shown in fig. 3, comprising:
an obtaining module 401, configured to obtain a node arrangement type corresponding to a process node set to be arranged, and one or more node attribute information corresponding to the process node set, where the process node set includes a plurality of process nodes;
a template building module 402, configured to build a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node instance template is used for recording the process nodes corresponding to the attribute information of each node;
a determining module 403, configured to determine an execution order of a plurality of the process nodes according to the node attribute information;
a node instance module 404 for instantiating a plurality of the flow nodes according to the node instance template and the execution order.
Optionally, the node layout type includes automatic layout or manual layout, and the template building module 402 is configured to determine the node attribute information corresponding to each flow node if the node layout type is the automatic layout; determining a target process node which needs to be configured with the node attribute information from a plurality of process nodes aiming at each node attribute information, and establishing a corresponding relation between the node attribute information and the node identification information of the target process node; and obtaining the node instance template according to the established corresponding relation.
Optionally, the template building module 402 is configured to build the node instance template according to the node attribute information and the node identification information of each flow node if the node layout type is the manual layout.
Optionally, the node attribute information further includes a clerk identifier corresponding to each of the process nodes; the determining module 403 is configured to determine a node flow relationship of the flow node set according to the identifier of the transacting staff; and determining the execution sequence according to the node circulation relationship and the node identification information of each flow node.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
By adopting the device, the process nodes corresponding to the attribute information of each node are recorded through the node instance template, when a plurality of process nodes all correspond to the same node attribute information, the same node attribute information only needs to be recorded in the node instance template once, and the repeated storage according to the corresponding plurality of process nodes is not needed, so that the redundancy problem during the storage of the node attributes is avoided, and the storage space is greatly saved.
Fig. 5 is a block diagram illustrating an electronic device 500 in accordance with an example embodiment. As shown in fig. 5, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to control the overall operation of the electronic device 500, so as to complete all or part of the steps in the above-mentioned flow arrangement method. The memory 502 is used to store various types of data to support operation at the electronic device 500, such as instructions for any application or method operating on the electronic device 500 and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 502 or transmitted through the communication component 505. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 505 may thus comprise: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for executing the above-mentioned flow arrangement method.
In another exemplary embodiment, a computer readable storage medium is also provided, which comprises program instructions, which when executed by a processor, implement the steps of the flow orchestration method described above. For example, the computer readable storage medium may be the memory 502 described above comprising program instructions that are executable by the processor 501 of the electronic device 500 to perform the flow orchestration method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described flow orchestration method when executed by the programmable apparatus.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A process arrangement method, characterized in that the method comprises:
acquiring a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set, wherein the process node set comprises a plurality of process nodes;
constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node case template is used for recording the process nodes corresponding to the attribute information of each node;
determining an execution sequence of a plurality of process nodes according to the node attribute information;
instantiating a plurality of the process nodes according to the node instance template and the execution order.
2. The method of claim 1, wherein the node orchestration type comprises automatic orchestration or manual orchestration, and wherein constructing a node instance template corresponding to the flow node set according to the node orchestration type and the node attribute information comprises:
if the node arrangement type is the automatic arrangement, determining the node attribute information corresponding to each process node;
determining a target process node to be configured with the node attribute information from a plurality of process nodes aiming at each node attribute information, and establishing a corresponding relation between the node attribute information and the node identification information of the target process node;
and obtaining the node instance template according to the established corresponding relation.
3. The method of claim 2, wherein constructing a node instance template corresponding to the flow node set according to the node orchestration type and the node attribute information comprises:
and if the node arrangement type is the manual arrangement, constructing the node instance template according to the node attribute information and the node identification information of each flow node.
4. The method according to any one of claims 1 to 3, wherein the node attribute information further includes a clerk identifier corresponding to each flow node; the determining an execution order of the plurality of process nodes according to the node attribute information includes:
determining the node circulation relationship of the flow node set according to the identification of the transactor;
and determining the execution sequence according to the node circulation relationship and the node identification information of each flow node.
5. An apparatus for process orchestration, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a node arrangement type corresponding to a process node set to be arranged and one or more node attribute information corresponding to the process node set, and the process node set comprises a plurality of process nodes;
the template construction module is used for constructing a node instance template corresponding to the flow node set according to the node arrangement type and the node attribute information; the node instance template is used for recording the process nodes corresponding to the attribute information of each node;
the determining module is used for determining the execution sequence of the flow nodes according to the node attribute information;
and the node instance module is used for instantiating a plurality of process nodes according to the node instance template and the execution sequence.
6. The apparatus according to claim 5, wherein the node arrangement type includes automatic arrangement or manual arrangement, and the template building module is configured to determine the node attribute information corresponding to each of the process nodes if the node arrangement type is the automatic arrangement; determining a target process node to be configured with the node attribute information from a plurality of process nodes aiming at each node attribute information, and establishing a corresponding relation between the node attribute information and the node identification information of the target process node; and obtaining the node instance template according to the established corresponding relation.
7. The apparatus of claim 6, wherein the template construction module is configured to construct the node instance template according to the node attribute information and the node identification information of each flow node if the node layout type is the manual layout.
8. The apparatus according to any one of claims 5 to 7, wherein the node attribute information further includes a clerk identifier corresponding to each flow node; the determining module is used for determining the node flow relationship of the flow node set according to the identification of the transacting personnel; and determining the execution sequence according to the node circulation relationship and the node identification information of each flow node.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 4.
CN201911284907.4A 2019-12-13 2019-12-13 Flow arrangement method and device, storage medium and electronic equipment Pending CN111144837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911284907.4A CN111144837A (en) 2019-12-13 2019-12-13 Flow arrangement method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911284907.4A CN111144837A (en) 2019-12-13 2019-12-13 Flow arrangement method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111144837A true CN111144837A (en) 2020-05-12

Family

ID=70518360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911284907.4A Pending CN111144837A (en) 2019-12-13 2019-12-13 Flow arrangement method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111144837A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798126A (en) * 2020-07-02 2020-10-20 东土科技(宜昌)有限公司 Process flow creation method, computer device, and storage medium
CN112668998A (en) * 2020-12-23 2021-04-16 树根互联技术有限公司 Flow implementation method, device, system, electronic equipment and readable storage medium
CN113791775A (en) * 2020-08-21 2021-12-14 北京京东振世信息技术有限公司 Metadata flow arrangement method and device, storage medium and electronic equipment
CN114548922A (en) * 2022-02-18 2022-05-27 网银在线(北京)科技有限公司 Method and device for updating process definition
CN118644063A (en) * 2024-08-13 2024-09-13 四川开物信息技术有限公司 Configured laboratory information management system

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030079182A1 (en) * 2001-10-19 2003-04-24 Christoph Hofmann Management of hierarchies
CN103761273A (en) * 2014-01-08 2014-04-30 兴天通讯技术(天津)有限公司 Tree structure node attribute configuration method and system
CN106228306A (en) * 2016-07-26 2016-12-14 深圳中兴网信科技有限公司 Operation flow methods of exhibiting based on modeling configuration and operation flow exhibiting device
CN106408156A (en) * 2016-08-25 2017-02-15 东软集团股份有限公司 Flow template recovering method and device
CN106845741A (en) * 2015-12-03 2017-06-13 北大方正集团有限公司 The customization device and customization method of workflow
CN106873957A (en) * 2016-06-23 2017-06-20 阿里巴巴集团控股有限公司 The processing method and equipment of a kind of operation flow
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN106952024A (en) * 2017-03-01 2017-07-14 千寻位置网络有限公司 It is a kind of to strengthen the workflow engine method and system of net O&M scenarios suitable for ground
CN107133309A (en) * 2017-04-28 2017-09-05 东软集团股份有限公司 Storage, querying method and the device of flow instance, storage medium and electronic equipment
CN109039683A (en) * 2017-06-09 2018-12-18 中兴通讯股份有限公司 A kind of arranging service method and system
CN109101191A (en) * 2018-06-21 2018-12-28 东软集团股份有限公司 Date storage method, device and storage medium and electronic equipment
CN109408035A (en) * 2018-09-05 2019-03-01 平安科技(深圳)有限公司 A kind of process configuration method, storage medium and the server of operation system
CN109446570A (en) * 2018-09-26 2019-03-08 平安科技(深圳)有限公司 Operation flow methods of exhibiting, device, computer equipment and storage medium
CN109901818A (en) * 2018-11-15 2019-06-18 阿里巴巴集团控股有限公司 System and method for Software Architecture Design

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030079182A1 (en) * 2001-10-19 2003-04-24 Christoph Hofmann Management of hierarchies
CN103761273A (en) * 2014-01-08 2014-04-30 兴天通讯技术(天津)有限公司 Tree structure node attribute configuration method and system
CN106845741A (en) * 2015-12-03 2017-06-13 北大方正集团有限公司 The customization device and customization method of workflow
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN106873957A (en) * 2016-06-23 2017-06-20 阿里巴巴集团控股有限公司 The processing method and equipment of a kind of operation flow
CN106228306A (en) * 2016-07-26 2016-12-14 深圳中兴网信科技有限公司 Operation flow methods of exhibiting based on modeling configuration and operation flow exhibiting device
CN106408156A (en) * 2016-08-25 2017-02-15 东软集团股份有限公司 Flow template recovering method and device
CN106952024A (en) * 2017-03-01 2017-07-14 千寻位置网络有限公司 It is a kind of to strengthen the workflow engine method and system of net O&M scenarios suitable for ground
CN107133309A (en) * 2017-04-28 2017-09-05 东软集团股份有限公司 Storage, querying method and the device of flow instance, storage medium and electronic equipment
CN109039683A (en) * 2017-06-09 2018-12-18 中兴通讯股份有限公司 A kind of arranging service method and system
CN109101191A (en) * 2018-06-21 2018-12-28 东软集团股份有限公司 Date storage method, device and storage medium and electronic equipment
CN109408035A (en) * 2018-09-05 2019-03-01 平安科技(深圳)有限公司 A kind of process configuration method, storage medium and the server of operation system
CN109446570A (en) * 2018-09-26 2019-03-08 平安科技(深圳)有限公司 Operation flow methods of exhibiting, device, computer equipment and storage medium
CN109901818A (en) * 2018-11-15 2019-06-18 阿里巴巴集团控股有限公司 System and method for Software Architecture Design

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798126A (en) * 2020-07-02 2020-10-20 东土科技(宜昌)有限公司 Process flow creation method, computer device, and storage medium
CN113791775A (en) * 2020-08-21 2021-12-14 北京京东振世信息技术有限公司 Metadata flow arrangement method and device, storage medium and electronic equipment
CN113791775B (en) * 2020-08-21 2024-03-01 北京京东振世信息技术有限公司 Metadata flow arranging method and device, storage medium and electronic equipment
CN112668998A (en) * 2020-12-23 2021-04-16 树根互联技术有限公司 Flow implementation method, device, system, electronic equipment and readable storage medium
CN112668998B (en) * 2020-12-23 2023-12-19 树根互联股份有限公司 Flow implementation method, device, system, electronic equipment and readable storage medium
CN114548922A (en) * 2022-02-18 2022-05-27 网银在线(北京)科技有限公司 Method and device for updating process definition
CN118644063A (en) * 2024-08-13 2024-09-13 四川开物信息技术有限公司 Configured laboratory information management system

Similar Documents

Publication Publication Date Title
CN111144837A (en) Flow arrangement method and device, storage medium and electronic equipment
CN108920135B (en) User-defined service generation method and device, computer equipment and storage medium
US20180101371A1 (en) Deployment manager
CA3131079A1 (en) Test case generation method and device, computer equipment and storage medium
CN111414391A (en) Method and system for accessing multiple data sources
US20220414066A1 (en) Data management system, management method, and storage medium
CN114169536B (en) Data management and control method and related device
CN113094125B (en) Business process processing method, device, server and storage medium
CN111026568A (en) Data and task relation construction method and device, computer equipment and storage medium
CN109508912B (en) Service scheduling method, device, equipment and storage medium
CN109254778B (en) Method and apparatus for deploying an information flow system
CN114356521A (en) Task scheduling method and device, electronic equipment and storage medium
CN114443039A (en) Input parameter verification method and device, electronic equipment and storage medium
CN111897738A (en) Automatic testing method and device based on atomic service
CN108876309B (en) Starting method and device of flow form, storage medium and electronic equipment
CN114358742A (en) Workflow execution method, device, equipment and storage medium
CN112988738A (en) Data slicing method and device for block chain
CN114449063B (en) Message processing method, device and equipment
CN116483707A (en) Test method, test device, test apparatus, test program, and test program
CN115829229A (en) Production process verification method and device of business product and computer equipment
CN113485686B (en) Information system program generation method and device, electronic equipment and storage medium
CN111080250B (en) Flow backspacing compensation method and device, storage medium and electronic equipment
CN115359211A (en) Model loading method and device, storage medium and electronic equipment
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN113901057A (en) Data playback method and device, computer equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512