CN109389299A - Work process flow dispositions method, device, computer equipment and storage medium - Google Patents

Work process flow dispositions method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109389299A
CN109389299A CN201811123427.5A CN201811123427A CN109389299A CN 109389299 A CN109389299 A CN 109389299A CN 201811123427 A CN201811123427 A CN 201811123427A CN 109389299 A CN109389299 A CN 109389299A
Authority
CN
China
Prior art keywords
workflow
template
deployment
defining
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811123427.5A
Other languages
Chinese (zh)
Other versions
CN109389299B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811123427.5A priority Critical patent/CN109389299B/en
Publication of CN109389299A publication Critical patent/CN109389299A/en
Application granted granted Critical
Publication of CN109389299B publication Critical patent/CN109389299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

This application involves a kind of work process flow dispositions method, device, computer equipment and storage mediums.The method is related to Business Process Optimizing technology, comprising: receives the request message for the workflow deployment that terminal is sent;Preset workflow template library is inquired according to request message, obtains workflow defining template corresponding with request message;Workflow defining template is returned to terminal;The workflow defining file that terminal returns is received, workflow defining file after workflow defining template renewal by obtaining;Preset workflow engine is transferred, and work process flow deployment is carried out according to workflow defining file by workflow engine.Using this method when carrying out work process flow deployment, does not need to shut down and restart, effectively increase the efficiency of work process flow deployment.

Description

Work process flow dispositions method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of work process flow dispositions method, device, computer Equipment and storage medium.
Background technique
With the development of computer technology, more and more operation systems are realized by computer technology and are automated, and are such as done Public room automated system, electronic government affairs system etc..Wherein, work stream concept is directed to the day of organization of production and Field of Office Automation Often in work with fixed routine activity and a concept proposing, it is therefore an objective to by by job analysis at defining good task Or role, these tasks are executed with process according to certain rules and it is monitored, and are reached and are improved working efficiency, more preferable Control process and effective management business process the purpose of.
Currently, the exploitation of most of workflow is to carry out work process flow portion by the flow file in reading database Administration, and need to shut down in process deployment and restart, cause process to dispose low efficiency, more and more inadaptable instantly increasingly complicated multiplicity Business scenario.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of work that can be improved work process flow deployment efficiency Make stream process dispositions method, device, computer equipment and storage medium.
A kind of work process flow dispositions method, which comprises
Receive the request message for the workflow deployment that terminal is sent;
Preset workflow template library is inquired according to request message, obtains workflow defining mould corresponding with request message Plate;
Workflow defining template is returned to terminal;
The workflow defining file that terminal returns is received, workflow defining file after workflow defining template renewal by obtaining It arrives;
Preset workflow engine is transferred, and work process flow is carried out according to workflow defining file by workflow engine Deployment.
Preset workflow template library, acquisition and request message are inquired according to request message in one of the embodiments, The step of corresponding workflow defining template includes:
It is determined according to request message wait operation system belonging to the process that maps out the work;
Inquire preset workflow template library;
Workflow defining template corresponding with operation system is obtained from workflow template library according to operation system.
The step wait operation system belonging to the process that maps out the work is determined according to request message in one of the embodiments, Suddenly include:
Request keyword is extracted from request message;
Request keyword is subjected to keyword match in preset operation system mapping table;
It is determined according to keyword matching result wait operation system belonging to the process that maps out the work.
In one of the embodiments, before the step of inquiring preset workflow template library according to request message, also Include:
Obtain the history service data of operation system;
Each service node is extracted from history service data, and determines the mapping relations between each service node;
According to each service node and mapping relations, workflow defining template is generated;
Workflow defining template is summarized, workflow template library is obtained.
In one of the embodiments, return workflow defining template to the step of terminal include:
Preset workflow plug-in unit is corresponded to according to workflow defining template query, workflow plug-in unit is fixed for updating workflow Adopted template;
Workflow defining template and workflow plug-in unit are back to terminal.
Work process flow portion is being carried out according to workflow defining file by workflow engine in one of the embodiments, After the step of administration, further includes:
When detecting that work process flow deployment is completed, each node processing people is extracted from workflow defining file;Xiang Jie Point processing people's transmission flow updates prompting message;
When work process flow deployment completion is not detected, abnormal prompt message is generated;Abnormal prompt message is back to Terminal.
Work process flow portion is being carried out according to workflow defining file by workflow engine in one of the embodiments, After the step of administration, further includes:
When detecting that work process flow deployment is completed, by workflow defining file storage into workflow template library.
A kind of work process flow deployment device, described device include:
Request message receiving module, the request message of the workflow deployment for receiving terminal transmission;
Definition template obtains module, and for inquiring preset workflow template library according to request message, acquisition disappears with request Cease corresponding workflow defining template;
Definition template return module, for returning to workflow defining template to terminal;
File reception module is defined, for receiving the workflow defining file of terminal return, workflow defining file is by work Make to obtain after stream definition template updates;
Process deployment module, for transferring preset workflow engine, and by workflow engine according to workflow defining File carries out work process flow deployment.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Receive the request message for the workflow deployment that terminal is sent;
Preset workflow template library is inquired according to request message, obtains workflow defining mould corresponding with request message Plate;
Workflow defining template is returned to terminal;
The workflow defining file that terminal returns is received, workflow defining file after workflow defining template renewal by obtaining It arrives;
Preset workflow engine is transferred, and work process flow is carried out according to workflow defining file by workflow engine Deployment.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Receive the request message for the workflow deployment that terminal is sent;
Preset workflow template library is inquired according to request message, obtains workflow defining mould corresponding with request message Plate;
Workflow defining template is returned to terminal;
The workflow defining file that terminal returns is received, workflow defining file after workflow defining template renewal by obtaining It arrives;
Preset workflow engine is transferred, and work process flow is carried out according to workflow defining file by workflow engine Deployment.
Above-mentioned work process flow dispositions method, device, computer equipment and storage medium are sent out according to what is received by terminal The workflow deployment request message sent obtains corresponding workflow defining template from preset workflow template library, and receives By terminal return be updated after obtained workflow defining file, finally transfer preset workflow engine according to the work Stream defines file and carries out process deployment.When carrying out work process flow deployment, terminal real-time update workflow defining can be passed through File realizes real time process flow deployment by workflow engine, does not need to shut down and restart, effectively increases the effect of work process flow deployment Rate.
Detailed description of the invention
Fig. 1 is the application scenario diagram of work process flow dispositions method in one embodiment;
Fig. 2 is the flow diagram of work process flow dispositions method in one embodiment;
The flow diagram for the step of Fig. 3 is construction work flow template library in one embodiment;
Fig. 4 is the flow diagram of work process flow dispositions method in another embodiment;
Fig. 5 is the structural block diagram that work process flow disposes device in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Work process flow dispositions method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, Terminal 102 is communicated with server 104 by network by network.The reception of server 104 is disappeared by the request that terminal 102 is sent Breath, the request message is for requesting workflow to be disposed, and server 104 is according to the request message from preset workflow template library In, obtain corresponding workflow defining template, and receive by terminal return be updated after obtained workflow defining file, It finally transfers preset workflow engine and process deployment is carried out according to the workflow defining file, to realize to work process flow Deployment.Wherein, terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer With portable wearable device, server 104 can use the server set of the either multiple server compositions of independent server Group realizes.
In one embodiment, as shown in Fig. 2, providing a kind of work process flow dispositions method, it is applied in this way It is illustrated for server 104 in Fig. 1, comprising the following steps:
Step S201: the request message for the workflow deployment that terminal is sent is received.
When user needs to carry out workflow deployment, request message is sent to server 104, with request by terminal 102 Carry out workflow deployment.When server 104 receives the request message, workflow deployment mechanisms are triggered, according to the request message Carry out workflow deployment.
Step S203: preset workflow template library is inquired according to request message, obtains work corresponding with request message Flow definition template.
Wherein, request message can be, but not limited to carry user identity information, flow affiliated business system wait map out the work Information of uniting and workflow deployment requirements information.Workflow template inventory contains preset workflow defining template, the workflow Definition template is correspondingly arranged to obtain for the business demand for each operation system, and specifically, workflow defining template can be based on The two-dimension vector graphics of SVG (Scalable Vector Graphics, scalable vector graphics) language description construct to obtain.It is logical It crosses and workflow defining template is configured, can quickly obtain the workflow for meeting various businesses demand under corresponding operation system File is defined, which, such as Activiti workflow engine, can carry out workflow by transferring workflow engine Process deployment.In the present embodiment, preset workflow template library is inquired according to the request message received, from workflow template library It is middle to obtain workflow defining template corresponding with request message.
Step S205: workflow defining template is returned to terminal.
Obtain and workflow defining template corresponding with request message after, which is issued to terminal 102, workflow development design is carried out according to workflow defining template by terminal 102.It in specific implementation, can be according to acquisition Workflow defining template generation workflow template data, so as to the transmitting of workflow defining template.By workflow template data Before issuing, workflow template data can also be encrypted, then will be encrypted according to preset coding encrypting mode Workflow template data are back to terminal 102, to ensure the Information Security in transmission process.Terminal 102 receives workflow After definition template, according to actual development design requirement, configuration update is carried out to workflow defining template, obtains workflow defining text Part, and the workflow defining file is back to server 104, it is subsequent to be carried out by server 104 to workflow defining file Process deployment process.
In specific implementation, workflow defining template can be the Xml formatted file based on SVG language, at this point, terminal 102 can open the workflow defining template by browser, obtain visual workflow defining interface, and be based on the work It flows definition interfaces and carries out workflow development, finally obtain the workflow defining file of Xml format and be back to server 104.
Step S207: the workflow defining file that terminal returns is received, workflow defining file is by workflow defining template It is obtained after update.
Obtained workflow defining template will be inquired to be issued to 104 after terminal, it is literary to receive the workflow defining that terminal returns Part, the workflow defining file obtain after being updated by terminal pole 102 to workflow defining template.
Step S209: preset workflow engine is transferred, and is carried out by workflow engine according to workflow defining file Work process flow deployment.
Wherein, workflow engine takes charge of the explanation work process flow definition, creates and initialize for driving process to flow Flow instance, the path of control flow flowing, record process flow operation state, hang-up wake up process, terminate the stream being currently running Journey and communication etc. work between other engines.By transferring preset workflow engine, as Activiti workflow is drawn It holds up, supports entire workflow framework by 23 tables, all tables are all started with ACT_, and second part is the purposes for indicating table Two letter marks, purposes is also corresponding with the API of service.It may be implemented by obtained workflow engine to workflow defining File carries out work process flow deployment.
In above-mentioned work process flow dispositions method, according to receive by the workflow that terminal is sent dispose request message from In preset workflow template library, obtain corresponding workflow defining template, and receive by terminal returns be updated after must The workflow defining file arrived finally transfers preset workflow engine according to the workflow defining file and carries out process deployment. When carrying out work process flow deployment, can be realized by workflow engine real by terminal real-time update workflow defining file Shi Liucheng deployment does not need to shut down and restart, effectively increases the efficiency of work process flow deployment.
In one embodiment, preset workflow template library is inquired according to request message, obtained corresponding with request message Workflow defining template the step of include: according to request message determine wait operation system belonging to the process that maps out the work;It looks into Ask preset workflow template library;It is fixed that workflow corresponding with operation system is obtained from workflow template library according to operation system Adopted template.
The workflow defining template being correspondingly arranged according to various businesses system is stored in workflow template library, workflow is fixed Adopted template meets the various businesses demand of its corresponding operation system, can be adjusted according to practical business demand.This implementation In example, is determined according to the request message received wait operation system belonging to the process that maps out the work, can specifically be disappeared from request Request keyword relevant to business is extracted in breath, is determined in the request message according to the request keyword wait the stream stream that maps out the work Operation system belonging to journey is corresponding.After determining operation system, in preset workflow template library, inquiry and the operation system pair The workflow defining template answered.By the request message sent according to terminal, obtain what correspondence was suitble to from workflow template library Workflow defining template, it can be ensured that the specific aim of workflow defining template is capable of the place of effective guarantee work process flow deployment Manage efficiency.
In one embodiment, the step of being determined according to request message wait operation system belonging to the process that maps out the work packet It includes: extracting request keyword from request message;Request keyword is subjected to keyword in preset operation system mapping table Matching;It is determined according to keyword matching result wait operation system belonging to the process that maps out the work.
In the present embodiment, request message is carried wait the operation system information belonging to flowing and the workflow deployment of mapping out the work Demand information is determined by extracting request keyword from request message, and according to obtained request keyword wait map out the work Flow operation system belonging to process.Specifically, will extract obtained request keyword in preset operation system mapping table into Row keyword match, wherein operation system mapping table has recorded the mapping relations of each operation system and corresponding keyword, If each operation system corresponds to different key combinations, corresponding operation system can be determined by key combination.Business System mapping table can be analyzed to obtain according to the business datum of each operation system, specifically, can be corresponding from operation system Business datum in extract business keyword, and the frequency of each business keyword is ranked up, chooses the high business of the frequency and close Key word is added in operation system mapping table, the matching keyword as operation system.By the way that keyword and business system will be requested The corresponding matching keyword of each operation system is matched in system mapping table, can be determined in the request message according to matching result Wait operation system belonging to the process that maps out the work.Such as the highest business of matching degree can be selected according to keyword matching result System as in request message wait operation system belonging to the process that maps out the work.
In one embodiment, as shown in figure 3, according to request message inquire preset workflow template library the step of it Before, further include the steps that construction work flow template library, specifically include:
Step S301: the history service data of operation system are obtained.
Workflow template inventory contains the workflow defining template being correspondingly arranged according to various businesses system, in construction work Flow template library needs to construct corresponding workflow defining template according to each operation system, finally by the corresponding work of each operation system Make stream definition template to summarize, to obtain workflow template library.In the present embodiment, the corresponding history service of each operation system is obtained Data specifically can obtain required history service data, the history service from the corresponding service database of each operation system Data can reflect the operation flow of the operation system.
Step S303: extracting each service node from history service data, and determines that the mapping between each service node is closed System.
After obtaining the history service data of operation system, service node is extracted from history service data, service node is The business processing point for needing to carry out data processing in operation flow can be, but not limited to include start node, end node, task Node, automatic node, decision node, branch node and merge node etc. are connected by mapping relations between each service node It connects, realizes and the data service node are flowed, thus the operation for process of promoting business.In the present embodiment, history service data Including the various complete operation flows in corresponding operation system, from the operation flow, business processing point is extracted as business Node, and using the connection relationship of each business processing point as the mapping relations between each service node, to realize to history industry The parsing for data of being engaged in.Mapping relations between obtained service node and each service node can be used as the template of workflow defining template Element is used for construction work stream definition template.
Step S305: according to each service node and mapping relations, workflow defining template is generated.
After obtaining the mapping relations between each service node and each service node in history service data, according to business section Mapping relations between point and each service node generate workflow defining template.For example, declaration form in insurance system is generated Operation flow, service node include order first trial node, new single registered nodes, typing review node, core guarantor node, single node processed It with declaration form sending node, is sequentially connected between each service node, and sequentially push process is run, realizes the Business Stream that declaration form generates Journey service.
Step S307: workflow defining template is summarized, and obtains workflow template library.
After obtaining the corresponding workflow defining template of each operation system, each workflow defining template is summarized, work is obtained Flow template library.
In the present embodiment, the history service data based on each operation system construct corresponding workflow defining template, obtain Workflow defining template and corresponding operation system contact closely, the work process flow suitable for the operation system is disposed.
In one embodiment, returning to workflow defining template to the step of terminal includes: according to workflow defining template The corresponding preset workflow plug-in unit of inquiry, workflow plug-in unit is for updating workflow defining template;By workflow defining template and Workflow plug-in unit is back to terminal.
Workflow defining template is the frame of workflow defining file, needs to cooperate corresponding workflow plug-in unit to work It flows definition template and carries out work process flow exploitation design.In the present embodiment, corresponded to according to workflow defining template query preset Workflow plug-in unit comprising the various configuration element plug-in units that workflow defining template is configured, such as various types business section The node card of point, and the mapping plug-in unit etc. of the various mapping relations of characterization.It can be to workflow defining by workflow plug-in unit Template carries out configuration update, to realize the exploitation design of work process flow.Obtain work corresponding with workflow defining template After making stream plug-in unit, workflow defining template and workflow plug-in unit are back to terminal, by terminal according to workflow plug-in unit to work Stream definition template carries out configuration update, obtains and returns by obtaining workflow defining file after workflow defining template renewal.
In one embodiment, work process flow deployment is being carried out according to workflow defining file by workflow engine After step, further includes: when detecting that work process flow deployment is completed, each node processing is extracted from workflow defining file People;Prompting message is updated to node processing people's transmission flow;When work process flow deployment completion is not detected, abnormal mentions is generated Show message;Abnormal prompt message is back to terminal.
After obtaining the workflow defining file of terminal return, workflow engine is transferred according to workflow defining file and carries out work Make stream process deployment.Workflow engine can be Activiti workflow engine, in 23 tables used, ACT_RE_*:' RE' indicates that repository, the table of this prefix contain flow definition and process static resource (picture, rule, etc.); ACT_RU_*:'RU' indicates runtime, and table when these operations, includes flow instance, task, variable, asynchronous task waits fortune Data in row;Activiti only saves these data in flow instance implementation procedure, just will be deleted this at the end of process Table can very little speed be quickly always when a little record, in this way operation;ACT_ID_*:'ID' indicates that identity, these tables include Identity information, such as user, group etc.;ACT_HI_*:'HI' indicates that history, these tables include historical data, such as history Flow instance, variable, task dispatching etc.;ACT_GE_*: general data, for such as storing resource file under different scenes. Activiti workflow engine carries out work process flow deployment by above-mentioned 23 tables, according to workflow defining file.It is working When flowing process deployment completion, prompting message can be issued to the process object involved in work process flow, to remind process object The update status of work process flow.
Specifically, detection work process flow deployment deployment as a result, when detect work process flow deployment complete when, from work Make to extract each node processing people in stream definition file, and update prompting message to node processing people's transmission flow, which updates Prompting message is for reminding corresponding node processing people work process flow to update.On the other hand, if workflow stream is not detected When journey deployment is completed, shows work process flow deployment failure, generate abnormal prompt message at this time, and abnormal prompt message is returned To terminal, to inform the deployment failure of terminal works stream process, and terminal is reminded to report request message to re-start workflow again Process deployment.In the present embodiment, by the deployment of detection work process flow deployment as a result, according to different deployment as a result, respectively Prompt interdependent node processing people's work process flow update status or prompt terminal report request message to re-start workflow again Process deployment, it is ensured that the smooth execution of work process flow deployment.
In one embodiment, work process flow deployment is being carried out according to workflow defining file by workflow engine After step, further includes: when detecting that work process flow deployment is completed, by workflow defining file storage to workflow template In library.
When carrying out work process flow deployment according to workflow defining file by workflow engine, if detecting workflow Process deployment is completed, then by workflow defining file storage into workflow template library, is realized with this to workflow template library Dynamic expansion.In the present embodiment, by the way that the workflow defining file of work process flow deployment success is imported workflow template library In, the workflow defining template which is disposed as follow-up work stream process is realized to workflow template The expansion in library is conducive to the deployment efficiency for improving follow-up work stream process.
In one embodiment, as shown in figure 4, providing a kind of work process flow dispositions method, comprising the following steps:
Step S401: the request message for the workflow deployment that terminal is sent is received;
Step S402: request keyword is extracted from request message;
Step S403: request keyword is subjected to keyword match in preset operation system mapping table;
Step S404: it is determined according to keyword matching result wait operation system belonging to the process that maps out the work;
Step S405: preset workflow template library is inquired;
Step S406: workflow defining mould corresponding with operation system is obtained from workflow template library according to operation system Plate;
Step S407: preset workflow plug-in unit is corresponded to according to workflow defining template query, workflow plug-in unit is for more New workflow defining template.
In the present embodiment, request message is carried wait the operation system information belonging to flowing and the workflow deployment of mapping out the work Demand information is determined by extracting request keyword from request message, and according to obtained request keyword wait map out the work Flow operation system belonging to process.After determining operation system, in preset workflow template library, inquiry and the operation system pair The workflow defining template answered.By the request message sent according to terminal, obtain what correspondence was suitble to from workflow template library Workflow defining template, it can be ensured that the specific aim of workflow defining template is capable of the place of effective guarantee work process flow deployment Manage efficiency.
In addition, workflow defining template is the frame of workflow defining file, need to cooperate corresponding workflow plug-in unit with Work process flow exploitation design is carried out to workflow defining template.It is corresponding according to workflow defining template query in the present embodiment Preset workflow plug-in unit comprising the various configuration element plug-in units configured to workflow defining template pass through workflow Plug-in unit can carry out configuration update to workflow defining template, to realize the exploitation design of work process flow.
Step S408: workflow defining template and workflow plug-in unit are back to terminal;
Step S409: the workflow defining file that terminal returns is received, workflow defining file is by workflow defining template It is obtained after update;
Step S410: preset workflow engine is transferred, and is carried out by workflow engine according to workflow defining file Work process flow deployment.
After obtaining workflow plug-in unit corresponding with workflow defining template, workflow defining template and workflow plug-in unit are returned It is back to terminal, configuration update is carried out to workflow defining template according to workflow plug-in unit by terminal, obtains and returns by workflow Definition template obtains workflow defining file after updating.After obtaining the workflow defining file of terminal return, transfers workflow and draw It holds up, is Activiti workflow engine in the present embodiment, work process flow deployment is carried out according to workflow defining file.
Step S411: judge whether deployment is completed;If so, S412 is thened follow the steps, it is no to then follow the steps S415;
Step S412: by workflow defining file storage into workflow template library;
Step S413: each node processing people is extracted from workflow defining file;
Step S414: prompting message is updated to node processing people's transmission flow;
Step S415: abnormal prompt message is generated, and abnormal prompt message is back to terminal.
The deployment of detection work process flow deployment is determined as a result, when detecting that work process flow deployment is completed from workflow Each node processing people is extracted in adopted file, and updates prompting message to node processing people's transmission flow, which updates prompt and disappear Breath is for reminding corresponding node processing people work process flow to update.On the other hand, also by work process flow deployment success Workflow defining file imports in workflow template library, the work which is disposed as follow-up work stream process Make stream definition template, realize the expansion to workflow template library, is conducive to the deployment efficiency for improving follow-up work stream process.If not When detecting that work process flow deployment is completed, shows work process flow deployment failure, generate abnormal prompt message at this time, and will be different Normal prompting message is back to terminal, to inform the deployment failure of terminal works stream process, and terminal is reminded to report request message again Re-start work process flow deployment.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 5, providing a kind of work process flow deployment device, comprising: request message connects Receive module 501, definition template obtains module 503, definition template return module 505, defines file reception module 507 and process portion Affix one's name to module 509, in which:
Request message receiving module 501, the request message of the workflow deployment for receiving terminal transmission;
Definition template obtains module 503, for inquiring preset workflow template library according to request message, obtains and request The corresponding workflow defining template of message;
Definition template return module 505, for returning to workflow defining template to terminal;
Define file reception module 507, for receive terminal return workflow defining file, workflow defining file by It is obtained after workflow defining template renewal;
Process deployment module 509, for transferring preset workflow engine, and it is fixed according to workflow by workflow engine Adopted file carries out work process flow deployment.
Above-mentioned work process flow disposes device, obtains module according to the work sent by terminal received by definition template Make stream deployment request message and obtain corresponding workflow defining template from preset workflow template library, and by definition file Receiving module receive by terminal return be updated after obtained workflow defining file, finally by process deployment module tune Preset workflow engine is taken to carry out process deployment according to the workflow defining file.It, can when carrying out work process flow deployment To realize real time process flow deployment by workflow engine by terminal real-time update workflow defining file, does not need to shut down and restart, Effectively increase the efficiency of work process flow deployment.
In one embodiment, it includes operation system determination unit, template library query unit that definition template, which obtains module 503, With definition template acquiring unit, in which: operation system determination unit, for being determined according to request message wait the process that maps out the work Affiliated operation system;Template library query unit, for inquiring preset workflow template library;Definition template acquiring unit is used In obtaining workflow defining template corresponding with operation system from workflow template library according to operation system.
In one embodiment, operation system determination unit includes keyword extraction subelement, keyword match subelement Subelement is determined with operation system, in which: keyword extraction subelement, for extracting request keyword from request message;It closes Key word coupling subelement, for keyword will to be requested to carry out keyword match in preset operation system mapping table;Business system It unites and determines subelement, for being determined according to keyword matching result wait operation system belonging to the process that maps out the work.
It in one embodiment, further include history service data acquisition module, template elements determining module, definition template life Module is constructed at module and template library, in which: history service data acquisition module, for obtaining the history service number of operation system According to;Template elements determining module for extracting each service node from history service data, and determines between each service node Mapping relations;Definition template generation module, for generating workflow defining template according to each service node and mapping relations;Mould Plate library constructs module and obtains workflow template library for summarizing workflow defining template.
In one embodiment, definition template return module 505 includes workflow plug-in unit query unit and issuance unit, In: workflow plug-in unit query unit, for corresponding to preset workflow plug-in unit according to workflow defining template query, workflow is inserted Part is for updating workflow defining template;Issuance unit, for workflow defining template and workflow plug-in unit to be back to terminal.
It in one embodiment, further include updating prompting message module and abnormal prompt message module, in which: update prompt Message module, for extracting each node processing people from workflow defining file when detecting that work process flow deployment is completed, And prompting message is updated to node processing people's transmission flow;Work process flow is not detected for working as in abnormal prompt message module When deployment is completed, abnormal prompt message is generated, and abnormal prompt message is back to terminal.
In one embodiment, further include template library enlargement module, for when detect work process flow deployment complete when, By workflow defining file storage into workflow template library.
Specific restriction about work process flow deployment device may refer to above for work process flow dispositions method Restriction, details are not described herein.Modules in above-mentioned work process flow deployment device can be fully or partially through software, hard Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls Corresponding operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 6.The computer equipment includes processor, memory and the network interface connected by system bus. Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-easy The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage Operation for operating system and computer program in non-volatile memory medium provides environment.The network of the computer equipment connects Mouth with external terminal by network connection for being communicated.To realize a kind of workflow when the computer program is executed by processor Process dispositions method.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor perform the steps of when executing computer program
Receive the request message for the workflow deployment that terminal is sent;
Preset workflow template library is inquired according to request message, obtains workflow defining mould corresponding with request message Plate;
Workflow defining template is returned to terminal;
The workflow defining file that terminal returns is received, workflow defining file after workflow defining template renewal by obtaining It arrives;
Preset workflow engine is transferred, and work process flow is carried out according to workflow defining file by workflow engine Deployment.
In one embodiment, it also performs the steps of when processor executes computer program and is determined according to request message Wait operation system belonging to the process that maps out the work;Inquire preset workflow template library;According to operation system from workflow mould Workflow defining template corresponding with operation system is obtained in plate library.
In one embodiment, it also performs the steps of when processor executes computer program and is extracted from request message Request keyword;Request keyword is subjected to keyword match in preset operation system mapping table;According to keyword match As a result it determines wait operation system belonging to the process that maps out the work.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains going through for operation system History business datum;Each service node is extracted from history service data, and determines the mapping relations between each service node;According to Each service node and mapping relations generate workflow defining template;Workflow defining template is summarized, workflow template is obtained Library.
In one embodiment, it also performs the steps of when processor executes computer program according to workflow defining mould The corresponding preset workflow plug-in unit of plate inquiry, workflow plug-in unit is for updating workflow defining template;By workflow defining template Terminal is back to workflow plug-in unit.
In one embodiment, it also performs the steps of to work as when processor executes computer program and detects workflow stream When journey deployment is completed, each node processing people is extracted from workflow defining file;It updates and prompts to node processing people's transmission flow Message;When work process flow deployment completion is not detected, abnormal prompt message is generated;Abnormal prompt message is back to end End.
In one embodiment, it also performs the steps of to work as when processor executes computer program and detects workflow stream When journey deployment is completed, by workflow defining file storage into workflow template library.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Receive the request message for the workflow deployment that terminal is sent;
Preset workflow template library is inquired according to request message, obtains workflow defining mould corresponding with request message Plate;
Workflow defining template is returned to terminal;
The workflow defining file that terminal returns is received, workflow defining file after workflow defining template renewal by obtaining It arrives;
Preset workflow engine is transferred, and work process flow is carried out according to workflow defining file by workflow engine Deployment.
In one embodiment, it is also performed the steps of when computer program is executed by processor true according to request message Determine wait operation system belonging to the process that maps out the work;Inquire preset workflow template library;According to operation system from workflow Workflow defining template corresponding with operation system is obtained in template library.
In one embodiment, it also performs the steps of when computer program is executed by processor and is mentioned from request message Take request keyword;Request keyword is subjected to keyword match in preset operation system mapping table;According to keyword It determines with result wait operation system belonging to the process that maps out the work.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains operation system History service data;Each service node is extracted from history service data, and determines the mapping relations between each service node;Root According to each service node and mapping relations, workflow defining template is generated;Workflow defining template is summarized, workflow template is obtained Library.
In one embodiment, it also performs the steps of when computer program is executed by processor according to workflow defining Template query corresponds to preset workflow plug-in unit, and workflow plug-in unit is for updating workflow defining template;By workflow defining mould Plate and workflow plug-in unit are back to terminal.
In one embodiment, it also performs the steps of to work as when computer program is executed by processor and detects workflow When process deployment is completed, each node processing people is extracted from workflow defining file;It is mentioned to the update of node processing people's transmission flow Show message;When work process flow deployment completion is not detected, abnormal prompt message is generated;Abnormal prompt message is back to end End.
In one embodiment, it also performs the steps of to work as when computer program is executed by processor and detects workflow When process deployment is completed, by workflow defining file storage into workflow template library.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of work process flow dispositions method, which comprises
Receive the request message for the workflow deployment that terminal is sent;
Preset workflow template library is inquired according to the request message, obtains workflow defining corresponding with the request message Template;
The workflow defining template is returned to the terminal;
Receive the workflow defining file that the terminal returns, the workflow defining file by the workflow defining template more It is obtained after new;
Preset workflow engine is transferred, and workflow is carried out according to the workflow defining file by the workflow engine Process deployment.
2. the method according to claim 1, wherein described inquire preset workflow according to the request message Template library, obtain workflow defining template corresponding with the request message the step of include:
It is determined according to the request message wait operation system belonging to the process that maps out the work;
Inquire preset workflow template library;
Workflow defining mould corresponding with the operation system is obtained from the workflow template library according to the operation system Plate.
3. according to the method described in claim 2, it is characterized in that, described determine according to the request message wait the stream that maps out the work The step of operation system belonging to process includes:
Request keyword is extracted from the request message;
The request keyword is subjected to keyword match in preset operation system mapping table;
It is determined according to keyword matching result wait the operation system belonging to the process that maps out the work.
4. according to the method described in claim 3, it is characterized in that, inquiring preset work according to the request message described Before the step of flow template library, further includes:
Obtain the history service data of the operation system;
Each service node is extracted from the history service data, and determines the mapping relations between each service node;
According to each service node and the mapping relations, the workflow defining template is generated;
The workflow defining template is summarized, the workflow template library is obtained.
5. the method according to claim 1, wherein described return to the workflow defining template to the terminal The step of include:
Preset workflow plug-in unit is corresponded to according to the workflow defining template query, the workflow plug-in unit is described for updating Workflow defining template;
The workflow defining template and the workflow plug-in unit are back to the terminal.
6. according to claim 1 to method described in 5 any one, which is characterized in that pass through the workflow engine described After the step of carrying out work process flow deployment according to the workflow defining file, further includes:
When detecting that work process flow deployment is completed, each node processing people is extracted from the workflow defining file;To institute It states node processing people's transmission flow and updates prompting message;
When work process flow deployment completion is not detected, abnormal prompt message is generated;The abnormal prompt message is back to The terminal.
7. according to the method described in claim 6, it is characterized in that, it is described by the workflow engine according to the work Stream defined after the step of file carries out work process flow deployment, further includes:
When detecting that work process flow deployment is completed, by the workflow defining file storage to the workflow template library In.
8. a kind of work process flow disposes device, which is characterized in that described device includes:
Request message receiving module, the request message of the workflow deployment for receiving terminal transmission;
Definition template obtains module, and for inquiring preset workflow template library according to the request message, acquisition is asked with described Seek the corresponding workflow defining template of message;
Definition template return module, for returning to the workflow defining template to the terminal;
File reception module is defined, the workflow defining file returned for receiving the terminal, the workflow defining file By being obtained after the workflow defining template renewal;
Process deployment module, for transferring preset workflow engine, and by the workflow engine according to the workflow It defines file and carries out work process flow deployment.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811123427.5A 2018-09-26 2018-09-26 Workflow process deployment method, workflow process deployment device, computer equipment and storage medium Active CN109389299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811123427.5A CN109389299B (en) 2018-09-26 2018-09-26 Workflow process deployment method, workflow process deployment device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811123427.5A CN109389299B (en) 2018-09-26 2018-09-26 Workflow process deployment method, workflow process deployment device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109389299A true CN109389299A (en) 2019-02-26
CN109389299B CN109389299B (en) 2023-10-31

Family

ID=65418154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811123427.5A Active CN109389299B (en) 2018-09-26 2018-09-26 Workflow process deployment method, workflow process deployment device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109389299B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978380A (en) * 2019-03-28 2019-07-05 金瓜子科技发展(北京)有限公司 A kind of workflow processing method and device
CN111382953A (en) * 2020-03-23 2020-07-07 中国建设银行股份有限公司 Dynamic process generation method and device
CN113362042A (en) * 2021-07-05 2021-09-07 重庆市规划和自然资源信息中心 Government affair service integrated management workflow design modeling method
CN114445047A (en) * 2022-01-29 2022-05-06 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium
CN117407008A (en) * 2023-12-14 2024-01-16 之江实验室 System component cluster deployment method and device for microminiature data center

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266669A (en) * 2008-05-06 2008-09-17 广州市中联创通电脑有限公司 Project process workflow based on plan template and its implementation method
CN101957936A (en) * 2009-07-15 2011-01-26 深圳市艾派应用系统有限公司 Method and system for implementing workflow form
US20140075413A1 (en) * 2012-09-07 2014-03-13 Inadev Corporation Workflow-based application generator
CN104216912A (en) * 2013-06-04 2014-12-17 广州中国科学院软件应用技术研究所 Method and device for achieving non-intrusive service form workflow
CN106155769A (en) * 2015-03-26 2016-11-23 北大方正集团有限公司 A kind of workflow processing method, device and workflow engine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266669A (en) * 2008-05-06 2008-09-17 广州市中联创通电脑有限公司 Project process workflow based on plan template and its implementation method
CN101957936A (en) * 2009-07-15 2011-01-26 深圳市艾派应用系统有限公司 Method and system for implementing workflow form
US20140075413A1 (en) * 2012-09-07 2014-03-13 Inadev Corporation Workflow-based application generator
CN104216912A (en) * 2013-06-04 2014-12-17 广州中国科学院软件应用技术研究所 Method and device for achieving non-intrusive service form workflow
CN106155769A (en) * 2015-03-26 2016-11-23 北大方正集团有限公司 A kind of workflow processing method, device and workflow engine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978380A (en) * 2019-03-28 2019-07-05 金瓜子科技发展(北京)有限公司 A kind of workflow processing method and device
CN111382953A (en) * 2020-03-23 2020-07-07 中国建设银行股份有限公司 Dynamic process generation method and device
CN113362042A (en) * 2021-07-05 2021-09-07 重庆市规划和自然资源信息中心 Government affair service integrated management workflow design modeling method
CN114445047A (en) * 2022-01-29 2022-05-06 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium
CN114445047B (en) * 2022-01-29 2024-05-10 北京百度网讯科技有限公司 Workflow generation method and device, electronic equipment and storage medium
CN117407008A (en) * 2023-12-14 2024-01-16 之江实验室 System component cluster deployment method and device for microminiature data center
CN117407008B (en) * 2023-12-14 2024-04-19 之江实验室 System component cluster deployment method and device for microminiature data center

