CN107515864A - The method and apparatus of control work flows - Google Patents
The method and apparatus of control work flows Download PDFInfo
- Publication number
- CN107515864A CN107515864A CN201610423078.3A CN201610423078A CN107515864A CN 107515864 A CN107515864 A CN 107515864A CN 201610423078 A CN201610423078 A CN 201610423078A CN 107515864 A CN107515864 A CN 107515864A
- Authority
- CN
- China
- Prior art keywords
- workflow
- index
- time
- event
- task
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/144—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Abstract
The purpose of application is to provide a kind of method and apparatus of control work flows, the primitive event data that the application is performed by writing task stream, rather than by inquiring about the database of workflow, solves the problems, such as system link tracking using workflow, and then the primitive event data aggregate of same workflow will be belonged into the monitor control index of the workflow, then by different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitor control index, solve in the environment of multiple deployment regions, across computer room service call delay, data storage, the problem of multi-dimensional data is analyzed, magnanimity workflow can be supported to call well, it can adapt to flexible workflow deployment architecture simultaneously, realize under large-scale distributed environment, the efficiently running situation of monitoring magnanimity workflow.
Description
Technical field
The application is related to computer realm, more particularly to a kind of method and apparatus of control work flows.
Background technology
Under traditional environment, workflow monitoring is mainly based upon relevant database to complete workflow overall operation situation
Analysis.In work flow operation, engine can insert some workflow execution records in database, for example start workflow
When, engine can insert a new workflow record, and mark workflow has been started up;In startup activity, engine can insert one
The new activation record of bar, mark workflow activities task are created;In power cut-off stream, engine can update workflow record
State.Afterwards, user can inquire about the specific implementation status of workflow using SQL statement, be run such as in special time
How many individual workflow instances, how many successes, how much unsuccessfully etc..Existing working solution stream such as jBPM, Activi etc. are
The function of workflow monitoring is provided using similar scheme.
Multiple deployment regions mean the delay of the intercommunication of deployment region may dispose area in second level from one
Domain may need to spend the time of even tens of seconds several seconds to another deployment region, and this causes in the case of computer room
It is substantially impossible that real-time work flow operation data are stored using single database instance.The workflow instance of magnanimity is then
Mean to propose higher requirement for the disposal ability and storage capacity of data, it is desirable to be able to support that storage is more than one hundred million daily
Workflow instance quantity.These problems are proposed challenge for traditional workflow monitoring method.
Above-mentioned existing method is run in the case where workflow instance negligible amounts and deployment region are single can be better,
But if necessary to dispose identical workflow type in multiple regions (such as Hangzhou, Qingdao, Beijing), daily calling was measured
Hundred million, business personnel needs to check overall work flow operation situation, and traditional workflow monitoring method is difficult to solve problem above.
It is the delay issue between computer room and computer room first, in the environment of wide area network, the communication delay between computer room and computer room is usual
In second level, calling may need to spend the several seconds the even time of tens of seconds each time, so using centralized database to preserve
It is substantially impossible from the point of view of having the real-time working flow data of deployment region technically.Even if the problem of data delay, can solve the problem that,
If daily workflow instance startup quantity more than hundred million times, corresponding workflow activities quantity may more than 1,000,000,000 times,
The data volume of this scale have also exceeded the limit that traditional relational data can accommodate.
If workflow monitoring database is deployed in each different computer room, delay issue above-mentioned and data volume
Problem has a certain degree of solution.But user may need statistics to call situation across the workflow of computer room, such as based on deployment area
Domain dimension workflow type dimension or activity dimension call to analyze workflow.A kind of solution is using poll
The workflow for collecting each computer room or deployment region calls situation, is then collected according to inquiry dimension.This method due to
The workflow monitoring service of each computer room of poll is needed, query time may be very long, and Consumer's Experience can be very poor.It is prior
It is that the data being polled to possibly can not calculate accurately index, the index of such as across computer room percentages (Percentile).In machine
In the case that room topology changes, it is also desirable to which the poll services code of corresponding adjustment workflow monitoring adapts to, can not be very
The situation of computer room adjustment is adapted to well.
As it was previously stated, work on hand flow monitoring scheme is substantially based on database to complete, such as jBPM, Activi etc..
But these schemes had in the case of more computer room mass datas than it is more serious the problem of, such as across computer room service call delay,
Data storage, multi-dimensional data analysis etc..Set forth herein method preferably resolve the above the problem of.
The content of the invention
The application provides a kind of method and apparatus of control work flows, can solve the problem that across computer room service call delay, data
The problem of storage, multi-dimensional data analysis.
The purpose of the application is to provide a kind of method of control work flows, and this method includes:
The primitive event data that writing task stream performs;
The primitive event data aggregate of same workflow will be belonged into the monitor control index of the workflow;
By different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitor control index.
Further, in the above method, the monitor control index of the workflow is aggregated into corresponding remittance by different dimensions
After total monitor control index, in addition to:
Collect monitor control index according to corresponding to different dimension inquiries.
Further, in the above method, the type of the workflow includes workflow instance, sub-process example, activity times
Business, semaphore and one kind or any combination in human task.
Further, in the above method, the event type of the workflow instance includes starting workflow instance and end
Workflow instance, the type of the sub-process example include promoter flow instance and terminate sub-process example, and the activity is appointed
The event type of business includes starting new active task and ending activity task, and the event type of the semaphore, which includes triggering, to be believed
Number amount and end signal amount, the event type of the human task include starting human task and terminate human task.
Further, in the above method, the dimension includes workflow instance type, sub-process example types, activity times
In service type, semaphore type, human task type, Workflow Time section, deployment region, workflow title and allocating time
One kind or any combination.
Further, in the above method, it is described collect monitor control index include quantitative index, run time index, scheduling when
Between a kind of or any combination in index and reliability index.
Further, in the above method, the quantitative index include workflow total quantity, success quantity, failure quantity and
One kind or any combination in overtime quantity.
Further, in the above method, the run time index includes average performance times, maximum execution time, most
Small one kind or any combination performed in time and hundredths execution time index.
Further, in the above method, the scheduling time index includes average scheduled time, maximum scheduling time, most
One kind or any combination in small scheduling time and hundredths scheduling time index.
Further, in the above method, the reliability index includes one kind in success rate index and mortality index
Or any combination.
According to the another aspect of the application, a kind of equipment of control work flows is additionally provided, the equipment includes:
According to the another side of the application, a kind of equipment of control work flows is also provided, the equipment includes:
Tape deck, the primitive event data performed for writing task stream;
Polyplant, for the primitive event data aggregate of same workflow will to be belonged into the monitor control index of the workflow;
Collect device, for by different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitoring and refer to
Mark.
Further, in the said equipment, the equipment also includes inquiry unit, corresponding for being inquired about according to different dimensions
Collect monitor control index.
Further, in the said equipment, the type of the workflow includes workflow instance, sub-process example, activity times
Business, semaphore and one kind or any combination in human task.
Further, in the said equipment, the event type of the workflow instance includes starting workflow instance and end
Workflow instance, the type of the sub-process example include promoter flow instance and terminate sub-process example, and the activity is appointed
The event type of business includes starting new active task and ending activity task, and the event type of the semaphore, which includes triggering, to be believed
Number amount and end signal amount, the event type of the human task include starting human task and terminate human task.
Further, in the said equipment, the dimension includes workflow instance type, sub-process example types, activity times
In service type, semaphore type, human task type, Workflow Time section, deployment region, workflow title and allocating time
One kind or any combination.
Further, in the said equipment, it is described collect monitor control index include quantitative index, run time index, scheduling when
Between a kind of or any combination in index and reliability index.
Further, in the said equipment, the quantitative index include workflow total quantity, success quantity, failure quantity and
One kind or any combination in overtime quantity.
Further, in the said equipment, the run time index includes average performance times, maximum execution time, most
Small one kind or any combination performed in time and hundredths execution time index.
Further, in the said equipment, the scheduling time index includes average scheduled time, maximum scheduling time, most
One kind or any combination in small scheduling time and hundredths scheduling time index.
Further, in the said equipment, the reliability index includes one kind in success rate index and mortality index
Or any combination.
Compared with prior art, the primitive event data that the application is performed by writing task stream, rather than pass through inquiry
The database of workflow, solve the problems, such as system link tracking using workflow, and then the original of same workflow will be belonged to
Event data aggregates into the monitor control index of the workflow, then aggregates into the monitor control index of the workflow by different dimensions
It is corresponding to collect monitor control index, solve in the environment of multiple deployment regions, it is across computer room service call delay, data storage, more
The problem of dimension data is analyzed, magnanimity workflow can be supported to call well, while can adapt to flexible workflow deployment
Structure, realize under large-scale distributed environment, efficiently monitor the running situation of magnanimity workflow.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of flow chart of the method for control work flows according to the application one side;
Fig. 2 shows the flow chart of the preferred embodiment of method one of the control work flows in the application;
Fig. 3 shows a kind of module map of the equipment of control work flows according to the application other side;
Fig. 4 shows the module map of the preferred embodiment of equipment one of the control work flows in the application;
Fig. 5 shows the module map of the specific application example of the application.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
The application is described in further detail below in conjunction with the accompanying drawings.
In one typical configuration of the application, terminal, the equipment of service network and trusted party include one or more
Processor (CPU), input/output interface, network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, magnetic disk storage or other magnetic storage apparatus or
Any other non-transmission medium, the information that can be accessed by a computing device available for storage.Defined according to herein, computer
Computer-readable recording medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As shown in figure 1, the application provides a kind of method of control work flows, wherein, this method includes:
Step S1, the primitive event data that writing task stream performs;Here, the primitive event number that writing task stream performs
According to specifically can be according to different action type, the running log of writing task stream, including event id (event_id), event class
Type (event_type), previous event id (pre_event_id), workflow ID (workflow_id), workflow title
(workflow_type), workflow version (workflow_version), activity name (activity_name), the time is performed
(exec_time), father's flow id (subflow_id), business id (biz_id), main frame ip (host), main frame id (host_
Uuid), work stream label (tag), event time (time) etc., the event log recorder detailed implementation of workflow;
Step S2, the primitive event data aggregate of same workflow will be belonged into the monitor control index of the workflow;Specifically,
This step is to analyze the primitive event data of workflow, produces monitoring polymerization index, foregoing work among significant workflow
Make the primitive event data such as event log that flows, simply during work flow operation the data of wall scroll flow of event, it is necessary to do data
Cleaning and fusion, the primitive event data for belonging to same workflow ID can specifically be polymerize respectively, then be produced different
The process of the monitor control index of workflow such as workflow instance, active task, semaphore, human task, data cleansing and fusion can
To occur, in the computer room where workflow deployment, to occur in unified place;
Step S3, by different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitor control index.Tool
Body, after the completion of monitor control index collects among the workflow, can be generated according to different dimensions corresponding to collect monitoring and refer to
Mark, the primitive event data such as primitive event daily record that the present embodiment is performed by writing task stream, rather than by inquiring about work
The database of stream, using workflow to solve the problems, such as system link tracking, and then given birth to according to the primitive event data aggregate
Into the monitor control index of each workflow, then by different dimensions, monitor control index polymerization is generated into collecting under each dimension
Monitor control index, solve in the environment of multiple deployment regions, across computer room service call delay, data storage, multi-dimensional data point
The problem of analysis, magnanimity workflow can be supported to call well, while can adapt to flexible workflow deployment architecture, realized
Under large-scale distributed environment, the running situation of magnanimity workflow is efficiently monitored.
As shown in Fig. 2 in the preferred embodiment of method one of the application control work flows, step S3, by different dimensions
By the monitor control index of the workflow aggregate into corresponding to collect monitor control index after, in addition to:
Step S4, collect monitor control index according to corresponding to different dimension inquiries, here, being used as inquiry using different dimensions
Condition, efficiently collect monitor control index corresponding to checking for different dimensions so as to realize.
In the preferred embodiment of method one of the application control work flows, the type of the workflow includes workflow reality
Example, sub-process example, active task, semaphore and one kind or any combination in human task, specifically, workflow is being run
During, according to the definition of workflow, new workflow instance can be started, perform active task, trigger signal amount etc., these can
The primitive event data of corresponding workflow can be generated by an activity engine, these primitive event data can be remembered in the form of daily record
Record in persistent storage module.After the event data of collection work stream, by a plurality of event indicator polymerization of same workflow
Collect as the original monitor control index of workflow instance, active task, semaphore and human task, each workflow instance
Corresponding to the monitor control index of an original workflow instance;Each active task can correspond to an original workflow and live
Dynamic monitor control index;Each semaphore example can correspond to the monitor control index of a bars amount;Each artificial task instances
The monitor control index of a human task can be corresponded to, so as to realize the running situation for efficiently monitoring all kinds of magnanimity workflows.
In the preferred embodiment of method one of the application control work flows, the event type of the workflow instance includes opening
Dynamic workflow instance and power cut-off stream example, the type of the sub-process example include promoter flow instance and terminate subflow
Journey example, the event type of the active task include starting new active task and ending activity task, the semaphore
Event type includes trigger signal amount and end signal amount, and the event type of the human task includes starting human task and knot
Beam human task, for example, the primitive event data of a certain workflow instance, which have, starts workflow instance and power cut-off stream example,
Then the startup workflow instance of the workflow instance and power cut-off stream example need to aggregate into the workflow of the workflow instance
Monitor control index;And for example, the primitive event data of a certain active task include starting new active task and ending activity task,
Then the new active task of the startup of the active task and ending activity task need to aggregate into the monitor control index of the active task;Again
Such as, the primitive event data of a certain semaphore include the trigger signal amount of trigger signal amount and end signal amount, the then semaphore
Need to aggregate into the monitor control index of the semaphore with end signal amount;Also such as, the primitive event data of a certain human task include
Start human task and terminate human task, then the startup human task of the human task and end human task need to aggregate into
The monitor control index of the human task, consequently facilitating will subsequently belong to the primitive event data aggregate of same workflow into the workflow
Monitor control index.Specifically, the primitive event data of each workflow can include following domain:Event id (event_id), thing
Part type (event_type), previous event id (pre_event_id), workflow ID (workflow_id), workflow title
(workflow_type), workflow version (workflow_version), activity name (activity_name), the time is performed
(exec_time), father's flow id (subflow_id), business id (biz_id), main frame ip (host), main frame id (host_
Uuid), work stream label (tag), event time (time) etc..During work flow operation, main event type includes:
Start workflow instance:When workflow instance starts, the event log that a workflow instance starts is recorded, is needed
Record event id, event type, workflow ID, workflow title, version, place machine, event time and related service number
According to information;
Start new active task:When starting new active task, the information of an activity startup is recorded, it is necessary to record
Event id, event type, workflow ID, workflow title, version, activity name, place machine, the industry of event time and correlation
Business data message;
Ending activity task:In ending activity task, record an activity end information, it is necessary to record event id,
Event type, workflow ID, workflow title, version, activity name, place machine, event time and associated traffic data, it is living
The type of dynamic task be probably successfully, failure or time-out, these can correspond to different event types;
Promoter flow instance:In promoter flow instance, the event log of a strip workflow-initiating, content are recorded
Including event id, event type, father's workflow ID, sub- workflow ID, sub- workflow title, version, place machine, event time
With associated traffic data etc.;
Terminate sub-process example:When terminating sub- workflow instance, the event log that a strip workflow terminates is recorded, bag
Include event id, event type, father's workflow ID, sub- workflow ID, sub- workflow title, version, perform the time, place machine,
Event time and associated traffic data etc., the event type that sub-process example terminates be probably successfully, failure or time-out;
Trigger signal amount:During workflow trigger signal amount, workflow engine can temporarily cease the execution of workflow instance, directly
To receiving the instruction restarted.In trigger signal amount, workflow can record a bars amount and start daily record, and content includes event
ID, event type, workflow ID, workflow title, version, semaphore title, place machine, event time and related service number
According to etc.;
End signal amount:When workflow engine receives semaphore request, a sign workflow restarting is recorded
Event log, including event id, event type, workflow ID, workflow title, version, semaphore title, place machine,
Event time and associated traffic data etc.;
Start human task:When workflow runs into human task, the event that a human task starts can be recorded, including
Event id, event type, workflow ID, workflow title, version, human task title, place machine, event time and correlation
Business datum etc.;
Terminate human task:At the end of human task, workflow engine can record the event that a human task terminates,
Including event id, event type, workflow ID, workflow title, version, human task title, place machine, event time and
Associated traffic data etc.;
Power cut-off stream example:At the end of workflow instance, workflow engine understands the daily record that writing task stream terminates, bag
Include workflow ID, workflow title, version, execution time, place machine and associated traffic data etc..
Detailed, step S2, the primitive event data aggregate of same workflow will be belonged into the monitor control index of the workflow
Process it is as follows:
The monitor control index of workflow instance:The operation of the monitor control index essential record wall scroll workflow instance of workflow instance
Situation, including workflow ID, workflow title, version, whether start, whether succeed, whether fail, whether time-out, scheduling when
Between, perform time, time started, end time, affiliated account, operation area, machine IP etc., wherein, the scheduling time is
Refer to the workflow actual time performed, can't may at once perform after workflow-initiating, be performed since starting to really
In the presence of a time difference, this difference is exactly the time dispatched.Under the process of generation:
When running into the event for starting workflow instance, if not finding identical ID workflow monitorings record, create
One new record, inserts workflow ID, workflow title, version, startup are arranged to 1, is successfully arranged to 0, is unsuccessfully arranged to
0, time-out is arranged to 0, and the execution time is arranged to 0, and the time started is arranged to event time, and the end time is arranged to 0, according to event
In machine IP find corresponding to account and deployment region, and set onto workflow instance;In view of event handling order
Uncertainty, i.e., in a network environment, the uncertainty of event acquisition order be present, when receiving event original log, may
End Event daily record first receives, and is received after starting event log, so it has to be ensured that the time independence of event handling, if
Identical workflow ID record be present, then set whether the attribute of workflow, including workflow start, start according to event
Time etc., in addition, the primitive event data that the aggregates dispatch time is also needed in this step are easy to subsequent analysis to inquire about;
When running into the event of power cut-off stream example, corresponding workflow record is found, work is inserted according to event content
Make the information of stream example, including end time, execution time.If workflow success events, then be successfully arranged to 1, if
It is turkey, is then unsuccessfully arranged to 1, if time out event, then time-out is arranged to 1;In view of event handling order not
Certainty, if workflow record is not present, new workflow record is created, workflow ID, title, version, place are set
The information such as machine, affiliated account and operation area;
Active task index:The running situation of the monitor control index essential record single-unit activity task of active task, including work
Make stream ID, workflow title, version, activity name, whether start, whether succeed, whether fail, whether time-out, perform the time,
Time started, end time, affiliated account, operation area, machine IP etc., under the process specifically generated:
When running into the event for starting new active task, if not finding identical ID activity monitoring record, create
A new record is built, inserts workflow ID, workflow title, version, activity name, startup are arranged to 1, is successfully arranged to 0,
0 is unsuccessfully arranged to, time-out is arranged to 0, and the execution time is arranged to 0, and the time started is arranged to event time, and End Event is arranged to
0, the machine IP in event find corresponding account and deployment region, and insert activity monitoring record;In view of event
The uncertainty of processing sequence, if the record of same campaign task ID be present, the category of workflow is set according to event
Property, including whether activity starts, time started etc., in addition, also needing to the primitive event data of aggregates dispatch time in this step
It is easy to subsequent analysis to inquire about;
When running into the event of ending activity task, corresponding workflow activities monitoring record is found, according to event content
Insert the information of workflow activities, including end time, execution time.If activity success End Event, then successfully set
For 1, if turkey, then 1 is unsuccessfully arranged to, if time out event, then time-out is arranged to 1;In view of event handling
The uncertainty of order, if active task record is not present, creates new workflow activities and record, setting workflow ID,
Title, version, activity name, place machine, affiliated account and operation area etc.;
Signal figureofmerit:The running situation of the single work flow signals amount of monitor control index essential record of work flow signals amount,
Including workflow ID, workflow title, version, semaphore title, whether start, whether terminate, perform the time, the time started,
End time, affiliated account, operation area, machine IP etc..In some cases, the processing procedure of semaphore event can be with work
The processing procedure of dynamic index merges, but needs to be distinguish between on Activity Type.Under the process specifically generated:
When running into the event of trigger signal amount, if not finding identical ID monitoring record, create one it is new
Record, workflow ID, workflow title are inserted, version, semaphore title, starts and is arranged to 1, end is arranged to 0, the stand-by period
0 is arranged to, the time started is arranged to event time, and the end time is arranged to 0, and the machine IP in event finds corresponding
Account and deployment region, and insert monitoring record;In view of the uncertainty of event handling order, if identical work be present
Make stream semaphore ID record, then the attribute of workflow is set according to event, including whether activity starts, time started etc.;
When running into the event of end signal amount, corresponding work flow signals amount monitoring record is found, according to event content
Insert the information of work flow signals amount, including end time, stand-by period and end index.In view of event handling order not
Certainty, if semaphore record is not present, new semaphore record is created, workflow ID, title, version, signal are set
Measure title, place machine, affiliated account and operation area etc.;
Human task index:The operation of the single workflow human task of monitor control index essential record of workflow human task
Situation, including workflow ID, workflow title, version, human task title, whether start, be whether successful, whether fail, be
No time-out, perform time, time started, end time, affiliated account, operation area, machine IP etc..In some cases, people
The processing procedure of work task can merge with the processing procedure of activity indicators, but need to be distinguish between on task type.Specifically
Under the process of generation:
When running into the event for starting human task, if not finding identical ID human task monitoring record, create
Build a new record, insert workflow ID, workflow title, version, artificial title, start be arranged to 1, be successfully arranged to 0,
0 is unsuccessfully arranged to, time-out is arranged to 0, and the execution time is arranged to 0, and the time started is arranged to event time, and the end time is arranged to
0, the machine IP in event find corresponding account and deployment region, and insert human task monitoring record;Consider
The uncertainty of event handling order, if identical workflow human task ID record be present, set according to event
The attribute of workflow, including whether task starts, time started etc.;
When running into the event for terminating human task, corresponding workflow human task monitoring record is found, according to event
Content inserts the information of workflow activities, including end time, execution time.If Mission Success End Event, then succeed
1 is arranged to, if turkey, is then unsuccessfully arranged to 1, if time out event, then time-out is arranged to 1;In view of event
The uncertainty of processing sequence, if human task record is not present, new workflow human task record is created, work is set
Make stream ID, title, version, activity name, place machine, affiliated account and operation area etc..
In the preferred embodiment of method one of the application control work flows, the dimension includes workflow instance type, son
Flow instance type, active task type, semaphore type, human task type, Workflow Time section, deployment region, work
Make stream title and one kind or any combination in allocating time.Specifically, when collecting monitor control index of calculation workflow, can be by list
Individual original workflow monitoring index turns into the index collected according to different calculating dimension polymerizations, and the monitoring to workflow refers to
Mark analysis is mainly querying condition comprising multiple different dimensions:Workflow instance type, sub-process example types, active task
Type, semaphore type, human task type, Workflow Time section and deployment region etc., consequently facilitating subsequently according to difference
Dimension inquiry corresponding to collect monitor control index, efficiently corresponding collect monitoring for different dimensions to check so as to realize
Index.
In the preferred embodiment of method one of the application control work flows, it is described collect monitor control index include quantitative index,
A kind of or any combination in run time index, scheduling time mark and reliability index, consequently facilitating the different analyses of subsequent query
Angle collects monitor control index, and realization efficiently obtains different analytic angles to check corresponding remittance for different querying conditions
Total monitor control index, i.e. Query Result.Specifically, it is possible to provide the workflow monitoring index inquiry of different dimensions, the dimension bag of inquiry
Include workflow type, allocating time and operation area etc.;The index of inquiry include workflow quantitative index, run time index and
Reliability index etc..
In the preferred embodiment of method one of the application control work flows, the quantitative index include workflow total quantity,
Success quantity, failure quantity and one kind or any combination in overtime quantity, specifically, the quantitative index includes workflow reality
Example, active task, quantitative index, run time index and the reliability index of semaphore and human task, consequently facilitating subsequently
Different analytic angles collect monitor control index in inquiry quantitative index, and point different in quantitative index is efficiently directed to so as to realize
Analysis angle collects monitor control index corresponding to checking.
In the preferred embodiment of method one of the application control work flows, when the run time index includes averagely performing
Between, maximum execution time, minimum perform the time and hundredths (Percentile) performs one kind in time index or any group
Close, consequently facilitating different analytic angles collect monitor control index in subsequent query run time index, so as to realizing efficiently pin
Collect monitor control index corresponding to being checked to analytic angle different in run time index.Specifically, described when averagely performing
Between, maximum execution time, minimum perform the time and hundredths performs the end time and startup that time index can be based on workflow
The difference of time obtains, and hundredths performs the time index such as 90% workflow maximum execution time.
In the preferred embodiment of method one of the application control work flows, when the scheduling time index includes averagely dispatching
Between, maximum scheduling time, one kind or any combination in minimum scheduling time and hundredths scheduling time index, consequently facilitating after
Different analytic angles collect monitor control index in continuous query scheduling time index, realize and are efficiently directed in scheduling time index not
With analytic angle collect monitor control index corresponding to checking.Specifically, average scheduled time, most maximum scheduling time, ditty
Spending time and hundredths scheduling time index can be obtained based on the difference of scheduling time and startup time, in addition, hundredths is dispatched
Time such as 90% workflow maximum scheduling time.
In the preferred embodiment of method one of the application control work flows, the reliability index include success rate index and
One kind or any combination in mortality index.Specifically, the reliability index includes the success rate index of workflow, failure
Rate index etc., consequently facilitating different analytic angles collect monitor control index in subsequent query reliability index, realize efficiently pin
Collect monitor control index corresponding to being checked to analytic angle different in reliability index.
As shown in figure 3, according to the another side of the application, a kind of equipment of control work flows is also provided, the equipment 100 is wrapped
Include:
Tape deck 1, the primitive event data performed for writing task stream;Here, the execution of writing task stream is original
Event data, specifically can according to different action type, the running log of writing task stream, including event id (event_id),
Event type (event_type), previous event id (pre_event_id), workflow ID (workflow_id), workflow name
Claim (workflow_type), workflow version (workflow_version), activity name (activity_name), during execution
Between (exec_time), father's flow id (subflow_id), business id (biz_id), main frame ip (host), main frame id (host_
Uuid), work stream label (tag), event time (time) etc., the event log recorder detailed implementation of workflow;
Polyplant 2, for the primitive event data aggregate of same workflow will to be belonged into the monitor control index of the workflow;
Specifically, this step is to analyze the primitive event data of workflow, monitoring polymerization index among significant workflow is produced, it is preceding
The primitive event data such as event log for the workflow stated, simply during work flow operation wall scroll flow of event data, it is necessary to
The cleaning and fusion of data are done, the primitive event data for belonging to same workflow ID can specifically be polymerize respectively, then produced
The monitor control index of raw different working flow such as workflow instance, active task, semaphore, human task, data cleansing and fusion
Computer room where workflow is disposed can occur for process, can also occur in unified place;
Collect device 3, for by different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitoring
Index.Specifically, after the completion of monitor control index collects among the workflow, can be generated according to different dimensions corresponding to collect
Monitor control index, the primitive event data such as primitive event daily record that the present embodiment is performed by writing task stream, rather than by looking into
The database of workflow is ask, solves the problems, such as system link tracking using workflow, and then according to the primitive event data
Polymerization generates the monitor control index of each workflow, and then by different dimensions, monitor control index polymerization is generated under each dimension
Collect monitor control index, solve in the environment of multiple deployment regions, across computer room service call delay, data storage, various dimensions
The problem of data analysis, magnanimity workflow can be supported to call well, while can adapt to flexible workflow deployment architecture,
Realize under large-scale distributed environment, efficiently monitor the running situation of magnanimity workflow.
In the preferred embodiment of equipment one of the application control work flows, the equipment 100 also includes inquiry unit 4, uses
In collecting monitor control index according to corresponding to different dimension inquiries, here, using different dimensions as querying condition, so as to realize
Collect monitor control index corresponding to efficiently being checked for different dimensions.
In the preferred embodiment of equipment one of the application control work flows, the type of the workflow includes workflow reality
Example, sub-process example, active task, semaphore and one kind or any combination in human task are specifically, workflow is being run
During, according to the definition of workflow, new workflow instance can be started, perform active task, trigger signal amount etc., these can
The primitive event data of corresponding workflow can be generated by an activity engine, these primitive event data can be remembered in the form of daily record
Record in persistent storage module.After the event data of collection work stream, by a plurality of event indicator polymerization of same workflow
Collect as the original monitor control index of workflow instance, active task, semaphore and human task, each workflow instance
Corresponding to the monitor control index of an original workflow instance;Each active task can correspond to an original workflow and live
Dynamic monitor control index;Each semaphore example can correspond to the monitor control index of a bars amount;Each artificial task instances
The monitor control index of a human task can be corresponded to, so as to realize the running situation for efficiently monitoring all kinds of magnanimity workflows.
In the preferred embodiment of equipment one of the application control work flows, the event type of the workflow instance includes opening
Dynamic workflow instance and power cut-off stream example, the type of the sub-process example include promoter flow instance and terminate subflow
Journey example, the event type of the active task include starting new active task and ending activity task, the semaphore
Event type includes trigger signal amount and end signal amount, and the event type of the human task includes starting human task and knot
Beam human task.For example, the primitive event data of a certain workflow instance, which have, starts workflow instance and power cut-off stream example,
Then the startup workflow instance of the workflow instance and power cut-off stream example need to aggregate into the workflow of the workflow instance
Monitor control index;And for example, the primitive event data of a certain active task include starting new active task and ending activity task,
Then the new active task of the startup of the active task and ending activity task need to aggregate into the monitor control index of the active task;Again
Such as, the primitive event data of a certain semaphore include the trigger signal amount of trigger signal amount and end signal amount, the then semaphore
Need to aggregate into the monitor control index of the semaphore with end signal amount;Also such as, the primitive event data of a certain human task include
Start human task and terminate human task, then the startup human task of the human task and end human task need to aggregate into
The monitor control index of the human task, consequently facilitating will subsequently belong to the primitive event data aggregate of same workflow into the workflow
Monitor control index.Specifically, the primitive event data of each workflow can include following domain:Event id (event_id), thing
Part type (event_type), previous event id (pre_event_id), workflow ID (workflow_id), workflow title
(workflow_type), workflow version (workflow_version), activity name (activity_name), the time is performed
(exec_time), father's flow id (subflow_id), business id (biz_id), main frame ip (host), main frame id (host_
Uuid), work stream label (tag), event time (time) etc..During work flow operation, main event type includes:
Start workflow instance:When workflow instance starts, the event log that a workflow instance starts is recorded, is needed
Record event id, event type, workflow ID, workflow title, version, place machine, event time and related service number
According to information;
Start new active task:When starting new active task, the information of an activity startup is recorded, it is necessary to record
Event id, event type, workflow ID, workflow title, version, activity name, place machine, the industry of event time and correlation
Business data message;
Ending activity task:In ending activity task, record an activity end information, it is necessary to record event id,
Event type, workflow ID, workflow title, version, activity name, place machine, event time and associated traffic data, it is living
The type of dynamic task be probably successfully, failure or time-out, these can correspond to different event types;
Promoter flow instance:In promoter flow instance, the event log of a strip workflow-initiating, content are recorded
Including event id, event type, father's workflow ID, sub- workflow ID, sub- workflow title, version, place machine, event time
With associated traffic data etc.;
Terminate sub-process example:When terminating sub- workflow instance, the event log that a strip workflow terminates is recorded, bag
Include event id, event type, father's workflow ID, sub- workflow ID, sub- workflow title, version, perform the time, place machine,
Event time and associated traffic data etc., the event type that sub-process example terminates be probably successfully, failure or time-out;
Trigger signal amount:During workflow trigger signal amount, workflow engine can temporarily cease the execution of workflow instance, directly
To receiving the instruction restarted.In trigger signal amount, workflow can record a bars amount and start daily record, and content includes event
ID, event type, workflow ID, workflow title, version, semaphore title, place machine, event time and related service number
According to etc.;
End signal amount:When workflow engine receives semaphore request, a sign workflow restarting is recorded
Event log, including event id, event type, workflow ID, workflow title, version, semaphore title, place machine,
Event time and associated traffic data etc.;
Start human task:When workflow runs into human task, the event that a human task starts can be recorded, including
Event id, event type, workflow ID, workflow title, version, human task title, place machine, event time and correlation
Business datum etc.;
Terminate human task:At the end of human task, workflow engine can record the event that a human task terminates,
Including event id, event type, workflow ID, workflow title, version, human task title, place machine, event time and
Associated traffic data etc.;
Power cut-off stream example:At the end of workflow instance, workflow engine understands the daily record that writing task stream terminates, bag
Include workflow ID, workflow title, version, execution time, place machine and associated traffic data etc..
Detailed, step S2, the primitive event data aggregate of same workflow will be belonged into the monitor control index of the workflow
Process it is as follows:
The monitor control index of workflow instance:The operation of the monitor control index essential record wall scroll workflow instance of workflow instance
Situation, including workflow ID, workflow title, version, whether start, whether succeed, whether fail, whether time-out, scheduling when
Between, perform time, time started, end time, affiliated account, operation area, machine IP etc., wherein, the scheduling time is
Refer to the workflow actual time performed, can't may at once perform after workflow-initiating, be performed since starting to really
In the presence of a time difference, this difference is exactly the time dispatched.Under the process of generation:
When running into the event for starting workflow instance, if not finding identical ID workflow monitorings record, create
One new record, inserts workflow ID, workflow title, version, startup are arranged to 1, is successfully arranged to 0, is unsuccessfully arranged to
0, time-out is arranged to 0, and the execution time is arranged to 0, and the time started is arranged to event time, and the end time is arranged to 0, according to event
In machine IP find corresponding to account and deployment region, and set onto workflow instance;In view of event handling order
Uncertainty, i.e., in a network environment, the uncertainty of event acquisition order be present, when receiving event original log, may
End Event daily record first receives, and is received after starting event log, so it has to be ensured that the time independence of event handling, if
Identical workflow ID record be present, then set whether the attribute of workflow, including workflow start, start according to event
Time etc., in addition, the primitive event data that the aggregates dispatch time is also needed in this step are easy to subsequent analysis to inquire about;
When running into the event of power cut-off stream example, corresponding workflow record is found, work is inserted according to event content
Make the information of stream example, including end time, execution time.If workflow success events, then be successfully arranged to 1, if
It is turkey, is then unsuccessfully arranged to 1, if time out event, then time-out is arranged to 1;In view of event handling order not
Certainty, if workflow record is not present, new workflow record is created, workflow ID, title, version, place are set
The information such as machine, affiliated account and operation area;
Active task index:The running situation of the monitor control index essential record single-unit activity task of active task, including work
Make stream ID, workflow title, version, activity name, whether start, whether succeed, whether fail, whether time-out, perform the time,
Time started, end time, affiliated account, operation area, machine IP etc., under the process specifically generated:
When running into the event for starting new active task, if not finding identical ID activity monitoring record, create
A new record is built, inserts workflow ID, workflow title, version, activity name, startup are arranged to 1, is successfully arranged to 0,
0 is unsuccessfully arranged to, time-out is arranged to 0, and the execution time is arranged to 0, and the time started is arranged to event time, and End Event is arranged to
0, the machine IP in event find corresponding account and deployment region, and insert activity monitoring record;In view of event
The uncertainty of processing sequence, if the record of same campaign task ID be present, the category of workflow is set according to event
Property, including whether activity starts, time started etc., in addition, also needing to the primitive event data of aggregates dispatch time in this step
It is easy to subsequent analysis to inquire about;
When running into the event of ending activity task, corresponding workflow activities monitoring record is found, according to event content
Insert the information of workflow activities, including end time, execution time.If activity success End Event, then successfully set
For 1, if turkey, then 1 is unsuccessfully arranged to, if time out event, then time-out is arranged to 1;In view of event handling
The uncertainty of order, if active task record is not present, creates new workflow activities and record, setting workflow ID,
Title, version, activity name, place machine, affiliated account and operation area etc.;
Signal figureofmerit:The running situation of the single work flow signals amount of monitor control index essential record of work flow signals amount,
Including workflow ID, workflow title, version, semaphore title, whether start, whether terminate, perform the time, the time started,
End time, affiliated account, operation area, machine IP etc..In some cases, the processing procedure of semaphore event can be with work
The processing procedure of dynamic index merges, but needs to be distinguish between on Activity Type.Under the process specifically generated:
When running into the event of trigger signal amount, if not finding identical ID monitoring record, create one it is new
Record, workflow ID, workflow title are inserted, version, semaphore title, starts and is arranged to 1, end is arranged to 0, the stand-by period
0 is arranged to, the time started is arranged to event time, and the end time is arranged to 0, and the machine IP in event finds corresponding
Account and deployment region, and insert monitoring record;In view of the uncertainty of event handling order, if identical work be present
Make stream semaphore ID record, then the attribute of workflow is set according to event, including whether activity starts, time started etc.;
When running into the event of end signal amount, corresponding work flow signals amount monitoring record is found, according to event content
Insert the information of work flow signals amount, including end time, stand-by period and end index.In view of event handling order not
Certainty, if semaphore record is not present, new semaphore record is created, workflow ID, title, version, signal are set
Measure title, place machine, affiliated account and operation area etc.;
Human task index:The operation of the single workflow human task of monitor control index essential record of workflow human task
Situation, including workflow ID, workflow title, version, human task title, whether start, be whether successful, whether fail, be
No time-out, perform time, time started, end time, affiliated account, operation area, machine IP etc..In some cases, people
The processing procedure of work task can merge with the processing procedure of activity indicators, but need to be distinguish between on task type.Specifically
Under the process of generation:
When running into the event for starting human task, if not finding identical ID human task monitoring record, create
Build a new record, insert workflow ID, workflow title, version, artificial title, start be arranged to 1, be successfully arranged to 0,
0 is unsuccessfully arranged to, time-out is arranged to 0, and the execution time is arranged to 0, and the time started is arranged to event time, and the end time is arranged to
0, the machine IP in event find corresponding account and deployment region, and insert human task monitoring record;Consider
The uncertainty of event handling order, if identical workflow human task ID record be present, set according to event
The attribute of workflow, including whether task starts, time started etc.;
When running into the event for terminating human task, corresponding workflow human task monitoring record is found, according to event
Content inserts the information of workflow activities, including end time, execution time.If Mission Success End Event, then succeed
1 is arranged to, if turkey, is then unsuccessfully arranged to 1, if time out event, then time-out is arranged to 1;In view of event
The uncertainty of processing sequence, if human task record is not present, new workflow human task record is created, work is set
Make stream ID, title, version, activity name, place machine, affiliated account and operation area etc..
In the preferred embodiment of equipment one of the application control work flows, the dimension includes workflow instance type, son
Flow instance type, active task type, semaphore type, human task type, Workflow Time section, deployment region, work
Make stream title and one kind or any combination in allocating time.Specifically, when collecting monitor control index of calculation workflow, can be by list
Individual original workflow monitoring index turns into the index collected according to different calculating dimension polymerizations, and the monitoring to workflow refers to
Mark analysis is mainly querying condition comprising multiple different dimensions:Workflow instance type, sub-process example types, active task
Type, semaphore type, human task type, Workflow Time section and deployment region etc., consequently facilitating subsequently according to difference
Dimension inquiry corresponding to collect monitor control index, efficiently corresponding collect monitoring for different dimensions to check so as to realize
Index.
In the preferred embodiment of equipment one of the application control work flows, it is described collect monitor control index include quantitative index,
Run time index, scheduling time index and a kind of in reliability index or any combination are consequently facilitating the different analyses of subsequent query
Angle collects monitor control index, and realization efficiently obtains different analytic angles to check corresponding remittance for different querying conditions
Total monitor control index, i.e. Query Result.Specifically, it is possible to provide the workflow monitoring index inquiry of different dimensions, the dimension bag of inquiry
Include workflow type, allocating time and operation area etc.;The index of inquiry include workflow quantitative index, run time index and
Reliability index etc..
In the preferred embodiment of equipment one of the application control work flows, the quantitative index include workflow total quantity,
Success quantity, failure quantity and one kind or any combination in overtime quantity, specifically, the quantitative index includes workflow reality
Example, active task, quantitative index, run time index and the reliability index of semaphore and human task, consequently facilitating subsequently
Different analytic angles collect monitor control index in inquiry quantitative index, and point different in quantitative index is efficiently directed to so as to realize
Analysis angle collects monitor control index corresponding to checking.
In the preferred embodiment of equipment one of the application control work flows, when the run time index includes averagely performing
Between, maximum execution time, it is minimum perform the time and hundredths performs one kind or any combination in time index, consequently facilitating after
Different analytic angles collect monitor control index in continuous inquiry run time index, and run time index is efficiently directed to so as to realize
Middle different analytic angle collects monitor control index corresponding to checking.Specifically, when the average performance times, maximum execution
Between, minimum perform the time and hundredths performs the difference of end time and startup time that time index can be based on workflow and obtained
Arrive, hundredths performs the time index such as 90% workflow maximum execution time.
In the preferred embodiment of equipment one of the application control work flows, when the scheduling time index includes averagely dispatching
Between, maximum scheduling time, one kind or any combination in minimum scheduling time and hundredths scheduling time index, consequently facilitating after
Different analytic angles collect monitor control index in continuous query scheduling time index, realize and are efficiently directed in scheduling time index not
With analytic angle collect monitor control index corresponding to checking.Specifically, average scheduled time, most maximum scheduling time, ditty
Spending time and hundredths scheduling time index can be obtained based on the difference of scheduling time and startup time, in addition, hundredths is dispatched
Time such as 90% workflow maximum scheduling time.
In the preferred embodiment of equipment one of the application control work flows, the reliability index include success rate index and
One kind or any combination in mortality index.Specifically, the reliability index includes the success rate index of workflow, failure
Rate index etc., consequently facilitating different analytic angles collect monitor control index in subsequent query reliability index, realize efficiently pin
Collect monitor control index corresponding to being checked to analytic angle different in reliability index.
The module map of distributed work flow monitoring as shown in Figure 5, one specific application example of the application include work
Flow engine 11, workflow acquisition module 12, workflow event analysis module 13, workflow monitoring data memory module 14 and work
Flow monitoring index inquires about service module 15, wherein,
Workflow engine 11, the life cycle for the stream that is mainly in charge of the management, such as start new workflow instance, start to live
Dynamic execution, break-off stream, ending activity execution, power cut-off stream etc. when running into semaphore, when each operation performs,
Workflow engine can all record corresponding event log, and the later stage can analyze the operating index of workflow based on these daily records;Work
The specific manifestation form for making stream daily record can be journal file, log information or various types of database purchases;
Workflow logs acquisition module 12, can pull the daily record of workflow from the node where workflow engine, and be put into
Unified place storage, workflow logs acquisition module be able to can also be located at not with workflow engine in same deployment region
Same deployment region;
Workflow event analysis module 13, the main workflow event index for being responsible for collecting workflow logs acquisition module
Example index is converted into, example index is divided into two classes:Original instance index and collect example index, original instance index is single
Workflow instance or single workflow activities can correspond to be referred to an original index, original instance index including workflow instance
Mark, active instance index, signal figureofmerit and human task index;It is then according to some dimensions set in advance to collect example index
The workflow collecting index calculated are spent, as the startup of each deployment region workflow in some period is total, success is total, loses
Lose sum and time-out sum etc.;
Workflow monitoring data memory module 14, for preserving the workflow monitoring data of all collections, specifically store
Mode can use Key-value databases, or directly usage log file, and so can solve relevant database can not
The problem of storing mass data;
Workflow monitoring index inquires about service module 15, there is provided inquires about work flow operation situation based on multiple dimensions
Function, including quantitative index, run time index and reliability index etc..
In summary, the primitive event data that the application is performed by writing task stream, rather than by inquiring about workflow
Database, solve the problems, such as system link tracking, and then the primitive event number that same workflow will be belonged to using workflow
According to the monitor control index for aggregating into the workflow, then the monitor control index of the workflow is aggregated into by different dimensions corresponding
Collect monitor control index, solve in the environment of multiple deployment regions, across computer room service call delay, data storage, the multidimensional number of degrees
The problem of according to analysis, magnanimity workflow can be supported to call well, while can adapt to flexible workflow deployment architecture, it is real
Under present large-scale distributed environment, the running situation of magnanimity workflow is efficiently monitored.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the application to the application
God and scope.So, if these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies
Within, then the application is also intended to comprising including these changes and modification.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With application specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment
In, the software program of the application can realize steps described above or function by computing device.Similarly, the application
Software program (including related data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory,
Magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the application can employ hardware to realize, example
Such as, coordinate as with processor so as to perform the circuit of each step or function.
In addition, the part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer performs, by the operation of the computer, it can call or provide according to the present processes and/or technical scheme.
And the programmed instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation
In the working storage of computer equipment.Here, including a device according to one embodiment of the application, the device includes using
Memory in storage computer program instructions and processor for execute program instructions, wherein, when the computer program refers to
When order is by the computing device, method and/or skill of the plant running based on foregoing multiple embodiments according to the application are triggered
Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, scope of the present application is by appended power
Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the application.Any reference in claim should not be considered as to the involved claim of limitation.This
Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple
Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table
Show title, and be not offered as any specific order.
Claims (20)
1. a kind of method of control work flows, wherein, this method includes:
The primitive event data that writing task stream performs;
The primitive event data aggregate of same workflow will be belonged into the monitor control index of the workflow;
By different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitor control index.
2. according to the method for claim 1, wherein, the monitor control index of the workflow is aggregated into pair by different dimensions
After that answers collects monitor control index, in addition to:
Collect monitor control index according to corresponding to different dimension inquiries.
3. according to the method for claim 1, wherein, the type of the workflow include workflow instance, sub-process example,
One kind or any combination in active task, semaphore and human task.
4. according to the method for claim 3, wherein, the event type of the workflow instance includes starting workflow instance
With power cut-off stream example, the type of the sub-process example includes promoter flow instance and terminates sub-process example, described
The event type of active task includes starting new active task and ending activity task, and the event type of the semaphore includes
Trigger signal amount and end signal amount, the event type of the human task include starting human task and terminate human task.
5. according to the method for claim 1, wherein, the dimension include workflow instance type, sub-process example types,
Active task type, semaphore type, human task type, Workflow Time section, deployment region, workflow title and calling
One kind or any combination in time.
6. according to the method described in any one of claim 1 to 5, wherein, the monitor control index that collects includes quantitative index, operation
A kind of or any combination in time index, scheduling time index and reliability index.
7. according to the method for claim 6, wherein, the quantitative index includes workflow total quantity, success quantity, failure
Quantity and one kind or any combination in overtime quantity.
8. according to the method for claim 6, wherein, the run time index includes average performance times, maximum execution
Time, minimum one kind or any combination performed in time and hundredths execution time index.
9. according to the method for claim 6, wherein, the scheduling time index includes average scheduled time, maximum scheduling
One kind or any combination in time, minimum scheduling time and hundredths scheduling time index.
10. according to the method for claim 6, wherein, the reliability index includes success rate index and mortality index
In one kind or any combination.
11. a kind of equipment of control work flows, wherein, the equipment includes:
Tape deck, the primitive event data performed for writing task stream;
Polyplant, for the primitive event data aggregate of same workflow will to be belonged into the monitor control index of the workflow;
Collect device, for by different dimensions by the monitor control index of the workflow aggregate into corresponding to collect monitor control index.
12. equipment according to claim 11, wherein, the equipment also includes inquiry unit, for according to different dimensions
Collect monitor control index corresponding to degree inquiry.
13. equipment according to claim 11, wherein, the type of the workflow includes workflow instance, sub-process reality
One kind or any combination in example, active task, semaphore and human task.
14. equipment according to claim 13, wherein, the event type of the workflow instance includes starting workflow reality
Example and power cut-off stream example, the type of the sub-process example include promoter flow instance and terminate sub-process example, institute
Stating the event type of active task includes starting new active task and ending activity task, the event type bag of the semaphore
Trigger signal amount and end signal amount are included, the event type of the human task includes starting human task and terminates artificial appoint
Business.
15. equipment according to claim 11, wherein, the dimension includes workflow instance type, sub-process example class
Type, active task type, semaphore type, human task type, Workflow Time section, deployment region, workflow title and
One kind or any combination in allocating time.
16. according to the equipment described in any one of claim 11 to 15, wherein, it is described collect monitor control index include quantitative index,
A kind of or any combination in run time index, scheduling time index and reliability index.
17. equipment according to claim 16, wherein, the quantitative index includes workflow total quantity, success quantity, lost
Lose quantity and one kind or any combination in overtime quantity.
18. equipment according to claim 16, wherein, the run time index includes average performance times, maximum is held
Row time, minimum one kind or any combination performed in time and hundredths execution time index.
19. equipment according to claim 16, wherein, the scheduling time index includes average scheduled time, maximum tune
The one kind or any combination spent in time, minimum scheduling time and hundredths scheduling time index.
20. equipment according to claim 16, wherein, the reliability index includes success rate index and mortality index
In one kind or any combination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610423078.3A CN107515864B (en) | 2016-06-15 | 2016-06-15 | Method and equipment for monitoring workflow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610423078.3A CN107515864B (en) | 2016-06-15 | 2016-06-15 | Method and equipment for monitoring workflow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107515864A true CN107515864A (en) | 2017-12-26 |
CN107515864B CN107515864B (en) | 2021-06-22 |
Family
ID=60719991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610423078.3A Active CN107515864B (en) | 2016-06-15 | 2016-06-15 | Method and equipment for monitoring workflow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107515864B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019223171A1 (en) * | 2018-05-21 | 2019-11-28 | 平安科技(深圳)有限公司 | Workflow management method and system, computer device and storage medium |
CN110611715A (en) * | 2019-09-23 | 2019-12-24 | 国云科技股份有限公司 | System and method for collecting cloud monitoring information by service link |
CN112015656A (en) * | 2020-09-01 | 2020-12-01 | 中国银行股份有限公司 | Visual debugging method and device for workflow designer |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1959724A (en) * | 2006-11-24 | 2007-05-09 | 清华大学 | Method and system for obtaining context information of workflow in computing environment generally referred to |
CN102254246A (en) * | 2011-06-17 | 2011-11-23 | 中国建设银行股份有限公司 | Workflow managing method and system |
CN102521723A (en) * | 2011-12-02 | 2012-06-27 | 浙江大学 | Discrete workshop logistics information online obtaining method based on radio frequency identification technology |
CN103177333A (en) * | 2013-02-22 | 2013-06-26 | 中国人民解放军91655部队 | Network warning on-duty management method based on workflow |
CN103425462A (en) * | 2012-05-14 | 2013-12-04 | 阿里巴巴集团控股有限公司 | Method and device for workflow data persistence |
CN103458033A (en) * | 2013-09-04 | 2013-12-18 | 北京邮电大学 | System for providing services of event-driven service-oriented internet of things and working method thereof |
US20150120329A1 (en) * | 2008-08-05 | 2015-04-30 | Net.Orange, Inc. | Operating system |
CN104917802A (en) * | 2014-03-12 | 2015-09-16 | 国家电网公司 | Multi-sensor data source processing method and device |
US20160140180A1 (en) * | 2012-09-28 | 2016-05-19 | Oracle International Corporation | Hybrid execution of continuous and scheduled queries |
-
2016
- 2016-06-15 CN CN201610423078.3A patent/CN107515864B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1959724A (en) * | 2006-11-24 | 2007-05-09 | 清华大学 | Method and system for obtaining context information of workflow in computing environment generally referred to |
US20150120329A1 (en) * | 2008-08-05 | 2015-04-30 | Net.Orange, Inc. | Operating system |
CN102254246A (en) * | 2011-06-17 | 2011-11-23 | 中国建设银行股份有限公司 | Workflow managing method and system |
CN102521723A (en) * | 2011-12-02 | 2012-06-27 | 浙江大学 | Discrete workshop logistics information online obtaining method based on radio frequency identification technology |
CN103425462A (en) * | 2012-05-14 | 2013-12-04 | 阿里巴巴集团控股有限公司 | Method and device for workflow data persistence |
US20160140180A1 (en) * | 2012-09-28 | 2016-05-19 | Oracle International Corporation | Hybrid execution of continuous and scheduled queries |
CN103177333A (en) * | 2013-02-22 | 2013-06-26 | 中国人民解放军91655部队 | Network warning on-duty management method based on workflow |
CN103458033A (en) * | 2013-09-04 | 2013-12-18 | 北京邮电大学 | System for providing services of event-driven service-oriented internet of things and working method thereof |
CN104917802A (en) * | 2014-03-12 | 2015-09-16 | 国家电网公司 | Multi-sensor data source processing method and device |
Non-Patent Citations (1)
Title |
---|
孙静: "运维系统工作流引擎的设计与实现", 《电子科技》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019223171A1 (en) * | 2018-05-21 | 2019-11-28 | 平安科技(深圳)有限公司 | Workflow management method and system, computer device and storage medium |
CN110611715A (en) * | 2019-09-23 | 2019-12-24 | 国云科技股份有限公司 | System and method for collecting cloud monitoring information by service link |
CN110611715B (en) * | 2019-09-23 | 2023-11-28 | 国云科技股份有限公司 | System and method for collecting cloud monitoring information through service links |
CN112015656A (en) * | 2020-09-01 | 2020-12-01 | 中国银行股份有限公司 | Visual debugging method and device for workflow designer |
CN112015656B (en) * | 2020-09-01 | 2023-08-15 | 中国银行股份有限公司 | Visual debugging method and device for workflow designer |
Also Published As
Publication number | Publication date |
---|---|
CN107515864B (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106656536B (en) | Method and equipment for processing service calling information | |
CN112035404B (en) | Medical data monitoring and early warning method, device, equipment and storage medium | |
CN102567185B (en) | Monitoring method of application server | |
Mayer et al. | An approach to extract the architecture of microservice-based software systems | |
US9612892B2 (en) | Creating a correlation rule defining a relationship between event types | |
US20080307104A1 (en) | Methods and Apparatus for Functional Model-Based Data Provenance in Stream Processing Environments | |
US20030065759A1 (en) | Event driven storage resource metering | |
US20020062237A1 (en) | Transactional monitoring system and method | |
CN102231673B (en) | System and method for monitoring business server | |
US8005860B1 (en) | Object-level database performance management | |
US10083208B2 (en) | Query modification in a database management system | |
US7877284B2 (en) | Method and system for developing an accurate skills inventory using data from delivery operations | |
CN108133031A (en) | A kind of method and device of filtered recommendation video candidate result | |
CN105302697B (en) | A kind of running state monitoring method and system of density data model database | |
CN110222042B (en) | Method, device, equipment and system architecture for determining checked business data | |
US20050165809A1 (en) | Technique for improving staff queries in a workflow management system | |
CN105630934A (en) | Data statistic method and system | |
CN109062769B (en) | Method, device and equipment for predicting IT system performance risk trend | |
CN107515864A (en) | The method and apparatus of control work flows | |
KR20150118963A (en) | Queue monitoring and visualization | |
CN109597800A (en) | A kind of log distribution method and device | |
CN110502424A (en) | A kind of performance data processing method of application software, device, system and terminal | |
CN110347572A (en) | A kind of performance logs output method, device, system, equipment and medium | |
CN113835965B (en) | Parameter track mark-keeping method and device | |
CN113177056B (en) | Method, device and storage medium for checking consistency of service data of multiple databases |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |