CN111178815A - Method and device for generating process instance template and computer readable storage medium - Google Patents

Method and device for generating process instance template and computer readable storage medium Download PDF

Info

Publication number
CN111178815A
CN111178815A CN201811340471.1A CN201811340471A CN111178815A CN 111178815 A CN111178815 A CN 111178815A CN 201811340471 A CN201811340471 A CN 201811340471A CN 111178815 A CN111178815 A CN 111178815A
Authority
CN
China
Prior art keywords
template
information
node
generating
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811340471.1A
Other languages
Chinese (zh)
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.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201811340471.1A priority Critical patent/CN111178815A/en
Publication of CN111178815A publication Critical patent/CN111178815A/en
Pending legal-status Critical Current

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/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063118Staff planning in a project environment

Landscapes

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

Abstract

The invention provides a method and a device for generating a process instance template and a computer-readable storage medium. The method comprises the following steps: based on the workflow engine, generating a configuration file corresponding to the process instance when the configuration of the process instance is completed; analyzing the configuration file to obtain node information of each process node of the process example; generating an empty process instance template according to the node information and the extensible configuration information of all the process nodes, and displaying the empty process instance template; receiving operator setting information corresponding to each process node and setting information of extensible configuration information to obtain a process example template; and (5) persisting the flow instance template. Through the technical scheme of the invention, the process of flow circulation of the workflow engine is accelerated, and particularly, repeated selection can be avoided in the repeated flow circulation process, so that the labor and the time are saved, and the operation speed and the working efficiency are greatly improved.

Description