Also Published As

Publication number Publication date
CN109389299B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN109389299A (en) Work process flow dispositions method, device, computer equipment and storage medium
KR102313509B1 (en) Method and system for offline data transmission via machine-readable code
CN107133309B (en) Method and device for storing and querying process example, storage medium and electronic equipment
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
CN109165266A (en) List generation method, device, computer equipment and storage medium
CN109787882A (en) Information push method, device, computer equipment and storage medium
CN107832448A (en) Database operation method, device and equipment
WO2020233014A1 (en) Message sending method and apparatus, and computer device and storage medium
CN108829753A (en) A kind of information processing method and device
CN114328682A (en) Data processing method, device, equipment and medium based on rule engine
CN104077371A (en) Method and system for monitoring abnormal data of database
CN111813418A (en) Distributed link tracking method, device, computer equipment and storage medium
CN111240772A (en) Data processing method and device based on block chain and storage medium
US11755631B2 (en) Workflow-based dynamic data model and application generation
CN112134707B (en) Concurrent access method and device for multiple KERBEROS clusters
CN111522881B (en) Service data processing method, device, server and storage medium
CN110908644B (en) Configuration method and device of state node, computer equipment and storage medium
US20140289742A1 (en) Method of sharing contents
CN117170655A (en) Metadata processing method and device, data processing equipment and storage medium
CN115062084B (en) Method and device for constructing API (application programming interface) based on database metadata
CN109656936A (en) Method of data synchronization, device, computer equipment and storage medium
KR101888131B1 (en) Method for Performing Real-Time Changed Data Publish Service of DDS-DBMS Integration Tool
CN105607957B (en) A kind of data acquisition analysis system based on OPC DA
CN114186976A (en) Workflow transfer method and device, computer equipment and storage medium
CN112130850A (en) Method and device for realizing functions in application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant