CN110992443B - Business flow chart construction method and device and computer readable storage medium - Google Patents

Business flow chart construction method and device and computer readable storage medium Download PDF

Info

Publication number
CN110992443B
CN110992443B CN201911312444.8A CN201911312444A CN110992443B CN 110992443 B CN110992443 B CN 110992443B CN 201911312444 A CN201911312444 A CN 201911312444A CN 110992443 B CN110992443 B CN 110992443B
Authority
CN
China
Prior art keywords
node
array
child
identification information
nodes
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.)
Active
Application number
CN201911312444.8A
Other languages
Chinese (zh)
Other versions
CN110992443A (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.)
Zhengcaiyun Co ltd
Original Assignee
Zhengcaiyun Co ltd
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 Zhengcaiyun Co ltd filed Critical Zhengcaiyun Co ltd
Priority to CN201911312444.8A priority Critical patent/CN110992443B/en
Publication of CN110992443A publication Critical patent/CN110992443A/en
Application granted granted Critical
Publication of CN110992443B publication Critical patent/CN110992443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a business flow diagram construction method, a device and a medium, when a business flow diagram creation instruction is received, a first array which is preset and used for recording child node identification information corresponding to each node and a second array which is preset and used for recording position coordinate information of each node are started. When a child node adding instruction is received, according to the number of nodes carried in the instruction, the identification information of the gateway node and the child node identification information of each child node with the same number of nodes are added at the corresponding position of the first array. And adding the calculated position coordinate information of each child node to the second array according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameters. A plurality of branch sub-node identification information can be set in one node in the first array, and the simultaneous creation of a plurality of branch sub-nodes can be realized when the business flow chart is created according to the first array and the second array, so that the creation efficiency of the business flow chart is effectively improved.

Description

