CN113256161A - Method and device for modeling flow model, electronic equipment and storage medium - Google Patents

Method and device for modeling flow model, electronic equipment and storage medium Download PDF

Info

Publication number
CN113256161A
CN113256161A CN202110682416.6A CN202110682416A CN113256161A CN 113256161 A CN113256161 A CN 113256161A CN 202110682416 A CN202110682416 A CN 202110682416A CN 113256161 A CN113256161 A CN 113256161A
Authority
CN
China
Prior art keywords
process model
flow
model
information
modeling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110682416.6A
Other languages
Chinese (zh)
Other versions
CN113256161B (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.)
Beijing Keyware Co ltd
Original Assignee
Beijing Keyware 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 Beijing Keyware Co ltd filed Critical Beijing Keyware Co ltd
Priority to CN202110682416.6A priority Critical patent/CN113256161B/en
Publication of CN113256161A publication Critical patent/CN113256161A/en
Application granted granted Critical
Publication of CN113256161B publication Critical patent/CN113256161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method, a device, electronic equipment and a storage medium for modeling a flow model, wherein the method comprises the following steps: acquiring service information of a process model; redefining the nodes of the process model according to the service information of the process model; constructing a table structure of the process model according to the redefined nodes of the process model; and modeling the process model according to the table structure of the process model. The method and the device can effectively improve the efficiency of process modeling and improve the usability and flexibility of process modeling.

Description

