CN106779404B - Flow early warning method and device - Google Patents

Flow early warning method and device Download PDF

Info

Publication number
CN106779404B
CN106779404B CN201611153772.4A CN201611153772A CN106779404B CN 106779404 B CN106779404 B CN 106779404B CN 201611153772 A CN201611153772 A CN 201611153772A CN 106779404 B CN106779404 B CN 106779404B
Authority
CN
China
Prior art keywords
work item
received
executing
flow
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611153772.4A
Other languages
Chinese (zh)
Other versions
CN106779404A (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.)
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Beijing China Power Information Technology 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 State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201611153772.4A priority Critical patent/CN106779404B/en
Publication of CN106779404A publication Critical patent/CN106779404A/en
Application granted granted Critical
Publication of CN106779404B publication Critical patent/CN106779404B/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • 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

Abstract

The application provides a flow early warning method and a flow early warning device, wherein a flow template and flow operation data are stored in a local database, namely the same local database is used in the execution process of a flow operation component and a flow monitoring component, so that the problem that different databases adopt different model structures and further model conversion is needed is solved, and the problem of low system operation efficiency caused by the fact that the model conversion is needed when business flow data is pushed to the flow monitoring component in the prior art is solved.

Description

Flow early warning method and device
Technical Field
The invention relates to the field of communication, in particular to a flow early warning method and a flow early warning device.
Background
The flow pre-warning is to analyze the business execution process from the perspective of business activities, collect business flow data to perform rule calculation and analysis, notify relevant workers according to configured pre-warning abnormal handling conditions, and visually present the pre-warning results to users in the forms of graphical diagrams or reports.
In the current pre-alarm solution, the business process data is processed by the process operation component, and then is pre-alarm judged and analyzed by the process monitoring component, and the process operation component and the process monitoring component are relatively independent. The process operation component is responsible for providing operation period support for the processes of the access platform and realizing the functions of process carding, process modeling, process instance and activity instance management, state maintenance and the like. The flow monitoring component is responsible for monitoring the flow operation process, acquires specified business flow data in the flow operation component in an online acquisition mode according to a monitoring plan, then performs rule calculation and analysis according to related configuration information, and visually presents the pre-warning result to a user in a graphical diagram or report form mode.
In the technical scheme, the process operation component and the process monitoring component use different databases, and different databases adopt different model structures, so that the business process data is firstly processed through the process operation component and then pushed into the process monitoring component, and after the business process data is subjected to model conversion, the process monitoring component can analyze the business process data after the model conversion to judge whether the pre-warning condition is met. The operation efficiency of the system is reduced because model conversion is also required.
Therefore, a flow early warning method capable of improving the system operation efficiency is needed.
Disclosure of Invention
In view of the above, the present invention provides a flow early warning method and apparatus, so as to solve the problem in the prior art that when business flow data is pushed to a flow monitoring component, model conversion is also required, which results in low system operation efficiency.
In order to solve the technical problems, the invention adopts the following technical scheme:
a flow early warning method comprises the following steps:
detecting whether an instruction for clicking one of the processes input in the process list interface is received;
if the command is detected to be received, acquiring a process identifier and a process template of the clicked process;
generating a starting form interface according to the hyperlink corresponding to the process identification;
executing a process instantiation process according to the process identification, the process instance name and the starting command which are input in the starting form interface;
executing a flow instance according to the flow template; in the process of executing the process example, judging whether the process operation data meets the pre-warning rule or not in the process of executing the process example according to the acquired process operation data and the pre-warning rule corresponding to the process template; when the flow operation data is judged to meet the pre-warning rule, outputting a pre-warning result; wherein the process template and the process run data are stored to a local database.
Preferably, the executing a process instantiation process according to the process identifier, the process instance name and the start command input in the start form interface includes:
calling a process instance interface corresponding to the process identifier;
receiving, by the process instance interface, the process instance name and the start command;
checking the process instance name and the starting command received by the process instance interface;
and if the verification is passed, executing the process instance according to the process template.
Preferably, the executing a process instance according to the process template includes:
generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
acquiring process data input on a work item form corresponding to the ith work item;
detecting whether a command for executing the ith work item is received;
if the command for executing the ith work item is detected to be received, generating a task of an executive staff corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item and the process template;
detecting whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the (i + 1) th work item is received, wherein n is n + 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item;
acquiring process data input on a work item form corresponding to the (i + 1) th work item;
detecting whether a command for executing the (i + 1) th work item is received;
if the command for executing the (i + 1) th work item is detected to be received, letting i equal to i +1, returning to the process data and the process template input on the work item form corresponding to the ith work item, and generating the task of the executive staff corresponding to the (i + 1) th work item until the execution of the whole process example is finished; the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
Preferably, the executing a process instance according to the process template includes:
generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
acquiring process data input on a work item form corresponding to the ith work item;
detecting whether a command for executing the ith work item is received;
if the command for executing the ith work item is detected to be received, generating a task of an executive staff corresponding to the (i + 1) th work item according to the flow template;
detecting whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the (i + 1) th work item is received, wherein n is n + 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the (i + 1) th work item;
acquiring process data input on a work item form corresponding to the (i + 1) th work item;
detecting whether a command for executing the (i + 1) th work item is received;
if the command for executing the (i + 1) th work item is detected to be received, letting i equal to i +1, returning to the step of generating the task of the executive staff corresponding to the (i + 1) th work item according to the process template until the execution of the whole process instance is finished; the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
Preferably, the determining, according to the acquired flow operation data and the pre-warning rule corresponding to the flow template, whether the flow operation data satisfies the pre-warning rule in the process of executing the flow instance includes:
acquiring content corresponding to a preset index according to the acquired flow operation data;
and judging whether the content corresponding to the preset index meets the pre-alarm rule.
Preferably, the outputting of the pre-warning result includes:
displaying the warning result on a display interface in a graphical diagram or report form mode;
and sending the pre-warning result to a terminal corresponding to a worker in a mode of sending information or sending an email.
A process advance warning apparatus comprising:
the first detection module is used for detecting whether an instruction for clicking one of the processes input in the process list interface is received;
the first acquisition module is used for acquiring a process identifier and a process template of the clicked process if the first detection module detects that the instruction is received;
the first generation module is used for generating a starting form interface according to the hyperlink corresponding to the process identification;
the process instantiation module is used for executing the process instantiation process according to the process identification, the process instance name and the starting command which are input in the starting form interface;
the execution flow instance module is used for executing the flow instance according to the flow template;
the flow monitoring module is used for judging whether the flow operation data meets the pre-warning rule or not in the process of executing the flow example according to the acquired flow operation data and the pre-warning rule corresponding to the flow template in the process of executing the flow example; when the flow operation data is judged to meet the pre-warning rule, outputting a pre-warning result; wherein the process template and the process run data are stored to a local database.
Preferably, the process instantiation module comprises:
the calling module is used for calling a process instance interface corresponding to the process identifier;
a receiving module, configured to receive, by the process instance interface, the process instance name and the start command;
the verification module is used for verifying the process instance name and the starting command received by the process instance interface;
and if the verification module passes the verification, the flow execution instance module executes the flow instance according to the flow template.
Preferably, the execution flow instance module includes:
the second generation module is used for generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
the second detection module is used for detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
a third generating module, configured to generate a work item form corresponding to the ith work item according to the task corresponding to the ith work item if the second detecting module detects that the nth execution command is received;
the second acquisition module is used for acquiring the process data input on the work item form corresponding to the ith work item;
the third detection module is used for detecting whether a command for executing the ith work item is received or not;
a fourth generating module, configured to generate a task of an executive corresponding to the (i + 1) th work item according to the process data and the process template input in the work item form corresponding to the ith work item if the third detecting module detects that the command for executing the ith work item is received;
a fourth detecting module, configured to detect whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the i +1 th work item is received, where n is n + 1;
a fifth generating module, configured to generate a work item form corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item if the fourth detecting module detects that the nth execution command is received;
a third obtaining module, configured to obtain process data input on the work item form corresponding to the (i + 1) th work item;
a fifth detecting module, configured to detect whether a command for executing the (i + 1) th work item is received;
a first control module, configured to, if the fifth detection module detects that the command for executing the (i + 1) th work item is received, leave i ═ i + 1;
the fourth generating module is further configured to, after the first control module makes i equal to i +1, generate a task of an executor corresponding to the i +1 th work item according to the process data and the process template input in the work item form corresponding to the i-th work item until the execution of the entire process instance is finished; and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
Preferably, the execution flow instance module includes:
the sixth generating module is used for generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
a sixth detection module, configured to detect whether an nth execution command input on a task list interface corresponding to a task corresponding to the ith work item is received; wherein n is 1;
a seventh generating module, configured to generate a work item form corresponding to the ith work item according to the task corresponding to the ith work item if the sixth detecting module detects that the nth execution command is received;
a fourth obtaining module, configured to obtain process data input on the work item form corresponding to the ith work item;
a seventh detecting module, configured to detect whether a command to execute the ith work item is received;
an eighth generating module, configured to generate, according to the flow template, a task of an executive corresponding to the (i + 1) th work item if the seventh detecting module detects that the command for executing the ith work item is received;
an eighth detecting module, configured to detect whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the i +1 th work item is received, where n is n + 1;
a ninth generating module, configured to generate a work item form corresponding to the (i + 1) th work item if the eighth detecting module detects that the nth execution command is received;
a fifth obtaining module, configured to obtain process data input on the work item form corresponding to the (i + 1) th work item;
a ninth detecting module, configured to detect whether a command for executing the (i + 1) th work item is received;
a second control module, configured to, if the ninth detection module detects that the command for executing the (i + 1) th work item is received, leave i ═ i + 1;
the eighth generating module is further configured to, after the second control module makes i equal to i +1, generate a task of an executive corresponding to the i + 1-th work item according to the process template until the execution of the whole process instance is finished; and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a flow early warning method and a device, which are used for detecting whether an instruction for clicking one of flows input in a flow list interface is received or not, acquiring a flow identifier and a flow template of the clicked flow if the instruction is received, generating a starting form interface according to a hyperlink corresponding to the flow identifier, executing a flow instantiation process according to the flow identifier, a flow instance name and a starting command input in the starting form interface, and executing a flow instance according to the flow template. The operation is a function of a process operation component, and in the process of executing the process example, whether the process operation data meets the pre-warning rule or not in the process of executing the process example is judged according to the acquired process operation data and the pre-warning rule corresponding to the process template; and when the flow operation data is judged to meet the pre-warning rule, outputting a pre-warning result, which is the function of the flow monitoring component. According to the scheme, the process template and the process operation data are stored in the local database, namely the same local database is used in the process of executing the process operation component and the process monitoring component, the problem that different model structures are adopted by different databases and further model conversion is needed does not exist, and the problem that in the prior art, when business process data are pushed to the process monitoring component, model conversion is needed, and therefore the system operation efficiency is low is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for process early warning provided by the present invention;
FIG. 2 is a flow chart of another method of process early warning provided by the present invention;
FIG. 3 is a flow chart of a third method for warning in accordance with the present invention;
FIG. 4 is a schematic structural diagram of a flow pre-warning apparatus according to the present invention;
FIG. 5 is a schematic structural diagram of another flow pre-warning apparatus provided in the present invention;
FIG. 6 is a schematic structural diagram of a third flow pre-warning device according to the present invention;
fig. 7 is a schematic structural diagram of a fourth flow pre-warning device provided in the present invention.
Detailed Description
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 embodiment of the invention provides a flow early warning method, which comprises the following steps of referring to fig. 1:
s101, detecting whether an instruction for clicking one of the flows input in a flow list interface is received;
specifically, a user selects a flow to be started on an un-started flow list interface according to the self requirement, at this time, an instruction for clicking one of the flows input by the user can be obtained, for example, when the user wants to ask for a false, a process for asking for a false is clicked.
S102, acquiring a process identifier and a process template of the clicked process;
specifically, when the detection receives the instruction, a flow identifier and a flow template of the clicked flow are obtained, where each flow has one flow identifier and one flow template, but one flow template may correspond to multiple flow instances.
S103, generating a starting form interface according to the hyperlink corresponding to the process identification;
it should be noted that each process identifier has a hyperlink, and after detecting that an instruction is received, a start-up form interface can be generated according to the hyperlink corresponding to the process identifier, where the start-up form interface is generated. The user is required to enter process data in the launch form interface.
S104, executing a process instantiation process according to the process identification, the process instance name and the starting command input in the starting form interface;
the process of executing the process instantiation is a process of creating a specific process, and this process requires a user to input a process instance name, such as "leave-please-flow of zhang san", on a start-up form interface. Sometimes, the content described in the process instance needs to be input, and when the user finishes inputting the data and clicks the start command, a specific process instance can be started according to the process identifier.
S105, executing a process instance according to the process template;
in the process of executing the process example, whether the process operation data meets the pre-warning rule or not in the process of executing the process example is judged according to the acquired process operation data and the pre-warning rule corresponding to the process template; when the running data of the flow is judged to meet the pre-warning rule, outputting a pre-warning result; wherein the process template and the process run data are stored in a local database.
It should be noted that, according to the acquired flow operation data, it is determined whether the flow operation data meets the pre-alarm rule, and the acquired flow operation data also needs to be stored in the local database, so as to be convenient for being called at any time.
Executing the process example and judging whether the process operation data meets the pre-warning rule are carried out simultaneously, the process operation data is generated in the process of executing the process example, whether the process operation data meets the pre-warning rule is judged in real time according to the process operation data, and when the process operation data meets the pre-warning rule is judged, a pre-warning result is output.
Wherein, according to the acquired flow operation data and the pre-warning rule corresponding to the flow template, judging whether the flow operation data meets the pre-warning rule in the process of executing the flow instance, the method comprises the following steps:
acquiring content corresponding to a preset index according to the acquired flow operation data;
and judging whether the content corresponding to the preset index meets the pre-alarm rule.
The preset indexes are set in advance, a plurality of preset indexes can be set in one process example, the preset indexes are also provided with preset index threshold values, and the warning rule in the application can have different rules within different preset index threshold value ranges according to the content of the preset indexes.
For example, in the leave asking process example of zhang san, suppose that leave asking for zhang san requires examination and approval from the leader, and the time of examination and approval from the leader is two days, after the leave asking process example of zhang san is generated, the leader does not examine and approve within two days, then the pre-warning rule is satisfied, and a pre-warning result is output.
Further, outputting a pre-warning result, comprising:
displaying the warning result on a display interface in a graphical diagram or report form mode;
and sending the pre-warning result to a terminal corresponding to the staff in a mode of sending information or sending an email.
The terminal comprises a mobile phone, a tablet or a computer and the like.
Specifically, the pre-warning result is displayed on the display interface in a graphical chart or report form mode, so that workers working in front of the display interface of the computer can timely know the places which do not accord with the pre-warning rule in the whole process example.
Meanwhile, the warning result is sent to a terminal corresponding to the worker in a message sending or mail sending mode, and the worker can know the execution error condition of the process instance in time when going out due to work needs.
It should be noted that, according to the flow template and the pre-alarm rule, syntax analysis, context analysis and comprehensive processing are performed, so as to obtain a pre-compiled file. Wherein, a flow template corresponds to a precompiled file.
The local database comprises various process templates and pre-warning rules corresponding to the process templates, and each process template corresponds to one pre-warning rule. It should be noted that the flow template and the advance warning rule corresponding to the flow template are compiled in advance and are already stored in the local database. For example, the flow template may be a flow template for an ask for leave, a flow template for a bank transfer approval, or the like. It should be noted that the local database is constructed according to process data and process monitoring data, wherein the process data includes a process definition table, a process instance table, an activity definition table, an activity instance table, a work item table, and a process diagram model definition table, and the process monitoring data includes a process diagram model definition table, a warning factor information table, a warning rule information table, and a warning result detail table.
The flow template and the forewarning rule corresponding to the flow template are created in a flow editor, wherein the flow editor comprises primitive management, canvas management, flow modeling, forewarning rule configuration, flow publishing and flow showing configuration.
The graphic element management is unified management of graphic metadata, and provides selective use of swim lanes, events, activities, gateways, connecting lines and other (annotations, grouping) and the like based on a business process model and a symbolic BPMN 2.0 standard.
The canvas management is used for managing drawing areas of various primitive compiling processes used by developers, and provides drag and drop of the drawings, integral amplification and reduction of the drawings, primitive alignment adjustment and the like.
The process modeling is to select various primitives, draw connecting lines among the primitives, edit attributes of the primitives and realize rapid construction of a flow chart.
Configuring a warning rule: relevant monitoring indexes and early warning rules are configured for the business process, visual editing is provided, and the business process is conveniently monitored in real time;
the process release refers to the version state of the process, and only the released process can create a process instance and operate the process instance.
The process display configuration is to configure a process display mode, a process display layout, a process pre-warning prompt lamp color, a process running state filling color and the like.
In this embodiment, whether an instruction for clicking one of the flows input in the flow list interface is received is detected, if it is detected that the instruction is received, a flow identifier and a flow template of the clicked flow are obtained, a start form interface is generated according to a hyperlink corresponding to the flow identifier, a flow instantiation process is executed according to the flow identifier, a flow instance name and a start command input in the start form interface, and a flow instance is executed according to the flow template. The operation is a function of the process operation component, and in the process of executing the process example, whether the process operation data meets the pre-warning rule or not in the process of executing the process example is judged according to the acquired process operation data and the pre-warning rule corresponding to the process template; and when the process operation data is judged to meet the pre-warning rule, outputting a pre-warning result, which is the function of the process monitoring component.
The process template and the process operation data are stored in the local database, namely the same local database is used in the process of executing the process operation component and the process monitoring component, so that the problem that model conversion is needed because different databases adopt different model structures is solved, and the problem that the system operation efficiency is low because the model conversion is needed when the business process data is pushed to the process monitoring component in the prior art is solved.
Meanwhile, in the prior art, after the conversion of the warning model, the process of rule compiling is required to be executed, and the warning rule is compiled in advance and stored in the local database, so that the time for rule compiling in the prior art can be shortened, and the execution efficiency of the system is improved.
In addition, in the prior art, the flow monitoring component acquires the designated service flow data in the flow operation component in an online acquisition mode according to the monitoring plan, when the network is unstable or the bandwidth is low, the situation that the data acquisition is not timely occurs, and the real-time performance of pre-warning is affected.
Optionally, in another embodiment of the present invention, executing a process instantiation process according to the process identifier, the process instance name and the start command input in the start form interface includes:
calling a process instance interface corresponding to the process identifier;
receiving a process instance name and a starting command by a process instance interface;
checking the process instance name and the starting command received by the process instance interface;
and if the verification is passed, executing the process instance according to the process template.
It should be noted that one process identifier corresponds to one process instance interface, the process instance interface receives the process instance name and the start command, after receiving the process instance name and the start command, there is a data verification process, that is, the process instance name and the start command are verified, if the verification passes, it is proved that the process implementation operation is successfully executed, at this time, S105 continues to be executed, and if the verification fails, S105 cannot be executed.
In this embodiment, the process instance name and the start command received by the process instance interface are checked. And when the verification is passed, executing the process instance according to the process template.
Optionally, in another embodiment of the present invention, referring to fig. 2, executing a flow instance according to a flow template includes:
s201, generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
specifically, when i is equal to 1, a task corresponding to the first work item is generated according to the flow template, and the first task is displayed in a task list to be processed of a person who executes the first work item.
S202, detecting whether an nth execution command input on a task list interface corresponding to a task corresponding to the ith work item is received; wherein n is 1;
it should be noted that, when i is equal to 1 and n is equal to 1, it is detected whether an nth execution command input on a task list interface corresponding to a task corresponding to an ith work item is received, that is, it is detected whether a first execution command input on a task list interface corresponding to a task corresponding to a first work item is received, that is, there is an execution button in a task list to be processed of a person executing the first work item, and when the person executing the first work item clicks the execution button, it can be detected that the first execution command is received.
S203, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
if detecting that the nth execution command is received, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
specifically, when i is equal to 1 and n is equal to 1, if it is detected that the first execution command is received, generating a work item form corresponding to the first work item according to the task corresponding to the first work item;
specifically, when it is detected that the first execution command is received, that is, the person executing the first work item clicks the execution button, at this time, the work item form corresponding to the first work item can be generated according to the task corresponding to the first work item, and at this time, the form corresponding to the first work item can appear in the to-be-processed tasks on the computer of the person executing the first work item.
Taking the leave-ask process of three leaves as an example, assuming that the first work item is a leave-ask form, when three leaves click an execution button corresponding to the leave-ask form in the task to be processed, the display interface corresponding to the leave-ask form is jumped to, the display interface contains contents of an applicant, leave-ask reasons, leave-ask time and the like, and the three leaves are needed to fill data required to be input one by one.
S204, acquiring process data input on a work item form corresponding to the ith work item;
when n is 1, the process data input on the work item form corresponding to the first work item can be obtained at this time. Or, taking the leave asking process of zhang san as an example, the information such as the applicant, the leave asking reason, the leave asking time and the like filled in zhang san is the input process data.
S205, detecting whether a command for executing the ith work item is received;
when a person who executes a work item clicks a button for executing the ith work item, the fact that a command for executing the ith work item is received can be detected, or when a work item form with a work item name of a filling-in leave list is filled in three by using a leave-in flow of three by opening as an example, an execution button is arranged below the form, and when the execution button is clicked in three by opening, the fact that the command for executing the filling-in leave list is received can be detected.
S206, generating tasks of executors corresponding to the (i + 1) th work item according to the process data and the process template input on the work item form corresponding to the ith work item;
if a command for executing the ith work item is detected to be received, generating a task of an executive corresponding to the (i + 1) th work item according to the process data and the process template input on the work item form corresponding to the ith work item;
specifically, after a person who executes the first work item fills in a work item form corresponding to the first work item and clicks a button for executing the first work item, a task of an executor corresponding to the second work item can be generated according to flow data filled in the first work item form and the trend of a flow chart in a flow template, at this time, the second work item is displayed in a task to be processed of the person who executes the second work item, that is, at this time, the person who needs to execute the second work item completes the operation of executing the second work item.
Taking the leave request flow of zhang san as an example, after zhang san fills in the form of the leave request sheet, the task of the executive corresponding to the second work item can be generated according to the content filled by zhang san and the flow template, and assuming that the second work item is approved by the department manager and the department manager of zhang san is lie si, the task of lie si can be generated according to the content filled by zhang san and the flow template, and the lie si can search the task in the task to be processed.
S207, detecting whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the (i + 1) th work item is received, wherein n is n + 1;
specifically, like zhang san, lie xi also searches the department manager in its own task list to approve the work item, and clicks its corresponding execution button, so that it is possible to detect the nth execution command input by the task list interface corresponding to the task of the executor corresponding to the i +1 th work item, and when i is equal to 1 and n is equal to 1, it is possible to receive the second execution command input by the task list interface corresponding to the task of the executor corresponding to the second work item.
S208, generating a work item form corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item;
specifically, if the nth execution command is detected to be received, the work item form corresponding to the (i + 1) th work item is generated according to the process data input on the work item form corresponding to the ith work item.
It should be noted that, in this embodiment, the work item form corresponding to the (i + 1) th work item is generated according to the process data input on the work item form corresponding to the ith work item, that is, the work item form corresponding to the (i + 1) th work item includes the process data input on the work item form corresponding to the ith work item.
Or taking the leave asking process of zhang san as an example, the work item form corresponding to the work item approved by the department manager in the task list of zhang san, which corresponds to the department manager, will include the content filled in the work item form corresponding to the work item of zhang san filling leave asking form, that is, the content including the applicant, the leave asking reason, the leave asking time, and the like.
S209, acquiring process data input on a work item form corresponding to the (i + 1) th work item;
the detailed explanation is similar to step S204, please refer to the corresponding explanation of step S204.
S210, detecting whether a command for executing the (i + 1) th work item is received;
the detailed explanation is similar to step S205, please refer to the corresponding explanation of step S205.
S211, letting i equal to i + 1;
specifically, if it is detected that a command for executing the i +1 th work item is received, let i be i + 1.
After i is set to i +1, the process returns to step S206 until the operation of the whole process example is finished.
And the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
For example, when a work item form of a work item with a work item name of a leave form is filled in three, the filling time is used as a part of the process operation data, and when a department manager examines and approves the work item form of the work item, the filling time is also used as a part of the process operation data.
It should be noted that, in the process of executing the flow example, parameters related to the precompiled file can be obtained, and then the precompiled file can be executed to obtain the compiled file. The process from pre-compiling the file to compiling the file is that the monitoring engine provides a running environment. And constructing an Abstract Syntax Tree (AST) syntax tree according to the precompiled file and the flow operation data and analyzing the AST syntax tree to obtain the compiled file.
The workflow execution service generates a flow instance, runs the flow instance and manages the running process of the flow instance. In the process of executing the process instance, the workflow execution service navigates the operation of the process instance according to the process definition and the workflow-related data.
The operation engine mainly comprises three modules, namely a process management module, an activity management module and a work item management module.
The process management module is responsible for managing the life cycle of the process example, providing relevant information of the process example, and routing between the activity examples of the process example, and after the current activity is executed, the process management module calculates the next activity or activities and delivers the next activity or activities to the activity management module for execution. The work item management module is responsible for managing the manual tasks, including the creation, allocation, starting, termination, submission and the like of the tasks, and since the allocation of the manual tasks often changes along with the change of the on-site state of the personnel, the change of the organization structure and the change of the allocation rule, when the tasks are allocated, the work item management module calls the rule to allocate corresponding task executors.
In this embodiment, each work item is sequentially executed according to the flow template, and when a work item form corresponding to a next work item is generated, the flow data filled in the work item form corresponding to a previous work item needs to be used, that is, the flow data filled in the work item form corresponding to the previous work item is used as a basis for generating the work item form corresponding to the next work item.
Optionally, in another embodiment of the present invention, referring to fig. 3, executing a flow instance according to a flow template includes:
s301, generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
s303, detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
s303, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
and if detecting that the nth execution command is received, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item.
S304, acquiring process data input on a work item form corresponding to the ith work item;
s305, detecting whether a command for executing the ith work item is received;
s306, generating tasks of the executive staff corresponding to the (i + 1) th work item according to the flow template;
specifically, if a command for executing the ith work item is detected to be received, generating a task of an executive corresponding to the (i + 1) th work item according to the flow template;
it should be noted that, unlike the foregoing embodiment, in the embodiment, the task of the executive corresponding to the i +1 th work item is generated only by referring to the flow template, and the flow data input on the work item form corresponding to the i-th work item does not need to be referred to. After the previous work item is executed, after a command for executing the previous work item is detected to be received, the task of the executive staff corresponding to the (i + 1) th work item is generated directly according to the flow template, namely, the task of the executive staff corresponding to the next work item can be triggered and generated by detecting that the command for executing the previous work item is received, wherein the trigger function is only triggered by detecting that the command for executing the previous work item is received.
S307, detecting whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the (i + 1) th work item is received, wherein n is n + 1;
s308, generating a work item form corresponding to the (i + 1) th work item;
specifically, if the nth execution command is detected to be received, a work item form corresponding to the (i + 1) th work item is generated.
It should be noted that, unlike the above embodiment, the generation of the work item form corresponding to the i +1 th work item does not require the use of the flow data input on the work item form corresponding to the i-th work item.
S309, acquiring process data input on a work item form corresponding to the (i + 1) th work item;
s310, detecting whether a command for executing the (i + 1) th work item is received;
s311, letting i equal to i + 1;
specifically, if a command for executing the (i + 1) th work item is detected to be received, let i be i + 1;
after i is set to i +1, the process returns to step S306 until the execution of the whole process example is finished;
and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
In this embodiment, each work item is executed in sequence according to the flow template, and when a work item form corresponding to a next work item is generated, the flow data filled in the work item form corresponding to a previous work item does not need to be used, that is, the flow data filled in the work item form corresponding to the previous work item is not used as a basis for generating the work item form corresponding to the next work item.
Optionally, another embodiment of the present invention provides a flow pre-warning apparatus, and with reference to fig. 4, the apparatus includes:
the first detection module 101 is configured to detect whether an instruction for clicking one of the processes input in the process list interface is received;
a first obtaining module 102, configured to obtain a flow identifier and a flow template of a clicked flow if the first detecting module 101 detects that the instruction is received;
the first generating module 103 is configured to generate a start-up form interface according to the hyperlink corresponding to the process identifier;
a process instantiation module 104, configured to execute a process instantiation process according to the process identifier, the process instance name and the start command input in the start form interface;
an execution flow instance module 105, configured to execute a flow instance according to the flow template;
the flow monitoring module 106 is configured to, during execution of a flow instance, determine whether the flow operation data meets a pre-warning rule during execution of the flow instance according to the acquired flow operation data and the pre-warning rule corresponding to the flow template; when the running data of the flow is judged to meet the pre-warning rule, outputting a pre-warning result; wherein the process template and the process run data are stored in a local database.
In this embodiment, whether an instruction for clicking one of the flows input in the flow list interface is received is detected, if it is detected that the instruction is received, a flow identifier and a flow template of the clicked flow are obtained, a start form interface is generated according to a hyperlink corresponding to the flow identifier, a flow instantiation process is executed according to the flow identifier, a flow instance name and a start command input in the start form interface, and a flow instance is executed according to the flow template. The operation is a function of the process operation component, and in the process of executing the process example, whether the process operation data meets the pre-warning rule or not in the process of executing the process example is judged according to the acquired process operation data and the pre-warning rule corresponding to the process template; and when the process operation data is judged to meet the pre-warning rule, outputting a pre-warning result, which is the function of the process monitoring component.
It should be noted that, in this embodiment, please refer to the contents in the embodiment corresponding to fig. 1 for the working process of each module, which is not described herein again.
Optionally, in another embodiment of the present invention, referring to fig. 5, the process instantiation module 104 includes:
a calling module 1041, configured to call a process instance interface corresponding to the process identifier;
a receiving module 1042, configured to receive, by the process instance interface, a process instance name and a start command;
a checking module 1043, configured to check a process instance name and a start command received by the process instance interface;
if the verification module 1043 passes the verification, the process instance execution module 105 executes the process instance according to the process template.
In this embodiment, the process instance name and the start command received by the process instance interface are checked. And when the verification is passed, executing the process instance according to the process template.
It should be noted that, in this embodiment, please refer to the corresponding contents of the above embodiments for the working process of each module, which is not described herein again.
Optionally, in another embodiment of the present invention, the execution flow instance module 105 includes:
a second generating module 1051, configured to generate a task corresponding to the ith work item according to the process template; wherein i is 1;
the second detecting module 1052 is configured to detect whether an nth execution command input on a task list interface corresponding to a task corresponding to the ith work item is received; wherein n is 1;
a third generating module 1053, configured to generate a work item form corresponding to the ith work item according to the task corresponding to the ith work item if the second detecting module 1052 detects that the nth execution command is received;
a second obtaining module 1054, configured to obtain process data input on a work item form corresponding to the ith work item;
a third detecting module 1055, configured to detect whether a command for executing the ith work item is received;
a fourth generating module 1056, configured to generate a task of an executive corresponding to the (i + 1) th work item according to the process data and the process template input in the work item form corresponding to the ith work item if the third detecting module 1055 detects that a command for executing the ith work item is received;
a fourth detecting module 1057, configured to detect whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to an i +1 th work item is received, where n is n + 1;
a fifth generating module 1058, configured to generate a work item form corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item if the fourth detecting module 1057 detects that the nth execution command is received;
a third obtaining module 1059, configured to obtain process data input on the work item form corresponding to the (i + 1) th work item;
a fifth detecting module 10510, configured to detect whether a command to execute the (i + 1) th work item is received;
a first control module 10511, configured to make i equal to i +1 if the fifth detecting module 10510 detects that a command for executing the (i + 1) th work item is received;
the fourth generating module 1056 is further configured to, after the first control module 10511 lets i be i +1, generate the task of the executor corresponding to the i +1 th work item according to the process data and the process template input in the work item form corresponding to the i-th work item until the execution of the entire process instance is finished; and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
In this embodiment, each work item is sequentially executed according to the flow template, and when a work item form corresponding to a next work item is generated, the flow data filled in the work item form corresponding to a previous work item needs to be used, that is, the flow data filled in the work item form corresponding to the previous work item is used as a basis for generating the work item form corresponding to the next work item.
It should be noted that, in this embodiment, please refer to the corresponding contents of the above embodiments for the working process of each module, which is not described herein again.
Optionally, in another embodiment of the present invention, referring to fig. 7, the execution flow instance module 105 includes:
a sixth generating module 1061, configured to generate a task corresponding to the ith work item according to the flow template; wherein i is 1;
a sixth detecting module 1062, configured to detect whether an nth execution command input on a task list interface corresponding to a task corresponding to the ith work item is received; wherein n is 1;
a seventh generating module 1063, configured to, if the sixth detecting module 1062 detects that the nth execution command is received, generate a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
a fourth obtaining module 1064, configured to obtain process data input on the work item form corresponding to the ith work item;
a seventh detecting module 1065, configured to detect whether a command to execute the ith work item is received;
an eighth generating module 1066, configured to, if the seventh detecting module 1065 detects that the command for executing the ith work item is received, generate a task of the executive corresponding to the (i + 1) th work item according to the flow template;
an eighth detecting module 1067, configured to detect whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the i +1 th work item is received, where n is equal to n + 1;
a ninth generating module 1068, configured to generate a work item form corresponding to the (i + 1) th work item if the eighth detecting module 1067 detects that the nth execution command is received;
a fifth obtaining module 1069, configured to obtain process data input on the work item form corresponding to the (i + 1) th work item;
a ninth detecting module 10610, configured to detect whether a command to execute the (i + 1) th work item is received;
a second control module 10611, configured to, if the ninth detecting module 10610 detects that a command for executing the (i + 1) th work item is received, leave i equal to i + 1;
the eighth generating module 1066 is further configured to, after the second control module 10611 lets i be i +1, generate the task of the executive corresponding to the i +1 th work item according to the process template until the execution of the whole process instance is finished; and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
In this embodiment, each work item is executed in sequence according to the flow template, and when a work item form corresponding to a next work item is generated, the flow data filled in the work item form corresponding to a previous work item does not need to be used, that is, the flow data filled in the work item form corresponding to the previous work item is not used as a basis for generating the work item form corresponding to the next work item.
It should be noted that, in this embodiment, please refer to the corresponding contents of the above embodiments for the working process of each module, which is not described herein again.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A flow early warning method is characterized by comprising the following steps:
detecting whether an instruction for clicking one of the processes input in the process list interface is received;
if the command is detected to be received, acquiring a process identifier and a process template of the clicked process;
generating a starting form interface according to the hyperlink corresponding to the process identification;
executing a process instantiation process according to the process identification, the process instance name and the starting command which are input in the starting form interface;
executing a flow instance according to the flow template; in the process of executing the process instance by the process operation component, the process monitoring component judges whether the process operation data meets the pre-warning rule or not in the process of executing the process instance according to the process operation data acquired from the same local database used in the process of executing the process operation component and the process monitoring component and the pre-warning rule corresponding to the pre-stored process template; when the flow operation data is judged to meet the pre-warning rule, outputting a pre-warning result; wherein the process template and the process run data are stored to a local database.
2. The process warning method of claim 1, wherein the executing process instantiation process according to the process identifier and the process instance name and the start command input in the start form interface comprises:
calling a process instance interface corresponding to the process identifier;
receiving, by the process instance interface, the process instance name and the start command;
checking the process instance name and the starting command received by the process instance interface;
and if the verification is passed, executing the process instance according to the process template.
3. The process warning method of claim 1, wherein the executing the process instance according to the process template comprises:
generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
acquiring process data input on a work item form corresponding to the ith work item;
detecting whether a command for executing the ith work item is received;
if the command for executing the ith work item is detected to be received, generating a task of an executive staff corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item and the process template;
detecting whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the (i + 1) th work item is received, wherein n is n + 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item;
acquiring process data input on a work item form corresponding to the (i + 1) th work item;
detecting whether a command for executing the (i + 1) th work item is received;
if the command for executing the (i + 1) th work item is detected to be received, letting i equal to i +1, returning to the process data and the process template input on the work item form corresponding to the ith work item, and generating the task of the executive staff corresponding to the (i + 1) th work item until the execution of the whole process example is finished; the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
4. The process warning method of claim 1, wherein the executing the process instance according to the process template comprises:
generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the ith work item according to the task corresponding to the ith work item;
acquiring process data input on a work item form corresponding to the ith work item;
detecting whether a command for executing the ith work item is received;
if the command for executing the ith work item is detected to be received, generating a task of an executive staff corresponding to the (i + 1) th work item according to the flow template;
detecting whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the (i + 1) th work item is received, wherein n is n + 1;
if the nth execution command is detected to be received, generating a work item form corresponding to the (i + 1) th work item;
acquiring process data input on a work item form corresponding to the (i + 1) th work item;
detecting whether a command for executing the (i + 1) th work item is received;
if the command for executing the (i + 1) th work item is detected to be received, letting i equal to i +1, returning to the step of generating the task of the executive staff corresponding to the (i + 1) th work item according to the process template until the execution of the whole process instance is finished; the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
5. The process warning method according to claim 1, wherein the step of determining, according to the acquired process operation data and the warning rule corresponding to the process template, whether the process operation data satisfies the warning rule during the process of executing the process instance includes:
acquiring content corresponding to a preset index according to the acquired flow operation data;
and judging whether the content corresponding to the preset index meets the pre-alarm rule.
6. The process warning method according to claim 1, wherein the outputting a warning result comprises:
displaying the warning result on a display interface in a graphical diagram or report form mode;
and sending the pre-warning result to a terminal corresponding to a worker in a mode of sending information or sending an email.
7. A flow advance warning device, comprising:
the first detection module is used for detecting whether an instruction for clicking one of the processes input in the process list interface is received;
the first acquisition module is used for acquiring a process identifier and a process template of the clicked process if the first detection module detects that the instruction is received;
the first generation module is used for generating a starting form interface according to the hyperlink corresponding to the process identification;
the process instantiation module is used for executing the process instantiation process according to the process identification, the process instance name and the starting command which are input in the starting form interface;
the execution flow instance module is used for executing the flow instance according to the flow template;
the flow monitoring module is used for judging whether the flow operation data meets the pre-warning rule or not in the process of executing the flow example according to the flow operation data acquired from the same local database used in the process of executing the flow operation component and the flow monitoring component and the pre-stored pre-warning rule corresponding to the flow template; when the flow operation data is judged to meet the pre-warning rule, outputting a pre-warning result; wherein the process template and the process run data are stored to a local database.
8. The process forewarning apparatus of claim 7, wherein the process instantiation module comprises:
the calling module is used for calling a process instance interface corresponding to the process identifier;
a receiving module, configured to receive, by the process instance interface, the process instance name and the start command;
the verification module is used for verifying the process instance name and the starting command received by the process instance interface;
and if the verification module passes the verification, the flow execution instance module executes the flow instance according to the flow template.
9. The process advance warning device of claim 7, wherein the execute process instance module comprises:
the second generation module is used for generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
the second detection module is used for detecting whether an nth execution command input on a task list interface corresponding to the task corresponding to the ith work item is received; wherein n is 1;
a third generating module, configured to generate a work item form corresponding to the ith work item according to the task corresponding to the ith work item if the second detecting module detects that the nth execution command is received;
the second acquisition module is used for acquiring the process data input on the work item form corresponding to the ith work item;
the third detection module is used for detecting whether a command for executing the ith work item is received or not;
a fourth generating module, configured to generate a task of an executive corresponding to the (i + 1) th work item according to the process data and the process template input in the work item form corresponding to the ith work item if the third detecting module detects that the command for executing the ith work item is received;
a fourth detecting module, configured to detect whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the i +1 th work item is received, where n is n + 1;
a fifth generating module, configured to generate a work item form corresponding to the (i + 1) th work item according to the process data input on the work item form corresponding to the ith work item if the fourth detecting module detects that the nth execution command is received;
a third obtaining module, configured to obtain process data input on the work item form corresponding to the (i + 1) th work item;
a fifth detecting module, configured to detect whether a command for executing the (i + 1) th work item is received;
a first control module, configured to, if the fifth detection module detects that the command for executing the (i + 1) th work item is received, leave i ═ i + 1;
the fourth generating module is further configured to, after the first control module makes i equal to i +1, generate a task of an executor corresponding to the i +1 th work item according to the process data and the process template input in the work item form corresponding to the i-th work item until the execution of the entire process instance is finished; and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
10. The process advance warning device of claim 7, wherein the execute process instance module comprises:
the sixth generating module is used for generating a task corresponding to the ith work item according to the flow template; wherein i is 1;
a sixth detection module, configured to detect whether an nth execution command input on a task list interface corresponding to a task corresponding to the ith work item is received; wherein n is 1;
a seventh generating module, configured to generate a work item form corresponding to the ith work item according to the task corresponding to the ith work item if the sixth detecting module detects that the nth execution command is received;
a fourth obtaining module, configured to obtain process data input on the work item form corresponding to the ith work item;
a seventh detecting module, configured to detect whether a command to execute the ith work item is received;
an eighth generating module, configured to generate, according to the flow template, a task of an executive corresponding to the (i + 1) th work item if the seventh detecting module detects that the command for executing the ith work item is received;
an eighth detecting module, configured to detect whether an nth execution command input on a task list interface corresponding to a task of an executor corresponding to the i +1 th work item is received, where n is n + 1;
a ninth generating module, configured to generate a work item form corresponding to the (i + 1) th work item if the eighth detecting module detects that the nth execution command is received;
a fifth obtaining module, configured to obtain process data input on the work item form corresponding to the (i + 1) th work item;
a ninth detecting module, configured to detect whether a command for executing the (i + 1) th work item is received;
a second control module, configured to, if the ninth detection module detects that the command for executing the (i + 1) th work item is received, leave i ═ i + 1;
the eighth generating module is further configured to, after the second control module makes i equal to i +1, generate a task of an executive corresponding to the i + 1-th work item according to the process template until the execution of the whole process instance is finished; and the process data input on the work item form corresponding to each work item and the data generated in the process of executing the process instance are process operation data.
CN201611153772.4A 2016-12-14 2016-12-14 Flow early warning method and device Active CN106779404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611153772.4A CN106779404B (en) 2016-12-14 2016-12-14 Flow early warning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611153772.4A CN106779404B (en) 2016-12-14 2016-12-14 Flow early warning method and device