Business flow chart construction method and device and computer readable storage medium
Technical Field
The present invention relates to the field of business processing technologies, and in particular, to a business flow diagram construction method, apparatus, and computer readable storage medium.
Background
The business flow diagrams are often presented in the form of a tree of nodes, and a business process step can be considered a node. In the prior art, the steps for creating a business flow chart are as follows: a starting node is created, then a lower node is created at the starting node, then the next node is created at the created node, and the like, so that a node tree flow with one or more conditional branches can be generated.
However, the existing business flow diagram creation mode cannot create a plurality of subordinate nodes on one node in batches, and only one node can be created, so that the creation efficiency of the business flow diagram is low.
It can be seen how to improve the creation efficiency of the business flow chart, which is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a business flow diagram construction method, a business flow diagram construction device and a computer readable storage medium, which can improve the creation efficiency of the business flow diagram.
In order to solve the above technical problems, an embodiment of the present invention provides a method for constructing a service flow chart, including:
when a business flow diagram creation instruction is received, a first array and a second array which are preset are started; the first array is used for recording the child node identification information corresponding to each node; the second group is used for recording the position coordinate information of each node;
when a child node adding instruction input by a user is received, adding identification information of gateway nodes and child node identification information of all child nodes with the same number as the node number at corresponding positions of the first array according to the number of the nodes carried in the child node adding instruction;
calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and preset node parameters, and adding the respective position coordinate information of each child node to the second array;
and creating a business flow chart according to the first array and the second array.
Optionally, the calculating the position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameter includes:
according to the abscissa information of the upper node, the node width value and the node transverse interval value contained in the node parameters, calculating the abscissa information of each sub-node;
and calculating the ordinate information of each child node according to the ordinate information of the upper node, the node height value and the node longitudinal interval value contained in the node parameters.
Optionally, the creating a business flow diagram according to the first array and the second array includes:
constructing a node frame diagram according to the position coordinate information of each node recorded in the second array;
and connecting each node in the node frame graph according to the child node identification information corresponding to each node recorded in the first array so as to obtain a service flow chart.
Optionally, after creating the business flow diagram according to the first array and the second array, the method further includes:
receiving a cross-level node connection instruction; the cross-level node connection instruction carries identification information of a target gateway node and identification information of a target node;
and adding the identification information of the destination node into the sub-node identification information corresponding to the target gateway node in the first array.
The embodiment of the invention also provides a business flow diagram construction device which comprises an enabling unit, an adding unit, a calculating unit and a creating unit;
the starting unit is used for starting a preset first array and a preset second array when receiving a business flow diagram creation instruction; the first array is used for recording the child node identification information corresponding to each node; the second group is used for recording the position coordinate information of each node;
the adding unit is used for adding the identification information of the gateway node and the child node identification information of all the child nodes with the same number as the child node according to the number of the nodes carried in the child node adding instruction when receiving the child node adding instruction input by a user;
the computing unit is used for computing the respective position coordinate information of each child node according to the position coordinate information of the superior node to which the gateway node belongs and preset node parameters, and adding the respective position coordinate information of each child node to the second array;
the creating unit is configured to create a service flow chart according to the first array and the second array.
Optionally, the calculating unit is specifically configured to calculate the abscissa information of each child node according to the abscissa information of the upper node and the node width value and the node lateral interval value included in the node parameter; and calculating the ordinate information of each child node according to the ordinate information of the upper node, the node height value and the node longitudinal interval value contained in the node parameters.
Optionally, the creation unit includes a construction subunit and a connection subunit;
the construction subunit is configured to construct a node frame graph according to the position coordinate information of each node recorded in the second array;
and the connection subunit is used for connecting each node in the node frame graph according to the child node identification information corresponding to each node recorded in the first array so as to obtain a service flow chart.
Optionally, the device further comprises a receiving unit;
the receiving unit is used for receiving a cross-level node connection instruction; the cross-level node connection instruction carries identification information of a target gateway node and identification information of a target node;
the adding unit is further configured to add the identification information of the destination node to the child node identification information corresponding to the destination gateway node in the first array.
The embodiment of the invention also provides a device for constructing the business flow chart, which comprises the following steps:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the business flow diagram construction method as described in any one of the above.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the business flow diagram construction method according to any one of the above when being executed by a processor.
According to the technical scheme, when a business flow diagram creation instruction is received, a first array and a second array which are preset are started; the first array is used for recording the child node identification information corresponding to each node; the second set is used for recording position coordinate information of each node. When a child node adding instruction input by a user is received, according to the number of nodes carried in the child node adding instruction, the identification information of the gateway node and the child node identification information of each child node with the same number of nodes are added at the corresponding position of the first array. A gateway node may be regarded as a virtual node carrying a plurality of branch sub-nodes. For a superior node, when multiple child nodes need to be created at the same time, a gateway node can be set for the superior node, and child nodes matched with the number of nodes can be added under the gateway node. And calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameters, and adding the respective position coordinate information of each child node to the second array. The first array records the sub-node identification information corresponding to each node, so that the connection relation between the nodes can be determined, and the second array records the position coordinate information of each node, so that the specific position of the node in the flow chart can be determined, and the business flow chart can be created according to the first array and the second array. In the technical scheme, the gateway node is arranged, and the plurality of branch sub-node identification information can be set for one node, so that the simultaneous creation of the plurality of branch sub-nodes is realized, and the creation efficiency of the service flow chart is effectively improved. And branch requirements of different service flows can be met by adjusting the sub-node identification information corresponding to each node of the first array.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flowchart of a method for constructing a business flow chart according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for constructing a service flow chart according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of a service flow chart construction device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
Next, a method for constructing a service flow chart provided by the embodiment of the invention is described in detail. Fig. 1 is a flowchart of a method for constructing a service flowchart according to an embodiment of the present invention, where the method includes:
s101: and when receiving a business flow diagram creation instruction, starting a preset first array and a preset second array.
The first array is used for recording the child node identification information corresponding to each node; the second set is used for recording position coordinate information of each node.
Each execution step in the business flow diagram may be considered a node. In the embodiment of the invention, in order to facilitate distinguishing different nodes, corresponding node identification information can be set for each node. The next level node to which the current node belongs may be referred to as a child node of the current node.
In the embodiment of the present invention, the specific form of the node identification information is not limited, and for example, a number, a letter or a combination of the two may be used as the node identification information.
The connection relationship between the nodes can be identified by recording the child node identification information corresponding to each node in the first array. For example, if the child node identification information corresponding to one node a is the node identification information of the node a1, the node a2 and the node a3, respectively, it is indicated that the node a has a connection relationship with the node a1, the node a2 and the node a3, respectively.
When the business flow chart is constructed, besides the connection relation between the nodes, the position coordinate information of each node needs to be known. In the embodiment of the invention, the second group is used for recording the position coordinate information of each node.
When creating a service flow diagram, three default nodes are initialized: a start node, a normal node, and an end node. In the initialization state, the information of three default nodes is recorded in the first array and the second array, and when the business flow involves the increase or decrease of the nodes, the information in the first array and the second array can be modified and added.
S102: when a child node adding instruction input by a user is received, according to the number of nodes carried in the child node adding instruction, the identification information of the gateway node and the child node identification information of each child node with the same number of nodes are added at the corresponding position of the first array.
For a common node, when multiple child nodes need to be set for it, a virtual gateway node can be constructed, and the gateway node can be used for managing the multiple child nodes.
A gateway node may be regarded as a virtual node carrying a plurality of branch sub-nodes. Taking an upper node as an example, when multiple sub-nodes need to be created at the same time, a gateway node can be set for the upper node, and sub-nodes matched with the number of nodes can be added under the gateway node.
In practical application, a background system for constructing a business flow chart can provide a user selection interface, and when a subordinate child node needs to be added for a common node, an input box is popped up to enable a user to input the number of the nodes to be added. The number of nodes input by the user is equivalent to the child node addition instruction.
For convenience of description, in the embodiment of the present invention, the first array may be represented by flow Data; representing the second array with reserved Data; and the child node identification information corresponding to the current node is represented by the child Id.
For example, when 3 child nodes need to be added to a common node, the background system adds the identification information of a gateway node and 3 child node identification information in the flow Data according to the node number 3 carried in the child node adding instruction, that is, the Id of the gateway node is newly added in the child Id of the common node, and the ids of the 3 child nodes are stored in the child Id of the gateway node.
S103: and calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameters, and adding the respective position coordinate information of each child node to the second array.
Each node represents a flow step, each flow step has its corresponding business operation content, and for the purpose of displaying the business operation content in the business flow diagram, its corresponding node width value and node height value are set for each node.
When determining the position coordinate information of the child nodes, the coordinates of the superior nodes to which the child nodes belong can be taken as central axes, and all the child nodes can be arranged in parallel at equal intervals by taking the central axes as central axes.
In the embodiment of the invention, the interval value between the adjacent nodes can be preset, including the node transverse interval value and the node longitudinal interval value.
In a specific implementation, the abscissa information of each child node can be calculated according to the abscissa information of the superior node, and the node width value and the node transverse interval value contained in the node parameter; and calculating the ordinate information of each child node according to the ordinate information of the upper node, the node height value and the node longitudinal interval value contained in the node parameters.
Taking the abscissa information of the node as an example, assume that the width value of the node is 20, the lateral interval value of the node is 30, the abscissa span of the upper node is [50, 70], when two child nodes need to be set for the upper node, the abscissa span of the left child node is [0, 20], and the abscissa span of the right child node is [100, 120]. The calculation manner of the ordinate information of the node is similar to that of the abscissa information of the node, and will not be described here again.
In addition to the above-described calculation method, in the embodiment of the present invention, the location coordinate information of the node may also be determined according to the number of grids occupied by the node in the service flow chart. Assuming that one node occupies one grid, if two child nodes are required to be arranged on the upper node, the child nodes can be moved down by two grids along the grid number of the upper node in the ordinate direction; in the abscissa direction, the left child node can be shifted two grids left along the number of grids where the upper node is located, and the right child node can be shifted two grids right along the number of grids where the upper node is located.
S104: and creating a business flow chart according to the first array and the second array.
The first array records the sub-node identification information corresponding to each node, so that the connection relation between the nodes can be determined, and the second array records the position coordinate information of each node, so that the specific position of the node in the flow chart can be determined.
Therefore, in a specific implementation, the node frame diagram may be constructed according to the position coordinate information of each node recorded in the second group; and connecting each node in the node frame graph according to the child node identification information corresponding to each node recorded in the first array so as to obtain a service flow chart.
In the embodiment of the invention, the connection between the nodes can be realized by relying on the third party library jsplumb.
According to the technical scheme, when a business flow diagram creation instruction is received, a first array and a second array which are preset are started; the first array is used for recording the child node identification information corresponding to each node; the second set is used for recording position coordinate information of each node. When a child node adding instruction input by a user is received, according to the number of nodes carried in the child node adding instruction, the identification information of the gateway node and the child node identification information of each child node with the same number of nodes are added at the corresponding position of the first array. A gateway node may be regarded as a virtual node carrying a plurality of branch sub-nodes. For a superior node, when multiple child nodes need to be created at the same time, a gateway node can be set for the superior node, and child nodes matched with the number of nodes can be added under the gateway node. And calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameters, and adding the respective position coordinate information of each child node to the second array. The first array records the sub-node identification information corresponding to each node, so that the connection relation between the nodes can be determined, and the second array records the position coordinate information of each node, so that the specific position of the node in the flow chart can be determined, and the business flow chart can be created according to the first array and the second array. In the technical scheme, the gateway node is arranged, and the plurality of branch sub-node identification information can be set for one node, so that the simultaneous creation of the plurality of branch sub-nodes is realized, and the creation efficiency of the service flow chart is effectively improved. And branch requirements of different service flows can be met by adjusting the sub-node identification information corresponding to each node of the first array.
In practical applications, in order to enrich the implementation manners of the business processes, the circulation manner of the same node may be multiple, for example, a node a at the nth level may circulate to a next level node, i.e., an n+1th level node when a preset first condition is satisfied. When the preset second condition is met, the node can flow to the n+2 level node.
Because the reserved Data is node Data arranged from top to bottom, assuming that the index position of the current gateway node in the reserved Data one-dimensional array is n, nodes after n+2 (including n+2) are all cross-level nodes.
In the embodiment of the invention, the cross-stage connection function of the node can be triggered by the gateway node.
In practical application, when a cross-level connection needs to be set for a certain common node, a user can click a drop-down frame of a gateway node corresponding to the common node, and all cross-level node lists behind the gateway node are displayed in the drop-down frame. For ease of distinction from other gateway nodes, the gateway node performing the cross-stage connection may be referred to as a target gateway node.
The cross-level node list can contain the identification information of all nodes behind the target gateway node, and the user can select the identification information of the target node according to the requirement.
When the background system receives a cross-level node connection instruction carrying the identification information of the target gateway node and the identification information of the target node, the identification information of the target node can be added into the sub-node identification information corresponding to the target gateway node.
In the embodiment of the invention, the cross-level connection between different nodes can be realized by adding and modifying the sub-node identification information corresponding to the gateway node.
Fig. 2 is a schematic structural diagram of a device for constructing a service flow chart according to an embodiment of the present invention, which includes an enabling unit 21, an adding unit 22, a calculating unit 23, and a creating unit 24;
an enabling unit 21, configured to enable the preset first array and second array when receiving a service flow diagram creation instruction; the first array is used for recording the child node identification information corresponding to each node; the second group is used for recording the position coordinate information of each node;
the adding unit 22 is configured to, when receiving a child node adding instruction input by a user, add, according to the number of nodes carried in the child node adding instruction, identification information of a gateway node and child node identification information of each child node equal to the number of nodes in a corresponding position of the first array;
a calculating unit 23, configured to calculate respective position coordinate information of each child node according to position coordinate information of a superior node to which the gateway node belongs and a preset node parameter, and add the respective position coordinate information of each child node to the second array;
a creating unit 24, configured to create a business flow chart according to the first array and the second array.
Optionally, the calculating unit is specifically configured to calculate the abscissa information of each child node according to the abscissa information of the upper node, and the node width value and the node lateral interval value included in the node parameter; and calculating the ordinate information of each child node according to the ordinate information of the upper node, the node height value and the node longitudinal interval value contained in the node parameters.
Optionally, the creation unit includes a construction subunit and a connection subunit;
the construction subunit is used for constructing a node frame diagram according to the position coordinate information of each node recorded in the second group;
and the connection subunit is used for connecting each node in the node frame graph according to the child node identification information corresponding to each node recorded in the first array so as to obtain the service flow chart.
Optionally, the device further comprises a receiving unit;
the receiving unit is used for receiving the cross-level node connection instruction; the cross-level node connection instruction carries identification information of the target gateway node and identification information of the target node;
the adding unit is further configured to add the identification information of the destination node to the child node identification information corresponding to the target gateway node in the first array.
The description of the features in the embodiment corresponding to fig. 2 may be referred to the related description of the embodiment corresponding to fig. 1, and will not be repeated here.
According to the technical scheme, when a business flow diagram creation instruction is received, a first array and a second array which are preset are started; the first array is used for recording the child node identification information corresponding to each node; the second set is used for recording position coordinate information of each node. When a child node adding instruction input by a user is received, according to the number of nodes carried in the child node adding instruction, the identification information of the gateway node and the child node identification information of each child node with the same number of nodes are added at the corresponding position of the first array. A gateway node may be regarded as a virtual node carrying a plurality of branch sub-nodes. For a superior node, when multiple child nodes need to be created at the same time, a gateway node can be set for the superior node, and child nodes matched with the number of nodes can be added under the gateway node. And calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameters, and adding the respective position coordinate information of each child node to the second array. The first array records the sub-node identification information corresponding to each node, so that the connection relation between the nodes can be determined, and the second array records the position coordinate information of each node, so that the specific position of the node in the flow chart can be determined, and the business flow chart can be created according to the first array and the second array. In the technical scheme, the gateway node is arranged, and the plurality of branch sub-node identification information can be set for one node, so that the simultaneous creation of the plurality of branch sub-nodes is realized, and the creation efficiency of the service flow chart is effectively improved. And branch requirements of different service flows can be met by adjusting the sub-node identification information corresponding to each node of the first array.
Fig. 3 is a schematic hardware structure diagram of a service flow chart construction device 30 according to an embodiment of the present invention, including:
a memory 31 for storing a computer program;
a processor 32 for executing a computer program to implement the steps of the method of constructing a business flow diagram as described in any one of the above.
The embodiment of the invention also provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for constructing any business flow chart are realized.
The method, the device and the computer readable storage medium for constructing the business flow chart provided by the embodiment of the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (8)

