CN112667236A - Method, system and medium for implementing workflow of gridding layout - Google Patents
Method, system and medium for implementing workflow of gridding layout Download PDFInfo
- Publication number
- CN112667236A CN112667236A CN202011587047.4A CN202011587047A CN112667236A CN 112667236 A CN112667236 A CN 112667236A CN 202011587047 A CN202011587047 A CN 202011587047A CN 112667236 A CN112667236 A CN 112667236A
- Authority
- CN
- China
- Prior art keywords
- node
- flow
- information
- coordinate
- layout
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 156
- 230000008569 process Effects 0.000 claims description 118
- 238000012550 audit Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 8
- 238000011161 development Methods 0.000 description 6
- 230000000875 corresponding effect Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a method, a system and a medium for realizing a workflow of gridding layout, wherein the method comprises the following steps: providing a flow layout area of a gridding magnetic suction layout, wherein the flow layout area comprises a plurality of cells, updating the position information of flow nodes in real time according to the flow nodes dragged by a user, and adjusting the position information of the flow nodes based on the position information and the cell; and generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information. The embodiment of the invention edits the workflow in a way of gridding magnetic attraction layout, realizes regular, convenient and flexible layout, and avoids great difference of flow charts configured by different personnel.
Description
Technical Field
The invention relates to the technical field of computer information processing, in particular to a method, a system and a medium for realizing a workflow of gridding layout.
Background
The most critical part of developing a system is not the interface of the system and the information exchange between the system and the database, but how to develop the program logic according to the actual needs and ensure the stability, the maintainability (modularization and structurization) and the flexibility (the change of the actual service logic, such as the change of decision-making right, the change of organization structure and the brand new service logic generated by the change of the service direction, etc.) according to the change of the actual service logic. The Workflow engine solves this problem: if an application lacks a powerful logical layer, it tends to become error-prone (routing errors, dead loops, etc. of information).
The appearance of the automobile is more beautiful than that of an automobile, and if the engine has a problem, the automobile is just a decoration. Is the elasticity of the application system better than the performance of the engine in terms of rotation speed, and requires 1 hour to accelerate to 100 km (half a year of program modification is required for a change in the business process), and can also call a good car? Is the engine still alive and stalled (program runs into a dead loop because of logic problems)?
With the social development, the new workflow development technology has realized functions such as visual operation interface, flow customization development, online debugging, real-time change without programming, node component attribute setting, and the like. However, the highly-experienced visual editing and operability are not innovated and are still relatively lagged. There is a need for a system for implementing a workflow of a gridding dragging magnetic attraction layout.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a method for realizing the workflow of the gridding layout, which can improve the overall efficiency of a development workflow system, is simple and quick to develop and really achieves the purpose of improving the performance of a large website.
The invention also provides a system for realizing the workflow of the gridding layout.
The invention also provides a computer readable storage medium for implementing the method.
The method for implementing the workflow of the gridding layout according to the embodiment of the first aspect of the invention comprises the following steps: step S100, providing a process layout area of a grid magnetic attraction layout, wherein the process layout area comprises a plurality of cells, updating the position information of the process nodes in real time according to the process nodes dragged by a user, and adjusting the position information of the process nodes based on the position information and the cells; step S200, generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information.
According to some embodiments of the invention, said step S100 comprises: step S110, establishing a coordinate system, presetting the width, height and edge distance of the cells by taking one corner of a rectangular process layout area as a coordinate origin, and dividing the process layout area into a plurality of virtual cells; step S120, responding to a user to create a process node and dragging the process node in the process layout area, and updating the coordinate information of the process node in real time, wherein the process node is rectangular; step S130, after the process node is dragged, calculating a closest cell based on the coordinate information of the process node, and adjusting the coordinate information of the process node based on the coordinate information of the closest cell.
According to some embodiments of the invention, the step S130 comprises: step S131, if the coordinate system takes the upper left corner of the process layout area as the origin of coordinates, after finishing dragging the process node, acquiring the upper left corner coordinates of the process node; step S132, based on the integer division and remainder taking method, calculating the closest cell of the process node, converting the coordinate of the process node into a cell coordinate, and setting the upper left corner coordinate of the process node as the upper left corner coordinate of the closest cell.
According to some embodiments of the invention, said step S200 comprises: step S210, verifying the operation authority of the first user according to the first authentication logic; step S220, according to the operation of the first user, obtaining the number of nodes in the process layout area, obtaining node attribute information and arrow information set by the first user through an attribute setting panel, generating a node number and node topology information, and storing the node number, the node attribute information, and the node topology information as the first process configuration information; the node attribute information comprises a node type and a node state; the node states include unprocessed, in audit, pass, no pass, and rollback.
According to some embodiments of the invention, the step S220 comprises: setting the state operation authority of each process node, associating and storing the operation authority of each process node in each state with the corresponding role, and associating and storing each user with the corresponding role.
According to some embodiments of the invention, said step S200 comprises: step S230, verifying the operation authority of the second user according to a second authentication logic; step S240, updating the node state of the first node according to the operation of the second user; step S250, updating the node state of a first relevant node based on preset process logic according to the attribute information of the first node; step S260, updating the first flow configuration information according to the node states of the first node and the first relevant node, so as to obtain second flow configuration information.
According to some embodiments of the present invention, step S251, determining a sibling node of the first node according to the node topology information, where the sibling node and the first node have the same source node or destination node; step S252, if the node state of the first node is modified to be fallback, modifying the node state of the sibling node to be unprocessed.
The workflow implementation system of the gridding layout according to the second aspect embodiment of the invention comprises: the flow layout area module is used for providing a flow layout area of the gridding magnetic suction layout, the flow layout area comprises a plurality of cells, the position information of the flow nodes is updated in real time according to the flow nodes dragged by a user, and the position information of the flow nodes is adjusted based on the position information and the cells; and the flow configuration information generation module is used for generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information.
According to some embodiments of the invention, the flow layout region module comprises: the flow layout area setting unit is used for establishing a coordinate system, presetting the width, the height and the edge distance of the cells by taking one corner of a rectangular flow layout area as a coordinate origin, and dividing the flow layout area into a plurality of virtual cells; the flow node coordinate information unit is used for responding to a process node created by a user and dragging the process node in the process layout area, and updating the coordinate information of the process node in real time, wherein the process node is rectangular; and the flow node coordinate adjusting unit is used for calculating the closest cell based on the coordinate information of the flow node after the flow node is dragged, and adjusting the coordinate information of the flow node based on the coordinate information of the closest cell.
According to some embodiments of the invention, the process node coordinate adjustment unit comprises: the calculation unit is used for acquiring the coordinates of the upper left corner of the flow node after the dragging of the flow node is finished; and calculating the closest cell of the process node based on a method of integer division and remainder, converting the coordinate of the process node into a cell coordinate, and setting the upper left corner coordinate of the process node as the upper left corner coordinate of the closest cell, wherein the coordinate system takes the upper left corner of the process layout area as the origin of coordinates.
The computer-readable storage medium according to an embodiment of the third aspect of the present invention has stored thereon a computer program that, when executed by a processor, performs the method of any one of the embodiments of the first aspect of the present invention.
The embodiment of the invention at least has the following beneficial effects: the embodiment of the invention realizes regular, convenient and flexible layout by the process editing interface of the gridding dragging magnetic attraction layout, and the flow charts configured by different personnel can not have too large difference.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a method for implementing a magnetic attraction layout according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a method for adjusting a position of a flow node according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating setting of flow configuration information according to a first user according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating updating process configuration information according to a second user according to an embodiment of the present invention.
Fig. 6 is a flowchart illustrating an embodiment of automatically modifying a node state.
FIG. 7 is a block diagram of the modules of the system of an embodiment of the present invention.
Fig. 8 is a schematic diagram of an editing interface according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and more than, less than, more than, etc. are understood as excluding the present number, and more than, less than, etc. are understood as including the present number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
Interpretation of terms:
flow path means basically the path of the water flow; the order or arrangement of the order in which things are carried out; or a process of completing a complete business behavior by two or more business steps.
The workflow refers to workflow as a part of an application system, and provides a core solution for determining information transfer routing, content level and the like according to different roles, division and conditions which have determination effects on each application system. The workflow engine includes important functions of node management, flow direction management, process sample management and the like of the process.
The Component (Component) is a simple encapsulation of data and methods. In C + + Builder, a component is a specific object derived from TComponent. The components may have their own properties and methods. An attribute is a simple visitor to component data. The method is some simple and visible function of the component. The use of components can enable drag-and-drop programming, fast property handling, and true object-oriented design. The VCL and CLX components are the core of the C + + Builder system.
A functional module refers to a collection of program elements, such as data descriptions, executable statements, etc., that refer to individually named procedures, functions, subroutines, or macro-calls accessible by name. The function modularization is to divide a program into a plurality of function modules, each function module completes a subfunction, and the function modules are combined to form a whole. To meet the required functionality of the overall system.
The invention upgrades the workflow development mode, thereby improving the overall efficiency of the development workflow system, simultaneously developing simply and quickly and really achieving the purpose of improving the performance of the large-scale website.
Referring to fig. 1 and 8, the method of the embodiment of the present invention mainly includes the following steps:
step S100, providing a process layout area of a gridding magnetic suction layout, wherein the process layout area comprises a plurality of cells, updating the position information of the process nodes in real time according to the process nodes dragged by a user, and adjusting the position information of the process nodes based on the position information and the cells;
step S200, generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information.
In some embodiments, the user can add flow nodes through the top toolbar and the right button layout area, the flow nodes can be arbitrarily dragged by using a mouse, and when the mouse is released, the flow nodes are automatically sucked into the closest grid.
Referring to fig. 2, step S100 includes:
step S110, establishing a coordinate system, presetting the width, height and edge distance of a cell by taking one corner of a rectangular process layout area as a coordinate origin, and dividing the process layout area into a plurality of virtual cells (the coordinate data of the cells do not need to be stored);
step S120, responding to a user to create a process node and drag the process node in the process layout area, and updating the coordinate information of the process node in real time, wherein the process node is rectangular;
step S130, after the process node is dragged (i.e. when the user releases the mouse), calculating the closest cell based on the coordinate information of the process node, and adjusting the coordinate information of the process node based on the coordinate information of the closest cell.
Referring to fig. 3, step S130 includes:
step S131, if the coordinate system takes the upper left corner of the process layout area as the origin of coordinates, after the dragging of the process node is finished, acquiring the upper left corner coordinates of the process node;
step S132, based on the integer division and remainder extraction method, calculating the closest cell of the process node, converting the coordinate of the process node into the cell coordinate, and setting the upper left corner coordinate of the process node as the upper left corner coordinate of the closest cell.
In this embodiment, the specific operation method of the process node coordinates is as follows:
the embodiment of the invention sets various authentication logics, has different operation authorities of different roles, and is shown by different operation steps of a first user and a second user. The first user has the authority to create the process, design the process node and store, and the second user has the authority to modify the existing process node state.
Referring to fig. 4, the method steps of the creation flow of the first user include:
step S210, verifying the operation authority of the first user according to the first authentication logic;
step S220, according to the operation of a first user, acquiring the number of nodes in a process layout area, acquiring node attribute information and arrow information set by the first user through an attribute setting panel, generating a node number and node topology information, and storing the node number, the node attribute information and the node topology information as first process configuration information;
the node attribute information comprises a node type and a node state; node states include unprocessed, in audit, pass, not pass, and rollback.
In some embodiments, step S220 includes: setting the state operation authority of each process node, associating and storing the operation authority of each state of the process node with the corresponding role, and associating and storing each user with the corresponding role.
Referring to fig. 5, the steps of the second user modifying the state of the process node are as follows:
step S230, verifying the operation authority of the second user according to the second authentication logic;
step S240, updating the node state of the first node according to the operation of the second user;
step S250, updating the node state of the first relevant node based on preset process logic according to the attribute information of the first node;
step S260, updating the first flow configuration information according to the node states of the first node and the first related node, and obtaining the second flow configuration information.
With further reference to fig. 6, the steps of updating the relevant nodes are as follows:
step S251, determining brother nodes of the first node according to the node topology information, wherein the brother nodes and the first node have the same source node or destination node;
step S252, if the node state of the first node is modified to be fallback, the node state of the sibling node is modified to be unprocessed.
Referring to FIG. 8, in some embodiments, a user performs workflow design through the editing interface.
A user can create a plurality of processes, and each process can be backed up, imported and deleted. In the process of flow editing, data are not afraid of being lost, the existing flow is imported, deep editing and modification can be realized on the basis of the flow, and convenience is provided for editing;
the user clicks the bar flow and enters a flow editing interface, as shown in fig. 8;
the editing interface is divided into 3 parts, the top is a function button, the left side is a process editing area, and the right side is attribute setting.
The top function button may enable importing an existing flow. The newly added intermediate node and the end node only need to be clicked once, and the node can be displayed in the process editing area. And when the sizes of the node boxes are different and the default size is required to be reset, clicking the default size. When the sequence codes of the nodes are wanted to be seen, clicking the display codes. When all the nodes are wanted to be moved integrally, after the 'integral movement' button is clicked, the nodes are dragged by the mouse in the process editing area, and all the nodes can be moved integrally. And clicking to save after the modification is finished.
And (4) editing the area by the process, and dragging the magnetic layout node block and the arrow by the Grid. When the node frame is dragged, a new display position is displayed, after the mouse is released, the magnetism is automatically displayed on the new position, and meanwhile, the arrow is automatically changed along with the change.
And (4) displaying a double-arrow icon after the mouse stays at the four corners of the node square frame, wherein the size can be changed by dragging, the mouse can be dragged after being pressed, the node square frame can be seen to be enlarged and reduced, and the size can be fixed after the left button of the mouse is released. The method is suitable for adjusting the layout effect under the condition of more node name characters.
The flow circulation path is truly simulated by the pointing direction of a graphical arrow; and (4) indicating which to hit, and checking the conditions whether the user passes or fails, and backing off and customizing. Two graphical arrows and matched attributes can be generated between nodes through back-and-forth drag and drop, each arrow is oppositely displayed, and a pass-through function and a return function are generally given.
The artificial node information setting and the control of the examination and approval personnel can be realized by self-defining, a current user, an appointed role, an appointed authority, an appointed link original processor, a processor switched in from a page, a department leader (positive), a department leader (negative), a department leader (positive + negative), a department owner, a processor obtained from an interface, an appointed authority and the examination and approval personnel in the same department as the submitter.
And the codes of the work flow nodes are numbered, and after the codes are set, the sequence of the page program is automatically matched.
The current states of all nodes of the whole workflow, including whether the nodes pass or return, audit and the like, are correlated, so that the latest real-time flow progress can be displayed globally, and the large-scale system can track and provide instructions conveniently.
In some embodiments, the embodiment of the invention realizes that a plurality of processes are convenient to share, backup, copy and import; the processing personnel of the workflow can select roles, and the relevant personnel of the roles can participate in processing the flow nodes; the workflow node can check the latest state of progress tracking; the large-scale website multi-process can be automatically associated and matched.
Corresponding to the foregoing embodiments, the present invention also provides system embodiments. For the system embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Referring to fig. 7, the system of the embodiment of the present invention includes: the flow layout area module is used for providing a flow layout area of the gridding magnetic suction layout, comprises a plurality of cells, updates the position information of the flow nodes in real time according to the flow nodes dragged by a user, and adjusts the position information of the flow nodes based on the position information and the cells; and the flow configuration information generation module is used for generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information.
In some embodiments, the flow layout area module comprises: the flow layout area setting unit is used for establishing a coordinate system, presetting the width, the height and the edge distance of the cells by taking one corner of the rectangular flow layout area as a coordinate origin, and dividing the flow layout area into a plurality of virtual cells; the flow node coordinate information unit is used for responding to a user to create a flow node and drag the flow node in a flow layout area, and updating the coordinate information of the flow node in real time, wherein the flow node is rectangular; and the flow node coordinate adjusting unit is used for calculating the closest cell based on the coordinate information of the flow node after the flow node is dragged, and adjusting the coordinate information of the flow node based on the coordinate information of the closest cell.
In some embodiments, the flow node coordinate adjustment unit includes: the calculation unit is used for acquiring the coordinates of the upper left corner of the flow node after the dragging of the flow node is finished; and calculating the closest cell of the process node based on an integer division and remainder method, converting the coordinate of the process node into a cell coordinate, and setting the upper left corner coordinate of the process node as the upper left corner coordinate of the closest cell, wherein the coordinate system takes the upper left corner of the process layout area as the origin of coordinates.
In some embodiments, the process configuration information generation module includes an authorization unit for verifying an operation authorization of the user according to the authentication logic; a node information updating unit for updating the attribute information of the node; and the flow configuration information updating unit is used for updating the flow configuration information according to the attribute information of the node.
Although specific embodiments have been described herein, those of ordinary skill in the art will recognize that many other modifications or alternative embodiments are equally within the scope of this disclosure. For example, any of the functions and/or processing capabilities described in connection with a particular device or component may be performed by any other device or component. In addition, while various illustrative implementations and architectures have been described in accordance with embodiments of the present disclosure, those of ordinary skill in the art will recognize that many other modifications of the illustrative implementations and architectures described herein are also within the scope of the present disclosure.
Certain aspects of the present disclosure are described above with reference to block diagrams and flowchart illustrations of systems, methods, systems, and/or computer program products according to example embodiments. It will be understood that one or more blocks of the block diagrams and flowchart illustrations, and combinations of blocks in the block diagrams and flowchart illustrations, respectively, can be implemented by executing computer-executable program instructions. Also, according to some embodiments, some blocks of the block diagrams and flow diagrams may not necessarily be performed in the order shown, or may not necessarily be performed in their entirety. In addition, additional components and/or operations beyond those shown in the block diagrams and flow diagrams may be present in certain embodiments.
Accordingly, blocks of the block diagrams and flowchart illustrations support combinations of means for performing the specified functions, combinations of elements or steps for performing the specified functions and program instruction means for performing the specified functions. It will also be understood that each block of the block diagrams and flowchart illustrations, and combinations of blocks in the block diagrams and flowchart illustrations, can be implemented by special purpose hardware-based computer systems that perform the specified functions, elements or steps, or combinations of special purpose hardware and computer instructions.
Program modules, applications, etc. described herein may include one or more software components, including, for example, software objects, methods, data structures, etc. Each such software component may include computer-executable instructions that, in response to execution, cause at least a portion of the functionality described herein (e.g., one or more operations of the illustrative methods described herein) to be performed.
The software components may be encoded in any of a variety of programming languages. An illustrative programming language may be a low-level programming language, such as assembly language associated with a particular hardware architecture and/or operating system platform. Software components that include assembly language instructions may need to be converted by an assembler program into executable machine code prior to execution by a hardware architecture and/or platform. Another exemplary programming language may be a higher level programming language, which may be portable across a variety of architectures. Software components that include higher level programming languages may need to be converted to an intermediate representation by an interpreter or compiler before execution. Other examples of programming languages include, but are not limited to, a macro language, a shell or command language, a job control language, a scripting language, a database query or search language, or a report writing language. In one or more exemplary embodiments, a software component containing instructions of one of the above programming language examples may be executed directly by an operating system or other software component without first being converted to another form.
The software components may be stored as files or other data storage constructs. Software components of similar types or related functionality may be stored together, such as in a particular directory, folder, or library. Software components may be static (e.g., preset or fixed) or dynamic (e.g., created or modified at execution time).
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
Claims (10)
1. A workflow implementation method for gridding layout is characterized by comprising the following steps:
step S100, providing a process layout area of a grid magnetic attraction layout, wherein the process layout area comprises a plurality of cells, updating the position information of the process nodes in real time according to the process nodes dragged by a user, and adjusting the position information of the process nodes based on the position information and the cells;
step S200, generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information.
2. The method for implementing workflow of gridding layout according to claim 1, wherein the step S100 comprises:
step S110, establishing a coordinate system, presetting the width, height and edge distance of the cells by taking one corner of a rectangular process layout area as a coordinate origin, and dividing the process layout area into a plurality of virtual cells;
step S120, responding to a user to create a process node and dragging the process node in the process layout area, and updating the coordinate information of the process node in real time, wherein the process node is rectangular;
step S130, after the process node is dragged, calculating a closest cell based on the coordinate information of the process node, and adjusting the coordinate information of the process node based on the coordinate information of the closest cell.
3. The method for implementing workflow of gridding layout according to claim 2, wherein said step S130 comprises:
step S131, if the coordinate system takes the upper left corner of the process layout area as the origin of coordinates, after finishing dragging the process node, acquiring the upper left corner coordinates of the process node;
step S132, based on the integer division and remainder taking method, calculating the closest cell of the process node, converting the coordinate of the process node into a cell coordinate, and setting the upper left corner coordinate of the process node as the upper left corner coordinate of the closest cell.
4. The method for implementing workflow of gridding layout according to claim 1, wherein said step S200 comprises:
step S210, verifying the operation authority of the first user according to the first authentication logic;
step S220, according to the operation of the first user, obtaining the number of nodes in the process layout area, obtaining node attribute information and arrow information set by the first user through an attribute setting panel, generating a node number and node topology information, and storing the node number, the node attribute information, and the node topology information as the first process configuration information;
the node attribute information comprises a node type and a node state; the node states include unprocessed, in audit, pass, no pass, and rollback.
5. The method for implementing workflow of gridding layout according to claim 4, wherein said step S220 comprises: setting the state operation authority of each process node, associating and storing the operation authority of each process node in each state with the corresponding role, and associating and storing each user with the corresponding role.
6. The method for implementing workflow of gridding layout according to claim 4, wherein said step S200 comprises:
step S230, verifying the operation authority of the second user according to a second authentication logic;
step S240, updating the node state of the first node according to the operation of the second user;
step S250, updating the node state of a first relevant node based on preset process logic according to the attribute information of the first node;
step S260, updating the first flow configuration information according to the node states of the first node and the first relevant node, so as to obtain second flow configuration information.
7. The method for workflow implementation of a gridded layout according to claim 6,
step S251, determining a brother node of the first node according to the node topology information, wherein the brother node and the first node have the same source node or destination node;
step S252, if the node state of the first node is modified to be fallback, modifying the node state of the sibling node to be unprocessed.
8. A workflow implementation system for a gridding layout, comprising:
the flow layout area module is used for providing a flow layout area of the gridding magnetic suction layout, the flow layout area comprises a plurality of cells, the position information of the flow nodes is updated in real time according to the flow nodes dragged by a user, and the position information of the flow nodes is adjusted based on the position information and the cells;
and the flow configuration information generation module is used for generating flow configuration information according to user operation, wherein the flow configuration information comprises node information and arrow information.
9. The system of claim 8, wherein the process layout area module comprises:
the flow layout area setting unit is used for establishing a coordinate system, presetting the width, the height and the edge distance of the cells by taking one corner of a rectangular flow layout area as a coordinate origin, and dividing the flow layout area into a plurality of virtual cells;
the flow node coordinate information unit is used for responding to a process node created by a user and dragging the process node in the process layout area, and updating the coordinate information of the process node in real time, wherein the process node is rectangular;
and the flow node coordinate adjusting unit is used for calculating the closest cell based on the coordinate information of the flow node after the flow node is dragged, and adjusting the coordinate information of the flow node based on the coordinate information of the closest cell.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011587047.4A CN112667236A (en) | 2020-12-28 | 2020-12-28 | Method, system and medium for implementing workflow of gridding layout |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011587047.4A CN112667236A (en) | 2020-12-28 | 2020-12-28 | Method, system and medium for implementing workflow of gridding layout |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112667236A true CN112667236A (en) | 2021-04-16 |
Family
ID=75411556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011587047.4A Pending CN112667236A (en) | 2020-12-28 | 2020-12-28 | Method, system and medium for implementing workflow of gridding layout |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112667236A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114489855A (en) * | 2022-01-27 | 2022-05-13 | 北京索为***技术股份有限公司 | Process node control method and device and computer equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060277476A1 (en) * | 2005-06-02 | 2006-12-07 | Hsuan-Cheng Lai | Method and system for dynamic generation of graphical content using a markup language |
CN104239429A (en) * | 2014-08-26 | 2014-12-24 | 北京航天在线网络科技有限公司 | Method and device for editing flowchart in webpage |
CN106686023A (en) * | 2015-11-05 | 2017-05-17 | 中兴通讯股份有限公司 | Flow designing method, client machine, server side apparatus and system |
CN106897809A (en) * | 2015-12-17 | 2017-06-27 | 北京奇虎科技有限公司 | Workflow creation method, workflow designer and workflow system |
CN107644286A (en) * | 2017-08-15 | 2018-01-30 | 上海艾融软件股份有限公司 | Workflow processing method and device |
CN110310088A (en) * | 2019-06-14 | 2019-10-08 | 平安科技(深圳)有限公司 | Workflow configuration method and Related product |
CN110413281A (en) * | 2019-08-01 | 2019-11-05 | 南京信业能源科技有限公司 | One kind is based on towed building enterprise circulation flow management and control method |
CN110990093A (en) * | 2019-11-20 | 2020-04-10 | 武汉联图时空信息科技有限公司 | Flexible interface layout visualization method and medium based on component technology |
CN111796945A (en) * | 2020-06-12 | 2020-10-20 | 中国建设银行股份有限公司 | Workflow construction method and device, electronic equipment and readable storage medium |
-
2020
- 2020-12-28 CN CN202011587047.4A patent/CN112667236A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060277476A1 (en) * | 2005-06-02 | 2006-12-07 | Hsuan-Cheng Lai | Method and system for dynamic generation of graphical content using a markup language |
CN104239429A (en) * | 2014-08-26 | 2014-12-24 | 北京航天在线网络科技有限公司 | Method and device for editing flowchart in webpage |
CN106686023A (en) * | 2015-11-05 | 2017-05-17 | 中兴通讯股份有限公司 | Flow designing method, client machine, server side apparatus and system |
CN106897809A (en) * | 2015-12-17 | 2017-06-27 | 北京奇虎科技有限公司 | Workflow creation method, workflow designer and workflow system |
CN107644286A (en) * | 2017-08-15 | 2018-01-30 | 上海艾融软件股份有限公司 | Workflow processing method and device |
CN110310088A (en) * | 2019-06-14 | 2019-10-08 | 平安科技(深圳)有限公司 | Workflow configuration method and Related product |
CN110413281A (en) * | 2019-08-01 | 2019-11-05 | 南京信业能源科技有限公司 | One kind is based on towed building enterprise circulation flow management and control method |
CN110990093A (en) * | 2019-11-20 | 2020-04-10 | 武汉联图时空信息科技有限公司 | Flexible interface layout visualization method and medium based on component technology |
CN111796945A (en) * | 2020-06-12 | 2020-10-20 | 中国建设银行股份有限公司 | Workflow construction method and device, electronic equipment and readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114489855A (en) * | 2022-01-27 | 2022-05-13 | 北京索为***技术股份有限公司 | Process node control method and device and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8612279B2 (en) | Ad hoc generation of work item entity for geospatial entity based on symbol manipulation language-based workflow item | |
CN107992304B (en) | Method and device for generating display interface | |
CN112199086A (en) | Automatic programming control system, method, device, electronic device and storage medium | |
CN114036438A (en) | Page construction method, device, equipment and storage medium | |
CN106951254B (en) | Method and device for multiplexing similar service function modules in payment system | |
US20230351145A1 (en) | Pipelining and parallelizing graph execution method for neural network model computation and apparatus thereof | |
CN112199007A (en) | Menu display method and device, electronic equipment and storage medium | |
CN115358204A (en) | Report generation method and device, electronic equipment and storage medium | |
CN112494940A (en) | User interface manufacturing method and device, storage medium and computer equipment | |
CN109670011B (en) | Multi-map-source map service engine | |
CN115718850A (en) | Three-dimensional large scene animation demonstration performance optimization device and method based on three | |
CN112667236A (en) | Method, system and medium for implementing workflow of gridding layout | |
Abdelrahman et al. | A three-tier architecture visual-programming platform for building-lifecycle data management | |
CN116452756A (en) | Three-dimensional scene local automatic generation method, device, equipment and storage medium | |
CN116402937A (en) | Web-based 3D visual simplified development method for complex data | |
Wang et al. | Research on consistency maintenance of the real-time image editing system based on bitmap | |
CN115100387A (en) | Three-dimensional scene efficient visual editing method and equipment based on digital twins | |
CN108762750A (en) | A kind of visualization interface generation method and system based on FMP models | |
CN111897530B (en) | UI system and method based on UE4 platform | |
Lee et al. | Geosheet: A distributed visualization tool for geometric algorithms | |
CN108845791B (en) | Application program code development processing method and device, readable storage medium and terminal | |
CN114048110A (en) | Method for realizing customized visual topological graph based on Antv | |
CN113476848A (en) | Method and device for generating tree chain map, storage medium and electronic equipment | |
CN112966041A (en) | Data processing method, device, equipment and storage medium | |
CN110879871A (en) | Page menu configuration method and device |
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 |