Method and device for modeling flow model, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of process modeling, and particularly relates to a method and a device for modeling a process model, electronic equipment and a storage medium.
Background
Workflow technology originated in the field of office automation in the mid 70 s, but the workflow idea should appear earlier, and the idea of workflow automation using information technology was clearly expressed by Fritz Nordsieck in 1968. The work related to workflow in the 70 s included: prototype system SCOOP developed by Michael D. Zisman, university of Pennsylvania, OfficeTalk series test system developed by Clarence A. Ellis and Gary J. Nutt et al, Clarnec A. Ellis and Gary J. Nutt, supra, and Anatol Holt and Paul.
The "monitor software failure reporting" program on ARPANET developed by Cashman. The systems developed by SCOOP, official and anatool Holt all employ some variant of Petri nets for flow modeling. Among them, SCOOP and Officetalk systems, not only mark the beginning of workflow technology, but are also the earliest office automation systems.
In the 70 s, people were full of intense optimistic emotions on workflow technology, and researchers generally believe that new technology could lead to dramatic improvements in office efficiency, however this desire eventually fell to the forefront. People observe the phenomenon that a successful organization often creatively breaks the standard office flow at a proper time; the introduction of workflow technology enables people to only obey a fixed flow, which ultimately leads to low office efficiency and people's discomfort to the technology. The technical reasons for the failure of workflow technology in the 70 s include: the use of personal computers in offices has not been socially accepted, network technology is not widespread, and developers have not been able to understand the requirements and drawbacks of groupware technology.
The development of commercial systems containing workflow features began between 1983 and 1985, with early commercial systems mainly coming from the image processing and email fields. Image processing many times requires the circulation and tracking of images, and the workflow just meets the requirement; enhanced email systems also adopt the idea of workflow, improving the original point-to-point mail flow to flow according to some flow, with only a few of these early workflow systems having succeeded.
After the 90 s, the related technical conditions are gradually matured, and the development and research of the workflow system enter a new heat tide. It was investigated that there were over 200 software claims to support workflow management or possess workflow features by 1995. Workflow technology is used in the telecommunications industry, software engineering, manufacturing, financial, banking, scientific testing, health care, shipping and office automation.
In 8 months 1993, the workflow management alliance (WfMC), an industry organization for standardization of workflow technologies, was established. In 1994, the workflow management alliance released a workflow reference model for interoperation between workflow management systems and successively established a series of industry standards.
Academic research on workflow technology is also active, many prototype systems are developed in laboratories, and a large number of papers are written after studying workflow technology from various aspects such as workflow models, architectures, transactions, adaptability, exceptions, security, language, formalization, correctness verification, resource management, development process, and the like.
Despite the advances made in workflow technology, the theoretical basis has not been sufficiently studied. The existing workflow management system cannot be compared with a database management system in terms of function, reliability and robustness.
After 2000, with the rise of Web services technologies, various standardization organizations have established Web services standards related to workflow technologies, such as XLANG, WSFL, and the like. The BPEL specification was filed and published by IBM, Microsoft for the corporation of 8.2002.
The existing process modeling method has a great difference with a database management system, and mainly shows that the existing process modeling method has poor functions, low reliability, low expansibility and the like, is inconvenient to adjust parameters and is suitable for various applications.
Accordingly, there is a need in the art for improvements.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method and a device for modeling a flow model, electronic equipment and a storage medium.
Based on the first aspect of the embodiment of the invention, a method for modeling a flow model is disclosed, which comprises the following steps:
acquiring service information of a process model;
redefining the nodes of the process model according to the service information of the process model;
constructing a table structure of the process model according to the redefined nodes of the process model;
and modeling the process model according to the table structure of the process model.
In an embodiment, the redefining the nodes of the process model according to the service information of the process model includes:
acquiring service information according to the process model, and acquiring nodes of the process model needing to be redefined;
acquiring node data according to the node of the redefined process model;
and modifying the node data to complete the redefinition of the nodes of the flow model.
In one embodiment, the constructing a table structure of the process model according to the nodes of the redefined process model includes:
acquiring node information of the redefined process model;
acquiring a table structure of a corresponding process model according to the node information of the redefined process model;
acquiring parameters of a table structure of the process model according to the acquired table structure of the process model;
revising parameters of a table structure of the flow model according to the node information of the redefined flow model;
and constructing the table structure of the flow model according to the revised parameters of the table structure of the flow model.
In one embodiment, the table structure of the process model includes:
the flow definition and resource table is used for storing basic information of the flow, including a flow name, a flow category and a flow creator;
the flow deployment information table is used for storing the deployment information of the flow, and the deployment information comprises a deployment package name, a deployment type and deployment time;
the process model table is used for storing a process model, and comprises the name of the model, keywords of the model, the model type, the model creation time, the model last modification time, the model version, the model data source information, the model deployment ID and the model editing source value ID;
the deployed flow table is used for storing a deployed flow model, and comprises a flow name space, a flow name, a flow number, a flow version number, a deployment number, a resource file name, a resource picture file name and description information;
the event table in the process operation is used for storing the process model in operation, and comprises an event type, an event name, a process execution ID and a process instance ID;
the instance table in the process operation is used for storing the process instances in operation, and the process instances comprise process instance numbers, service numbers and parent execution processes;
the flow operation task table is used for storing task information of flow operation, and the task information comprises an execution instance ID, a flow instance ID and a flow definition ID;
and the flow operation variable table is used for storing the self-defined flow variables, including the password name and the storage variable type.
In one embodiment, the modeling a process model according to the table structure of the process model includes:
designing a service layer and a transmission layer of the process model according to the table structure of the process model;
and designing the front end of the process model according to the service layer and the transmission layer of the designed process model.
In one embodiment, said designing a service layer and a transport layer of a process model according to a table structure of the process model includes:
designing a service layer of a flow model by adopting a Java architecture according to the table structure of the flow layer, establishing a database connection pool by the service layer, and performing data interaction with a database by using a standard interface connected with the Java database in the connection pool;
and designing a transmission layer of the flow model by adopting a JavaScript object representation method.
In one embodiment, the designing a front end of the process model according to the service layer and the transport layer of the process model completed by the design includes:
acquiring information of a service layer and a transmission layer of the designed process model;
sending the process model to a front-end display page according to the service layer of the process model and the transmission control protocol of the transmission layer information;
and the service layer and the transmission layer of the process model control the display content of the front-end display page through a transmission control protocol.
Based on the second aspect of the embodiment of the present invention, a device for process model modeling is disclosed, which includes:
the acquisition module is used for acquiring the service information of the process model;
the setting module is used for redefining the nodes of the flow model according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model;
and the modeling module is used for modeling the process model according to the table structure of the process model.
Based on the third aspect of the embodiments of the present invention, an electronic device is disclosed, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for modeling a process model provided in any embodiment of the present application when executing the computer program.
Based on the fourth aspect of the embodiments of the present invention, a storage medium is disclosed, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for modeling a process model provided in any of the embodiments of the present application.
Compared with the prior art, the invention has the following advantages:
the method, the device, the electronic equipment and the storage medium for modeling the process model acquire the service information of the process model; redefining the nodes of the flow model according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model; and modeling the process model according to the table structure of the process model. The method and the device can effectively improve the efficiency of process modeling and improve the usability and flexibility of process modeling.
Drawings
FIG. 1 is a flow chart of a method of modeling a flow model according to an embodiment of the invention;
FIG. 2 is a block diagram of an apparatus for modeling a flow model according to an embodiment of the present invention; and
fig. 3 is an internal structural view of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method, the apparatus, the electronic device and the storage medium for modeling a process model according to the present invention are described in more detail with reference to the accompanying drawings and embodiments.
Fig. 1 is a flowchart of a method for modeling a process model according to an embodiment of the present invention, and as shown in fig. 1, the method for modeling a process model includes:
step 101, acquiring service information of a process model.
Specifically, the business information of the process model is the basis for building the process model, that is, what the role of the built process model is, and what is used for doing, so the business information for building the process model must be obtained first.
And 102, redefining the nodes of the flow model according to the service information of the flow model.
Specifically, after the service information of the process model is obtained, the nodes of the process model need to be obtained, and then the nodes are redefined, and the nodes of the process model are the core of the control process model. When a project flow needs a plurality of sub-flows or flow stages to complete, a certain sub-flow or flow stage is finished, and another sub-flow or flow stage is started, the time point of the flow is the node of the flow, and a flow model is composed of the nodes of the flow and the table structure of the flow.
Specifically, in a specific embodiment, the redefining the nodes of the flow model according to the service information of the flow model includes:
acquiring service information according to the process model, and acquiring nodes of the process model needing to be redefined;
acquiring node data according to the node of the redefined process model;
and modifying the node data to complete the redefinition of the nodes of the flow model.
Specifically, in the embodiment of the present application, the following nodes are mainly redefined:
the starting node is arranged in each sub-process, and only one starting node exists in each sub-process, all sub-process instances start from the starting node and are indispensable nodes in all sub-processes;
an end node, wherein each sub-process at least has one end node which marks the end of the sub-process and corresponds to the start node, and one sub-process can have a plurality of end nodes different from the start node;
the task node is used for representing a specific task to be executed in the business process, and the task can be added by adopting the node to generate a corresponding task instance;
the subtask node can be divided into a plurality of subtasks when a certain task in the business process is too large, and is represented by the subtask node, and the subtask node is a mode of reducing too much content of a flow chart;
the document node is used for representing a document which needs to be input or output in a certain step or task, and the title or description of the document is written in the node;
a branch node, which has only one inlet but can have a plurality of outlets, and branches when the flow is executed to the node, and then the flow direction of the next step is determined according to the judgment condition;
the text nodes and the nodes play a remark role, and are mainly used for carrying out brief annotation description on other nodes in the flow chart, so that people can understand that a database is required to be adopted for structured data management in order to enable the visualization flow technology to better play the role.
The program expressions of various nodes are:
a start node: { tp: "pst", z 1: 20, z 2: 20, i: "st", ac: "1" };
and (4) ending the node: { tp: "ped", z 1: 3, z 2: 30, i: "ed", ac: "1" };
point: { tp: "pp", z 1: 20, z 2: 20, i: "p 1", ac: "1" };
connecting a line: { tp: "pl", beg: "st", ed: "st 1", tx: "text", ac: "1" };
connecting the arrows: { tp: "par", beg: "p 2", ed: "s", tx: "text", jt: "8", jk: "5", ac: "1" };
and (3) task nodes: { tp: "pt", z 1: 40, z 2: 40, text: "task", i: "t 2", ac: "1" };
and (3) subtask nodes: { tp: "pst", z 1: 40, z 2: 40, tx: "task", i: "t 5", ac: "1" };
remarking: { tp: "pd", z 1: 30, z 2: 30, text: "word", i: "d 1", ac: "1" };
a branch node: { tp: "pb", z 1: 60, z 2: 60, tx: "branching", i:
"c1",ac:"1"};
document data: { tp: "pte", z 1: 50, z 2: 50, id: "st 1", tx:
"document", ac: "1" };
wherein: tp represents the element type, (z 1, z2) represents the coordinates of the element, i is the unique identification of the element, and ac represents the current node.
And 103, constructing a table structure of the process model according to the redefined nodes of the process model.
Specifically, after the nodes of the process model are redefined, the table structure of the process model needs to be reset.
Specifically, the constructing a table structure of the process model according to the redefined nodes of the process model includes:
acquiring node information of the redefined process model;
acquiring a table structure of a corresponding process model according to the node information of the redefined process model;
acquiring parameters of a table structure of the process model according to the acquired table structure of the process model;
revising parameters of a table structure of the flow model according to the node information of the redefined flow model;
and constructing the table structure of the flow model according to the revised parameters of the table structure of the flow model.
Specifically, in an embodiment of the present application, the table structure of the process model includes:
the flow definition and resource table is used for storing basic information of the flow, including a flow name, a flow category and a flow creator, and the specific parameter settings of the flow definition and resource table are shown in the following table:
TABLE 1
Figure 898983DEST_PATH_IMAGE001
The flow deployment information table is used for storing deployment information of the flow, and the deployment information includes a deployment package name, a deployment type and deployment time, and specific parameter settings of the flow deployment information table are shown in the following table:
TABLE 2
Figure DEST_PATH_IMAGE002
The process model table is used for storing the process model, and comprises the name of the model, the keywords of the model, the model type, the model creation time, the model last modification time, the model version, the model data source information, the model deployment ID and the model editing source value ID, and the specific parameter setting of the process model table is as shown in the following table:
TABLE 3
Figure 658867DEST_PATH_IMAGE003
The deployed flow table is used for storing a deployed flow model, and comprises a flow name space, a flow name, a flow number, a flow version number, a deployment number, a resource file name, a resource picture file name and description information; the specific parameter settings of the deployed flow table are shown in the following table:
TABLE 4
Figure DEST_PATH_IMAGE004
The event table in the process operation is used for storing the process model in operation, and comprises an event type, an event name, a process execution ID and a process instance ID; the specific parameter settings of the event table in the process operation are shown in the following table:
TABLE 5
Figure 313970DEST_PATH_IMAGE005
The instance table in the process operation is used for storing the process instances in operation, and the process instances comprise process instance numbers, service numbers and parent execution processes; the specific parameter settings of the example table in the process run are shown in the following table:
TABLE 6
Figure DEST_PATH_IMAGE006
The flow operation task table is used for storing task information of flow operation, and the task information comprises an execution instance ID, a flow instance ID and a flow definition ID; the specific parameter settings of the flow operation task table are shown in the following table:
TABLE 7
Figure 850125DEST_PATH_IMAGE007
The flow operation variable table is used for storing user-defined flow variables, including the name of the order and the type of the stored variable, and the specific parameters of the flow operation variable table are set as shown in the following table:
TABLE 8
Figure DEST_PATH_IMAGE008
And 104, modeling the process model according to the table structure of the process model.
Specifically, in an embodiment, the modeling the process model according to the table structure of the process model includes:
designing a service layer and a transmission layer of the process model according to the table structure of the process model;
and designing the front end of the process model according to the service layer and the transmission layer of the designed process model.
Specifically, in an embodiment, the designing a service layer and a transport layer of a process model according to the table structure of the process model includes:
designing a service layer of a flow model by adopting a Java architecture according to the table structure of the flow layer, establishing a database connection pool by the service layer, and performing data interaction with a database by using a standard interface connected with the Java database in the connection pool;
and designing a transmission layer of the flow model by adopting a JavaScript object representation method.
Specifically, a Java Enterprise application (Java Enterprise Edition) architecture is implemented as a key layer for receiving structured data and providing services. The method comprises the steps that a service layer establishes a database connection pool, and Data interaction is carried out between an internal link of the connection pool and a database through a standard interface of Java Data Base Connectivity (JDBC); compiling Service logic according to the Service standard of the framework; the application is deployed on an application server, and a service is provided for a client through a HYPER Text Transfer Protocol (HTTP). The service layer takes out the structured data from the database, arranges the data into a format required by a corresponding request and provides the format for the client browser as a response result of the HTTP, and finally, the data engine renders the received data into a visual flow graph. JavaScript Object Notation (JSON), a lightweight data transfer format, allows data exchange between languages, is easy to read and encode, and is a subset of JavaScript specifications that can be parsed by a browser supporting JavaScript. Compared with Extensible Markup Language (XML), JSON describes data in a key-value pair manner, can store composite objects, can easily describe many complex data structures, and has a smaller data size and lighter weight than XML.
Specifically, in an embodiment, the designing a front end of the process model according to the service layer and the transport layer of the process model completed by design includes:
acquiring information of a service layer and a transmission layer of the designed process model;
sending the process model to a front-end display page according to the service layer of the process model and the transmission control protocol of the transmission layer information;
and the service layer and the transmission layer of the process model control the display content of the front-end display page through a transmission control protocol.
Specifically, HTML5 is the next generation standard for the internet, is a language way to build and present internet content, and is considered as one of the core technologies of the internet. Canvas is a new element introduced by HTML5, which represents a bitmap area that is rendered on the page immediately, whose content can be manipulated by JavaScript. The developer may operate on the image through the Canvas interface, including drawing graphics within a Canvas, rendering text, adjusting colors, and the like. The Canvas has the main advantages that the script can be directly used for drawing without the help of a third-party plug-in, and drawing data can be stored in a local database, so that great convenience is brought to developers.
The method for modeling the process model of the embodiment of the application obtains the service information of the process model; redefining the nodes of the flow model according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model; and modeling the process model according to the table structure of the process model. The method and the device can effectively improve the efficiency of process modeling and improve the usability and flexibility of process modeling.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Fig. 2 is a block diagram of an apparatus for modeling a process model according to an embodiment of the present invention, and as shown in fig. 2, there is provided an apparatus for modeling a process model, the apparatus including: the device comprises an acquisition module, a setting module and a modeling module.
The acquisition module is used for acquiring the service information of the process model;
the setting module is used for redefining the nodes of the flow model according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model;
and the modeling module is used for modeling the process model according to the table structure of the process model.
Specifically, in another embodiment of the present application, the setting module is configured to obtain service information according to a process model, and obtain a node of the process model that needs to be redefined; acquiring node data according to the node of the redefined process model; and modifying the node data to complete the redefinition of the nodes of the flow model.
Specifically, in another embodiment of the present application, the setting module is configured to obtain node information of the redefined process model; acquiring a table structure of a corresponding process model according to the node information of the redefined process model; acquiring parameters of a table structure of the process model according to the acquired table structure of the process model; revising parameters of a table structure of the flow model according to the node information of the redefined flow model; and constructing the table structure of the flow model according to the revised parameters of the table structure of the flow model.
Specifically, in another embodiment of the present application, the modeling module is configured to design a service layer and a transport layer of the process model according to a table structure of the process model; and designing the front end of the process model according to the service layer and the transmission layer of the designed process model.
Specifically, in another embodiment of the present application, the modeling module is configured to design a service layer of the process model by using a Java architecture according to a table structure of the process layer, where the service layer establishes a database connection pool, and data interaction is performed between the connection pool and the database by using a standard interface connected with the Java database; and designing a transmission layer of the flow model by adopting a JavaScript object representation method.
Specifically, in another embodiment of the present application, the modeling module is configured to obtain service layer and transport layer information of the designed process model; sending the process model to a front-end display page according to the service layer of the process model and the transmission control protocol of the transmission layer information; and the service layer and the transmission layer of the process model control the display content of the front-end display page through a transmission control protocol.
The device for modeling the process model acquires the service information of the process model through the acquisition module; redefining the nodes of the flow model through a setting module according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model; and modeling the process model through a modeling module according to the table structure of the process model. The efficiency of process modeling can be effectively improved, and the usability and flexibility of the process modeling are improved.
For specific limitations of the apparatus based on the process model modeling, reference may be made to the above limitations of the process model modeling method, which are not described herein again. The various modules in the above-described apparatus based on flow model modeling may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, and an internal structure of the electronic device may be as shown in fig. 3 (fig. 3 is an internal structure of the electronic device according to an embodiment of the present invention). The electronic device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, Near Field Communication (NFC) or other technologies. The computer program is executed by a processor to implement a method of flow model modeling. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the apparatus for modeling a process model provided herein may be implemented in the form of a computer program that is executable on an electronic device such as that shown in fig. 3. The memory of the electronic device may store various program modules constituting the apparatus for flow model modeling, such as the acquisition module, the setting module, and the modeling module shown in fig. 2. The computer program constituted by the respective program modules causes the processor to execute the steps in the method for modeling a flow model of the embodiments of the present application described in the present specification.
For example, the electronic device shown in fig. 3 may obtain the service information of the process model through the obtaining module of the apparatus for modeling the process model shown in fig. 3; redefining the nodes of the flow model through a setting module according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model; and modeling the process model through a modeling module according to the table structure of the process model.
In one embodiment, the processor, when executing the computer program, performs the steps of: acquiring service information according to the process model, and acquiring nodes of the process model needing to be redefined; acquiring node data according to the node of the redefined process model; and modifying the node data to complete the redefinition of the nodes of the flow model.
In one embodiment, the processor, when executing the computer program, performs the steps of: acquiring node information of the redefined process model; acquiring a table structure of a corresponding process model according to the node information of the redefined process model; acquiring parameters of a table structure of the process model according to the acquired table structure of the process model; revising parameters of a table structure of the flow model according to the node information of the redefined flow model; and constructing the table structure of the flow model according to the revised parameters of the table structure of the flow model.
In one embodiment, the processor, when executing the computer program, performs the steps of: designing a service layer and a transmission layer of the process model according to the table structure of the process model; and designing the front end of the process model according to the service layer and the transmission layer of the designed process model.
In one embodiment, the processor, when executing the computer program, performs the steps of: designing a service layer of a flow model by adopting a Java architecture according to the table structure of the flow layer, establishing a database connection pool by the service layer, and performing data interaction with a database by using a standard interface connected with the Java database in the connection pool; and designing a transmission layer of the flow model by adopting a JavaScript object representation method.
In one embodiment, the processor, when executing the computer program, performs the steps of: acquiring information of a service layer and a transmission layer of the designed process model; sending the process model to a front-end display page according to the service layer of the process model and the transmission control protocol of the transmission layer information; and the service layer and the transmission layer of the process model control the display content of the front-end display page through a transmission control protocol.
The method comprises the steps that when a processor executes a computer program, an acquisition module acquires service information of a process model; redefining the nodes of the flow model through a setting module according to the service information of the flow model; constructing a table structure of the process model according to the redefined nodes of the process model; and modeling the process model through a modeling module according to the table structure of the process model. The efficiency of process modeling can be effectively improved, and the usability and flexibility of the process modeling are improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of modeling a flow model, the method comprising:
acquiring service information of a process model;
redefining the nodes of the process model according to the service information of the process model;
constructing a table structure of the process model according to the redefined nodes of the process model;
and modeling the process model according to the table structure of the process model.
2. The method of claim 1, wherein the redefining the nodes of the process model according to the business information of the process model comprises:
acquiring nodes of the process model needing to be redefined according to the service information of the process model;
acquiring node data according to the node of the redefined process model;
and modifying the node data to complete the redefinition of the nodes of the process model.
3. The method of modeling a process model of claim 1, wherein said building a table structure of said process model from nodes of a redefined process model comprises:
acquiring node information of the redefined process model;
acquiring a table structure of a corresponding process model according to the node information of the redefined process model;
acquiring parameters of a table structure of the process model according to the acquired table structure of the process model;
revising parameters of a table structure of the flow model according to the node information of the redefined flow model;
and constructing the table structure of the process model according to the parameters of the revised table structure of the process model.
4. The method of modeling a flow model of claim 3, wherein said table structure of the flow model comprises:
the flow definition and resource table is used for storing basic information of the flow, including a flow name, a flow category and a flow creator;
the flow deployment information table is used for storing the deployment information of the flow, and the deployment information comprises a deployment package name, a deployment type and deployment time;
the process model table is used for storing a process model, and comprises the name of the model, keywords of the model, the model type, the model creation time, the model last modification time, the model version, the model data source information, the model deployment ID and the model editing source value ID;
the deployed flow table is used for storing a deployed flow model, and comprises a flow name space, a flow name, a flow number, a flow version number, a deployment number, a resource file name, a resource picture file name and description information;
the event table in the process operation is used for storing the process model in operation, and comprises an event type, an event name, a process execution ID and a process instance ID;
the instance table in the process operation is used for storing the process instances in operation, and the process instances comprise process instance numbers, service numbers and parent execution processes;
the flow operation task table is used for storing task information of flow operation, and the task information comprises an execution instance ID, a flow instance ID and a flow definition ID;
and the flow operation variable table is used for storing the self-defined flow variables, including the password name and the storage variable type.
5. The method of modeling a process model according to claim 1, wherein said modeling a process model according to a table structure of said process model comprises:
designing a service layer and a transmission layer of the process model according to the table structure of the process model;
and designing the front end of the process model according to the service layer and the transmission layer of the designed process model.
6. The method of modeling a process model according to claim 5, wherein said designing a service layer and a transport layer of a process model according to a table structure of said process model comprises:
designing a service layer of a flow model by adopting a Java architecture according to a table structure of the flow layer, wherein the service layer establishes a database connection pool, and data interaction is carried out between the connection pool and a database by using a standard interface connected with the Java database;
and designing a transmission layer of the flow model by adopting a JavaScript object representation method.
7. The method of modeling a process model of claim 5, wherein said designing a front end of said process model based on a service layer and a transport layer of a designed process model comprises:
acquiring information of a service layer and a transmission layer of the designed process model;
sending the process model to a front-end display page according to a transmission control protocol of the service layer and the transmission layer information of the process model;
and the service layer and the transmission layer of the process model control the display content of the front-end display page through a transmission control protocol.
8. An apparatus for modeling a flow model, the apparatus comprising:
the acquisition module is used for acquiring the service information of the process model;
the setting module is used for redefining the nodes of the process model according to the service information of the process model; constructing a table structure of the process model according to the redefined nodes of the process model;
and the modeling module is used for modeling the process model according to the table structure of the process model.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110682416.6A 2021-06-21 2021-06-21 Method and device for modeling flow model, electronic equipment and storage medium Active CN113256161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110682416.6A CN113256161B (en) 2021-06-21 2021-06-21 Method and device for modeling flow model, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110682416.6A CN113256161B (en) 2021-06-21 2021-06-21 Method and device for modeling flow model, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113256161A true CN113256161A (en) 2021-08-13
CN113256161B CN113256161B (en) 2021-11-12

