CN105404949B - System and method for self-defining flow - Google Patents

System and method for self-defining flow Download PDF

Info

Publication number
CN105404949B
CN105404949B CN201410464304.3A CN201410464304A CN105404949B CN 105404949 B CN105404949 B CN 105404949B CN 201410464304 A CN201410464304 A CN 201410464304A CN 105404949 B CN105404949 B CN 105404949B
Authority
CN
China
Prior art keywords
task
node
flow
role
management
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
CN201410464304.3A
Other languages
Chinese (zh)
Other versions
CN105404949A (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.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzh Csr Times Electric 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 Zhuzh Csr Times Electric Co ltd filed Critical Zhuzh Csr Times Electric Co ltd
Priority to CN201410464304.3A priority Critical patent/CN105404949B/en
Publication of CN105404949A publication Critical patent/CN105404949A/en
Application granted granted Critical
Publication of CN105404949B publication Critical patent/CN105404949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a system and a method for self-defining a flow, which introduce a JBPM working environment into a system running environment, describe task operation to be carried out when a flow triggers an event, and carry out model design of the system flow according to the task type of the system. And corresponding each monitoring program to a corresponding event according to the task, and issuing the designed process to the system through the process engine. And configuring the attribute and the path variable of each node in the published flow according to the task requirement, and selecting a corresponding task tool on an operation interface of the current task when the task flows to a certain node. And selecting and configuring roles of each node in the process, selecting a task type, granting a defined role authority to the task, and finishing the correspondence between the task type and the defined role. The invention can realize cooperative work, consistent pace and controllable process in the production management process of each department of the railway enterprise, and has simple, clear and flexible operation process and high working efficiency.

Description

System and method for self-defining flow
Technical Field
The invention relates to the field of railway informatization, in particular to a custom flow system and a custom flow method for railway industry informatization management.
Background
At present, under the large background of the rapid development of the informatization of the railway industry, more and more management systems (or systems combining production and management) are put into use. First, because different enterprises and different managers have different management ideas and manners, and the management means of the same manager may change at different time stages, such system variability and diversification are caused, and unified industry rules and standards cannot be formulated. This adds development and maintenance costs to the system manufacturer invisibly, and the user cannot really experience the convenience the system brings to production and management. Secondly, through an information management system, how to enable all departments to work cooperatively and in a consistent pace, enable an execution process such as a production line to operate, monitor the whole production process, trace the whole equipment quality, and change management from human control to machine control, which is always the most troublesome thing for a manager.
With the continuous development of scientific technology, more and more management systems appear in the public for enterprises to choose. However, until now, there is no management system using a customizable process engine technology in the railway industry, and there is an existing custom process system and method outside the industry, and although a JBPM (Java Business process management, short for Business process management) process engine technology is also used, the customization of the Business process management task is realized, for example, the method is applied by wuhan wu-wary ship information integration limited company in 2013, 25.12.2014, 06.2014, the method is applied by the chinese invention patent with publication number CN103679384A, the method is applied by the university of south china in 2013, 06.3, 10.07.10.3532, and the method and system are applied by the chinese invention patent application with publication number CN 103197927A.
However, introducing the existing system and method outside the industry into the railway industry has some problems, and the system and method are not designed for the management characteristics of the LKJ (a comprehensive data information table for railway management) of the railway enterprise, and do not meet the production management requirements of the railway enterprise and the use requirements of users of staff at the first line of railway. The prior art mainly has the following defects:
(1) although the existing custom flow system and the method thereof can carry out customized configuration on tasks, the task function is not separated from the task function, the task function does not realize the tool, the operation of each node task needs to be carried out after the specific task operation is finished in a system function module, and then the completion condition of the node is operated, so that the operation of the system is too complicated and unclear, the system is inconvenient for users to use, and the working efficiency of the users and the development benefit of developers can not be better improved;
(2) in the existing flow self-defining system and method, the configuration of each node personnel role is configured when the task type is self-defined and created, the role information is solidified in the node, and when the user organization structure is changed or the management mode is changed, the user needs to newly build or modify the original task flow type again, so that the task node can not realize the self-defined authorization, the human resource is increased, and the self-definition of the task flow is not flexible;
(3) in the conventional self-defined flow system and method, after a user finishes definition of all task types for achieving the purpose of production management, users with different roles only can initiate certain tasks which accord with the working properties of the users, but not all types of tasks can be initiated, the self-defined roles are not associated with the task types selectively, authority control cannot be performed on the task types, the system is unreasonable in design, the system is not designed aiming at LKJ management characteristics of a railway enterprise, and the system does not accord with the working requirements of the railway enterprise.
In view of this, it is necessary to improve the existing system and method thereof, so as to increase the user experience, make the system operation simpler, clearer and more flexible, so as to facilitate the user's use and improve the working efficiency.
Disclosure of Invention
In view of this, the present invention aims to provide a flow-defining system and a flow-defining method thereof, which can realize cooperative work, consistent pace and controllable process in the production management process of each department of a railway enterprise, and not only has a simple, clear and flexible operation process, but also has high working efficiency.
In order to achieve the above object, the present invention specifically provides a technical implementation scheme of a method for customizing a flow, and a system for customizing a flow includes: the system comprises a process design unit, a process engine, a node configuration unit, a role management unit and a task logic and process control unit, wherein the process design unit is used for designing a process, and the process is issued through the process engine after the process design is finished; the issued process associates the process with the role through the role management unit, configures the attribute information of each node through the node configuration unit, and establishes association with the task tool; and the corresponding relation between the tasks and the processes is processed by the task logic and process control unit, so that the synchronous execution of the processes and the tasks is ensured.
Preferably, the system further comprises:
a process engine environment: introducing a JBPM working environment to a running environment of the system;
an event monitoring unit: the interface is used for storing an event monitoring program, and the event monitoring program is used for describing task operation to be performed when a process triggers an event;
a flow issuing unit: the flow engine is used for issuing the designed flow to the system;
the process design unit carries out model design of the process of the system according to the task type of the system, describes the process of the system in a graphical mode, and corresponds each event monitoring program to a corresponding event according to the task;
preferably, the node configuration unit further includes:
a node information configuration unit: the system comprises a database, a task management module, a task execution module and a task execution module, wherein the task management module is used for configuring the attribute and the path variable of each node in a published process according to the requirement of the task, writing configuration information into the database, controlling the process according to the configuration information and operating related tasks;
a node tool configuration unit: when the task flows to a certain node, selecting a corresponding task tool on an operation interface of the current task to complete a specific implementation process of the task of the node;
preferably, the role management unit further includes:
a node role configuration unit: the system comprises a database, a role selection module, a role configuration module and a role configuration module, wherein the role configuration module is used for selecting and configuring roles of all nodes in a process, writing corresponding information into the database and associating the nodes in the process with the roles;
a process role configuration unit: the method is used for selecting the type of the task, granting the defined role authority to the task, completing the corresponding relation between the type of the task and the defined role, and writing the corresponding information into a database.
Preferably, the event listener inherits the process engine listening class, and is designed separately according to the logic of the task and the control of the process. After the control of the process is designed into a plurality of node units, the logic of the task is defined as three logic units of task creation, task execution and task ending.
Preferably, the process design unit describes the process of the system in a graphical manner by adopting a JPDL language, corresponds each event listener to a corresponding event according to a task, and transfers variable parameters in the process of corresponding the event listener to the corresponding event to be consistent with variables defined in the event listener.
Preferably, when task allocation is performed, only the person with the corresponding role can perform task allocation and operation of the node.
The invention also provides a technical implementation scheme of the flow self-defining method, and the flow self-defining method comprises the following steps:
firstly, designing a flow;
issuing the flow through a flow engine after the flow design is finished;
the issued process associates the process with the role through role management, configures attribute information of each node and establishes association with a task tool;
and the corresponding relation between the tasks and the processes is controlled and processed by utilizing the task logic and the processes, so that the synchronous execution of the processes and the tasks is ensured.
Preferably, the method further comprises the steps of:
s100: introducing a JBPM working environment into a running environment of the system;
s101: describing task operation to be performed when a flow triggers an event;
s102: performing model design on the system flow according to the task type of the system, describing the system flow in a graphical mode, and corresponding each event monitoring program to a corresponding event according to the task;
s103: issuing the designed process to the system through a process engine;
s104: configuring the attribute and the path variable of each node in the issued flow according to the requirement of the task, writing configuration information into a database, controlling the flow according to the configuration information, and operating the related task;
s105: when the task flows to a certain node, selecting a corresponding task tool on an operation interface of the current task to complete a specific implementation process of the task of the node;
s106: selecting and configuring roles of each node in the process, writing corresponding information into a database, and associating the nodes in the process with the roles;
s107: selecting the type of a task, granting a defined role authority to the task, completing the corresponding relation between the type of the task and the defined role, and writing the corresponding information into a database;
s108: and using the process, selecting the type of the available task according to the authority of the user when initiating the task, controlling the process by the process engine, and completing the task of each node by the user through the task tool.
Preferably, the process of the system in step S102 further includes a data reloading preparation workflow, a data reloading version card control workflow, a file quality analysis workflow, an equipment management workflow, a major, minor and minor repair workflow, and a wheel diameter modification workflow. The system comprises a flow process and a flow chart, wherein the flow process further comprises a data reloading preparation node, a data reloading preparation work flow chart, a data reloading version card control node, a data reloading version card control work flow chart, a file quality analysis node, a file quality analysis work flow chart, an equipment management node, an equipment management flow chart, a major and minor repair assistant node, a major and minor repair assistant work flow chart, a wheel diameter modification node and a wheel diameter modification work flow chart.
Preferably, in step S103, the designed process is released in the LKJ vehicle-mounted device production and management platform, and the system after releasing is provided with processes including a data reloading preparation process, a data reloading version card control process, a file quality analysis process, a device management process, a major, minor and minor repair processes, and a wheel diameter modification process.
Preferably, in the step S104, the attribute and the path variable of each node in the released process are configured, the attribute and the path variable configuration information of each node in the data reloading preparation workflow, the data reloading version card control workflow, the quality analysis workflow, the equipment management workflow, the major, minor and minor repair workflow, and the round diameter modification workflow are stored in the database, and the user performs the process control and the task operation according to the configuration information of the node.
Preferably, in the step S105, specific tasks including data reloading preparation, data reloading version card control, file quality analysis, device management, major, minor repair, and wheel diameter modification are performed, and nodes of the tasks are dynamically selected and associated with task tools to implement the implementation of each task function; and when the functional operation of the task is changed, adjusting the configuration association of the nodes of the process and the task tool according to the type of the task.
Preferably, in step S106, the user performs role configuration on the node according to the published task type, selects the type of the node to be associated with the role, only the person with the set role has the authority to operate a certain node task, and when the task initiates the person task allocation on the node, the system automatically filters the person information without the authority to operate the node.
Preferably, in step S107, the user configures the flow and the role for the published task type, selects the type of the task to be associated with the role, only the person with the set role has the authority to initiate a certain task, and determines the flow that can be used by the user according to the role information of the user when the task is initiated.
By implementing the system and the method for customizing the flow, provided by the invention, the following technical effects are achieved:
(1) the invention is designed according to the operation capability and the management status of the on-site one-line operation personnel, the system interface is simple and clear to operate, the working efficiency of a user can be effectively improved, the page switching back and forth is reduced, and the complicated operation process is repeated; based on the system, the task management process is streamlined and the task function operation is implemented in a toolization mode, each node in the task process is associated with the task tool configuration, the task completion condition of the node is operated only by selecting the task tool on the node, and the actual operation condition of the site is completely matched;
(2) the invention carries out configuration association on the user-defined role and the task node type, when the organization relationship of personnel changes, even if the issued task type does not need to readjust the task workflow, the purpose can be achieved by carrying out role adjustment on the node type by an administrator, the role of the role in the task is strengthened, the organization relationship limit of the personnel is lightened, and the user-defined task flow becomes more flexible;
(3) the invention carries out configuration association on user-defined roles and task types, because the organizational structures of personnel are different, the represented responsibilities are different, in order to adapt to the actual production management process on site, the system can well solve the relationship between the roles of the personnel and the tasks, the users with different roles can only initiate certain tasks according with the working properties, even if the organization relationship of the personnel is changed, the role adjustment can be carried out on the task types, the system is completely designed aiming at the LKJ management characteristics of the railway enterprises, the production management requirements of the railway enterprises are met, and the flexibility and the maintainability of the system are enhanced.
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 some embodiments of the invention, and that for a person skilled in the art, other embodiments can be obtained from these drawings without inventive effort.
FIG. 1 is a process flow diagram of one embodiment of a method of customizing a flow of the present invention;
FIG. 2 is a block diagram of a system architecture for one embodiment of a system for customizing a flow of the present invention;
FIG. 3 is a flowchart of a system flow design in step S102 according to one embodiment of the method for customizing a flow of the present invention;
FIG. 4 is a diagram illustrating a node tool configuration process in step S105 according to an embodiment of the method for customizing a flow of the present invention;
FIG. 5 is a diagram illustrating a configuration process of node roles in step S106 according to an embodiment of the method for customizing a flow of the present invention;
fig. 6 is a schematic diagram of a process role configuration process in step S107 according to a specific embodiment of the method for customizing a process.
Detailed Description
For reference and clarity, the terms, abbreviations or abbreviations used hereinafter are as follows:
JBPM: java Business Process Management, a short for Business Process Management, is an open source technology that can be used to customize processes;
JPDL: JBoss jbpprocesses Definition Language, a process description Language, is a typical Jar file, which covers the operation API to the process Definition and runtime process instance context, and stores the information in the XML (extensible markup Language) file in the way of drawing the graph for JBPM to call in the memory during runtime;
and (3) quality analysis: performing data analysis on the LKJ operation record file, completing equipment analysis according to an equipment fault technical analysis standard, and extracting a process that the quality of the equipment is faulty;
preparing data: due to the construction of the railway line, vehicle-mounted data needs to be edited again (or the train operation mode needs to be changed, and a program needs to be changed), and after the data is compiled, the data needs to be subjected to process management such as checking, auditing, simulation inspection, operation test and the like;
and (3) data reloading version card control: after the data preparation is finished, the data file of the locomotive-mounted equipment needs to be replaced, and in the replacement process, in order to avoid the mistaken replacement, the missed replacement and the replacement in advance, a means needs to be adopted to control the replacement process;
major, medium and small repair: the locomotive equipment needs to be subjected to corresponding major repair, intermediate repair, minor repair, auxiliary repair and the like according to fixed time (or other modes that the equipment is found to have faults);
LKJ: for short, LKJ is a comprehensive data information table for railway management, and is a comprehensive data information table for facilitating a railway manager to schedule vehicles in a local station area and maintain normal travel order of trains; wherein mainly include: the data requirements are very accurate, otherwise, accidents are easily caused;
LKJ vehicle-mounted equipment production and management platform: the system is a management system combining production and management, and integrates a plurality of subsystems to finish sharing and association of data through a user-defined process engine to form a whole.
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. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all 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.
Referring to fig. 1 to 6, specific embodiments of the system and method for customizing a flow according to the present invention are shown, and the present invention will be further described with reference to the drawings and the specific embodiments.
As shown in fig. 2, a specific embodiment of a system for customizing a flow includes:
the system comprises a process design (JPDL) unit, a process engine, a node configuration unit, a role management unit and a task logic and process control unit, wherein the process design unit is used for designing the process, and the process is issued through the process engine after the process design is finished. The issued process associates the process with the role through the role management unit, configures the attribute information of each node through the node configuration unit, and establishes association with the task tool. The corresponding relation between the tasks and the processes is processed through the task logic and process control unit, so that the synchronous execution of the processes and the tasks is ensured.
As a typical embodiment of the present invention, the system for customizing the flow further includes:
a process engine environment: the operation environment is used for introducing the JBPM working environment into the system;
an event monitoring unit: the interface is used for storing an event monitoring program, and the event monitoring program is used for describing task operation to be performed when the process triggers the event;
a flow issuing unit: the flow engine is used for issuing the designed flow to the system;
the system comprises a process design unit, a task analysis unit and a monitoring unit, wherein the process design unit is used for carrying out model design on the process of the system according to the task type of the system, describing the process of the system in a graphical mode and corresponding each event monitoring program to a corresponding event according to the task;
the node configuration unit further includes:
a node information configuration unit: the system comprises a database, a task management module, a task execution module and a task execution module, wherein the task management module is used for configuring the attribute and the path variable of each node in a published process according to the requirement of the task, writing configuration information into the database, controlling the process according to the configuration information and operating related tasks;
a node tool configuration unit: when the task flows to a certain node, selecting a corresponding task tool on an operation interface of the current task to complete a specific implementation process of the task of the node;
the character management unit further includes:
a node role configuration unit: the system comprises a database, a role selection module, a role configuration module and a role configuration module, wherein the role configuration module is used for selecting and configuring the roles of all nodes in the process, writing corresponding information into the database and associating the nodes in the process with the roles;
a process role configuration unit: the method is used for selecting the type of the task, granting the defined role authority to the task, completing the corresponding relation between the type of the task and the defined role, and writing the corresponding information into the database.
As a typical embodiment of the present invention, the event monitor further inherits the process engine monitoring class, and the event monitor is designed separately according to the logic of the task and the control of the process. After the control of the process is designed into a plurality of node units, the logic of the task is defined as three logic units of task creation, task execution and task ending. The process design unit further describes the process of the system in a graphical mode by adopting JPDL language, each event monitoring program is corresponding to a corresponding event according to the task, and the transmission of variable parameters in the process of corresponding the event monitoring program to the corresponding event is consistent with the variables defined in the monitoring program. When the task allocation is carried out, only the personnel with the corresponding role can carry out the task allocation and operation of the node.
As shown in fig. 1, a specific embodiment of a method for customizing a flow includes the following steps:
as shown in fig. 2, the general flow of the method for customizing the flow described in the embodiment of the present invention includes: the system comprises the components of process design (JPDL), node configuration, a task tool, a process engine, task logic and process control, a database, role management and the like. The method specifically comprises the following steps:
firstly, designing a flow;
issuing the flow through a flow engine after the flow design is finished;
the issued process associates the process with the role through role management, configures attribute information of each node and establishes association with a task tool;
and the corresponding relation between the tasks and the processes is controlled and processed by utilizing the task logic and the processes, so that the synchronous execution of the processes and the tasks is ensured.
As a typical embodiment of the present invention, the method for customizing the flow further includes the following steps:
s100: and introducing a process engine environment, and introducing a JBPM4.4 working environment into a running environment of the system.
S101: and writing an event monitoring program, wherein the event monitoring program is used for describing task operation to be performed when the process triggers the event. Such as: tasks are distributed, tasks are started, task flow directions, tasks are ended and other events, and various event monitoring programs are written according to task needs. The event listener is an important interface associated with the process management, and the event listener must inherit the process engine listening class (EventListener). When the event monitor is designed, the task logic and the process control are designed separately, and no matter how the logic of the task changes, the control of the process is affected. After the control of the process is designed into a plurality of nodes, task logic is defined into three logic units of simple task creation, task execution and task ending, so that the control of the process is independent of specific tasks.
An example of program code for a typical event listener is shown below:
public class assignment HandlerImpmentations assignment Handler {// write event listener
String task_finishtype;
String check_flag;
String end_flag;
String join_flag;
private static ProcessEngine processEngine;
puhlic void setProcessEngine(ProcessEngine processEngine){
this.processEngine=processEngine;
}
@SuppressWarnings("unchecked")
puhlic void assign(Assignable assignable,OpenExecution execution)throws Exception
{
Cn cn=new Cn();
// get task number
String creatable ("created"); // task record number or assignment record number
string createflag=(String)execucion.getVariable("creatflag");
PracessEngine processEngine=Configuration.getProcessEngrine();
TaskService taskService=processEngine.getTaskService();
string pid-execucion.getProcessinstance().getid();
string strfilename=pid.substring(O,pid.indexOf("."))+".zip";
Task task=taskService.createTaskQuery().processinstanceId(pid).activityName(execution.get)
String taskid=task.getId();
String taskname=task.grtName();
CallableStatement proc3=null;
String sql3 ═ call P _ GET _ execcutids (
proc3=cn.conn.prepareCall(Sq13);
proc3.setString(2,createid);
proc3.setString(3,createflag);
The above example is written for an event listener program during flow distribution, and the program performs flow distribution according to the node type of the task and executes the flow to the next node.
S102: and (3) flow design, namely performing model design on the flow of the system according to the task type of the system, describing the flow of the system in a graphical mode, and corresponding each event monitoring program to a corresponding event according to the task, as shown in the attached figure 3. And (2) carrying out model design of a specific system flow according to the task type of the system by using a flow design tool, wherein the flow design is to describe the flow of the system in a graphical mode by adopting JPDL (JBoss jbpM Process Definition Language). Meanwhile, each event listener is mapped to a corresponding event according to the task, and the transmission of the variable parameter must be consistent with the variable defined in the event listener. The flow design can be designed into two flows of concurrency and one-way according to task requirements, the concurrent flow adopts a nested sub-flow design principle, and all branches are executed concurrently. Task nodes commonly used in the JPDL are divided into a Process-definition node (Process-definition), a State node, a Task node, a Fork node, a Join node and the like.
The JPDL is one of flow languages built on a JBPM framework, modules such as tasks (tasks), waitstates (waitstates), timers (timers), automatic processes (automated actions) and the like are provided in the JPDL, and the flow of the tasks can be intuitively described through graphical flow definitions. As shown in fig. 3, in the embodiment of the present invention, a task flow of a system quality analysis problem processing process is graphically designed by using a JPDL language, which is actually a set of XML languages, so that in the process of model design, the JPDL language is automatically converted into a JBPM resolvable XML language according to rules, and finally, the obtained information is stored in a database, so that a complete set of task design of a quality analysis problem processing type is completed.
S103: and (4) flow issuing, namely issuing the designed flow to the system through a flow engine, and creating the type of task by a user according to the issued task flow.
S104: and task node configuration, namely configuring the attribute and the path variable of each node in the issued process according to the requirements of the task, writing configuration information into a database, controlling the process according to the configuration information, and operating the related task. Task nodes represent one or more nodes intervened by people, so when the process runs to one task node, a task instance object (task instances) is generated and added to a task list of participants, and then the nodes are in a waiting state until the participants finish their tasks, and the process is activated to continue to execute downwards. The nodes are basic units of the process design, and the attributes and the path variables of each node of the process are configured according to the task requirements and the configuration information is written into the database according to the process design. And the flow control and related task operation can be carried out according to the configuration information.
S105: and (3) node tool configuration, when a task flows to a certain node, selecting a corresponding task tool on an operation interface of the current task to complete a specific implementation process of the task of the node, as shown in fig. 4. According to the task needs, all the functions of all the tasks are toolized in the system design stage, when the task flow is transferred to a certain node, the specific task implementation process of the node can be completed only by selecting the corresponding task tool on the operation interface of the current task, and the complex operation is repeated without searching and switching pages back and forth in the system operation process. Therefore, when a task is newly built, task tools required to be used by nodes at all levels can be selected, the nodes and the task tools are configured in an associated mode, when the task flows, the system automatically identifies the task tools configured by the current nodes and displays an operation page of the current task nodes, operators can complete task operation quickly, the work benefit is improved, and meanwhile the experience effect of user use is improved.
The task operation of the system function is decomposed into independent function modules, which are called task tools. After the information configuration of the process node is completed, the corresponding relationship between the node and the task tool needs to be established, when the process is executed to the node, the corresponding task tool is automatically loaded by the system according to the association relationship between the node and the task tool, and all the task tools do not need to be loaded, so that the system interface can be simplified, the operation of a user is facilitated, the back-and-forth switching among pages is reduced, the repeated and complicated operation process is avoided, and the operation capability and the management status of a front-line worker on site are completely matched.
S106: and (3) configuring the roles of the nodes in the process, selecting and configuring the roles of the nodes in the process, writing corresponding information into a database, and associating the nodes in the process with the roles, as shown in fig. 5. The nodes of the task flow are associated with the roles, the roles of the nodes of the task flow are selected and configured by an administrator in the background, and the corresponding information is written into the database. When the task is distributed, only the personnel with the corresponding role can carry out the task operation and the distributed task of the node, and the association between the task flow node and the personnel authority management is completed.
The task flow is composed of flow nodes, and the execution of each node represents a specific process of working by an operator on the spot. Whether the operator has a certain operation authority or not needs to be realized by the system through role granting to the flow nodes. When the task flows from top to bottom, the system filters the selection of the personnel, and the selection is based on the association relationship between the flow node and the role.
S107: configuring the flow role, selecting the type of the task, granting the defined role authority to the task, completing the corresponding relationship between the type of the task and the defined role, and writing the corresponding information into the database, as shown in fig. 6. And the administrator selects the type of the task through background maintenance, grants the defined role authority to the task, completes the corresponding relation between the task type of the process and the user-defined role, and writes the corresponding information into the database. When a task is initiated, the system can automatically acquire which types of tasks can only be created according to the login authority information, and control over the type authority of the created tasks is realized.
According to the task logic of the system, firstly, the type of the task flow is defined, such as: in the process of equipment management, the wheel diameter needs to be periodically overhauled and modified, the safety level of the task is high, in order to prevent the illegal creation of the task, the task needs to be realized by a system through role granting on the task type, and when a task flow is created by a manager or an operator, the system automatically filters the task type which cannot be created according to the role authority of the operator.
S108: and using the process, selecting the type of the available task according to the authority of the user when initiating the task, controlling the process by the process engine, and completing the task of each node by the user through the task tool.
As a typical specific embodiment of the present invention, the process of the system in step S102 further includes a data reloading preparation workflow, a data reloading version card control workflow, a file quality analysis workflow, an equipment management workflow, a major, minor, and major repair workflow, and a wheel diameter modification workflow. The system flow comprises nodes and a flow chart, and the flow further comprises a data reloading preparation node, a data reloading preparation workflow chart, a data reloading version card control node, a data reloading version card control workflow chart, a file quality analysis node, a file quality analysis workflow chart, an equipment management node, an equipment management flow chart, a major-minor repair auxiliary node, a major-minor repair auxiliary workflow chart, a wheel diameter modification node and a wheel diameter modification workflow chart. As shown in fig. 3, a specific embodiment of a workflow for creating a quality analysis task, i.e., a document quality analysis, is shown. It should be noted that, in addition to the above nodes and flowcharts, the system flow described in the embodiment of the present invention may also add new nodes and flowcharts according to specific tasks, and is not limited to the nodes and flowcharts described in the above embodiment.
As a typical specific embodiment of the present invention, in step S103, the designed process is released in the LKJ vehicle-mounted device production and management platform, and the system after release has processes including a data reloading preparation process, a data reloading version card control process, a file quality analysis process, a device management process, a major, minor and minor repair processes, and a wheel diameter modification process.
As a typical embodiment of the present invention, in step S104, the attribute and the path variable of each node in the issued flow are configured, the attribute and the path variable configuration information of each node in the data reloading preparation workflow, the data reloading version card control workflow, the quality analysis workflow, the equipment management workflow, the major and minor repair workflow, and the round path modification workflow are stored in an oracle database, and the user performs flow control and task operation according to the configuration information of the node.
As a typical embodiment of the present invention, in step S105, the specific tasks including data reloading preparation, data reloading version card control, file quality analysis, device management, major, minor repair, and wheel diameter modification are performed in a streamlined manner, the functions of each task are implemented in a tool (an independent module capable of independently implementing one or more functions), a method of dynamically selecting and associating the process nodes with the task tools is adopted, when a node a in the data reloading version card control task needs to complete locomotive planning in the task, and a locomotive selection tool, a personnel selection tool, a route selection tool, and a file selection tool are used, the 4 task tools are dynamically displayed by automatically identifying the association relationship between the nodes and the task tools on a node a task completion interface by the system without switching back and forth between pages or loading a large number of task tools, so as to avoid the repeated complex operations of the user, the working efficiency is improved, and the operation is simplified and clarified. When the functional operation of the task is changed, the user requirements can be met only by adjusting the association between the process node and the task tool configuration according to the task type, the system development efficiency can be effectively improved, and the maintenance cost of the software can be reduced.
As a typical specific embodiment of the present invention, in step S106, a user performs role configuration on a node according to a published task type, selects a type of the node to associate with a role, only a person with a set role has a permission to operate a certain node task, and when a task initiates a task to perform task assignment on the node, the system automatically filters a large amount of information about the person without the permission to operate the node.
As a typical specific embodiment of the present invention, in step S107, a user configures a flow and a role for a published task type, selects a task type and a role to be associated with each other, only a person with a set role has a right to initiate a certain task, and determines a flow that can be used by the user according to role information of the user when the task is initiated.
By implementing the system and the method for customizing the flow, which are described in the specific embodiment of the invention, the following technical effects can be achieved:
(1) the system and the method for customizing the flow, which are described in the specific embodiment of the invention, are designed according to the operation capability and the management current situation of field one-line operators, the system interface is simple and clear to operate, the working efficiency of a user can be effectively improved, the page switching back and forth is reduced, and the complicated operation process is repeated; based on the system, the task management process is streamlined and the task function operation is implemented in a toolization mode, each node in the task process is associated with the task tool configuration, the task completion condition of the node is operated only by selecting the task tool on the node, and the actual operation condition of the site is completely matched;
(2) the system and the method for customizing the flow described in the specific embodiment of the invention configure and associate the user-defined role with the task node type, when the organization relationship of the personnel changes, even if the issued task type does not need to readjust the task work flow, the purpose can be achieved by the administrator adjusting the role of the node type, the role of the role in the task is strengthened, the organization relationship limit of the personnel is lightened, and the customization of the task flow becomes more flexible;
(3) the system and the method for customizing the flow described in the specific embodiment of the invention configure and associate the user-defined role with the task type, because the organization structure of the personnel is different, the represented responsibility of the personnel is different, in order to adapt to the actual production management process on site, the system can well solve the relationship between the role of the personnel and the task, the users with different roles can only initiate certain tasks according with the working property of the users, even if the organization relationship of the personnel is changed, the role adjustment can be carried out on the task type, the system and the method are completely designed aiming at the LKJ management characteristics of the railway enterprise, the production management requirements of the railway enterprise are met, and the flexibility and the maintainability of the system are enhanced at the same time;
(4) the system and the method for self-defining the flow, which are described in the specific embodiment of the invention, are specially directed at the LKJ management characteristics of the railway enterprise, can meet the customizable flow production management of the working requirements of the railway enterprise, can realize cooperative work, consistent pace and controllable process in the production management process of each department of the railway enterprise, separate task flow from task functions, and can be configured with task nodes and task tools, so that the operation process is simple, clear and flexible, the working efficiency is higher, and the system and the method meet the use standards of first-line railway employee users.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner. Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Those skilled in the art can make many possible variations and modifications to the disclosed embodiments, or equivalent modifications, without departing from the spirit and scope of the invention, using the methods and techniques disclosed above. Therefore, any simple modification, equivalent replacement, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention.

Claims (9)

1. A system for customizing a process, comprising: the system comprises a process design unit, a process engine, a node configuration unit, a role management unit and a task logic and process control unit, wherein the process design unit is used for designing a process, and the process is issued through the process engine after the process design is finished; the issued process associates the process with the role through the role management unit, configures the attribute information of each node through the node configuration unit, and establishes association with the task tool; the corresponding relation between the tasks and the processes is processed through the task logic and process control unit, so that the synchronous execution of the processes and the tasks is ensured;
the system further comprises:
a process engine environment: introducing a JBPM working environment to a running environment of the system;
an event monitoring unit: the interface is used for storing an event monitoring program, and the event monitoring program is used for describing task operation to be performed when a process triggers an event;
a flow issuing unit: the flow engine is used for issuing the designed flow to the system;
the process design unit carries out model design of the process of the system according to the task type of the system, describes the process of the system in a graphical mode, and corresponds each event monitoring program to a corresponding event according to the task;
the node configuration unit further includes:
a node information configuration unit: the system comprises a database, a task management module, a task execution module and a task execution module, wherein the task management module is used for configuring the attribute and the path variable of each node in a published process according to the requirement of the task, writing configuration information into the database, controlling the process according to the configuration information and operating related tasks;
a node tool configuration unit: when the task flows to a certain node, selecting a corresponding task tool on an operation interface of the current task to complete a specific implementation process of the task of the node;
the character management unit further includes:
a node role configuration unit: the system comprises a database, a role selection module, a role configuration module and a role configuration module, wherein the role configuration module is used for selecting and configuring roles of all nodes in a process, writing corresponding information into the database and associating the nodes in the process with the roles;
a process role configuration unit: the system comprises a database, a task management server and a task management server, wherein the database is used for selecting the type of a task, granting a defined role authority to the task, completing the corresponding relation between the type of the task and the defined role and writing the corresponding information into the database;
the event monitoring program inherits the monitoring class of the process engine, and is separately designed according to the logic of the task and the control of the process; after the control of the process is designed into a plurality of node units, simultaneously defining the logic of the task as three logic units of task creation, task execution and task ending;
the process design unit describes the process of the system in a graphical mode by adopting a JPDL language, corresponds each event monitoring program to a corresponding event according to a task, and transmits variable parameters in the process of corresponding the event monitoring program to the corresponding event to be consistent with variables defined in the event monitoring program.
2. The system for customizing a flow according to claim 1, wherein: when the task allocation is carried out, only the personnel with the corresponding role can carry out the task allocation and operation of the node.
3. A method for customizing a flow is characterized by comprising the following steps:
firstly, designing a flow;
issuing the flow through a flow engine after the flow design is finished;
the issued process associates the process with the role through role management, configures attribute information of each node and establishes association with a task tool;
the corresponding relation between the tasks and the processes is controlled and processed by utilizing the task logic and the processes, so that the synchronous execution of the processes and the tasks is ensured;
the method further comprises the steps of:
s100: introducing a JBPM working environment into a running environment of the system;
s101: describing task operation to be performed when a flow triggers an event;
s102: performing model design of a system flow according to the task type of the system, describing the system flow in a graphical mode, and corresponding each event monitoring program to a corresponding event according to the task;
s103: issuing the designed process to the system through the process engine;
s104: configuring the attribute and the path variable of each node in the issued flow according to the requirement of the task, writing configuration information into a database, controlling the flow according to the configuration information, and operating the related task;
s105: when the task flows to a certain node, selecting a corresponding task tool on an operation interface of the current task to complete a specific implementation process of the task of the node;
s106: selecting and configuring roles of all nodes in the process, writing corresponding information into a database, and associating the nodes in the process with the roles;
s107: selecting the type of a task, granting a defined role authority to the task, completing the corresponding relation between the type of the task and the defined role, and writing the corresponding information into a database;
s108: the method comprises the steps that a process is used, when a task is initiated, the type of the available task is selected according to the authority of a user, the process is controlled by a process engine, and the task of each node is completed by the user through a task tool;
the event monitoring program inherits the monitoring class of the process engine, and is separately designed according to the logic of the task and the control of the process; after the control of the process is designed into a plurality of node units, the logic of the task is defined as three logic units of task creation, task execution and task ending;
the method comprises the steps of describing a system flow in a graphical mode by adopting a JPDL (Java native language) language through flow design, corresponding each event monitoring program to a corresponding event according to a task, and transmitting variable parameters in the process of corresponding the event monitoring program to the corresponding event to be consistent with variables defined in the event monitoring program.
4. The method of customizing a flow according to claim 3, wherein: the process of the system in the step S102 further includes a data reloading preparation workflow, a data reloading version card control workflow, a file quality analysis workflow, an equipment management workflow, a major, medium and small overhaul workflow and a wheel diameter modification workflow; the system comprises a flow process and a flow chart, wherein the flow process further comprises a data reloading preparation node, a data reloading preparation work flow chart, a data reloading version card control node, a data reloading version card control work flow chart, a file quality analysis node, a file quality analysis work flow chart, an equipment management node, an equipment management flow chart, a major and minor repair assistant node, a major and minor repair assistant work flow chart, a wheel diameter modification node and a wheel diameter modification work flow chart.
5. The method of customizing a flow according to claim 3 or 4, wherein: in the step S103, the designed process is released in the LKJ vehicle-mounted device production and management platform, and the system after releasing is provided with processes including a data reloading preparation process, a data reloading version card control process, a file quality analysis process, a device management process, a major and minor repair process, and a wheel diameter modification process.
6. The method of customizing a flow according to claim 5, wherein: in the step S104, the attribute and the path variable of each node in the issued flow are configured, the attribute and the path variable configuration information of each node in the data reloading preparation workflow, the data reloading version card control workflow, the quality analysis workflow, the equipment management workflow, the major, minor and minor repair workflow, and the wheel diameter modification workflow are stored in the database, and the user performs the control of the flow and the operation of the task according to the configuration information of the node.
7. The method of customizing a flow according to claim 3, 4 or 6, wherein: in the step S105, specific tasks including data reloading preparation, data reloading version card control, file quality analysis, equipment management, major, minor and minor repair, and wheel diameter modification are performed, and nodes of the tasks are dynamically selected and associated with task tools to implement the implementation of each task function; and when the functional operation of the task is changed, adjusting the configuration association of the nodes of the process and the task tool according to the type of the task.
8. The method of customizing a flow according to claim 7, wherein: in step S106, the user performs role configuration on the node according to the published task type, selects the type of the node to be associated with the role, only the person with the set role has the authority to operate a certain node task, and when the task initiates the person task allocation on the node, the system automatically filters the person information without the authority to operate the node.
9. The method of customizing a flow according to claim 3, 4, 6 or 8, wherein: in step S107, the user configures the flow and role for the published task type, selects the type of the task to be associated with the role, only the person with the set role has the right to initiate a certain task, and determines the flow that can be used by the user according to the role information of the user when the task is initiated.
CN201410464304.3A 2014-09-12 2014-09-12 System and method for self-defining flow Active CN105404949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410464304.3A CN105404949B (en) 2014-09-12 2014-09-12 System and method for self-defining flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410464304.3A CN105404949B (en) 2014-09-12 2014-09-12 System and method for self-defining flow

Publications (2)

Publication Number Publication Date
CN105404949A CN105404949A (en) 2016-03-16
CN105404949B true CN105404949B (en) 2020-02-18

Family

ID=55470422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410464304.3A Active CN105404949B (en) 2014-09-12 2014-09-12 System and method for self-defining flow

Country Status (1)

Country Link
CN (1) CN105404949B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463392A (en) * 2016-06-03 2017-12-12 阿里巴巴集团控股有限公司 A kind of method and apparatus for creating system configuration tasks
CN106375108A (en) * 2016-08-18 2017-02-01 广州衡昊数据科技有限公司 Expert decision system provided with functions of self-defining and flexibly calling sub-flow
CN106776349B (en) * 2017-02-07 2020-01-03 武汉斗鱼网络科技有限公司 Method and system for setting interface detection flow
CN107153944A (en) * 2017-02-22 2017-09-12 上海爱韦讯信息技术有限公司 The method and system of task are researched and developed based on Flow driving
CN110019059B (en) * 2017-12-04 2022-04-12 北京京东尚科信息技术有限公司 Timing synchronization method and device
CN108563206A (en) * 2018-04-17 2018-09-21 西安交通大学 A kind of production process control method based on flow instance
CN110046826A (en) * 2019-04-23 2019-07-23 中冶赛迪重庆信息技术有限公司 A kind of railroad train operation implementation method
CN110148062B (en) * 2019-04-26 2022-07-12 长沙迪迈数码科技股份有限公司 Mining production technology collaborative mine business software system implementation method
CN110490540A (en) * 2019-07-05 2019-11-22 北京中电飞华通信股份有限公司 A kind of electric-power metering job management system
CN111224813A (en) * 2019-11-10 2020-06-02 辽宁金晟科技股份有限公司 Intelligent network analysis system
CN111508592A (en) * 2020-03-30 2020-08-07 四川九八村信息科技有限公司 Intelligent plasma collection system and method capable of being configured dynamically
CN112257008B (en) * 2020-12-22 2021-04-02 北京宇信科技集团股份有限公司 Online custom flow operation system, method, medium and server
CN113805853A (en) * 2021-09-28 2021-12-17 重庆允成互联网科技有限公司 Software product development system based on industrial internet
CN116934277A (en) * 2023-09-15 2023-10-24 中铁电气化勘测设计研究院有限公司 Event-driven-based track traffic project management flow control method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN103679384A (en) * 2013-12-25 2014-03-26 武汉武船信息集成有限公司 Method for workflow cooperative office work
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化系统设备有限公司 Work flow management system and work flow handling method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2487628A1 (en) * 2011-02-09 2012-08-15 Siemens Aktiengesellschaft An integrated engineering and workflow system for engineering and executing workflows of mechatronic objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN103679384A (en) * 2013-12-25 2014-03-26 武汉武船信息集成有限公司 Method for workflow cooperative office work
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化系统设备有限公司 Work flow management system and work flow handling method

Also Published As

Publication number Publication date
CN105404949A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN105404949B (en) System and method for self-defining flow
CN107248021B (en) MES system is made to platform-based intelligence
CN102880123B (en) System and method for controlling production process of petrochemical enterprise on basis of manufacturing execution system (MES) workflow
WO2018094971A1 (en) Coordination device for use in r&d process for complex electromechanical product and coordination method thereof
CN105678522A (en) Workflow engine and project management system based on workflow
CN113641483A (en) Robot process automation system based on artificial intelligence
CN104978622A (en) Business process management system and method
CN106910004A (en) A kind of overall process blower fan workmanship monitoring system based on workflow
Helfen et al. Testing SAP solutions
CN112068522A (en) Reconfigurable production line manufacturing control system, method, and medium
CN105096104A (en) Form operation authority control method, apparatus and office automation system
US20100262451A1 (en) Simplified Approach for Service Composition and Orchestration
CN104517186A (en) Business process design method based on data drive
CN103971225A (en) Workflow dynamic expanding method and system
Offermann et al. Benefits of SOA: Evaluation of an implemented scenario against alternative architectures
CN103942474A (en) Method for controlling permission three-dimensional model system in software project management process
CN103995699A (en) Electric power enterprise information system development method based on MDA
Angelidis et al. A prototype simulation tool for a framework for simulation-based optimization of assembly lines
CN110969414A (en) Cross-platform workflow implementation method and system based on Java
US20100235839A1 (en) Apparatus and method for automation of a business process
CN116128212A (en) Urban rail station operation scene arrangement method and system based on BPMN
CN111381811A (en) Software resource integration platform suitable for integration of multiple types of information systems
KR100712685B1 (en) Construction process information management system
CN112884455A (en) Task plan processing system, method and device
CN104765608A (en) Implementation method and device of audio and video workflow application system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: The age of 412001 in Hunan Province, Zhuzhou Shifeng District Road No. 169

Patentee after: ZHUZHOU CRRC TIMES ELECTRIC Co.,Ltd.

Address before: The age of 412001 in Hunan Province, Zhuzhou Shifeng District Road No. 169

Patentee before: ZHUZH CSR TIMES ELECTRIC Co.,Ltd.

CP01 Change in the name or title of a patent holder