Publications (2)

Publication Number Publication Date
CN106779404A CN106779404A (en) 2017-05-31
CN106779404B true CN106779404B (en) 2021-02-05

Family

ID=58888231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611153772.4A Active CN106779404B (en) 2016-12-14 2016-12-14 Flow early warning method and device

Country Status (1)

Country Link
CN (1) CN106779404B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191078A (en) * 2018-09-06 2019-01-11 山东中创软件商用中间件股份有限公司 A kind of traffic flow modeling method, device and equipment
CN109559099A (en) * 2018-11-30 2019-04-02 广州净松软件科技有限公司 Early warning rule configuration method, device and the computer equipment of observation system
CN112559569B (en) * 2020-12-11 2023-07-21 广东电力通信科技有限公司 Alarm rule processing method for composite condition

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778511A (en) * 2014-01-27 2014-05-07 北京荣之联科技股份有限公司 Cross-system procedure monitoring method and device
CN104091222B (en) * 2014-05-08 2017-07-04 武大吉奥信息技术有限公司 A kind of workflow engine for supporting multi-mode to drive
CN104504172A (en) * 2014-11-27 2015-04-08 国家电网公司 Main-standby scheduling model data synchronization method for electricity SCADA (supervisory control and data acquisition) system

Also Published As

Publication number Publication date
CN106779404A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN112394922B (en) Decision configuration method, business decision method and decision engine system
US10872029B1 (en) System, apparatus and method for deploying infrastructure to the cloud
US10785128B1 (en) System, apparatus and method for deploying infrastructure to the cloud
CN111835582B (en) Configuration method and device of Internet of things inspection equipment and computer equipment
US20100138268A1 (en) Progress management platform
CN106779404B (en) Flow early warning method and device
CN111930357B (en) Construction method of visual modeling job flow scheduling engine
CN111179461A (en) BIM (building information modeling) -based routing inspection record generation method and equipment and storage medium
EP3964963A1 (en) Method and apparatus for performing a stress test on a business system
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
Bocciarelli et al. BPMN-based business process modeling and simulation
CN112783614A (en) Object processing method, device, equipment, storage medium and program product
CN114861948A (en) Intelligent self-checking method and system for equipment and storage medium
CN113946833A (en) Asset management method based on SOAR automatic arrangement and response
Bravoco et al. A methodology to model the dynamic structure of an organization
Corradini et al. BProVe: tool support for business process verification
CN116128696A (en) Emergency flow detection method, system, electronic equipment and storage medium
CN109146306A (en) A kind of enterprise management system
CN104660697B (en) Based on Kepler scientific workflow Sensor Network service combining methods
CN113986495A (en) Task execution method, device, equipment and storage medium
CN114625640A (en) Software test project management method and device, storage medium and electronic equipment
CN112183982A (en) Workflow creating method and device, computer equipment and storage medium
CN112306862A (en) Front-end automatic test system and method, storage medium and computing equipment
Brüseke et al. Decision support via automated metric comparison for the palladio-based performance blame analysis
Buravova et al. Modeling the project management process in the teddy designer of the BPsim. DSS simulation system

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