Family

ID=77188792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110682416.6A Active CN113256161B (en) 2021-06-21 2021-06-21 Method and device for modeling flow model, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113256161B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169716A (en) * 2007-11-30 2008-04-30 清华大学 Emulated procedure information modeling and maintenance method based on product structural tree
US20150235154A1 (en) * 2014-02-19 2015-08-20 Clemens UTSCHIG Computerized method and system and method to provide business process & case modeling and execution of business processes and activities
CN109191078A (en) * 2018-09-06 2019-01-11 山东中创软件商用中间件股份有限公司 A kind of traffic flow modeling method, device and equipment
CN110428216A (en) * 2019-07-03 2019-11-08 平安科技(深圳)有限公司 Operation flow management-control method, device, computer equipment and storage medium
CN112561386A (en) * 2020-12-24 2021-03-26 建信金融科技有限责任公司 Method, device and equipment for acquiring business process

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169716A (en) * 2007-11-30 2008-04-30 清华大学 Emulated procedure information modeling and maintenance method based on product structural tree
US20150235154A1 (en) * 2014-02-19 2015-08-20 Clemens UTSCHIG Computerized method and system and method to provide business process & case modeling and execution of business processes and activities
CN109191078A (en) * 2018-09-06 2019-01-11 山东中创软件商用中间件股份有限公司 A kind of traffic flow modeling method, device and equipment
CN110428216A (en) * 2019-07-03 2019-11-08 平安科技(深圳)有限公司 Operation flow management-control method, device, computer equipment and storage medium
CN112561386A (en) * 2020-12-24 2021-03-26 建信金融科技有限责任公司 Method, device and equipment for acquiring business process

Also Published As

Publication number Publication date
CN113256161B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
US9846849B2 (en) System and method for providing an editor for use with a business process design environment
US10331765B2 (en) Methods and apparatus for translating forms to native mobile applications
CN112561386A (en) Method, device and equipment for acquiring business process
US9575950B2 (en) Systems and methods for managing spreadsheet models
US20100325605A1 (en) Graphical modeling tool
CN111949258B (en) Approval process construction method, device and system
CN113918138A (en) Flow processing method and device and computer system
US11886836B2 (en) Dynamic enterprise application platform
CN111061475A (en) Software code generation method and device, computer equipment and storage medium
CN113094125B (en) Business process processing method, device, server and storage medium
CN114089977A (en) Receipt docking method and device for business system and computer equipment
CN114493479A (en) Enterprise-level workflow engine implementation method and system based on micro-service SaaS
Deljouyi et al. MDD4REST: Model-Driven Methodology for Developing RESTful Web Services.
CN113256161B (en) Method and device for modeling flow model, electronic equipment and storage medium
Hili et al. A light-weight low-code platform for back-end automation
US20110264707A1 (en) Extensible meta model for capturing solution patterns
Inayatullah et al. Model-based scaffolding code generation for cross-platform applications
Turkman et al. Business process model driven automatic software requirements generation
CN114004505A (en) BPM platform and method for recommending business process based on BPM platform
JP2004046895A (en) Work flow conversion method
KR20100137364A (en) Tool for graphically visualizing and configuring patterns
CN110544075A (en) asset management process configuration method, device and equipment
Li et al. Using product data management technology to semiconductor manufacturing industry
Prisecaru Resource workflow nets: an approach to workflow modelling and analysis
Corradini et al. Supporting multi-layer modeling in BPMN collaborations

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method, device, electronic equipment and storage medium for modeling process model

Effective date of registration: 20220411

Granted publication date: 20211112

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: BEIJING KEYWARE Co.,Ltd.

Registration number: Y2022990000202

PE01 Entry into force of the registration of the contract for pledge of patent right