Method and device for generating process instance template and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a process instance template, and a computer-readable storage medium.
Background
At present, in the flow circulation of the book compiling process of a publishing company, the same class of books are responsible for compiling almost the same personnel, the task processing work of a plurality of nodes of a plurality of books is similar, the processing personnel are consistent, the construction period between each node is almost the same, and under the scene, if the responsibility is compiled under each node, the work is heavy in repetition and cannot be easily compared with the previous books if the personnel and the time are reassigned.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, an aspect of the present invention is to provide a method for generating a process instance template.
Another aspect of the present invention is to provide an apparatus for generating a process instance template.
Yet another aspect of the present invention is to provide a computer-readable storage medium.
In view of this, the present invention provides a method for generating a process instance template, including: based on the workflow engine, generating a configuration file corresponding to the process instance when the configuration of the process instance is completed; analyzing the configuration file to obtain node information of each process node of the process example; generating an empty process instance template according to the node information and the extensible configuration information of all the process nodes, and displaying the empty process instance template; receiving operator setting information corresponding to each process node and setting information of extensible configuration information to obtain a process example template; and (5) persisting the flow instance template.
According to the method for generating the flow instance template, based on a workflow engine such as an activiti workflow engine, when the configuration of the flow instance is completed, namely under the nodes where the actual flow chart and the flow stream are generated, a configuration file corresponding to the flow instance is generated, wherein the configuration file can be an XML file or a database table, and is preferably an XML file; the method comprises the steps of obtaining node information of each process node by analyzing an XML file of a process example, generating an empty process example template according to the node information of each process node and extensible configuration information, displaying the empty process example template on a foreground, preferably displaying the empty process example template in a form, filling operator information and the extensible configuration information corresponding to each process node in the form, obtaining a set process example template after filling, storing the process example template in a database for persistence, and automatically selecting an application process example template when the process example is used again. The method for generating the flow example template can select the stored flow template before initializing the flow example in the flow circulation process of similar services, can automatically assemble the flow template into each node in the flow example according to the template information in the initialization process, completes the pre-filling of the node information, accelerates the process of flow circulation of a workflow engine, particularly reduces the repeated selection of editing in the flow circulation process, improves the efficiency of whole book publication, and simultaneously improves the control of the responsibility compilation on book publication.
In the foregoing technical solution, preferably, the node information includes: the ID, name and corresponding operation role type of the process node, and optional operator information.
In the technical solution, the node information includes, but is not limited to, an ID, a name, and a corresponding operation role type of the process node, and optional operator information.
In any of the above technical solutions, preferably, the method for generating the flow instance template further includes: the selectable operator information is determined based on the type of the operation role.
In the technical scheme, it can be understood that the operation role types and the selectable operator information are set in a correlated manner, one operation role type can correspond to a plurality of selectable operator information, and of course, the same operator information can also correspond to a plurality of operation role types, and only the service flow needs need to be met. After the operation role type of the process node is analyzed, the selectable operator information corresponding to the process node can be determined, so that a user can complete the setting of an operator by selecting certain operator information at the front end, and the method is very convenient.
In any of the above technical solutions, preferably, the extensible configuration information includes any one of or a combination of the following: plan completion time, flow reminding mode, flow node operation interval time and overdue prompting time.
In this technical solution, the extensible configuration information includes any one of or a combination of the following: plan completion time, flow reminding mode, flow node operation interval time and overdue prompt time, but not limited to these.
In any of the above technical solutions, preferably, the step of persisting the process instance template specifically includes: and storing the template ID, the name, the template creator, the template creation time, the name of the process instance, the name of the process node, the set operator and the expandable configuration information in a database in the form of a data table.
In the technical scheme, all the process nodes can be displayed by analyzing the configuration file of the process instance, the corresponding information of each process node can be filled in a form, and the information is persisted after the filling is completed and can be stored in an XML file or a database, preferably the database, and the structure of the storage table comprises: template ID, name, template creator, template creation time, process instance, process node, node operator, and extensible configuration information such as node operation interval time, whether to send short message, whether to send mail, and expiration prompt time.
In any of the above technical solutions, preferably, the method for generating the flow instance template further includes: when a starting request of a process example is received, user information is obtained, and whether a user creates a process example template is determined according to the user information; if so, generating and displaying prompt information for selecting the flow instance template; if not, starting an empty process instance template.
In the technical scheme, when a user starts a process instance, a system can automatically acquire user information, determine whether the user creates a process instance template according to the user information, specifically, compare the user information with template creator information, when the user information is consistent with the template creator information, indicate that the user has created the instance template, prompt for selecting the template can be preferentially provided, if no template exists under the user name, an empty process instance template can be started, at the moment, the user can assign tasks, specifically, information corresponding to each node is set in a form filling mode, such as information of a node operator, plan completion time, a process reminding mode, reminding for days in advance and the like, complete operation information of a single process node is formed and stored.
The invention also provides a device for generating the process instance template, which comprises the following steps: a memory for storing a computer program; a processor for executing a computer program to: based on the workflow engine, generating a configuration file corresponding to the process instance when the configuration of the process instance is completed; analyzing the configuration file to obtain node information of each process node of the process example; generating an empty process instance template according to the node information and the extensible configuration information of all the process nodes, and displaying the empty process instance template; receiving operator setting information corresponding to each process node and setting information of extensible configuration information to obtain a process example template; and (5) persisting the flow instance template.
According to the generation device of the process instance template, based on a workflow engine such as an activiti workflow engine, when the configuration of the process instance is completed, namely under the nodes where the actual flow chart and the process flow are generated, a configuration file corresponding to the process instance is generated, wherein the configuration file can be an XML file or a database table, and is preferably an XML file; the method comprises the steps of obtaining node information of each process node by analyzing an XML file of a process example, generating an empty process example template according to the node information of each process node and extensible configuration information, displaying the empty process example template on a foreground, preferably displaying the empty process example template in a form, filling operator information and the extensible configuration information corresponding to each process node in the form, obtaining a set process example template after filling, storing the process example template in a database for persistence, and automatically selecting an application process example template when the process example is used again. The flow example template generating device can select the stored flow template before initializing the flow example in the flow circulation process of similar services, can be automatically assembled to each node in the flow example according to the template information in the initialization process, completes the pre-filling of the node information, accelerates the process of flow circulation of a workflow engine, particularly reduces the repeated selection of editing in the circulation process, improves the efficiency of whole book publication, and simultaneously improves the control of the book publication by the responsibility compilation
In the foregoing technical solution, preferably, the node information includes: the ID, name and corresponding operation role type of the process node, and optional operator information.
In the technical solution, the node information includes, but is not limited to, an ID, a name, and a corresponding operation role type of the process node, and optional operator information.
In any of the above technical solutions, preferably, the processor is further configured to execute the computer program to: the selectable operator information is determined based on the type of the operation role.
In the technical scheme, it can be understood that the operation role types and the selectable operator information are set in a correlated manner, one operation role type can correspond to a plurality of selectable operator information, and of course, the same operator information can also correspond to a plurality of operation role types, and only the service flow needs need to be met. After the operation role type of the process node is analyzed, the selectable operator information corresponding to the process node can be determined, so that a user can complete the setting of an operator by selecting certain operator information at the front end, and the method is very convenient.
In any of the above technical solutions, preferably, the extensible configuration information includes any one of or a combination of the following: plan completion time, flow reminding mode, flow node operation interval time and overdue prompting time.
In this technical solution, the extensible configuration information includes any one of or a combination of the following: plan completion time, flow reminding mode, flow node operation interval time and overdue prompt time, but not limited to these.
In any of the above technical solutions, preferably, the processor is specifically configured to execute a computer program to: and storing the template ID, the name, the template creator, the template creation time, the name of the process instance and the process node, the set operator and the expandable configuration information in a database in the form of a data table.
In the technical scheme, all the process nodes can be displayed by analyzing the configuration file of the process instance, the corresponding information of each process node can be filled in a form, and the information is persisted after the filling is completed and can be stored in an XML file or a database, preferably the database, and the structure of the storage table comprises: template ID, name, template creator, template creation time, process instance, process node, node operator, and extensible configuration information such as node operation interval time, whether to send short message, whether to send mail, and expiration prompt time.
In any of the above technical solutions, preferably, the processor is further configured to execute the computer program to: when a starting request of a process example is received, user information is obtained, and whether a user creates a process example template is determined according to the user information; if so, generating and displaying prompt information for selecting the flow instance template; if not, starting an empty process instance template.
In the technical scheme, when a user starts a process instance, a system can automatically acquire user information, determine whether the user creates a process instance template according to the user information, specifically, compare the user information with template creator information, when the user information is consistent with the template creator information, indicate that the user has created the instance template, prompt for selecting the template can be preferentially provided, if no template exists under the user name, an empty process instance template can be started, at the moment, the user can assign tasks, specifically, information corresponding to each node is set in a form filling mode, such as information of a node operator, plan completion time, a process reminding mode, reminding for days in advance and the like, complete operation information of a single process node is formed and stored.
The present invention further proposes a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for generating a flow instance template according to any one of the above-mentioned technical solutions.
According to the computer-readable storage medium of the present invention, when being executed by a processor, the computer program stored thereon implements the steps of the method for generating a process instance template according to any one of the above technical solutions, so that the computer-readable storage medium can implement all the beneficial effects of the method for generating a process instance template, and is not described in detail again.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 shows a flow diagram of a method of generating a flow instance template according to one embodiment of the invention;
FIG. 2 shows a flow diagram of a method of generating a flow instance template according to another embodiment of the invention;
FIG. 3 shows a schematic block diagram of an apparatus for generating a flow instance template according to one embodiment of the invention;
FIG. 4 is a diagram illustrating an empty flow instance template in accordance with one embodiment of the present invention;
FIG. 5 is a diagram illustrating a process instance template, according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 is a schematic flow chart of a method for generating a flow instance template according to an embodiment of the present invention. The method for generating the flow instance template comprises the following steps:
102, generating a configuration file corresponding to the process instance when the configuration of the process instance is completed based on the workflow engine;
step 104, analyzing the configuration file to acquire node information of each process node of the process instance; generating an empty process instance template according to the node information and the extensible configuration information of all the process nodes, and displaying the empty process instance template;
step 106, receiving operator setting information corresponding to each process node and setting information of extensible configuration information to obtain a process instance template;
and step 108, persisting the process instance template.
The method for generating the flow instance template provided by the invention is based on a workflow engine such as an activiti workflow engine, and generates a configuration file corresponding to the flow instance when the configuration of the flow instance is completed, namely under the nodes where the actual flow diagram and the flow stream are generated, wherein the configuration file can be an XML file or a database table, preferably an XML file; the method comprises the steps of obtaining node information of each process node by analyzing an XML file of a process example, generating an empty process example template according to the node information of each process node and extensible configuration information, displaying the empty process example template on a foreground, preferably displaying the empty process example template in a form, filling operator information and the extensible configuration information corresponding to each process node in the form, obtaining a set process example template after filling, storing the process example template in a database for persistence, and automatically selecting an application process example template when the process example is used again. The method for generating the flow example template can select the stored flow template before initializing the flow example in the flow circulation process of similar services, can automatically assemble the flow template into each node in the flow example according to the template information in the initialization process, completes the pre-filling of the node information, accelerates the process of flow circulation of a workflow engine, particularly reduces the repeated selection of editing in the flow circulation process, improves the efficiency of whole book publication, and simultaneously improves the control of the responsibility compilation on book publication.
In one embodiment of the present invention, preferably, the node information includes: the ID, name and corresponding operation role type of the process node, and optional operator information.
In this embodiment, the node information includes, but is not limited to, an ID, a name and a corresponding operation role type of the process node, and optionally, operator information.
In an embodiment of the present invention, preferably, the method for generating the flow instance template further includes: the selectable operator information is determined based on the type of the operation role.
In this embodiment, it can be understood that the operation role types and the selectable operator information are set in association, one operation role type may correspond to a plurality of selectable operator information, and of course, the same operator information may also correspond to a plurality of operation role types, and only the service flow needs need to be satisfied. After the operation role type of the process node is analyzed, the selectable operator information corresponding to the process node can be determined, so that a user can complete the setting of an operator by selecting certain operator information at the front end, and the method is very convenient.
In one embodiment of the present invention, preferably, the extensible configuration information includes any one or a combination of the following: plan completion time, flow reminding mode, flow node operation interval time and overdue prompting time.
In this embodiment, the extensible configuration information includes any one or a combination of: plan completion time, flow reminding mode, flow node operation interval time and overdue prompt time, but not limited to these.
In an embodiment of the present invention, preferably, the step of persisting the process instance template includes: and storing the template ID, the name, the template creator, the template creation time, the name of the process instance, the name of the process node, the set operator and the expandable configuration information in a database in the form of a data table.
In this embodiment, all the process nodes may be displayed by parsing the configuration file of the process instance, the corresponding information of each process node may be filled in a form, and persisted after completion of the filling, and may be stored in an XML file or a database, preferably a database, where the storage table structure includes: template ID, name, template creator, template creation time, process instance, process node, node operator, and extensible configuration information such as node operation interval time, whether to send short message, whether to send mail, and expiration prompt time.
Fig. 2 is a schematic flow chart of a method for generating a flow instance template according to another embodiment of the present invention. The method for generating the flow instance template comprises the following steps:
step 202, based on the workflow engine, when the configuration of the process instance is completed, generating a configuration file corresponding to the process instance;
step 204, analyzing the configuration file to obtain node information of each process node of the process instance; generating an empty process instance template according to the node information and the extensible configuration information of all the process nodes, and displaying the empty process instance template;
step 206, receiving operator setting information corresponding to each process node and setting information of extensible configuration information to obtain a process instance template;
step 208, the process instance template is persisted;
step 210, when a starting request of a process instance is received, user information is acquired;
step 212, determining whether a user creates a process instance template according to the user information;
step 214, if yes, generating and displaying prompt information for selecting the process instance template;
if not, the empty process instance template is started.
In this embodiment, when a user starts a process instance, a system may automatically obtain user information, determine whether the user creates a process instance template according to the user information, specifically, compare the user information with template creator information, when the user information is consistent with the template creator information, indicate that the user has created the instance template, preferentially provide a prompt for selecting the template, if no template exists under the user name, start an empty process instance template, and at this time, the user may perform task assignment, specifically, set information corresponding to each node in a form filling manner, such as information of a node operator, planned completion time, a process reminding manner, a few-day advance reminding, and the like, to form complete operation information of a single process node, and store the complete operation information.
FIG. 3 is a schematic block diagram of an apparatus for generating a flow instance template according to one embodiment of the present invention. The apparatus 300 for generating a process instance template includes:
a memory 302 for storing a computer program;
a processor 304 for executing a computer program to: based on the workflow engine, generating a configuration file corresponding to the process instance when the configuration of the process instance is completed; analyzing the configuration file to obtain node information of each process node of the process example; generating an empty process instance template according to the node information and the extensible configuration information of all the process nodes, and displaying the empty process instance template; receiving operator setting information corresponding to each process node and setting information of extensible configuration information to obtain a process example template; and (5) persisting the flow instance template.
The apparatus 300 for generating a flow instance template according to the present invention generates a configuration file corresponding to a flow instance based on a workflow engine, such as an activiti workflow engine, when completing configuration of the flow instance, that is, under a node where an actual flow diagram and a flow stream have been generated, where the configuration file may be an XML file or a database table, and is preferably an XML file; the method comprises the steps of obtaining node information of each process node by analyzing an XML file of a process example, generating an empty process example template according to the node information of each process node and extensible configuration information, displaying the empty process example template on a foreground, preferably displaying the empty process example template in a form, filling operator information and the extensible configuration information corresponding to each process node in the form, obtaining a set process example template after filling, storing the process example template in a database for persistence, and automatically selecting an application process example template when the process example is used again. The flow instance template generation device 300 provided by the invention can select the stored flow template before initializing the flow instance in the flow circulation process of similar services, can automatically assemble the flow template to each node in the flow instance according to the template information in the initialization process, completes the pre-filling of the node information, accelerates the process of flow circulation related to a workflow engine, particularly reduces the repeated selection of editing in the circulation process, improves the efficiency of whole book publication, and simultaneously improves the control of the book publication by the responsibility compilation
In one embodiment of the present invention, preferably, the node information includes: the ID, name and corresponding operation role type of the process node, and optional operator information.
In this embodiment, the node information includes, but is not limited to, an ID, a name and a corresponding operation role type of the process node, and optionally, operator information.
In one embodiment of the present invention, the processor 304 is further preferably configured to execute the computer program to: the selectable operator information is determined based on the type of the operation role.
In this embodiment, it can be understood that the operation role types and the selectable operator information are set in association, one operation role type may correspond to a plurality of selectable operator information, and of course, the same operator information may also correspond to a plurality of operation role types, and only the service flow needs need to be satisfied. After the operation role type of the process node is analyzed, the selectable operator information corresponding to the process node can be determined, so that a user can complete the setting of an operator by selecting certain operator information at the front end, and the method is very convenient.
In one embodiment of the present invention, preferably, the extensible configuration information includes any one or a combination of the following: plan completion time, flow reminding mode, flow node operation interval time and overdue prompting time.
In this embodiment, the extensible configuration information includes any one or a combination of: plan completion time, flow reminding mode, flow node operation interval time and overdue prompt time, but not limited to these.
In one embodiment of the present invention, the processor 304 is preferably specifically configured to execute a computer program to: and storing the template ID, the name, the template creator, the template creation time, the name of the process instance and the process node, the set operator and the expandable configuration information in a database in the form of a data table.
In this embodiment, all the process nodes may be displayed by parsing the configuration file of the process instance, the corresponding information of each process node may be filled in a form, and persisted after completion of the filling, and may be stored in an XML file or a database, preferably a database, where the storage table structure includes: template ID, name, template creator, template creation time, process instance, process node, node operator, and extensible configuration information such as node operation interval time, whether to send short message, whether to send mail, and expiration prompt time.
In one embodiment of the present invention, the processor 304 is further preferably configured to execute the computer program to: when a starting request of a process example is received, user information is obtained, and whether a user creates a process example template is determined according to the user information; if so, generating and displaying prompt information for selecting the flow instance template; if not, starting an empty process instance template.
In this embodiment, when a user starts a process instance, a system may automatically obtain user information, determine whether the user creates a process instance template according to the user information, specifically, compare the user information with template creator information, when the user information is consistent with the template creator information, indicate that the user has created the instance template, preferentially provide a prompt for selecting the template, if no template exists under the user name, start an empty process instance template, and at this time, the user may perform task assignment, specifically, set information corresponding to each node in a form filling manner, such as information of a node operator, planned completion time, a process reminding manner, a few-day advance reminding, and the like, to form complete operation information of a single process node, and store the complete operation information.
A specific embodiment provides a method for generating a process instance template, which includes: based on the activiti workflow engine, under the condition of completing the configuration of the process instance, an XML file corresponding to the process instance is generated, the XML file records the name and the ID value of each node, the XML file corresponding to the process instance is analyzed to obtain the name of each node and the corresponding operation role type, on the basis, the extended configuration information such as plan completion time, mail notification, station internal information and the like is dynamically expanded to form complete operation information of a single process node, and the information of each node is stored.
When a user starts a process instance, if the user creates an instance template, a prompt for selecting the template is preferably provided, if no template exists under the name, an empty process instance template is started, at this time, task assignment can be performed, as shown in fig. 4, all process nodes can be displayed by analyzing an XML file of the process instance, corresponding information of each node can be filled in a form, and is persisted after completion of filling and can be stored in the XML file or a database, the present invention takes storage in the database as an example, a storage table structure is shown in table 1, and each record in the table represents operation information of one node in one instance.
Table 1 flow example template table
ID bigint ﹤pk﹥
Name of template varchar(50)
Creators varchar(32)
Template creation time int
Example of the procedure varchar(32)
Flow node varchar(32)
Treating person varchar(32)
Node operation interval time varchar(32)
Whether to send short message or not bigint
Whether or not a mail has occurred bigint
Time of expiry bigint
Application of the process example template:
when the responsible person operates the same service again, the created template can be selected when the process instance is started, and the system can automatically backfill information after selection, as shown in fig. 5, the process reminding mode is as follows: when the station internal letter (or short message) and the mail are selected, the system can acquire days for reminding in advance according to the required plan completion time, and when the current date plus the days for reminding in advance is more than or equal to the plan completion time, the system can push a message according to the selection condition. For example: the planned completion time is 2018-09-20, 11:30:00, and the system is reminded 3 days in advance, and then when the current date is 2018-09-17 and 11:30:00, the system pushes messages at 11:30:00 every day until the task processing is completed. Of course, in the process of time, as the long process example is adopted, a plurality of repeated assignment operations can be avoided, and the workload is greatly saved.
Adapting a flow example template:
after the template is applied, it can be seen that for each node, the planned completion time of the flow node is automatically displayed back, and this time is the actual current time, which is specifically implemented as follows: after the process example is generated, each circulated node is labeled, sequence values are stored in XML information of the nodes according to the circulation sequence, when the template is applied, the first node is taken in sequence according to the sequence values, and the assigned planned completion time is the current time plus the node interval operation time corresponding to the stage in the template table, for example: the interval operation time of the first node is 5h, the current time is 2018-09-20, 11: 0000, the plan completion time of the first node is 2018-09-20, 16: 0000, similarly, the second interval time is stored relative to the first node, if 4h is stored, the plan completion time of the second node is 2018-09-20, 16: 0000 relative to the plan completion time of the first node, the plan completion time of the second node is 2018-09-20, 20: 0000, and the like, and the plan completion time of each node can be filled in according to time. Certainly, in the actual process, when the scheduled time exceeds the off-duty time of 18:00, the scheduled time is automatically calculated after deduction, that is, the scheduled time after 4 hours of deduction from 2018-09-20, 16: 0000 is 2018-09-21, 11: 0000 (assuming that the on-duty time is 9:00) on the next day, so that the time provided by the system is ensured to be more consistent with the use scene. Certainly, each node can perform flow assignment again, only the node after the node sequence can be assigned in each assignment, and after the time of one node is changed, subsequent nodes can perform linkage correction correspondingly, so that correction adaptation can be performed dynamically, and the template can be used more accurately and reasonably.
The method and the device for generating the flow example template provided by the embodiment of the invention can apply the flow template to the example and can adapt and correct according to the scene. Especially in the complicated flow operation process, the manpower and the time are saved, and the operation speed and the working efficiency are greatly improved.
Obviously, in the process of managing and controlling the whole process by the responsible person, the method for automatically adapting the application of the template information is not limited to the services of the publishing company, and other related fields using the embodiment provided in the present invention or the manner similar to the present invention belong to the practical application scope of the present invention.
The present invention also proposes a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for generating a flow instance template according to any one of the above embodiments.
According to the computer-readable storage medium of the present invention, when being executed by a processor, the computer program stored thereon implements the steps of the method for generating a flow instance template according to any one of the above embodiments, so that the computer-readable storage medium can implement all the beneficial effects of the method for generating a flow instance template, and is not described in detail again.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A method for generating a process instance template is characterized by comprising the following steps:
based on a workflow engine, generating a configuration file corresponding to a process instance when the configuration of the process instance is completed;
analyzing the configuration file to obtain node information of each process node of the process instance;
generating an empty flow instance template according to the node information and the extensible configuration information of all the flow nodes, and displaying the empty flow instance template;
receiving operator setting information corresponding to each process node and setting information of the extensible configuration information to obtain a process instance template;
and persisting the flow instance template.
2. The method for generating a process instance template according to claim 1,
the node information includes: the ID, name and corresponding operation role type of the process node, and optional operator information.
3. The method for generating a process instance template according to claim 2, further comprising: and determining the selectable operator information according to the operation role type.
4. The method for generating a process instance template according to any one of claims 1 to 3,
the extensible configuration information comprises any one or a combination of: plan completion time, flow reminding mode, flow node operation interval time and overdue prompting time.
5. The method for generating a process instance template according to claim 4, wherein the step of persisting the process instance template specifically comprises:
and storing the template ID, the name, the template creator, the template creation time, the name of the process instance, the name of the process node, the set operator and the expandable configuration information in a database in a data table mode.
6. The method for generating a process instance template according to claim 5, further comprising:
when a starting request of the process example is received, user information is obtained, and whether the user creates the process example template or not is determined according to the user information;
if yes, generating and displaying prompt information for selecting the flow instance template;
if not, starting the empty process instance template.
7. An apparatus for generating a process instance template, comprising:
a memory for storing a computer program;
a processor for executing the computer program to: based on a workflow engine, generating a configuration file corresponding to a process instance when the configuration of the process instance is completed; analyzing the configuration file to obtain node information of each process node of the process instance; generating an empty flow instance template according to the node information and the extensible configuration information of all the flow nodes, and displaying the empty flow instance template; receiving operator setting information corresponding to each process node and setting information of the extensible configuration information to obtain the process instance template;
and persisting the flow instance template.
8. The apparatus for generating a process instance template according to claim 7,
the node information includes: the ID, name and corresponding operation role type of the process node, and optional operator information.
9. The apparatus of claim 8, wherein the processor is further configured to execute the computer program to:
and determining the selectable operator information according to the operation role type.
10. The apparatus for generating a process instance template according to any one of claims 7 to 9,
the extensible configuration information comprises any one or a combination of: plan completion time, flow reminding mode, flow node operation interval time and overdue prompting time.
11. The apparatus for generating a process instance template according to claim 10, wherein the processor is specifically configured to execute the computer program to:
and storing the template ID, the name, the template creator, the template creation time, the name of the process instance, the name of the process node, the set operator and the expandable configuration information in a database in a data table mode.
12. The apparatus of claim 11, wherein the processor is further configured to execute the computer program to:
when a starting request of the process example is received, user information is obtained, and whether the user creates the process example template or not is determined according to the user information;
if yes, generating and displaying prompt information for selecting the flow instance template;
if not, starting the empty process instance template.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of generating a process instance template according to any one of claims 1 to 6.
CN201811340471.1A 2018-11-12 2018-11-12 Method and device for generating process instance template and computer readable storage medium Pending CN111178815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811340471.1A CN111178815A (en) 2018-11-12 2018-11-12 Method and device for generating process instance template and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811340471.1A CN111178815A (en) 2018-11-12 2018-11-12 Method and device for generating process instance template and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111178815A true CN111178815A (en) 2020-05-19

