CN104063273A - Center control type business process dispatching management system and realizing method - Google Patents

Center control type business process dispatching management system and realizing method Download PDF

Info

Publication number
CN104063273A
CN104063273A CN201410265833.0A CN201410265833A CN104063273A CN 104063273 A CN104063273 A CN 104063273A CN 201410265833 A CN201410265833 A CN 201410265833A CN 104063273 A CN104063273 A CN 104063273A
Authority
CN
China
Prior art keywords
file
module
flow
task
scheduling
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
CN201410265833.0A
Other languages
Chinese (zh)
Other versions
CN104063273B (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.)
Space Star Technology Co Ltd
Original Assignee
Space Star Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Space Star Technology Co Ltd filed Critical Space Star Technology Co Ltd
Priority to CN201410265833.0A priority Critical patent/CN104063273B/en
Publication of CN104063273A publication Critical patent/CN104063273A/en
Application granted granted Critical
Publication of CN104063273B publication Critical patent/CN104063273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a center control type business process dispatching management system and a realizing method. The center control type business process dispatching management system comprises a process management module, a business service module, a timing task module, a configuration file management module, a receiver module, a generator module, a transmitter module, a data access module, a file scanning module, a file processing module, a file content authentication module, a file transmitting module and a model and file conversion module. According to the center control type business process dispatching management system and the realizing method which are disclosed by the invention, the extensible capability and the reusability are good, the system and the method are adapted to the extension of different systems on aspects such as the function requirement and the business requirement, realization of personalized dispatching requests is facilitated, and the reusability is increased.

Description