1. A business flow diagram construction method, comprising:
when a business flow diagram creation instruction is received, a first array and a second array which are preset are started; the first array is used for recording the child node identification information corresponding to each node; the second group is used for recording the position coordinate information of each node; the business flow chart comprises a starting node, a common node and an ending node;
when a child node adding instruction input by a user is received, adding identification information of gateway nodes and child node identification information of all child nodes with the same number as the node number at corresponding positions of the first array according to the number of the nodes carried in the child node adding instruction; the gateway node is a virtual node bearing a plurality of branch sub-nodes and is used for managing the plurality of sub-nodes; the number of the nodes carried in the child node adding instruction is as follows: when a lower level child node needs to be added for a common node, an input box is popped up to enable a user to input the number of the nodes to be added;
calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and preset node parameters, and adding the respective position coordinate information of each child node to the second array;
creating a business flow chart according to the first array and the second array;
receiving a cross-level node connection instruction; the cross-level node connection instruction carries identification information of a target gateway node and identification information of a target node;
and adding the identification information of the destination node into the sub-node identification information corresponding to the target gateway node in the first array.
2. The method according to claim 1, wherein the calculating the respective position coordinate information of each child node according to the position coordinate information of the upper node to which the gateway node belongs and the preset node parameter includes:
according to the abscissa information of the upper node, the node width value and the node transverse interval value contained in the node parameters, calculating the abscissa information of each sub-node;
and calculating the ordinate information of each child node according to the ordinate information of the upper node, the node height value and the node longitudinal interval value contained in the node parameters.
3. The method of claim 1, wherein creating a business flow diagram from the first array and the second array comprises:
constructing a node frame diagram according to the position coordinate information of each node recorded in the second array;
and connecting each node in the node frame graph according to the child node identification information corresponding to each node recorded in the first array so as to obtain a service flow chart.
4. The business flow diagram constructing device is characterized by comprising an enabling unit, an adding unit, a calculating unit and a creating unit; the device also comprises a receiving unit;
the starting unit is used for starting a preset first array and a preset second array when receiving a business flow diagram creation instruction; the first array is used for recording the child node identification information corresponding to each node; the second group is used for recording the position coordinate information of each node; the business flow chart comprises a starting node, a common node and an ending node;
the adding unit is used for adding the identification information of the gateway node and the child node identification information of all the child nodes with the same number as the child node according to the number of the nodes carried in the child node adding instruction when receiving the child node adding instruction input by a user; the gateway node is a virtual node bearing a plurality of branch sub-nodes and is used for managing the plurality of sub-nodes; the number of the nodes carried in the child node adding instruction is as follows: when a lower level child node needs to be added for a common node, an input box is popped up to enable a user to input the number of the nodes to be added;
the computing unit is used for computing the respective position coordinate information of each child node according to the position coordinate information of the superior node to which the gateway node belongs and preset node parameters, and adding the respective position coordinate information of each child node to the second array;
the creating unit is used for creating a service flow chart according to the first array and the second array;
the receiving unit is used for receiving a cross-level node connection instruction; the cross-level node connection instruction carries identification information of a target gateway node and identification information of a target node;
the adding unit is further configured to add the identification information of the destination node to the child node identification information corresponding to the destination gateway node in the first array.
5. The apparatus according to claim 4, wherein the calculating unit is specifically configured to calculate the abscissa information of each child node according to the abscissa information of the upper node and the node width value and the node lateral interval value included in the node parameter; and calculating the ordinate information of each child node according to the ordinate information of the upper node, the node height value and the node longitudinal interval value contained in the node parameters.
6. The apparatus of claim 4, wherein the creation unit comprises a construction subunit and a wiring subunit;
the construction subunit is configured to construct a node frame graph according to the position coordinate information of each node recorded in the second array;
and the connection subunit is used for connecting each node in the node frame graph according to the child node identification information corresponding to each node recorded in the first array so as to obtain a service flow chart.
7. A business flow diagram construction apparatus, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the business flow diagram construction method according to any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the business flow diagram construction method according to any one of claims 1 to 3.
CN201911312444.8A 2019-12-18 2019-12-18 Business flow chart construction method and device and computer readable storage medium Active CN110992443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911312444.8A CN110992443B (en) 2019-12-18 2019-12-18 Business flow chart construction method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911312444.8A CN110992443B (en) 2019-12-18 2019-12-18 Business flow chart construction method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110992443A CN110992443A (en) 2020-04-10
CN110992443B true CN110992443B (en) 2023-09-26

Family

ID=70095753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911312444.8A Active CN110992443B (en) 2019-12-18 2019-12-18 Business flow chart construction method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110992443B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064956B (en) * 2021-11-23 2022-09-23 重庆允成互联网科技有限公司 Node positioning method and configuration method based on visual configuration of trigger

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990005355A1 (en) * 1988-11-01 1990-05-17 Honeywell Inc. Digital vector generator apparatus for providing mathematically precise vectors and symmetrical patterns
AU2002249009A1 (en) * 2001-04-30 2003-04-17 The Commonwealth Of Australia A data processing and observation system
CN101295317A (en) * 2008-06-20 2008-10-29 北京中星微电子有限公司 Method and device for establishing image database index and image recognition
CN101300571A (en) * 2005-11-02 2008-11-05 微软公司 Chart element variations
JP2016115017A (en) * 2014-12-12 2016-06-23 日本電信電話株式会社 Method and program for creating flow chart
CN107464092A (en) * 2017-07-18 2017-12-12 东软集团股份有限公司 The template switching method and device of business process map
CN109254976A (en) * 2017-07-11 2019-01-22 中国移动通信集团北京有限公司 A kind of method for drafting of figure, device, electronic equipment and storage medium
CN110008619A (en) * 2019-04-15 2019-07-12 苏州浪潮智能科技有限公司 A kind of element querying method, device and medium based on pcb board
CN110515600A (en) * 2019-09-02 2019-11-29 政采云有限公司 A kind of method and apparatus of workflow conditional configuration

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU744091B2 (en) * 1998-09-11 2002-02-14 Canon Kabushiki Kaisha Processing graphic objects for fast rasterised rendering
CN101354705B (en) * 2007-07-23 2012-06-13 夏普株式会社 Apparatus and method for processing document image
US9521077B2 (en) * 2013-07-22 2016-12-13 Verizon Patent And Licensing Inc. Network connection via a proxy device using a generic access point name
US20190236062A1 (en) * 2018-01-26 2019-08-01 Tranquil Data, Inc. System and method for using policy to achieve data segmentation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990005355A1 (en) * 1988-11-01 1990-05-17 Honeywell Inc. Digital vector generator apparatus for providing mathematically precise vectors and symmetrical patterns
AU2002249009A1 (en) * 2001-04-30 2003-04-17 The Commonwealth Of Australia A data processing and observation system
CN101300571A (en) * 2005-11-02 2008-11-05 微软公司 Chart element variations
CN101295317A (en) * 2008-06-20 2008-10-29 北京中星微电子有限公司 Method and device for establishing image database index and image recognition
JP2016115017A (en) * 2014-12-12 2016-06-23 日本電信電話株式会社 Method and program for creating flow chart
CN109254976A (en) * 2017-07-11 2019-01-22 中国移动通信集团北京有限公司 A kind of method for drafting of figure, device, electronic equipment and storage medium
CN107464092A (en) * 2017-07-18 2017-12-12 东软集团股份有限公司 The template switching method and device of business process map
CN110008619A (en) * 2019-04-15 2019-07-12 苏州浪潮智能科技有限公司 A kind of element querying method, device and medium based on pcb board
CN110515600A (en) * 2019-09-02 2019-11-29 政采云有限公司 A kind of method and apparatus of workflow conditional configuration

Also Published As

Publication number Publication date
CN110992443A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN107537156B (en) Non-player character refreshing method and device and server
US20240214428A1 (en) Platform for management and tracking of collaborative projects
CN112003729B (en) Heterogeneous cloud platform resource topology display method, system, terminal and storage medium
CN110321331A (en) The object storage system of storage address is determined using multistage hash function
CN105610682A (en) Method and device for adding contact person into group in instant message application
CN110992443B (en) Business flow chart construction method and device and computer readable storage medium
Bansal et al. The multiple gene duplication problem revisited
CN112306471A (en) Task scheduling method and device
US9626156B2 (en) Application architecture design method, application architecture design system, and recording medium
CN104657216B (en) The resource allocation methods and device of a kind of resource pool
CN113412481A (en) Resource pushing method, device, server and storage medium
CN113132134A (en) Topology display method and device
CN116010510A (en) Visualization method, device, equipment and storage medium for hierarchical data
JP2020052451A (en) Computer system and pattern generation method of business flow
CN115221852A (en) Vxe-table based dynamic calculation table implementation method, device and computer equipment
CN111737347B (en) Method and device for sequentially segmenting data on Spark platform
CN115170700A (en) Method for realizing CSS animation based on Flutter framework, computer equipment and storage medium
CN109976897A (en) A kind of dispositions method, data interactive method and the corresponding intrument of big data cluster
CN114398137A (en) Data processing flow deployment method and device and server
US20170068893A1 (en) System, Method and Software for Representing Decision Trees
CN109901931B (en) Reduction function quantity determination method, device and system
CN112245932A (en) Game resource processing method and device and server equipment
CN117610505B (en) Data processing method and device based on standard model
CN116501386B (en) Automatic calculation program solving method based on data pool and related device
CN112084235B (en) Method and device for inquiring track of person going out, 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
GR01 Patent grant
GR01 Patent grant