Family

ID=70653502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811340471.1A Pending CN111178815A (en) 2018-11-12 2018-11-12 Method and device for generating process instance template and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111178815A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857686A (en) * 2020-07-16 2020-10-30 江苏神彩科技股份有限公司 Cross-system based process engine design and implementation method
CN112883697A (en) * 2021-03-17 2021-06-01 新奥数能科技有限公司 Workflow list generation method and device, electronic equipment and computer readable medium
CN113377371A (en) * 2021-06-02 2021-09-10 五八到家有限公司 Multi-scene configuration method, system, device and medium
CN113657750A (en) * 2021-08-16 2021-11-16 中通服网络信息技术有限公司 User-defined visual process engine
CN113792534A (en) * 2021-03-02 2021-12-14 京东科技控股股份有限公司 Method and device for processing flow
CN114240382A (en) * 2021-12-21 2022-03-25 中国建设银行股份有限公司 Flow instance generation method and device based on structured flow template
CN117667362A (en) * 2024-01-31 2024-03-08 上海朋熙半导体有限公司 Method, system, equipment and readable medium for scheduling process engine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456185A (en) * 2010-10-29 2012-05-16 金蝶软件(中国)有限公司 Distributed workflow processing method and distributed workflow engine system
CN102467411A (en) * 2010-11-19 2012-05-23 金蝶软件(中国)有限公司 Workflow processing and workflow agent method, device and system
CN102542367A (en) * 2010-12-10 2012-07-04 金蝶软件(中国)有限公司 Cloud computing network workflow processing method, device and system based on domain model
US20150127412A1 (en) * 2013-11-04 2015-05-07 Amazon Technologies, Inc. Workflow management system
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN108510240A (en) * 2018-03-26 2018-09-07 科大国创软件股份有限公司 A kind of document dynamic configuration system and its configuration method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456185A (en) * 2010-10-29 2012-05-16 金蝶软件(中国)有限公司 Distributed workflow processing method and distributed workflow engine system
CN102467411A (en) * 2010-11-19 2012-05-23 金蝶软件(中国)有限公司 Workflow processing and workflow agent method, device and system
CN102542367A (en) * 2010-12-10 2012-07-04 金蝶软件(中国)有限公司 Cloud computing network workflow processing method, device and system based on domain model
US20150127412A1 (en) * 2013-11-04 2015-05-07 Amazon Technologies, Inc. Workflow management system
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN108510240A (en) * 2018-03-26 2018-09-07 科大国创软件股份有限公司 A kind of document dynamic configuration system and its configuration method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857686A (en) * 2020-07-16 2020-10-30 江苏神彩科技股份有限公司 Cross-system based process engine design and implementation method
CN113792534A (en) * 2021-03-02 2021-12-14 京东科技控股股份有限公司 Method and device for processing flow
CN112883697A (en) * 2021-03-17 2021-06-01 新奥数能科技有限公司 Workflow list generation method and device, electronic equipment and computer readable medium
CN112883697B (en) * 2021-03-17 2024-04-16 新奥数能科技有限公司 Workflow form generation method, device, electronic equipment and computer readable medium
CN113377371A (en) * 2021-06-02 2021-09-10 五八到家有限公司 Multi-scene configuration method, system, device and medium
CN113657750A (en) * 2021-08-16 2021-11-16 中通服网络信息技术有限公司 User-defined visual process engine
CN114240382A (en) * 2021-12-21 2022-03-25 中国建设银行股份有限公司 Flow instance generation method and device based on structured flow template
CN117667362A (en) * 2024-01-31 2024-03-08 上海朋熙半导体有限公司 Method, system, equipment and readable medium for scheduling process engine
CN117667362B (en) * 2024-01-31 2024-04-30 上海朋熙半导体有限公司 Method, system, equipment and readable medium for scheduling process engine

Similar Documents

Publication Publication Date Title
CN111178815A (en) Method and device for generating process instance template and computer readable storage medium
EP1681634A1 (en) Method and system for tracking changes in a document
CN111221522A (en) Automatic code generation method of front-end and back-end separation architecture for government intensive application development
CN107045676B (en) Logistics circulation message processing method and device
CN111459631A (en) Automatic batch processing method and system for server
CN111125067B (en) Data maintenance method and device
CN110807618A (en) Dynamic scheduling method, device and equipment
CN107844566B (en) Dump control method and system
CN113867852B (en) Information display method, device and equipment for service demands and storage medium
CN110888925B (en) Data loading and distributing method and device and storage medium
CN106484792B (en) A kind of data power supply management method and device for Persistence Layer Framework
CN111598432A (en) Task allocation method and device
CN110895745B (en) Method and device for polling to obtain task, computer equipment and storage medium
CN115269548A (en) Method and system for generating data warehouse development model and related equipment
CN111142927B (en) Configuration file merging and splitting processing method and device
CN114115826A (en) Code generation method, terminal and readable storage medium
CN113033169A (en) Service data processing method and device
CN111143316A (en) Version management system and method for BIM forward design
CN111767331A (en) Multitask visual activation method of million-magnitude data in relational database
CN107368321B (en) Software version evolution method and system
CN113656095B (en) Processing method and device for configuration data
CN114078000A (en) Method and device for managing periodic schedules and terminal equipment
CN110399122A (en) A kind of BIOS customizing script generation method, system, equipment and storage medium
CN116820511A (en) Automatic updating method, device, equipment and medium for firmware version
CN117993358A (en) Waterfall type plan automatic typesetting method and device, medium and equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20230609

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Applicant after: New founder holdings development Co.,Ltd.

Applicant after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Applicant before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Applicant before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519

RJ01 Rejection of invention patent application after publication