A kind of middle controlled operation flow dispatching management information system and implementation method
Technical field
The present invention relates to operation flow scheduling field, is management system and its implementation for operation flow scheduling of a kind of middle controlled specifically.
Background technology
Along with informationalized universal, it is more and more important that BPM seems.At society, diversified user's request makes operation flow occur constantly upgrade and change.Because user's request, business function arrange difference, each system is also different on the management design of operation flow.It is problem demanding prompt solutions that research is used the method for optimizing efficiently to manage these operation flows.
Flow scheme design has embodied the functional requirement of system, and it is the important step of system and Software for Design, is also the key factor that affects the system expandability, maintainability.In the design of many flow scheduling management systems, conventionally, around process step constructing system framework, do like this and may meet the mode of thinking of dealing with problems, but the extensibility of system and versatility are restricted.The operation flow schedule management method of having published at present, its solution is comparatively stiff, if the frequent change of operation flow will bring huge challenge to system maintenance.
Summary of the invention
Technology of the present invention is dealt with problems and is: overcome the deficiencies in the prior art, a kind of middle controlled operation flow dispatching management information system and implementation method are provided, there is good expandability and reusability, adapt to different system in the expansion of the aspects such as functional requirement and business demand.
Technical solution of the present invention is: a kind of middle controlled operation flow dispatching management information system, comprises as shown in Figure 1 with lower module:
Workflow management module: formed by workflow manager, flow scheduling device and flow processing device three parts; Wherein workflow manager obtains order from document processing module, from profile management module, obtains workflow management parameter and flow scheduling parameter, the flow instance of managing all wait scheduling and moving; Flow scheduling device obtains and treats scheduling flow from workflow manager, according to scheduling strategy, chooses flow process, and transfers to flow processing device to start this flow process; Flow processing device obtains report from document processing module, from profile management module, obtains flow process configuration parameter, by flow scheduling parameter, gives flow scheduling engine, and flow processing service is provided;
Business service module: receive calling of flow scheduling engine, order, task are provided and are reported in flow scheduling and required all kinds of business service during data access, comprise query manipulation, receive operation, review operations, generating run, transmit operation, cancellation operation; Wherein, receive operation calls receiver module and process, generating run calls maker resume module, and transmit operation is called transmitter module and processed, and other data access operation calling data access modules are processed;
Timed task module: obtain timed task parameter from profile management module, in the time of agreement, press the parameter startup timed task that timed task is set, allow timed task carve at a time execution once, or from certain constantly, by the time interval of appointment, repeat repeatedly; Pending timed task, the execution parameter of timed task are configurable;
Receiver module: receive the reception parameter of business service module, complete and receive operation, and reception result is back to business service module; In carrying out the process that receives operation, calling data access modules is carried out data storage; According to the difference of data type, provide different receivers, data type is different, and reception behavior features is also different, can expand the type of receiver, to meet system requirements;
Maker module: receive the generation parameter of business service module, complete generating run, and generation result is back to business service module; In carrying out the process of generating run, calling data access modules is carried out data storage; According to the difference of data type, provide different makers, data type is different, and generation behavior is also different, can expand the type of maker, to meet system requirements;
Transmitter module: receive the transmission parameter of business service module, complete transmit operation, and transmission result is back to business service module; In carrying out the process of transmit operation, calling data access modules is carried out data storage; When sending, call model and file modular converter internal model object be converted to corresponding external interface file, and call file send module by external interface file by the send mode transmission of appointment; External interface definition is different, and the behavior of transmitter is also different;
Data access module: be connected with external data base in adaptive mode, receive the data access request of business service module, receiver module, maker module and transmitter module, provide data access result, for system provides inquiry, renewal, interpolation and the deletion four class basic operations of data;
Profile management module: management system configuration file, for workflow management module, timed task module, file send module and file scan module provide configuration parameter; And provide configuration parameter to revise service;
File scan module: when external interface is file layout, from profile management module, obtain sweep parameter, the file path of timing scan appointment, file is mated, filters, removed and backs up, for the match is successful, file transfers to document processing module to carry out subsequent operation, otherwise gives the illegal prompting of outfile;
Document processing module: when external interface is file layout, receive the file of file scan module, call the legitimacy of file content authentication module authenticating documents content; Call model and file modular converter and complete external interface file to the conversion of internal model object; Workflow manager in call flow administration module is processed order; Flow processing device Processing tasks in call flow administration module is confirmed report and is completed report;
File content authentication module: when external interface is file layout, receive calling of document processing module, complete file content verification operation; File type is different, and verifying logic may be different;
Model and file modular converter: when external interface is file layout, receive calling of document processing module, the conversion of external interface file to internal model object is provided; Calling of receiver transmitter module, provides the conversion of internal model object to external interface file.The external interface file that different internal model objects converts to is different, and the internal model object that different external interface files converts to is also different; The transformation rule of internal model object and external interface file is configurable;
File send module: when external interface is file layout, receive file to be sent, obtain transmission parameter from profile management module, provide file to send service; File send mode comprises that FTP sends, SSH sends, and can to sending COS, expand according to the difference of send mode, to meet system requirements.
Described workflow management module implementation procedure is as follows:
(1) workflow manager obtains workflow management parameter from profile management module, the max cap. of flow process queue to be scheduled such as comprises, the max cap. of operating flow process is used the parameter initialization obtaining also to start workflow manager;
(2) start flow processing device, flow processing device obtains flow process configuration parameter from profile management module, and gives flow scheduling engine by flow scheduling parameter, and flow processing service is provided;
(3) workflow manager obtains flow scheduling parameter from profile management module, comprises flow scheduling strategy, the flow scheduling time interval; According to flow scheduling strategy, search corresponding dispatch service, initialization also starts flow scheduling device, opens scheduling thread;
(4) workflow manager obtains order from document processing module, and is following processing: a. and judges whether the flow process queue to be scheduled such as current has reached max cap., if reached, flow process is added unsuccessfully, returns " waiting to be added "; If do not reached, flow process is added to etc. in flow process queue to be scheduled, return " adding successfully "; B. the mapping relations of workflow manager management process sign and flow instance, the flow instance that facilitates access to be managed;
(5) whether the regularly current operating flow process queue of detection of flow scheduling device reaches max cap., if reached max cap., after the Fixed Time Interval of interval, again detect, otherwise be following processing: a, by flow scheduling strategy, from the flow process queues to be scheduled such as workflow manager, obtain a highest flow instance of priority; B, the flow instance obtaining is moved into operation queue from waiting list; This flow process is disposed, started to c, call flow processor;
(6), in flow scheduling process, task, order report are obtained from document processing module by flow processing device by the generation of flow scheduling engine calling business service module, debriefing, and then carry out flow processing request.Flow processing request comprises pending flow process, wakes pending flow process up, cancels flow process, restarts flow process;
(7) when certain scheduling flow living example finishes, workflow manager removes this flow process from operation queue, and clean-up process related data.
Described timed task module implementation procedure is as follows:
(1) user configures all pending timed tasks and execution parameter, and timed task module is obtained timed task parameter from profile management module, and initialization also starts timed task scheduler;
(2) register all timed tasks and timed task audiomonitor.Timed task has two kinds of logon mode: a, according to the timed task parameter configuring in configuration file, register all timed tasks and task audiomonitor; B, when system is moved dynamic registration timed task and task audiomonitor;
(3) for each timed task succeeding in registration, open a watcher thread, monitor the timed events of this task setting;
(4) in the time of agreement, press the parameter startup timed task that timed task is set, allow timed task carve at a time execution once, or from certain constantly, by the time interval of appointment, repeat repeatedly.When timed task starts to carry out, adjust back the startup audiomonitor method of this task;
(5), after timed task execution finishes, adjust back the end audiomonitor method of this task.
Described file scan module implementation procedure is as follows:
(1) from profile management module, obtain sweep parameter, comprise the adaptation of system needs, the title of every kind of adaptation and matched rule are the file type that adaptation can mate, and are file coupling service configuration matching parameter;
(2) from profile management module, obtain sweep parameter, comprise all file scanning directories, file backup path, file trace interval etc., and file opening scanning thread;
(3), for each file scanning pattern, every regular time interval scan once, obtain All Files under this path;
(4) if do not get any file, forward step (3) to and continue to carry out, otherwise execution step (5);
(5) file scanning for each, first according to file type, obtain the service of file coupling, whether checking this document is the insignificant file of system, if the file that a scans is for can ignore file, scanning thread is left intact, and file is stayed under former catalogue; If the file that b scans for can not ignore file, calls file coupling, service is mated filtration to file; If it fails to match, file is moved and is backed up under path, otherwise give document processing module by file, process.If document processing module result is " waiting pending ", file is stayed under former catalogue and is not processed, otherwise file is moved under backup path;
(6) handle after all files that scan, forward step (3) to and continue to carry out.
Described system performing step is as follows:
(1) startup system;
(2) file scan module periodic scanning specified file path, mates, filters, removes and back up the All Files scanning; If this document coupling is unsuccessful, be considered as garbage files, after removing, do not process; For the file that the match is successful, if this document for can ignore file, file is stayed under scanning pattern and is not processed, otherwise file is removed after backup, gives document processing module process file;
(3) document processing module is given file content authentication module by file, carries out legitimate verification, performs step if the verification passes (4), otherwise finishes the processing to this document, continues to process alternative document;
(4) according to file type and file content, document processing module is given model and file modular converter by file, converts file to corresponding internal model object, transfers to workflow management module to process;
(5) model object that workflow management resume module receives.If the model object type receiving is order object, execution step (6), confirms report object, execution step (13) if the model object type receiving is task, if the model object type receiving is Mission Accomplishment Report object, perform step (14);
(6) workflow management module obtains from profile management module the flow process parameter that this order object is corresponding, according to this flow process parameter product process object instance, adds the wait scheduling queue of workflow manager;
(7) flow scheduling device uses the flow scheduling strategy of appointment, regularly from the flow process queues to be scheduled such as workflow manager, obtains a flow instance, and this flow process is joined to operation queue, and call flow processor is processed.Flow processing device is given flow scheduling engine by flow scheduling parameter, opens scheduling flow;
(8) after flow process is opened, flow scheduling engine calling business service module, the order object that first conversion of persistence order file generates;
(9) flow scheduling engine calling business service module, generates and preserves acknowledgement of orders report, and report that by acknowledgement of orders object converts acknowledgement of orders report file to, sends to order transmit leg;
(10) system manager completes order review operations, preserves auditing result.Flow scheduling engine calling business service module, converts auditing result to order audit report, sends to order transmit leg.If audit is passed through, continue execution step (11), otherwise process ends, execution step (17);
(11) flow scheduling engine calling business service module, generates and preserves task object according to order data, for the task object of each generation, opens task scheduling flow process, and task scheduling flow performing step is that step (12) is to (15);
(12) flow scheduling engine calling business service module, converts the task object of generation to assignment file, sends to task take over party;
(13) when file scan module receives task confirmation report file, give document processing module.Document processing module authenticating documents content, and complete file after the conversion of model, call flow processor continues to process; Flow processing module call flow scheduling engine, wakes the flow instance that this document is corresponding up.Flow scheduling engine calling business service module, preserves and confirms report object, continues wait task and completes report;
(14) when file scan module receives Mission Accomplishment Report file, give document processing module.Document processing module authenticating documents content, and complete file after the conversion of model, call flow processor continues to process; Flow processing module call flow scheduling engine, wakes the flow instance that this document is corresponding up.Flow scheduling engine calling business service module, preserves Mission Accomplishment Report object;
(15), after task scheduling flow process finishes, workflow manager finishes and removes this task scheduling flow process;
(16) after the scheduling flow of all tasks that order decomposition goes out completes, flow scheduling engine calling business service module, generates and preserves order and complete report, and order is completed and reports that object converts order to and completes report file, sends to order transmit leg;
(17), after order dispatch flow process finishes, workflow manager finishes and removes this flow process.
The present invention's advantage is compared with prior art:
(1) the processing request that in system employing, control pattern receives, manages and scheduling external constituents sends, defines and opens scheduling flow according to operation flow, and coordination external constituents completes the processing to this request jointly.In scheduling process, the processing request receiving with order model description native system, describes with task model the processing request that native system sends to other system.After task scheduling flow process finishes, notify its affiliated order dispatch flow process.Report model representation for the mabage report producing in order and task processes.
(2) scheduling flow can be configured by configuration file, there is no strong dependence between process action, and user can customize process step and flow process parameter according to the actual requirements; The accessible order of system, task and Report Type can be expanded by configuration file; System has adopted two-stage core machine contracting system, and one-level core bag provides shoring of foundation for system, and secondary core bag is that system is used file as an expanding packet of external interface.If external interface file layout needs change, only need to replace the Interface realization of secondary core bag.If external interface is not file, but other forms, secondary core bag is replaceable.These provide good support for secondary system exploitation.
(3) native system provides the assembly management environment that modularization, low coupling, capable of dynamic plug, and service can be registered, inquire about and use to each assembly to web services registry.The service model of system is the dynamic cooperative model of serving issue, finding, binding fundamental operation.When service is registered or nullifies, whether other use the assembly of this service can aware services available, and change dynamically factum.In whole process, it is stable that system keeps, and do not need to restart.
Accompanying drawing explanation
Fig. 1 is system architecture diagram of the present invention;
Fig. 2 is systematic realizing program of the present invention;
Fig. 3 is the workflow management module implementation procedure in system of the present invention;
Fig. 4 is the timed task module implementation procedure in system of the present invention;
Fig. 5 is the file scan module implementation procedure in system of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in detail.
(1) middle controlled: the external constituents of native system is divided into two classes: active system and passive system, active system and passive system are transparent each other, do not occur mutual.Active system sends order dispatch request to native system, and waits for all kinds of order processing reports of native system feedback.Native system receives after the order dispatch request of active system transmission, coordinates to need the passive system of participation, and according to order dispatch, request produces all kinds of Processing tasks, and task is distributed to corresponding passive system.Passive system receives after Processing tasks, carries out Processing tasks and feeds back each generic task mabage report to native system.
(2) two-layer model: order and task two-layer model, order is that native system generates and be distributed to the processing request of other subsystems according to the order receiving for other subsystems send to the dispatch request of native system, task.In order and task processes, can produce order processing report and task mabage report, wherein order processing report comprises that acknowledgement of orders report, order audit report, order complete report, and task mabage report comprises that task is confirmed to report, Mission Accomplishment Report.Order processing report reports to active system by native system, and task mabage report reports native system by passive system;
(3) two-stage core bag: one-level core bag provides all kinds of services based on inner model of system object, secondary core bag, based on external interface file, provides the services such as file scanning, checking, transmission, file and internal model conversion.One-level core bag provides shoring of foundation for system, and secondary core bag is that system is used file as an expanding packet of external interface.If external interface is not file but other forms, secondary core bag is replaceable.
In order to understand better the present invention, first basic concepts is once explained.
Order: in scheduling process, the processing request that external constituents sends to native system is order, order contents has been described the type, urgency level, transmit leg, take over party, creation-time of this order, the pending contents such as Processing tasks parameter.Order is the starting point of a scheduling flow.
Task: in scheduling process, native system receives the order that external constituents sends, and order contents is resolved, and decomposing and sending to the processing request of other outside subsystems is task.Task definition has described that type, priority, the transmission of this task are sent out, take over party, creation-time, pending Processing tasks parameter etc.Task is the middle output of a scheduling flow.
Report: in scheduling process, native system receives or sends to other external constituents' treatment state is report.Report minute two classes, a class is order processing report, comprises that acknowledgement of orders report, order audit report, order complete report etc.; One class is task mabage report, comprises task confirmation report, Mission Accomplishment Report etc.Order processing report generally sends to external constituents by native system, and debriefing generally sends to native system by external constituents.
Acknowledgement of orders report: native system receives after order, sends to external system by acknowledgement of orders report.The parameters such as whether order is received, time of reception, transmit leg, take over party have been described in acknowledgement of orders report.If not received, in report, described order and be rejected reason.
Order audit report: native system completes after order audit, and order audit report is issued to external system.The parameters such as order auditing result, audit time, transmit leg, take over party have been described in order audit report.
Order completes report: after order processing completes, native system sends order and completes and report to external system, and order completes and in report, describes the parameters such as order processing result, processing time, transmit leg, take over party.
Task is confirmed report: when external system receives task, transmission task confirms to report to native system.The parameters such as task confirms to have described whether task is received in report, time of reception, transmit leg, take over party.If task is not received, the unaccepted reason of task has been described in report.
Mission Accomplishment Report: after task is finished dealing with, external system sends Mission Accomplishment Report to native system.The parameters such as task result, processing time, transmit leg, take over party are described in Mission Accomplishment Report.
Process action: process action refers to each step of carrying out in flow scheduling process.Process action is divided into initial activity (first activity of flow process), task activity (carrying out the flow process action of an appointment), wait activity (waiting for that the generation of certain particular event could continue to carry out the activity of flow process), branch activity (certain process step is broken down into the concurrent execution of a plurality of parallel branches), merger activity (after the activity of a plurality of branches is all complete, could continue the activity of execution flow process), termination activity (last activity of flow process) etc.
Flow scheduling strategy: from etc. obtain the method for a flow instance that priority is the highest flow process queue to be scheduled.Scheduling strategy can have various ways, as first in first out, obtain, obtain etc. by the shortest scheduling time by urgency level.The concrete scheduling strategy using can configure in configuration file.System provides the flow scheduling strategy of acquiescence.Flow scheduling strategy also can be expanded by secondary development.
Operation flow definition: execution sequence, the dependence between process action, the executive condition of process action, the execution branch of process action etc. of all process actions have been described in operation flow definition.Operation flow definition is generally described by xml file.Operation flow definition is configurable, and user can carry out personalized customization according to the demand of oneself, to meet project demands.
File coupling checking: whether authenticating documents matches with predetermined requirement.Whether system provides filename suffix match, filename prefix matching, filename containing specifying substring coupling, filename whether to meet coupling services such as specifying matching regular expressions at present.
Model and file transformation rule: described the conversion regime of model object and external interface file, when model object converts file to or convert model object to from file, how the attribute of model object shines upon mutually with the content of file.Model and file transformation rule are configurable, and user can carry out personalized customization according to the demand of oneself, to meet project demands.
As shown in Figure 1, the present invention is comprised of workflow management module, business service module, timed task module, file scan module, model and file modular converter etc., and whole system implementation procedure as shown in Figure 2.Implementation procedure is as follows:
(1) startup system;
(2) file scan module periodic scanning specified file path, mates, filters, removes and back up the All Files scanning; If this document coupling is unsuccessful, be considered as garbage files, after removing, do not process; For the file that the match is successful, if this document for can ignore file, file is stayed under scanning pattern and is not processed, otherwise file is removed after backup, gives document processing module process file;
(3) document processing module is given file content authentication module by file, carries out legitimate verification, performs step if the verification passes (4), otherwise finishes the processing to this document, continues to process alternative document;
(4) according to file type and file content, document processing module is given model and file modular converter by file, converts file to corresponding internal model object, transfers to workflow management module to process;
(5) model object that workflow management resume module receives.If the model object type receiving is order object, execution step (6), confirms report object, execution step (13) if the model object type receiving is task, if the model object type receiving is Mission Accomplishment Report object, perform step (14);
(6) workflow management module obtains from profile management module the flow process parameter that this order object is corresponding, according to this flow process parameter product process object instance, adds the wait scheduling queue of workflow manager;
(7) flow scheduling device uses the flow scheduling strategy of appointment, regularly from the flow process queues to be scheduled such as workflow manager, obtains a flow instance, and this flow process is joined to operation queue, and call flow processor is processed.Flow processing device is given flow scheduling engine by flow scheduling parameter, opens scheduling flow;
(8) after flow process is opened, flow scheduling engine calling business service module, the order object that first conversion of persistence order file generates;
(9) flow scheduling engine calling business service module, generates and preserves acknowledgement of orders report, and report that by acknowledgement of orders object converts acknowledgement of orders report file to, sends to order transmit leg;
(10) system manager completes order review operations, preserves auditing result.Flow scheduling engine calling business service module, converts auditing result to order audit report, sends to order transmit leg.If audit is passed through, continue execution step (11), otherwise process ends, execution step (17);
(11) flow scheduling engine calling business service module, generates and preserves task object according to order data, for the task object of each generation, opens task scheduling flow process, and task scheduling flow performing step is that step (12) is to (15);
(12) flow scheduling engine calling business service module, converts the task object of generation to assignment file, sends to task take over party;
(13) when file scan module receives task confirmation report file, give document processing module.Document processing module authenticating documents content, and complete file after the conversion of model, call flow processor continues to process; Flow processing module call flow scheduling engine, wakes the flow instance that this document is corresponding up.Flow scheduling engine calling business service module, preserves and confirms report object, continues wait task and completes report;
(14) when file scan module receives Mission Accomplishment Report file, give document processing module.Document processing module authenticating documents content, and complete file after the conversion of model, call flow processor continues to process; Flow processing module call flow scheduling engine, wakes the flow instance that this document is corresponding up.Flow scheduling engine calling business service module, preserves Mission Accomplishment Report object;
(15), after task scheduling flow process finishes, workflow manager finishes and removes this task scheduling flow process;
(16) after the scheduling flow of all tasks that order decomposition goes out completes, flow scheduling engine calling business service module, generates and preserves order and complete report, and order is completed and reports that object converts order to and completes report file, sends to order transmit leg;
(17), after order dispatch flow process finishes, workflow manager finishes and removes this flow process.
The specific implementation process of above-mentioned main modular is as follows:
1, workflow management module
The implementation procedure of this module is as shown in Figure 3:
(1) workflow manager obtains workflow management parameter from profile management module, the max cap. of flow process queue to be scheduled such as comprises, the max cap. of operating flow process is used the parameter initialization obtaining also to start workflow manager;
(2) start flow processing device, flow processing device obtains flow process configuration parameter from profile management module, and gives flow scheduling engine by flow scheduling parameter, and flow processing service is provided;
(3) workflow manager obtains flow scheduling parameter from profile management module, comprises flow scheduling strategy, the flow scheduling time interval; According to flow scheduling strategy, search corresponding dispatch service, initialization also starts flow scheduling device, opens scheduling thread;
(4) workflow manager obtains order from document processing module, and is following processing: a. and judges whether the flow process queue to be scheduled such as current has reached max cap., if reached, flow process is added unsuccessfully, returns " waiting to be added "; If do not reached, flow process is added to etc. in flow process queue to be scheduled, return " adding successfully "; B. the mapping relations of workflow manager management process sign and flow instance, the flow instance that facilitates access to be managed;
(5) whether the regularly current operating flow process queue of detection of flow scheduling device reaches max cap., if reached max cap., after the Fixed Time Interval of interval, again detect, otherwise do following processing: 1, by flow scheduling strategy, from the flow process queues to be scheduled such as workflow manager, obtain a highest flow instance of priority; 2, the flow instance obtaining is moved into operation queue from waiting list; 3, this flow process is disposed, started to call flow processor;
(6), in flow scheduling process, task, order report are obtained from document processing module by flow processing device by the generation of flow scheduling engine calling business service module, debriefing, and then carry out flow processing request.Flow processing request comprises pending flow process, wakes pending flow process up, cancels flow process, restarts flow process etc.;
(7) when certain scheduling flow living example finishes, workflow manager removes this flow process from operation queue, and clean-up process related data.
2, timed task module
The implementation procedure of this module is as shown in Figure 4:
(1) user configures all pending timed tasks and execution parameter, and timed task module is obtained timed task parameter from profile management module, and initialization also starts timed task scheduler;
(2) register all timed tasks and timed task audiomonitor.Timed task has two kinds of logon modes: 1, according to the timed task parameter configuring in configuration file, register all timed tasks and task audiomonitor; 2, dynamic registration timed task and task audiomonitor when system is moved;
(3) for each timed task succeeding in registration, open a watcher thread, monitor the timed events of this task setting;
(4) in the time of agreement, press the parameter startup timed task that timed task is set, allow timed task carve at a time execution once, or from certain constantly, by the time interval of appointment, repeat repeatedly.When timed task starts to carry out, adjust back the startup audiomonitor method of this task;
(5), after timed task execution finishes, adjust back the end audiomonitor method of this task.
3, file scan module
The implementation procedure of this module is as shown in Figure 5:
(1) from profile management module, obtain sweep parameter, comprise the adaptation of system needs, the title of every kind of adaptation and matched rule (being the file type that adaptation can mate), be file coupling service configuration matching parameter;
(2) from profile management module, obtain sweep parameter, comprise all file scanning directories, file backup path, file trace interval etc., and file opening scanning thread;
(3), for each file scanning pattern, every regular time interval scan once, obtain All Files under this path;
(4) if do not get any file, forward step (3) to and continue to carry out, otherwise execution step (5);
(5) file scanning for each, first obtains the service of file coupling according to file type, and whether checking this document is the insignificant file of system.If 1 file scanning is for can ignore file, scanning thread is left intact, and file is stayed under former catalogue; If 2 files that scan for can not ignore file, call file coupling, service is mated filtration to file.If it fails to match, file is moved and is backed up under path, otherwise give document processing module by file, process.If document processing module result is " waiting pending ", file is stayed under former catalogue and is not processed, otherwise file is moved under backup path;
(6) handle after all files that scan, forward step (3) to and continue to carry out.
The part that the present invention does not elaborate belongs to techniques well known.

Claims (5)

1. a middle controlled operation flow dispatching management information system, is characterized in that comprising workflow management module, business service module, timed task module, profile management module, receiver module, maker module, transmitter module, Data access module, profile management module, file scan module, document processing module, file content authentication module, file send module, model and file modular converter; Wherein:
Workflow management module: formed by workflow manager, flow scheduling device and flow processing device three parts; Wherein workflow manager obtains order from document processing module, from profile management module, obtains workflow management parameter and flow scheduling parameter, the flow instance of managing all wait scheduling and moving; Flow scheduling device obtains and treats scheduling flow from workflow manager, according to scheduling strategy, chooses flow process, and transfers to flow processing device to start this flow process; Flow processing device obtains report from document processing module, from profile management module, obtains flow process configuration parameter, by flow scheduling parameter, gives flow scheduling engine, and flow processing service is provided;
Business service module: receive calling of flow scheduling engine, order, task are provided and are reported in flow scheduling and required all kinds of business service during data access, comprise query manipulation, receive operation, review operations, generating run, transmit operation, cancellation operation; Wherein, receive operation calls receiver module and process, generating run calls maker resume module, and transmit operation is called transmitter module and processed, and other data access operation calling data access modules are processed;
Timed task module: obtain timed task parameter from profile management module, in the time of agreement, press the parameter startup timed task that timed task is set, allow timed task carve at a time execution once, or from certain constantly, by the time interval of appointment, repeat repeatedly; Pending timed task, the execution parameter of timed task are configurable;
Receiver module: receive the reception parameter of business service module, complete and receive operation, and reception result is back to business service module; In carrying out the process that receives operation, calling data access modules is carried out data storage; According to the difference of data type, provide different receivers, data type is different, and reception behavior features is also different, can expand the type of receiver, to meet system requirements;
Maker module: receive the generation parameter of business service module, complete generating run, and generation result is back to business service module; In carrying out the process of generating run, calling data access modules is carried out data storage; According to the difference of data type, provide different makers, data type is different, and generation behavior is also different, can expand the type of maker, to meet system requirements;
Transmitter module: receive the transmission parameter of business service module, complete transmit operation, and transmission result is back to business service module; In carrying out the process of transmit operation, calling data access modules is carried out data storage; When sending, call model and file modular converter internal model object be converted to corresponding external interface file, and call file send module by external interface file by the send mode transmission of appointment; External interface definition is different, and the behavior of transmitter is also different;
Data access module: be connected with external data base in adaptive mode, receive the data access request of business service module, receiver module, maker module and transmitter module, provide data access result, for system provides inquiry, renewal, interpolation and the deletion four class basic operations of data;
Profile management module: management system configuration file, for workflow management module, timed task module, file send module and file scan module provide configuration parameter; And provide configuration parameter to revise service;
File scan module: when external interface is file layout, from profile management module, obtain sweep parameter, the file path of timing scan appointment, file is mated, filters, removed and backs up, for the match is successful, file transfers to document processing module to carry out subsequent operation, otherwise gives the illegal prompting of outfile;
Document processing module: when external interface is file layout, receive the file of file scan module, call the legitimacy of file content authentication module authenticating documents content; Call model and file modular converter and complete external interface file to the conversion of internal model object; Workflow manager in call flow administration module is processed order; Flow processing device Processing tasks in call flow administration module is confirmed report and is completed report;
File content authentication module: when external interface is file layout, receive calling of document processing module, complete file content verification operation; File type is different, and verifying logic may be different;
Model and file modular converter: when external interface is file layout, receive calling of document processing module, the conversion of external interface file to internal model object is provided; Calling of receiver transmitter module, provides the conversion of internal model object to external interface file.The external interface file that different internal model objects converts to is different, and the internal model object that different external interface files converts to is also different; The transformation rule of internal model object and external interface file is configurable;
File send module: when external interface is file layout, receive file to be sent, obtain transmission parameter from profile management module, provide file to send service; File send mode comprises that FTP sends, SSH sends, and can to sending COS, expand according to the difference of send mode, to meet system requirements.
2. according to a kind of middle controlled operation flow dispatching management information system of claim 1, it is characterized in that: described workflow management module implementation procedure is as follows:
(1) workflow manager obtains workflow management parameter from profile management module, the max cap. of flow process queue to be scheduled such as comprises, the max cap. of operating flow process is used the parameter initialization obtaining also to start workflow manager;
(2) start flow processing device, flow processing device obtains flow process configuration parameter from profile management module, and gives flow scheduling engine by flow scheduling parameter, and flow processing service is provided;
(3) workflow manager obtains flow scheduling parameter from profile management module, comprises flow scheduling strategy, the flow scheduling time interval; According to flow scheduling strategy, search corresponding dispatch service, initialization also starts flow scheduling device, opens scheduling thread;
(4) workflow manager obtains order from document processing module, and is following processing: a. and judges whether the flow process queue to be scheduled such as current has reached max cap., if reached, flow process is added unsuccessfully, returns " waiting to be added "; If do not reached, flow process is added to etc. in flow process queue to be scheduled, return " adding successfully "; B. the mapping relations of workflow manager management process sign and flow instance, the flow instance that facilitates access to be managed;
(5) whether the regularly current operating flow process queue of detection of flow scheduling device reaches max cap., if reached max cap., after the Fixed Time Interval of interval, again detect, otherwise be following processing: a, by flow scheduling strategy, from the flow process queues to be scheduled such as workflow manager, obtain a highest flow instance of priority; B, the flow instance obtaining is moved into operation queue from waiting list; This flow process is disposed, started to c, call flow processor;
(6), in flow scheduling process, task, order report are obtained from document processing module by flow processing device by the generation of flow scheduling engine calling business service module, debriefing, and then carry out flow processing request.Flow processing request comprises pending flow process, wakes pending flow process up, cancels flow process, restarts flow process;
(7) when certain scheduling flow living example finishes, workflow manager removes this flow process from operation queue, and clean-up process related data.
3. according to a kind of middle controlled operation flow dispatching management information system of claim 1, it is characterized in that: described timed task module implementation procedure is as follows:
(1) user configures all pending timed tasks and execution parameter, and timed task module is obtained timed task parameter from profile management module, and initialization also starts timed task scheduler;
(2) register all timed tasks and timed task audiomonitor.Timed task has two kinds of logon mode: a, according to the timed task parameter configuring in configuration file, register all timed tasks and task audiomonitor; B, when system is moved dynamic registration timed task and task audiomonitor;
(3) for each timed task succeeding in registration, open a watcher thread, monitor the timed events of this task setting;
(4) in the time of agreement, press the parameter startup timed task that timed task is set, allow timed task carve at a time execution once, or from certain constantly, by the time interval of appointment, repeat repeatedly.When timed task starts to carry out, adjust back the startup audiomonitor method of this task;
(5), after timed task execution finishes, adjust back the end audiomonitor method of this task.
4. according to a kind of middle controlled operation flow dispatching management information system of claim 1, it is characterized in that: described file scan module implementation procedure is as follows:
(1) from profile management module, obtain sweep parameter, comprise the adaptation of system needs, the title of every kind of adaptation and matched rule are the file type that adaptation can mate, and are file coupling service configuration matching parameter;
(2) from profile management module, obtain sweep parameter, comprise all file scanning directories, file backup path, file trace interval etc., and file opening scanning thread;
(3), for each file scanning pattern, every regular time interval scan once, obtain All Files under this path;
(4) if do not get any file, forward step (3) to and continue to carry out, otherwise execution step (5);
(5) file scanning for each, first according to file type, obtain the service of file coupling, whether checking this document is the insignificant file of system, if the file that a scans is for can ignore file, scanning thread is left intact, and file is stayed under former catalogue; If the file that b scans for can not ignore file, calls file coupling, service is mated filtration to file; If it fails to match, file is moved and is backed up under path, otherwise give document processing module by file, process.If document processing module result is " waiting pending ", file is stayed under former catalogue and is not processed, otherwise file is moved under backup path;
(6) handle after all files that scan, forward step (3) to and continue to carry out.
5. according to a kind of middle controlled operation flow dispatching management information system of claim 1, it is characterized in that: described system performing step is as follows:
(1) startup system;
(2) file scan module periodic scanning specified file path, mates, filters, removes and back up the All Files scanning; If this document coupling is unsuccessful, be considered as garbage files, after removing, do not process; For the file that the match is successful, if this document for can ignore file, file is stayed under scanning pattern and is not processed, otherwise file is removed after backup, gives document processing module process file;
(3) document processing module is given file content authentication module by file, carries out legitimate verification, performs step if the verification passes (4), otherwise finishes the processing to this document, continues to process alternative document;
(4) according to file type and file content, document processing module is given model and file modular converter by file, converts file to corresponding internal model object, transfers to workflow management module to process;
(5) model object that workflow management resume module receives.If the model object type receiving is order object, execution step (6), confirms report object, execution step (13) if the model object type receiving is task, if the model object type receiving is Mission Accomplishment Report object, perform step (14);
(6) workflow management module obtains from profile management module the flow process parameter that this order object is corresponding, according to this flow process parameter product process object instance, adds the wait scheduling queue of workflow manager;
(7) flow scheduling device uses the flow scheduling strategy of appointment, regularly from the flow process queues to be scheduled such as workflow manager, obtains a flow instance, and this flow process is joined to operation queue, and call flow processor is processed.Flow processing device is given flow scheduling engine by flow scheduling parameter, opens scheduling flow;
(8) after flow process is opened, flow scheduling engine calling business service module, the order object that first conversion of persistence order file generates;
(9) flow scheduling engine calling business service module, generates and preserves acknowledgement of orders report, and report that by acknowledgement of orders object converts acknowledgement of orders report file to, sends to order transmit leg;
(10) system manager completes order review operations, preserves auditing result.Flow scheduling engine calling business service module, converts auditing result to order audit report, sends to order transmit leg.If audit is passed through, continue execution step (11), otherwise process ends, execution step (17);
(11) flow scheduling engine calling business service module, generates and preserves task object according to order data, for the task object of each generation, opens task scheduling flow process, and task scheduling flow performing step is that step (12) is to (15);
(12) flow scheduling engine calling business service module, converts the task object of generation to assignment file, sends to task take over party;
(13) when file scan module receives task confirmation report file, give document processing module.Document processing module authenticating documents content, and complete file after the conversion of model, call flow processor continues to process; Flow processing module call flow scheduling engine, wakes the flow instance that this document is corresponding up.Flow scheduling engine calling business service module, preserves and confirms report object, continues wait task and completes report;
(14) when file scan module receives Mission Accomplishment Report file, give document processing module.Document processing module authenticating documents content, and complete file after the conversion of model, call flow processor continues to process; Flow processing module call flow scheduling engine, wakes the flow instance that this document is corresponding up.Flow scheduling engine calling business service module, preserves Mission Accomplishment Report object;
(15), after task scheduling flow process finishes, workflow manager finishes and removes this task scheduling flow process;
(16) after the scheduling flow of all tasks that order decomposition goes out completes, flow scheduling engine calling business service module, generates and preserves order and complete report, and order is completed and reports that object converts order to and completes report file, sends to order transmit leg;
(17), after order dispatch flow process finishes, workflow manager finishes and removes this flow process.
CN201410265833.0A 2014-06-13 2014-06-13 A kind of middle controlled operation flow dispatching management information system and implementation method Active CN104063273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410265833.0A CN104063273B (en) 2014-06-13 2014-06-13 A kind of middle controlled operation flow dispatching management information system and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410265833.0A CN104063273B (en) 2014-06-13 2014-06-13 A kind of middle controlled operation flow dispatching management information system and implementation method

Publications (2)

Publication Number Publication Date
CN104063273A true CN104063273A (en) 2014-09-24
CN104063273B CN104063273B (en) 2019-07-12

Family

ID=51550996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410265833.0A Active CN104063273B (en) 2014-06-13 2014-06-13 A kind of middle controlled operation flow dispatching management information system and implementation method

Country Status (1)

Country Link
CN (1) CN104063273B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293687A (en) * 2015-06-25 2017-01-04 腾讯科技(深圳)有限公司 The control method of a kind of flow process of packing, and device
CN107085605A (en) * 2017-04-12 2017-08-22 泰康保险集团股份有限公司 Method, device and the electronic equipment packed for data
CN107480886A (en) * 2017-08-15 2017-12-15 上海数聚软件***股份有限公司 Mission bit stream processing method
CN107733922A (en) * 2017-11-20 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for calling service
CN108462718A (en) * 2018-03-27 2018-08-28 南京红松信息技术有限公司 Data scheduling platform and its implementation
CN109949129A (en) * 2019-03-12 2019-06-28 北京思特奇信息技术股份有限公司 A kind of order processing system and method for high concurrent
CN110889369A (en) * 2019-11-25 2020-03-17 泰康保险集团股份有限公司 Self-service machine equipment and operation method thereof
CN111949326A (en) * 2020-08-03 2020-11-17 杭州当虹科技股份有限公司 Micro-service workflow method based on Activiti
CN112529389A (en) * 2020-12-02 2021-03-19 哈尔滨商业大学 Analysis system for service internet characteristics
CN112948475A (en) * 2021-01-25 2021-06-11 上海契云科技有限公司 Data import and export subsystem

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998288A (en) * 2010-11-04 2011-03-30 哈尔滨工业大学 TD-LTE-based wideband multimedia cluster system and method for implementing hierarchical dispatching of multiple dispatcher stations of same
CN102663543A (en) * 2012-03-22 2012-09-12 北京英孚斯迈特信息技术有限公司 Scheduling system used for enterprise data unification platform
CN102681885A (en) * 2011-03-18 2012-09-19 新奥特(北京)视频技术有限公司 Media asset management system capable of separating operations
CN102916992A (en) * 2011-08-03 2013-02-06 中兴通讯股份有限公司 Method and system for scheduling cloud computing remote resources unifiedly
CN103218677A (en) * 2012-01-20 2013-07-24 广州从兴电子开发有限公司 Automatic dispatch control method, automatic dispatch control device and automatic dispatch control system for processes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998288A (en) * 2010-11-04 2011-03-30 哈尔滨工业大学 TD-LTE-based wideband multimedia cluster system and method for implementing hierarchical dispatching of multiple dispatcher stations of same
CN102681885A (en) * 2011-03-18 2012-09-19 新奥特(北京)视频技术有限公司 Media asset management system capable of separating operations
CN102916992A (en) * 2011-08-03 2013-02-06 中兴通讯股份有限公司 Method and system for scheduling cloud computing remote resources unifiedly
CN103218677A (en) * 2012-01-20 2013-07-24 广州从兴电子开发有限公司 Automatic dispatch control method, automatic dispatch control device and automatic dispatch control system for processes
CN102663543A (en) * 2012-03-22 2012-09-12 北京英孚斯迈特信息技术有限公司 Scheduling system used for enterprise data unification platform

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293687B (en) * 2015-06-25 2019-11-19 腾讯科技(深圳)有限公司 A kind of control method and device being packaged process
CN106293687A (en) * 2015-06-25 2017-01-04 腾讯科技(深圳)有限公司 The control method of a kind of flow process of packing, and device
CN107085605A (en) * 2017-04-12 2017-08-22 泰康保险集团股份有限公司 Method, device and the electronic equipment packed for data
CN107085605B (en) * 2017-04-12 2020-06-09 泰康保险集团股份有限公司 Method and device for data packaging and electronic equipment
CN107480886A (en) * 2017-08-15 2017-12-15 上海数聚软件***股份有限公司 Mission bit stream processing method
CN107733922A (en) * 2017-11-20 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for calling service
CN107733922B (en) * 2017-11-20 2020-12-08 百度在线网络技术(北京)有限公司 Method and apparatus for invoking a service
CN108462718A (en) * 2018-03-27 2018-08-28 南京红松信息技术有限公司 Data scheduling platform and its implementation
CN109949129A (en) * 2019-03-12 2019-06-28 北京思特奇信息技术股份有限公司 A kind of order processing system and method for high concurrent
CN110889369A (en) * 2019-11-25 2020-03-17 泰康保险集团股份有限公司 Self-service machine equipment and operation method thereof
CN111949326A (en) * 2020-08-03 2020-11-17 杭州当虹科技股份有限公司 Micro-service workflow method based on Activiti
CN112529389A (en) * 2020-12-02 2021-03-19 哈尔滨商业大学 Analysis system for service internet characteristics
CN112948475A (en) * 2021-01-25 2021-06-11 上海契云科技有限公司 Data import and export subsystem

Also Published As

Publication number Publication date
CN104063273B (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN104063273A (en) Center control type business process dispatching management system and realizing method
CN106452841B (en) Method for using transmission service quality in robot operating system
CN106874087A (en) A kind of block chain intelligence contract timed task dispatching method
CN102148817B (en) Network equipment configuration method, client, server and network system
US20040199611A1 (en) Method and system for remote configuration of network devices
CN100544463C (en) A kind of system and method that speech synthesis application united development platform is provided
CN109660377A (en) Unified configuring management method, service server and operation and maintenance management platform
CN103116520A (en) Remote procedure call remote position control (RPC) method based on transmission control protocol (TCP)/user datagram protocol (UDP)
CN110333917A (en) Data processing method, device, equipment and readable storage medium storing program for executing based on micro services
CN111679821B (en) Middle platform system based on micro-service and software definition middle platform system construction method
CN113467972B (en) Communication interface construction method and device, computer equipment and storage medium
CN109873867A (en) Express cabinet information transmission method, device and system, express cabinet and storage medium
CN103825632B (en) The information fast synchronization method of application near-field communication
CN106155842B (en) A kind of data migration method and device
CN102137223B (en) New media production and broadcasting system having heterogeneous integration function
CN102902574B (en) Cooperative processing method and device of multiple information flow nodes
CN101944033A (en) Device and method for dynamically supporting multiple protocols in embedded system
CN104899428A (en) Online hospital platform, expert platform and expert consultation request method
CN101551758B (en) System and method for implementing paralleling work of device management and tasks
US20080141263A1 (en) Embedded agent framework and method of providing ubiquitous services using the same
CN113296742A (en) APP data processing method and device and mobile terminal
CN105427149A (en) Cross-border e-commerce BPO service method and device based on SOA expansion framework
CN103327062A (en) A system and method for providing enterprise information technology lifecycle tools synchronization platform
KR100646853B1 (en) Apparatus and method for generating satellite mission scheduling
CN108965491A (en) A kind of distribution method of slave computer address, apparatus and system

Legal Events

Date Code Title Description
C06 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