CN106897808A - A kind of workflow creation method and apparatus - Google Patents

A kind of workflow creation method and apparatus Download PDF

Info

Publication number
CN106897808A
CN106897808A CN201510958915.8A CN201510958915A CN106897808A CN 106897808 A CN106897808 A CN 106897808A CN 201510958915 A CN201510958915 A CN 201510958915A CN 106897808 A CN106897808 A CN 106897808A
Authority
CN
China
Prior art keywords
workflow
editing component
node
business model
subobject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510958915.8A
Other languages
Chinese (zh)
Inventor
朱峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510958915.8A priority Critical patent/CN106897808A/en
Publication of CN106897808A publication Critical patent/CN106897808A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the invention provides a kind of workflow creation method and a kind of workflow creation device,It is related to field of computer technology,Workflow parameter information can be obtained from workflow server by the client of operation system according to the present invention,Corresponding editing component is generated in Workflow editing interface in the client,User edits corresponding workflow according to demand in Workflow editing interface,Then client will be after the workflow configuration parameter be sent to workflow server,Workflow server is according to the workflow configuration data,Generation workflow execution data are simultaneously stored,So as to each client of the operation system can be processed its workflow according to the workflow execution data,Thus solve when its operation system is developed in its operation system indoor design workflow,The problem of influence operation system stability in itself,Achieve and decouple the establishment process of workflow and operation system,Avoid being influenceed during modification the beneficial effect of operation system stability.

Description

A kind of workflow creation method and apparatus
Technical field
The present invention relates to field of computer technology, more particularly to a kind of workflow creation method and one kind Workflow creation device.
Background technology
With the development of computer technology, a company might have different business departments, and it is different Business department the operation system of oneself may be set, but actually each business department may all have The demand of workflow, such as approve the contract, examine the flow such as ask for leave.
In first technology, each business department, for the workflow of oneself, is all to develop its business system In its operation system indoor design workflow during system, its code coupling is high, if necessary to change, then Need all to remodify the code of operation system one time, influence operation system stability in itself.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least portion to provide one kind The workflow creation method for solving the above problems with dividing and corresponding workflow creation device.
According to one aspect of the present invention, there is provided a kind of workflow creation method, including:
Workflow parameter information is obtained from the corresponding workflow server of Workflow system;The work Stream parameter information includes the corresponding each object of business model, each node object;
Corresponding editing component is generated based on the workflow parameter information;
In Workflow editing interface, the operation according to user to each editing component, generation workflow is matched somebody with somebody Put data;
The workflow configuration parameter is sent to workflow server;The workflow server according to The workflow configuration data, generate workflow execution data and are stored.
Preferably, workflow parameter information is being obtained from the corresponding workflow server of Workflow system Before, also include:
The business model of the operation system of upload is to workflow server;The business model includes angle Color, executor, conditional policies;The workflow server generates business mould according to the business model Type object role's subobject corresponding with the business model object, executor's subobject and condition plan Omit subobject.
Preferably, the step of generation corresponding editing component based on the workflow parameter information, Including:
For each business model object, the corresponding role's subobject of the business model, executor's are right As with conditional policies subobject, and each node object, generated in Workflow editing interface corresponding Editing component.
Preferably, the workflow server according to the workflow configuration data, hold by generation workflow Row data and the step of stored, including:
The workflow server generates workflow execution data according to the workflow configuration data;
Obtain the workflow identification of the workflow execution data, and the operation system business system System mark;
The workflow execution data are deposited with reference to operation system mark and workflow identification Storage.
Preferably, the operation to each editing component includes:
Select the editing component of the node object of needs;
Set the relation between editor's group of each node object;
The editing component of business model object is bound with the editing component of a node object;
The corresponding editing component of based role subobject sets the role of respective nodes object;
The executor of respective nodes object is set based on the corresponding editing component of executor's subobject;
The conditional policies of respective nodes object are set based on the corresponding editing component of conditional policies subobject.
Preferably, the node object includes:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
Preferably, the business model includes:Business model is performed, or is performed business module and is gathered Close business model;
Further, the editing component that the editing component of business model object is bound with node object is entered Row binding includes:
The editing component of the editing component and ordinary node object that will perform business model object is bound;
And/or the editing component of convergence service model object is tied up with the editing component of aggregation object It is fixed.
Preferably, when the conditional policies of the execution business model include circulation condition;
Further, it is described based on the corresponding editing component setting respective nodes pair of conditional policies subobject The conditional policies of elephant, including:
In the editing component of the business model object belonging to the conditional policies subobject, with ordinary node After the editing component binding of object, the conditional policies subobject is distributed into the ordinary node object The next stage of editing component respectively circulate the editing component of node object;
Stream based on the corresponding circulation node object of the corresponding editing component setting of conditional policies subobject Turn condition.
Preferably, also include:
It is that the ordinary node sets task distribution in the editing component of specified ordinary node object Strategy.
Preferably, the Task Assigned Policy includes appointment type strategy and/or competitive type strategy and/or moves State countersign type strategy and/or equal distribution type strategy;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
Preferably, the operation to each editing component, also includes:
In the editing component of specified ordinary node object, Backtracking Strategy is set;The Backtracking Strategy For when backtracking instruction is received, task being dateed back into predetermined ordinary node object.
Preferably, in the workflow server according to the workflow configuration data, workflow is generated Perform data and after being stored, also include:
The corresponding workflow configuration data of the workflow execution data are obtained from workflow server, And according to the corresponding each editing component of each object of workflow configuration data generation, into work In stream editing interface, the operation according to user to each editing component generates the step of workflow configuration data Suddenly.
According to another aspect of the present invention, there is provided a kind of workflow creation device, including:
Workflow parameter acquisition module, is suitable to be obtained from the corresponding workflow server of Workflow system Workflow parameter information;The workflow parameter information includes the corresponding each object of business model, each section Point object;
Editing component creation module, is suitable to generate corresponding editor's group based on the workflow parameter information Part;
Editor module, is suitable in Workflow editing interface, according to user to the behaviour of each editing component Make, generate workflow configuration data;
Sending module, is suitable to send the workflow configuration parameter to workflow server;The work Make streaming server according to the workflow configuration data, generate workflow execution data and stored.
Preferably, before workflow parameter acquisition module, also include:
Uploading module, is suitable to the business model of the operation system for uploading to workflow server;The industry Business model includes role, executor, conditional policies;The workflow server is according to the business mould Type generation business model object role's subobject corresponding with the business model object, executor's Object and conditional policies subobject.
Preferably, the editing component creation module includes:
Editing component creates submodule, is suitable to for each business model object, the business model correspondence Role's subobject, executor's subobject and conditional policies subobject, and each node object, in work Make to generate corresponding editing component in stream editing interface.
Preferably, the workflow server includes:
Workflow execution data generation module, is suitable to the workflow server and is matched somebody with somebody according to the workflow Data are put, workflow execution data are generated;
Identifier acquisition module, is suitable to obtain the workflow identification of the workflow execution data, Yi Jisuo State the operation system mark of operation system;
Memory module, is suitable to hold the workflow with reference to operation system mark and workflow identification Row data are stored.
Preferably, the editor module includes:
Subject component selects submodule, is suitably selected for the editing component of the node object of needs;
Relation sets submodule, is suitable to set the relation between editor's group of each node object;
Binding submodule, is suitable to the editor's group by the editing component of business model object and a node object Part is bound;
Role sets submodule, is suitable to the corresponding editing component setting respective nodes of based role subobject The role of object;
Executor sets submodule, is suitable to corresponding based on the corresponding editing component setting of executor's subobject The executor of node object;
Condition sets submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The conditional policies of node object.
Preferably, the node object includes:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
Preferably, the business model includes:Business model is performed, or is performed business module and is gathered Close business model;
Further, the binding submodule includes:
Ordinary node binding module, is suitable to perform the editing component and ordinary node of business model object The editing component binding of object;
And/or aggregation binding module, be suitable to by the editing component of convergence service model object be polymerized The editing component binding of node object.
Preferably, when the conditional policies of the execution business model include circulation condition;
Further, the condition setting submodule includes:
Conditional object component distribution sub module, is suitable in the business mould belonging to the conditional policies subobject After the editing component of type object, with the editing component binding of ordinary node object, by the conditional policies The next stage that subobject distributes to the editing component of the ordinary node object respectively circulates the volume of node object Collect component;
Condition generates submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The circulation condition of the circulation node object.
Preferably, also include:
Allocation strategy setting module, is suitable in the editing component of specified ordinary node object, is institute State ordinary node and Task Assigned Policy is set.
Preferably, the Task Assigned Policy includes appointment type strategy and/or competitive type strategy and/or moves State countersign type strategy and/or equal distribution type strategy;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
Preferably, the editor module also includes:
Backtracking setting submodule, is suitable in the editing component of specified ordinary node object, sets back Trace back strategy;The Backtracking Strategy is used to, when backtracking instruction is received, task be dateed back predetermined Ordinary node object.
Preferably, after sending module, also include:
Acquisition module, is suitable to obtain the corresponding work of the workflow execution data from workflow server Make stream configuration data, and according to the corresponding each editor's group of each object of workflow configuration data generation Part, into editor module.
Workflow creation method and apparatus of the invention, can be by the client of operation system from work Make streaming server and obtain workflow parameter information, the workflow parameter business model is corresponding each right As, each node object, then joined based on the workflow in Workflow editing interface in the client Number information generates corresponding editing component, such as generates corresponding editing component to each object, in this way, with Family can according to demand edit corresponding work in Workflow editing interface based on above-mentioned editing component Stream, the edit operation generation workflow configuration parameter that then client can be based on user, by the work After stream configuration parameter is sent to workflow server, workflow server is according to the workflow configuration number According to generation workflow execution data are simultaneously stored, so that each client of the operation system can be with Its workflow is processed according to the workflow execution data, is thus solved and is being developed its business system In its operation system indoor design workflow during system, its code coupling is high, influence operation system in itself Stability problem, achieve and decouple the establishment process of workflow and operation system, it is to avoid modification When influence operation system stability beneficial effect.
Described above is only the general introduction of technical solution of the present invention, of the invention in order to better understand Technological means, and being practiced according to the content of specification, and in order to allow it is of the invention above-mentioned and Other objects, features and advantages can become apparent, below especially exemplified by specific embodiment party of the invention Formula.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of workflow creation embodiment of the method according to an embodiment of the invention Flow chart;
Figure 1A shows each workflow nodes example of the embodiment of the present invention;
Figure 1B shows the example logic of embodiment of the present invention editing stream;
The step of Fig. 2 shows a kind of workflow creation embodiment of the method according to an embodiment of the invention Flow chart;
Fig. 3 shows a kind of structure of workflow creation device embodiment according to an embodiment of the invention Block diagram;
Fig. 4 shows a kind of structure of workflow creation device embodiment according to an embodiment of the invention Block diagram;
Fig. 5 shows a kind of structure of workflow creation system embodiment according to an embodiment of the invention Block diagram.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure Without that should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure Personnel.
Embodiment one
Reference picture 1, shows a kind of workflow creation embodiment of the method according to an embodiment of the invention The step of flow chart, specifically may include steps of:
Step 110, obtains workflow parameter information from the corresponding workflow server of Workflow system; The workflow parameter information includes the corresponding each object of business model, each node object;
One public workflow server, each operation system can be set in the embodiment of the present application Client can call the interface in the workflow server in its workflow design plug-in unit.
In the embodiment of the present application, user can the preset workflow parameter in workflow server in advance Information, the workflow parameter information includes the corresponding each object of business model, each node object.
Wherein, above-mentioned node object includes:Start node object, end node object, ordinary node Object, aggregation object, circulation node object.
In embodiments of the present invention, start node object, end node object, ordinary node are prefixed Object, aggregation object, circulation node object.Before workflow execution data are not created, on It is sky to state each node object content, only exists the type of node.Need corresponding to this in subsequent step After node object is bound, specific content is just had in node object.
Wherein, in a workflow execution data, for each node object and for it sets Content, can generate corresponding start node, end node, ordinary node, aggregation, circulation section Point.
Wherein, start node is used for the task of initial work stream.In a workflow, Only 1 start node.
End node is used for the task of power cut-off stream.In a workflow, can have many Individual end node.
Circulation node is one and carries conditional vector node, and implied terms is true, the condition of condition node Judge final generation true or false, it is whether negotiable with the task for determining whether its source Nodes To next node, such as true is represented to circulate to next node, false and is represented and can not circulate to next Node.
Ordinary node, typically binds the node of certain business model, is typically rendered as manipulable The forms such as list, for man-machine interaction.
Aggregation is also a kind of special joint, and for converging the branch in workflow, this node is One needs to bind certain business model, the automatic node for performing.
Preferably, workflow parameter information is being obtained from the corresponding workflow server of Workflow system Before, also include:
Step 100, the business model of the operation system of upload to workflow server;The business model Including role, executor, conditional policies;The workflow server is generated according to the business model Business model object role's subobject corresponding with the business model object, executor's subobject and Conditional policies subobject.
In embodiments of the present invention, if an operation system needs to use a workflow, such as please Vacation examination & approval stream, then need that miscellaneous service model is uploaded into workflow server in advance.The business model Set according to the actual requirements, such as one workflow of asking for leave is:One business of asking for leave for asking dummy List is, it is necessary to issue occurrences in human life and project leader's examination & approval, all examination & approval give manager's examination & approval again after passing through simultaneously.That The developer of operation system needs to build in advance, for the business model for asking dummy, for occurrences in human life The business model of examination & approval, the business model for project leader's examination & approval, the business mould for manager's examination & approval Type.Then it is uploaded to workflow server in the client of its operation system.
It is appreciated that the client for uploading business model can not with performing the client of step 110-140 Together.
In practice, business model includes business model title, then including three main fields:Angle Color, executor, conditional policies.In corresponding main fields, specific role, executor, bar are write Part policy content.Certainly, in actual applications, the conditional policies of some business models can be sky.
So embodiment of the present invention, workflow server is based on for the business data model for receiving Business model integrally generates business model object, and the above three main fields generation to business model is corresponding Role's subobject, executor's subobject and conditional policies subobject.
Particularly, for conditional policies, the embodiment of the present invention is provided with three subfields for it:Name Title, operator, Value Types.Then with entitled object name in conditional policies subobject, operator is Condition is accorded with, and Value Types are input type.Wherein, operator as >=,≤,=,<、>Deng.Value Types Such as text, list, text is represented can use text data input, list to represent defeated with menu-style Enter.
Step 120, corresponding editing component is generated based on the workflow parameter information;
In embodiments of the present invention, user's framework workflow for convenience, obtains in the client of user After getting the workflow parameter, a Workflow editing interface is generated in its client, then generated Corresponding editing component is generated based on the workflow parameter information, is added in the Workflow editing interface Carry these editing components.The user can not be the developer of business model, can be the work of front end Make process structure personnel.
Preferably, the step of generation corresponding editing component based on the workflow parameter information, Including:
Sub-step 121, for each business model object, the corresponding role's subobject of the business model, Executor's subobject and conditional policies subobject, and each node object, in Workflow editing interface Generate corresponding editing component.
In embodiments of the present invention, the client of developer is getting business model object and institute The corresponding role's subobject of business model object, executor's subobject and conditional policies subobject are stated, with And after each node object, corresponding editing component is generated in the Workflow editing interface of client.
Such as, for node object, corresponding icon, such as Figure 1A can be generated, M12 represents start node The editing component of object, M13 represents the editing component of circulation node object, and M14 represents ordinary node pair The editing component of elephant, M15 represents the editing component of aggregation object, and M16 represents end node object Editing component.
For the editing component of business model object, can be shown in the form of icon, its subobject Editing component, can there is input frame, selection menu etc., and it can show on triggering.
Step 130, in Workflow editing interface, the operation according to user to each editing component, generation Workflow configuration data;
Due to existing various editing components in Workflow editing interface, then user can be according to workflow The need for editing component is operated, then click on preservation can generation workflow configuration data.
In actual applications, each operation of user obtains result can all be cached in local cache, The result of operation can be stored in local disk according to the operation of user, be reloaded during subsequent operation The result, to continue operation.
Preferably, the operation to each editing component includes:
Sub-step A11, selects the editing component of the node object of needs;
Sub-step A12, sets the relation between editor's group of each node object;
Such as one workflow of asking for leave:One business sheet of asking for leave for asking dummy, needs during less than or equal to 3 days Individually to issue project leader's examination & approval;, it is necessary to issue occurrences in human life and project leader simultaneously during more than or equal to 3 days Examination & approval, then examine to manager.
Such as Figure 1B, it is a workflow logic figure for workflow, and user needs in the stream interface that works 1 editing component of start node object of selection, 4 editing components of ordinary node object, 8 streams The editing component of trochanterion, 1 editing component of aggregation, 2 editor's groups of end node object Part, then sets sequencing by Figure 1B.
Sub-step A13, the editing component of business model object is carried out with the editing component of a node object Binding.
, it is necessary to the editing component binding business specified after the structure chart of editing component of Figure 1B is obtained The editing component of data model.
Preferably, the business model includes:Business model is performed, or is performed business module and is gathered Close business model;
In embodiments of the present invention, can only set as needed and perform business model, the execution business Model is used for the editing component of binding with common node, and it does not have polymerizing condition.
Execution business module and convergence service model can also be set, and the convergence service model is used for binding The editing component of aggregation.
Further, the editing component that the editing component of business model object is bound with node object is entered Row binding includes:
Sub-step A131, by the editing component for performing business model object and the editor of ordinary node object Component binding;
In embodiments of the present invention, for ask dummy execution business model, M21 can be tied to On.For the execution business model that project leader examines, can be tied on M22.For occurrences in human life The execution business model of examination & approval, can be tied on M23.For the execution business of manager's examination & approval Model, can be tied on M25.
And/or sub-step A132, by the editing component of convergence service model object and aggregation object Editing component is bound.
For needing to issue the convergence service model that occurrences in human life and project leader examine simultaneously, can be tied up Determine to M24.
Sub-step A14, the corresponding editing component of based role subobject sets the angle of respective nodes object Color;
For performing business model, due to when uploading, which provided role and executor, the angle Color and executor are consistent with the role and executor of operation system.So perform the volume of business model After volume component binding to corresponding editing component, can with the editing component of Trigger Angle dice object, than The menu bar of selection role is such as ejected, user can choose which or which role and can use this Node.
Sub-step A15, based on holding for the corresponding editing component setting respective nodes object of executor's subobject Pedestrian;
The editing component for performing business model is tied to after corresponding editing component, can trigger role The editing component of subobject, such as ejection selection executor menu bar, user can choose which or Which executor person can use the node.
Sub-step A16, based on the corresponding editing component setting respective nodes object of conditional policies subobject Conditional policies.
User can be on the edit object of circulation node, based on the corresponding section of conditional policies subobject setting The conditional policies of point object.
Preferably, when the conditional policies of the execution business model include circulation condition;
Further, it is described based on the corresponding editing component setting respective nodes pair of conditional policies subobject The conditional policies of elephant, including:
Sub-step A161, in editor's group of the business model object belonging to the conditional policies subobject After part, with the editing component binding of ordinary node object, the conditional policies subobject is distributed into institute The next stage for stating the editing component of ordinary node object respectively circulates the editing component of node object;
As it was previously stated, being provided with three subfields in performing business model:Title, operator, value class Type.Then with entitled object name in conditional policies subobject, operator is accorded with for condition, and Value Types are Input type.Wherein, operator as >=,≤,=,<、>Deng.Value Types such as text, list, Text is represented can use text data to be input into, list is represented and is input into menu-style.
The business sheet of asking for leave of dummy is asked for foregoing one, needs individually to issue project during less than or equal to 3 days Group leader examines;, it is necessary to issue occurrences in human life and project leader's examination & approval simultaneously during more than or equal to 3 days, then to warp Reason examination & approval.
Please dummy execution business model conditional policies in, operator for >=and<, it is 3 that value is similar to, So after execution business model binding M21, its conditional policies subobject is tied to M32 and M34.
Sub-step A162, based on the corresponding circulation of the corresponding editing component setting of conditional policies subobject The circulation condition of node object.
By taking above-mentioned M32 and M34 as an example, then generated on M32 and M34 " day " "</≥” " qingjia " is formula bar, and wherein day is number of days basic value of asking for leave, and the people that asks for leave uploads Value.Then user can be input into 3 in the day of M32, "<Selected in/>=" >=and<, " qingjia " is not processed.3 are input into the day of M34, "<Selection in/>="<, " qingjia " is not processed.
For M33 and M35 similar process.Additionally, the condition of M33 also includes not allowing to ask for leave.
M37 allows to ask for leave for M21 and M22, and M38 does not allow to ask for leave for M21 and M22.M31、 The circulation node of M36, M39 is directly circulation.
Certainly for aggregation M24, polymerizing condition is provided with convergence service model, receives M22 After the data transmitted with M23, in just passing data to M25.So can be in the polymerization of M24 Role and/or executor to be polymerized is set in object.
Certainly, if conditional policies are sky, then may be used on the editing component of corresponding circulation node object To be not provided with conditional policies, such as M31, M37, M38 does not have conditional policies.
In actual applications, convergence service model possesses the conditional policies of polymerization, then aggregation object Editing component under, tactful subobject of also having ready conditions.In the business belonging to the conditional policies subobject After the editing component of model object, with the editing component binding of aggregation object, by the condition plan The next stage of the slightly subobject editing component of distributing to the aggregation object respectively circulates node object Editing component;Again based on the corresponding circulation node of the corresponding editing component setting of conditional policies subobject The circulation condition of object.
Preferably, also include:
Sub-step A17, is that the ordinary node sets in the editing component of specified ordinary node object Put Task Assigned Policy.
In the embodiment of the present application, can be that the setting of ordinary node object is more in workflow server Individual Task Assigned Policy and corresponding policing type are identified, then in the editing component of generation, user Then can accordingly be configured with selection strategy type identification.
Order between sub-step A17 and sub-step A11-16 can be adjusted arbitrarily on demand, the present invention Embodiment is not limited to it,
Preferably, the Task Assigned Policy includes appointment type strategy and/or competitive type strategy and/or moves State countersign type strategy and/or equal distribution type strategy;
Wherein, the appointment type strategy includes:Task is distributed to the specified execution of assigned role People;
This kind of strategy, then need to select specific value in sub-step A14 and A15.
Wherein, the competitive type strategy includes:Task is distributed under executive role at transmission at first Manage the executor of request;
This kind of strategy, then need to select specific value in sub-step A14, and not in sub-step Selected any value.
Wherein, the dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest to refer to Determine the executor under role;
This kind of strategy, user can select corresponding strategy mark, then can step A14 and/ Or specific value is set in A15.When then being performed in workflow server, can be automatically according to execution The treatment effeciency of people, treatment effeciency highest people is distributed to by the task in ordinary node.
Wherein, the equal distribution type strategy includes:Task round is distributed under assigned role Each executor.
This kind of strategy, user can select corresponding strategy mark, then can be in step A14 and B15 The middle specific value of setting.When then being performed in workflow server, can alternating mode determination successively automatically Treatment people, by task Cycle arranging give each executor.
Preferably, the operation to each editing component, also includes:
Sub-step A18, in the editing component of specified ordinary node object, sets Backtracking Strategy;Institute Backtracking Strategy is stated for when backtracking instruction is received, task being dateed back into predetermined ordinary node Object.
Developer can configure Backtracking Strategy, then in business model is performed in conditional policies In the edit box of corresponding editing component, which common section user can date back with input service task Point.After subsequent execution people triggering backtracking instruction, the task just dates back the ordinary node.
Order between sub-step A18 and sub-step A11-17 can be adjusted arbitrarily on demand, the present invention Embodiment is not limited to it,
Step 140, the workflow configuration parameter is sent to workflow server;The workflow clothes Business device generates workflow execution data and is stored according to the workflow configuration data.
In embodiments of the present invention, user is after editor finishes in the Workflow editing interface, Ke Yisheng Into workflow configuration parameter, such as each workflow nodes generates node ID, node type ID, section The parameters such as the strategy of point.
Then user can click on submitting button, then client can send out corresponding workflow configuration parameter Deliver to workflow server.In actual applications, client can also be by the operation system mark of operation system Know and send to workflow server.
Workflow server generates workflow execution data then according to workflow configuration data, then will Workflow execution data storage is in workflow server.
Preferably, the workflow server according to the workflow configuration data, hold by generation workflow Row data and the step of stored, including:
Sub-step A21, the workflow server generates workflow according to the workflow configuration data Perform data;
After workflow server receives workflow configuration data, based in the workflow configuration data Each configuration parameter, generate workflow execution data, after the workflow execution data are loaded, you can Task is processed.
Sub-step A22, obtains the workflow identification of the workflow execution data, and the business system The operation system mark of system;
In actual applications, when generating workflow execution data, a workflow identification is accordingly generated, Such as workflow ID, operation system possesses operation system mark in itself, and operation system mark can be by Client sends.
Then, the embodiment of the present invention then obtains the workflow identification of above-mentioned workflow execution data, and The operation system mark of the operation system.
Sub-step A23, with reference to operation system mark and workflow identification to the workflow execution number According to being stored.
Then using workflow execution data workflow identification, and the operation system business system System mark is stored to workflow execution data.
In embodiments of the present invention, client can be by calling API (Application Programming Interface, application programming interface) realize step 110-140.
In embodiments of the present invention, multiple workflow execution data can be created to an operation system, Each workflow execution data storage in a table workflow underlying table, the workflow underlying table Field include:Workflow ID, operation system ID, workflow states (wherein 0:Not enabled, 1:Just It is often available), workflow description, creation time, last modification time etc..
Certainly, in actual applications, for each node, workflow server can also be remembered to it Record, with the workflow ID of workflow execution data, the node ID of workflow nodes during its storage, to every The data of individual node are recorded.It records nodal basis information in workflow node table includes section The flow ID of the workflow belonging to point ID, node, the parameter value of node type and node parameter values etc. Data.The property parameters value is including role, executor, conditional policies etc..Certainly, for a work Make each node that stream performs data, the position of each node can be recorded, it is in workflow section The location presentation of node ID, workflow ID, node in Workflow editing interface is recorded in point position table Formula (generally top left co-ordinate point) etc..L-expression of the node in Workflow editing interface, When can be used for client and obtaining the workflow configuration information of workflow execution data again, by interdependent node Position be supplied to workflow design plug-in unit, with Workflow editing interface relevant position generate phase The editing component answered.
In addition, in embodiments of the present invention, after workflow execution data creation, client can be to Workflow server sends and starts request for the workflow execution data, with according to wherein each section Point generation task and process task.The processing procedure of its workflow is as follows:
Step 150, receives and is asked being submitted to by the client of an operation system;
In embodiments of the present invention, if the client of certain operation system will start workflow , to ask for leave, certain employee needs to ask for leave, then can be in its client to work for business, such as workflow Make stream access submission and start request.
In actual applications, user's registering service system in the client, i.e., by operation system to user Username and password verified that after being proved to be successful, client can registering service system.Then Client can call the beginning interface of workflow server, submitted to workflow server and start to ask Ask.
In the client can preset workflow processing plug-in unit, workflow server can be to the displaying plug-in unit Transmission belongs to the title and ID of the existing workflow execution data of the operation system, and the workflow processing is inserted Part then generates corresponding start button according to the title and ID, so that user clicks on start button case visitor What family end was submitted to starts request.
Step 160, request is started according to described, creates corresponding workflow instance, and in the work Workflow execution data are loaded in stream example;The workflow execution data include:Each workflow section Circulation between point, each workflow nodes is sequentially;
In embodiments of the present invention, workflow server receive an operation system start request Afterwards, then corresponding workflow instance is created, and workflow execution number is loaded in the workflow instance According to.
Preferably, the workflow nodes include:
Start node, circulation node, ordinary node, aggregation, end node.
Wherein, start node is used for the task of initial work stream.In a workflow, Only 1 start node.
End node is used for the task of power cut-off stream.In a workflow, can have many Individual end node.
Circulation node is one and carries conditional vector node, and implied terms is true, the condition of condition node Judge final generation true or false, it is whether negotiable with the task for determining whether its source Nodes To next node, such as true is represented to circulate to next node, false and is represented and can not circulate to next Node.
Ordinary node, typically binds the node of certain business model, is typically rendered as manipulable The forms such as list, for man-machine interaction.
Aggregation is also a kind of special joint, and for converging the branch in workflow, this node is One needs to bind certain business model, the automatic node for performing.
Wherein, it is described to start to ask to include operation system mark and workflow identification;
In actual applications, when client sends and starts request, this starts request includes business business system System mark and workflow identification.
Further, start request according to described, create corresponding workflow instance, and in the work Make the step of loading workflow execution data in stream example, including:
Sub-step 161, creates the workflow instance of the correspondence operation system mark and workflow identification;
Sub-step 162, obtains the workflow execution number of the correspondence operation system mark and workflow identification According to;
Sub-step 163, the workflow execution data are loaded onto in the workflow instance.
In embodiments of the present invention, receive start request after, create a workflow instance, so Afterwards with start request in operation system mark and workflow identification carried out with the workflow instance it is corresponding. Then according to operation system mark and workflow identification, the work stored in searching work streaming server Stream performs data.The workflow execution data are loaded onto in workflow instance again, in this way, workflow Logic can then run.
Such as one workflow of asking for leave is:One business sheet of asking for leave for asking dummy, during less than or equal to 3 days Need individually to issue project leader's examination & approval;, it is necessary to issue occurrences in human life and project team simultaneously during more than or equal to 3 days Examination & approval long, then examine to manager.Its workflow performs DL graph such as Figure 1B.Start node Afterwards, be ask dummy ordinary node M21, the corresponding ordinary node of project leader be M22, occurrences in human life pair Ordinary node M23 is answered, manager's correspondence ordinary node M25, M24 are aggregation, receive M22 and M23 After the task of circulation, task is merged and is circulated again to M25.M32 is circulation node " 3 " >=or<" qingjia ", it is the number of days of the client upload of M21 to ask for leave.M34 is circulation node “3”<" qingjia ", it is the number of days of the client upload of M21 to ask for leave.M33 is circulation node " 3 " >=" qingjia ", it is the number of days of M22 circulations to ask for leave.M35 is circulation node " 3 "< " qingjia ", M21 is the number of days of the circulation asked for leave.M37 allows to ask for leave for M21 and M22, M38 does not allow to ask for leave for M21 and M22.The circulation node of M31, M36, M39 is directly circulation.
So in workflow instance, after the corresponding workflow execution data of loading figure 1B, its each node Logic can then run.
Preferably, after the workflow execution data are loaded onto in the workflow instance, also Including:
Sub-step 164, the start node in activating workflow nodes in the workflow instance, with true Determine workflow instance to create successfully.
In actual applications, each node in workflow is to be in state to be activated after loading, and In order to enable the workflow, task is sequentially processed, then need to activate start node first.Such as Start node in Fig. 1.The start node is activated, then illustrate that workflow instance is created successfully, its institute There is node can be used.
Certainly, in actual applications, after creating a workflow instance, a workflow can be created Example table, in the table writing task stream example ID, workflow ID, operation system ID, workflow reality Example state etc..
Certainly, in actual applications, one starts request then one workflow instance of generation.Can also It is interpreted as generating a workflow instance to a job note.Such as foregoing to ask for leave, user A's please Vacation, is its one workflow instance of generation, and user B's asks for leave, also for it generates a workflow reality Example.
In addition, after workflow instance is created and finished, one can also be created for the workflow instance Workflow instance node table, record node ID, workflow instance ID, node state, executor, appoint The information such as business allocation strategy.
Step 170, after the treatment that the client for receiving the operation system sends is asked, then passes through Workflow instance corresponding with the client, returns to the pending workflow section of the correspondence client The task of point gives the client;
By taking foregoing flow of asking for leave as an example, if user A have sent in client starts request, create After workflow instance, the treatment request that user A sends in the client can be received.Of the invention real Apply in example, treatment request is according to the different corresponding clients of node, and its content is different.For The client of the user of M21, its treatment request is exactly the client and workflow server of user A Connection request, then now workflow server is inquired about under corresponding operation system ID and workflow ID In workflow instance to should the pending node of user A be M21, then generate task and return to The client of user A.Its task includes the list of operation.The list such as includes number of days of asking for leave Fill in column, reason of asking for leave and fill in column, date of asking for leave and fill in column etc..
For each node, node oneself state includes:Un-activation, it is pending, process, locate Reason is completed.According to different logics, the state of its node is accordingly changed.If node is in do not swashed It is living, then after workflow server receives the treatment request of client, can judge that its is corresponding pending Which node is, whether the node before then judging the pending node has activated.Certainly, exist It is whether the non-streaming trochanterion before judging the pending node has activated in practical application.If should Node before pending node has been activated, then obtain task from the pending node.Wherein, if There is task in node, then the status modifier of the node is pending;If the work of the node is appointed Business has been sent to client, then the state of the node is changed to process, if the node is received To the result of the task, then the state of the node is changed to complete.
Certainly, for start node, because it has been active, then for start node First non-streaming trochanterion afterwards, then can activate, or receiving relative client automatically Activated after treatment request.Other nodes then swash on receiving after a task for node circulation It is living.
Preferably, the treatment request includes operation system mark, workflow identification, user identity letter Breath;The subscriber identity information includes role and executor;
Further, it is described by workflow instance corresponding with the client, return to correspondence described The step of task of the pending workflow nodes of client gives the client, including:
Sub-step 171, searches whether exist accordingly according to operation system mark and workflow identification Workflow instance;
The treatment request of asking for leave of such as foregoing user A, workflow server is received after the request, Operation system mark and workflow identification are therefrom extracted, then searches whether to deposit in workflow instance table In respective record, if there is corresponding workflow instance ID is then extracted from workflow instance table, so Remove in system to find the workflow instance for having created according to workflow instance ID afterwards.
Sub-step 172, if there is corresponding workflow instance, then searches in the workflow instance Pending workflow nodes corresponding with the subscriber identity information;
In actual applications, the role of each node is the role of operation system, and executor is system The user name of the user of executor, such as operation system, such as foregoing user A.Assuming that the angle of foregoing M21 Color is employee, executor includes user A, B, C.
It is pending from after each activation in workflow instance after so finding the workflow instance In node, corresponding pending working node is searched according to " employee+A ", then find node M21。
Sub-step 173, the task in the pending workflow nodes that will be found returns to the client End.
Then the task of node M 21 can be a task ID and foregoing table of asking for leave It is single.The task is so returned to the client of user A, client is receiving the work times After business, the task is shown in task treatment interface.
For sub-step A171-A173, and such as after the task flow of asking for leave of M21 goes to M32, such as After fruit project leader L is logged in its client, opened at workflow by workflow processing plug-in unit Behind reason interface, each workflow ID and title of the operation system can be provided to client, client can Corresponding treatment button is generated with for each workflow ID and title.The project leader L can be based on should Treatment button initiates treatment request to workflow server, and treatment request includes the angle of project leader Color:Project leader, user name:L, operation system ID, workflow ID.
So sub-step A171 searches corresponding workflow reality according to operation system ID, workflow ID Example.
In sub-step A172, in workflow instance according to " project leader+L ", with pending node Role and executor are matched, and determine pending node, such as determine M22.
Sub-step A173, in workflow instance, M22 returns to the task of examination & approval to project leader The client of L.
Preferably, the pending workflow nodes include ordinary node, aggregation;
Further, it is described by workflow instance corresponding with the client, return to correspondence described The task of the pending workflow nodes of client also includes to before the client:
Task is distributed to institute by sub-step 174, ordinary node according to preset Task Assigned Policy State each executor of the corresponding each role of common process node.
In actual applications, the Workflow Management personnel of operation system are in configuration work stream configuration data When, because a task for node may be processed by multiple executors of a role, then can be with The strategies such as task allocation strategy, such as mean allocation are set in certain ordinary node, so that can Task is distributed into certain executor with according to the strategy.
By taking the node of the flow of asking for leave of Figure 1B as an example, M22 has multiple executors, then can be set for it Task Assigned Policy, then after task occur in M22 nodes, can distribute plan according to the task Slightly share out the work task.In general, the initial node of task does not have Task Assigned Policy, Such as M21.Other nodes can be arranged as required to Task Assigned Policy.
Preferably, the Task Assigned Policy includes appointment type strategy and/or competitive type strategy and/or dynamic Countersign type strategy and/or equal distribution type strategy;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
Such as M22, there are two executors L, O.Can specify and task is distributed into L. After client so in L initiates treatment request, task can be distributed to L.And in the visitor of O After treatment request is initiated at family end, task O is not distributed into.
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
Such as M22, there are two executors L, O, then if the transmission processe request of L elder generations, The task that will be there is currently distributes to L.
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The task of such as M22, statistics obtains L treatment effeciency highests in a period of time recently, that Only after L transmission processes are asked, just task can be sent to L, without being sent to O.
In actual applications, due to there are multiple workflow instances, then for identical workflow execution number According to each workflow instance, if there are dynamic countersign type strategies in certain or certain several nodes therein, Recordable corresponding executor processes the treatment effeciency of the task of the node of each workflow instance, such as Process several daily, then each workflow instance can go to obtain corresponding executor according to the record.
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
In actual applications, due to there are multiple workflow instances, then for identical workflow execution number According to each workflow instance, if there is equal distribution type strategy in certain or certain several nodes therein, Each task sends which executor given in each workflow instance, then can calculate new appearance Task which people should be sent to.
When returning to task to client, worked except having node ID, also having in the task Flow the workflow instance ID of example.
Step 180, after the result that the client is submitted to for the task is received, Then in the workflow instance, according to the result, by the task after treatment circulate to Follow-up pending workflow nodes corresponding with the pending workflow nodes.
The client of such as foregoing user A receives the task of M21, in the work of its client After showing the task in stream process interface, such as show list:Number of days of asking for leave is filled in column, is asked for leave Reason is filled in after column, date of asking for leave fill in column etc., user can in the list fill substance.So User A can fill in the list, and the list that then will fill in is uploaded to workflow server.Work Make streaming server workflow instance receive the list after, then task is carried out based on the list Treatment, the task after treatment is circulated to M22 or M23.
The client of such as foregoing user L receives the task of M22, in the work of its client After showing the task in stream process interface, the task of M22 is then except the day of asking for leave of M21 Outside number, reason of asking for leave, also include whether to allow list etc., now user L can be according to actual feelings Condition selects whether it allows to ask for leave, then can according to result by the task after treatment circulate to M35 or end node.
In actual applications, in the result that user submits to, worked except having node ID, also having Flow the workflow instance ID of example.In this way, workflow server can be searched according to workflow instance ID Belong to a workflow instance to the result.
Preferably, the pending workflow nodes include ordinary node, aggregation;
Further, it is described in the workflow instance, according to the result, after treatment Task circulate to follow-up pending workflow nodes corresponding with the pending workflow nodes The step of, including:
Whether sub-step 181, judges include circulation node after the pending workflow nodes;
The such as corresponding ordinary nodes of user A are M21, and treatment knot is received in its workflow instance Fruit after, such as what user A was filled in asks for leave 4 days, reason of asking for leave " transfusion ", inquire about the M21 it Whether there is circulation node afterwards.
Sub-step 182, if including multiple circulation node, obtaining the circulation condition of each circulation node;
It was found that after M21, there is two circulations node M 32 and M34.So extract the circulation of M32 Condition 3 " >=or<" qingjia ", the circulation condition " 3 " of M34<“qingjia”.
Sub-step 183, calculates according to the result and waits to locate with circulation the next of condition coupling Reason workflow nodes, and the task after treatment is circulated to next pending workflow nodes;
The number of days 3 that will ask for leave is substituted into " qingjia ", and the conditional outcome for finding M32 is true.To ask for leave The conditional outcome that number of days 3 substitutes into discovery M32 is true.So by the task after treatment circulate to M22 and M23.
Sub-step 184, if including a circulation node, directly the task after treatment circulated To next pending workflow nodes.
Such as M23, after it receives result, only one of which circulation section after M23 is found Point M36, then circulate to M24 the task after treatment.
For M24 after the task after aggregation receives treatment, each work that judgement is received Make whether task reaches polymerizing condition;If reaching polymerizing condition, each task that will be received A task is merged into, and the task is circulated to next pending workflow section Point.Then obtain the polymerizing condition of circulation condition node M37 and M38, by result and M37 and M38 is calculated with the task for receiving, if one in receiving only M22 and M23 is The task asked for leave is allowed, then continues waiting for the task of another circulation.If M22 and All to allow to ask for leave, then M37 is that true, M38 are false to the task of M23 circulations, by two Task merges into a circulation to M25.If a task is not to allow to ask for leave, then M38 is true, and M37 is false, and two tasks are merged into a circulation to end node.
Preferably, it is described judge whether to include after the pending workflow nodes circulation node it Before, also include:
Whether sub-step 185, judges include that backtracking is instructed in the result;
Sub-step 186, if instructed including backtracking, the task is dateed back and the backtracking Instruct corresponding pending workflow nodes.
In embodiments of the present invention, Backtracking Strategy has ordinary node to set, and other nodes are not provided with.Than Such as, developer can set Backtracking Strategy in M25, when task is sent to manager's by M25 After client, when manager clicks on backtracking button, after sending backtracking instruction to M25, by task Recall the ordinary node specified to backtracking.Assuming that presetting the corresponding ordinary node of backtracking instruction It is M21, then recall task to M21.
In actual applications, after task dates back the ordinary node, workflow example can To travel through the ordinary node after the ordinary node, the ordinary node due to after is to task After reason is completed, its status modifier is in order to complete, then be by the status modifier of these ordinary nodes Un-activation.
The embodiment of the present invention, can obtain workflow by the client of operation system from workflow server Parameter information, the corresponding each object of the workflow parameter business model, each node object, Ran Hou Corresponding editor's group is generated based on the workflow parameter information in Workflow editing interface in client Part, such as generates corresponding editing component, in this way, user can be at Workflow editing interface to each object In corresponding workflow is edited based on above-mentioned editing component according to demand, then client can based on use The edit operation generation workflow configuration parameter at family, workflow clothes are sent to by the workflow configuration parameter After business device, according to the workflow configuration data, generation workflow execution data are simultaneously for workflow server Stored, so that each client of the operation system can be according to the workflow execution data to it Workflow is processed, and is thus solved when its operation system is developed in its operation system indoor design Workflow, its code coupling is high, the problem of influence operation system stability in itself, can be by work The establishment process that work flows is decoupled with operation system, it is to avoid operation system stability is influenceed during modification.
Embodiment two
Reference picture 2, implements it illustrates a kind of workflow creation method according to an embodiment of the invention Example the step of flow chart, specifically may include steps of:
Step 200, the business model of the operation system of upload to workflow server;The business model Including role, executor, conditional policies;The workflow server is generated according to the business model Business model object role's subobject corresponding with the business model object, executor's subobject and Conditional policies subobject.
Step 220, obtains workflow parameter information from the corresponding workflow server of Workflow system; The workflow parameter information includes the corresponding each object of business model, each node object;
Step 230, for each business model object, the corresponding role's subobject of the business model, holds Pedestrian's subobject and conditional policies subobject, and each node object, it is raw in Workflow editing interface Into corresponding editing component;
Step 240, in Workflow editing interface, the operation according to user to each editing component, generation Workflow configuration data;
Step 250, the workflow configuration parameter is sent to workflow server;The workflow clothes Business device generates workflow execution data and is stored according to the workflow configuration data.
Step 260, the corresponding workflow of the workflow execution data is obtained from workflow server and is matched somebody with somebody Data are put, and according to the corresponding each editing component of each object of workflow configuration data generation, is entered Enter step 240.
In embodiments of the present invention, after workflow server generation workflow execution data, business After the client registering service system of system, interface can be changed according to preset API, from workflow clothes Business device obtains the Association Identity letter of each workflow execution data under the operation system ID of the operation system Breath, such as title and workflow ID show that then user can be in visitor in Workflow editing interface The title and workflow of the workflow execution data of needs modification are selected in the Workflow editing interface at family end ID returns to workflow server, and then workflow server is then by the workflow execution number of respective record According to, the workflow configuration data or the corresponding workflow configuration data of generation searched or store, so The workflow configuration data are returned into client afterwards, client is then according in the workflow configuration data The objects such as each node object, business model object, generate corresponding editing component, then can enter Workflow configuration data are modified by step 240, and workflow configuration data are uploaded into clothes after modification Business device, the workflow execution data before being updated with the amended workflow configuration data.
Certainly, in practical application, after modification of the client triggering to the workflow execution data, Before specifically being updated, workflow server firstly the need of judging the workflow execution data, Whether there is corresponding workflow instance using the workflow execution data, if used, monitor Whether the circulation of the task in these workflow instances terminates, and after all terminating, then updates work Stream performs data.Certainly, before specifically being updated, workflow server can forbid the business The client of system is to using the workflow execution data creation workflow instance before updating.
In addition, in actual applications, after workflow server generation workflow execution data, industry After the client registering service system of business system, interface can be deleted according to preset API, from workflow Server obtains the Association Identity letter of each workflow execution data under the operation system ID of the operation system Breath, such as title and workflow ID show that then user can be in visitor in Workflow editing interface The title and workflow of the workflow execution data of needs deletion are selected in the Workflow editing interface at family end ID returns to workflow server, and workflow server can then enter to corresponding workflow execution data Row is deleted.Of course, it is possible to forbid new workflow instance to load the workflow execution data, while After the current workflow instance for having loaded the workflow execution data all terminates, the workflow execution is deleted Data.
The embodiment of the present invention, can obtain workflow by the client of operation system from workflow server Parameter information, the corresponding each object of the workflow parameter business model, each node object, Ran Hou Corresponding editor's group is generated based on the workflow parameter information in Workflow editing interface in client Part, such as generates corresponding editing component, in this way, user can be at Workflow editing interface to each object In corresponding workflow is edited based on above-mentioned editing component according to demand, then client can based on use The edit operation generation workflow configuration parameter at family, workflow clothes are sent to by the workflow configuration parameter After business device, according to the workflow configuration data, generation workflow execution data are simultaneously for workflow server Stored, so that each client of the operation system can be according to the workflow execution data to it Workflow is processed, and is thus solved when its operation system is developed in its operation system indoor design Workflow, its code coupling is high, the problem of influence operation system stability in itself, can be by work The establishment process that work flows is decoupled with operation system, it is to avoid operation system stability is influenceed during modification, and Facilitate modification of the user to workflow.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action group Close, but those skilled in the art should know, and the embodiment of the present invention is not suitable by described action The limitation of sequence, because according to the embodiment of the present invention, some steps can using other orders or simultaneously Carry out.Secondly, those skilled in the art should also know, embodiment described in this description belongs to Necessary to preferred embodiment, the involved action not necessarily embodiment of the present invention.
Embodiment three
Reference picture 3, shows a kind of workflow creation device embodiment according to an embodiment of the invention Structured flowchart, can specifically include such as lower module:
Workflow parameter acquisition module 310, is suitable to be obtained from the corresponding workflow server of Workflow system Take workflow parameter information;The workflow parameter information includes the corresponding each object of business model, each Node object;
Editing component creation module 320, is suitable to based on the corresponding editor of workflow parameter information generation Component;
Editor module 330, is suitable in Workflow editing interface, according to user to the behaviour of each editing component Make, generate workflow configuration data;
Sending module 340, is suitable to send the workflow configuration parameter to workflow server;It is described Workflow server generates workflow execution data and is deposited according to the workflow configuration data Storage.
Preferably, before workflow parameter acquisition module, also include:
Uploading module, is suitable to the business model of the operation system for uploading to workflow server;The industry Business model includes role, executor, conditional policies;The workflow server is according to the business mould Type generation business model object role's subobject corresponding with the business model object, executor's Object and conditional policies subobject.
Preferably, the editing component creation module includes:
Editing component creates submodule, is suitable to for each business model object, the business model correspondence Role's subobject, executor's subobject and conditional policies subobject, and each node object, in work Make to generate corresponding editing component in stream editing interface.
Preferably, the workflow server includes:
Workflow execution data generation module, is suitable to the workflow server and is matched somebody with somebody according to the workflow Data are put, workflow execution data are generated;
Identifier acquisition module, is suitable to obtain the workflow identification of the workflow execution data, Yi Jisuo State the operation system mark of operation system;
Memory module, is suitable to hold the workflow with reference to operation system mark and workflow identification Row data are stored.
Preferably, the editor module includes:
Subject component selects submodule, is suitably selected for the editing component of the node object of needs;
Relation sets submodule, is suitable to set the relation between editor's group of each node object;
Binding submodule, is suitable to the editor's group by the editing component of business model object and a node object Part is bound;
Role sets submodule, is suitable to the corresponding editing component setting respective nodes of based role subobject The role of object;
Executor sets submodule, is suitable to corresponding based on the corresponding editing component setting of executor's subobject The executor of node object;
Condition sets submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The conditional policies of node object.
Preferably, the node object includes:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
Preferably, the business model includes:Business model is performed, or is performed business module and is gathered Close business model;
Further, the binding submodule includes:
Ordinary node binding module, is suitable to perform the editing component and ordinary node of business model object The editing component binding of object;
And/or aggregation binding module, be suitable to by the editing component of convergence service model object be polymerized The editing component binding of node object.
Preferably, when the conditional policies of the execution business model include circulation condition;
Further, the condition setting submodule includes:
Conditional object component distribution sub module, is suitable in the business mould belonging to the conditional policies subobject After the editing component of type object, with the editing component binding of ordinary node object, by the conditional policies The next stage that subobject distributes to the editing component of the ordinary node object respectively circulates the volume of node object Collect component;
Condition generates submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The circulation condition of the circulation node object.
Preferably, also include:
Allocation strategy setting module, is suitable in the editing component of specified ordinary node object, is institute State ordinary node and Task Assigned Policy is set.
Preferably, the Task Assigned Policy includes appointment type strategy and/or competitive type strategy and/or moves State countersign type strategy and/or equal distribution type strategy;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
Preferably, the editor module also includes:
Backtracking setting submodule, is suitable in the editing component of specified ordinary node object, sets back Trace back strategy;The Backtracking Strategy is used to, when backtracking instruction is received, task be dateed back predetermined Ordinary node object.
Example IV
Reference picture 4, shows a kind of workflow creation device embodiment according to an embodiment of the invention Structured flowchart, can specifically include such as lower module:
Uploading module 410, is suitable to the business model of the operation system for uploading to workflow server;It is described Business model includes role, executor, conditional policies;The workflow server is according to the business Model generation business model object role's subobject corresponding with the business model object, executor Subobject and conditional policies subobject.
Workflow parameter acquisition module 420, is suitable to be obtained from the corresponding workflow server of Workflow system Take workflow parameter information;The workflow parameter information includes the corresponding each object of business model, each Node object;
Editing component creation module 430, specifically includes:
Editing component creates submodule 431, is suitable to for each business model object, the business mould The corresponding role's subobject of type, executor's subobject and conditional policies subobject, and each node pair As generating corresponding editing component in Workflow editing interface;
Editor module 440, is suitable in Workflow editing interface, according to user to the behaviour of each editing component Make, generate workflow configuration data;
Sending module 450, is suitable to send the workflow configuration parameter to workflow server;It is described Workflow server generates workflow execution data and is deposited according to the workflow configuration data Storage.
Embodiment five
Reference picture 5, shows a kind of workflow creation system embodiment according to an embodiment of the invention Structured flowchart, can specifically include such as lower module:
The client 510 of operation system, workflow server 520;
The client 510 of the operation system includes:
Workflow parameter acquisition module 511, is suitable to be obtained from the corresponding workflow server of Workflow system Take workflow parameter information;The workflow parameter information includes the corresponding each object of business model, each Node object;
Editing component creation module 512, is suitable to based on the corresponding editor of workflow parameter information generation Component;
Editor module 513, is suitable in Workflow editing interface, according to user to the behaviour of each editing component Make, generate workflow configuration data;
Sending module 514, is suitable to send the workflow configuration parameter to workflow server;
The workflow server 520 includes:
Workflow execution data creation module 521, is suitable to, according to the workflow configuration data, generate work Make stream to perform data and stored.
Preferably, before workflow parameter acquisition module, also include:
Uploading module, is suitable to the business model of the operation system for uploading to workflow server;The industry Business model includes role, executor, conditional policies;
Further, the workflow server includes:
Object generation module, is suitable to generate business model object and the industry according to the business model The corresponding role's subobject of business model object, executor's subobject and conditional policies subobject.
Preferably, the editing component creation module includes:
Editing component creates submodule, is suitable to for each business model object, the business model correspondence Role's subobject, executor's subobject and conditional policies subobject, and each node object, in work Make to generate corresponding editing component in stream editing interface.
Preferably, the workflow execution data creation module includes:
Workflow execution data generation module, is suitable to the workflow server and is matched somebody with somebody according to the workflow Data are put, workflow execution data are generated;
Identifier acquisition module, is suitable to obtain the workflow identification of the workflow execution data, Yi Jisuo State the operation system mark of operation system;
Memory module, is suitable to hold the workflow with reference to operation system mark and workflow identification Row data are stored.
Preferably, the editor module includes:
Subject component selects submodule, is suitably selected for the editing component of the node object of needs;
Relation sets submodule, is suitable to set the relation between editor's group of each node object;
Binding submodule, is suitable to the editor's group by the editing component of business model object and a node object Part is bound;
Role sets submodule, is suitable to the corresponding editing component setting respective nodes of based role subobject The role of object;
Executor sets submodule, is suitable to corresponding based on the corresponding editing component setting of executor's subobject The executor of node object;
Condition sets submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The conditional policies of node object.
Preferably, the node object includes:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
Preferably, the business model includes:Business model is performed, or is performed business module and is gathered Close business model;
Further, the binding submodule includes:
Ordinary node binding module, is suitable to perform the editing component and ordinary node of business model object The editing component binding of object;
And/or aggregation binding module, be suitable to by the editing component of convergence service model object be polymerized The editing component binding of node object.
Preferably, when the conditional policies of the execution business model include circulation condition;
Further, the condition setting submodule includes:
Conditional object component distribution sub module, is suitable in the business mould belonging to the conditional policies subobject After the editing component of type object, with the editing component binding of ordinary node object, by the conditional policies The next stage that subobject distributes to the editing component of the ordinary node object respectively circulates the volume of node object Collect component;
Condition generates submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The circulation condition of the circulation node object.
Preferably, also include:
Allocation strategy setting module, is suitable in the editing component of specified ordinary node object, is institute State ordinary node and Task Assigned Policy is set.
Preferably, the Task Assigned Policy includes appointment type strategy and/or competitive type strategy and/or moves State countersign type strategy and/or equal distribution type strategy;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
Preferably, the editor module also includes:
Backtracking setting submodule, is suitable in the editing component of specified ordinary node object, sets back Trace back strategy;The Backtracking Strategy is used to, when backtracking instruction is received, task be dateed back predetermined Ordinary node object.
Preferably, after sending module, also include:
Acquisition module, is suitable to obtain the corresponding work of the workflow execution data from workflow server Make stream configuration data, and according to the corresponding each editor's group of each object of workflow configuration data generation Part, into editor module.
For device embodiment, because it is substantially similar to embodiment of the method, so the ratio of description Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Provided herein algorithm and display not with any certain computer, virtual system or miscellaneous equipment It is intrinsic related.Various general-purpose systems can also be used together with based on teaching in this.According to above Description, the structure constructed required by this kind of system is obvious.Additionally, the present invention is not also directed to Any certain programmed language.It is understood that, it is possible to use various programming languages realize described here The content of invention, and the description done to language-specific above is to disclose optimal reality of the invention Apply mode.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that Embodiments of the invention can be put into practice in the case of without these details.In some instances, Known method, structure and technology is not been shown in detail, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and helping understand in each inventive aspect one Individual or multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention Sometimes it is grouped together into single embodiment, figure or descriptions thereof.However, should be by The method of the disclosure is construed to reflect following intention:I.e. the present invention for required protection requirement ratio is at each The more features of feature being expressly recited in claim.More precisely, as following right will As asking book to reflect, inventive aspect is all spies less than single embodiment disclosed above Levy.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment party Formula, wherein each claim are in itself as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out to the module in the equipment in embodiment Adaptively change and they are arranged in one or more equipment different from the embodiment. Module or unit or component in embodiment can be combined into a module or unit or component, and In addition multiple submodule or subelement or sub-component can be divided into.Except such feature and/or Outside at least some in process or unit exclude each other, can be using any combinations to this explanation All features disclosed in book (including adjoint claim, summary and accompanying drawing) and so disclosed All processes or unit of any method or equipment are combined.Unless expressly stated otherwise, this theory Each feature disclosed in bright book (including adjoint claim, summary and accompanying drawing) can be by offer phase The alternative features of same, equivalent or similar purpose replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include Some included features are rather than further feature, but the feature of different embodiments in other embodiments Combination mean to be within the scope of the present invention and formed different embodiments.For example, under In the claims in face, the one of any of embodiment required for protection can be in any combination Mode is used.
All parts embodiment of the invention can realize with hardware, or with one or more The software module run on reason device is realized, or is realized with combinations thereof.Those skilled in the art It should be appreciated that can be realized using microprocessor or digital signal processor (DSP) in practice Some or all parts in workflow creation equipment according to embodiments of the present invention some or it is complete Portion's function.The present invention is also implemented as the part or complete for performing method as described herein The equipment or program of device (for example, computer program and computer program product) in portion.Such reality Existing program of the invention can be stored on a computer-readable medium, or can be with one or many The form of individual signal.Such signal can be downloaded from internet website and obtained, or in carrier letter There is provided on number, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described is limited rather than to the present invention Make, and those skilled in the art can design without departing from the scope of the appended claims Alternative embodiment.In the claims, any reference symbol being located between bracket should not be configured to Limitations on claims.Word "comprising" do not exclude the presence of element not listed in the claims or Step.Word "a" or "an" before element does not exclude the presence of unit as multiple Part.The present invention can be by means of the hardware for including some different elements and by means of properly programmed Computer is realized.If some in these devices in the unit claim for listing equipment for drying Individual can be embodied by same hardware branch.Word first, second, and third Using not indicating that any order.These words can be construed to title.
The invention discloses A1, a kind of workflow creation method, including:
Workflow parameter information is obtained from the corresponding workflow server of Workflow system;The work Stream parameter information includes the corresponding each object of business model, each node object;
Corresponding editing component is generated based on the workflow parameter information;
In Workflow editing interface, the operation according to user to each editing component, generation workflow is matched somebody with somebody Put data;
The workflow configuration parameter is sent to workflow server;The workflow server according to The workflow configuration data, generate workflow execution data and are stored.
A2, the method according to claim A1, it is characterised in that corresponding from Workflow system Workflow server in obtain workflow parameter information before, also include:
The business model of the operation system of upload is to workflow server;The business model includes angle Color, executor, conditional policies;The workflow server generates business mould according to the business model Type object role's subobject corresponding with the business model object, executor's subobject and condition plan Omit subobject.
A3, the method according to claim A2, it is characterised in that described based on the workflow The step of parameter information generates corresponding editing component, including:
For each business model object, the corresponding role's subobject of the business model, executor's are right As with conditional policies subobject, and each node object, generated in Workflow editing interface corresponding Editing component.
A4, the method according to claim A1, it is characterised in that the workflow server root According to the workflow configuration data, the step of generating workflow execution data and stored, including:
The workflow server generates workflow execution data according to the workflow configuration data;
Obtain the workflow identification of the workflow execution data, and the operation system business system System mark;
The workflow execution data are deposited with reference to operation system mark and workflow identification Storage.
A5, the method according to claim A3, it is characterised in that described to each editing component Operation includes:
Select the editing component of the node object of needs;
Set the relation between editor's group of each node object;
The editing component of business model object is bound with the editing component of a node object;
The corresponding editing component of based role subobject sets the role of respective nodes object;
The executor of respective nodes object is set based on the corresponding editing component of executor's subobject;
The conditional policies of respective nodes object are set based on the corresponding editing component of conditional policies subobject.
A6, the method for being wanted according to right described in A3 or A5, it is characterised in that the node object bag Include:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
A7, the method according to the claim A6, it is characterised in that the business model bag Include:Business model is performed, or performs business module and convergence service model;
Further, the editing component that the editing component of business model object is bound with node object is entered Row binding includes:
The editing component of the editing component and ordinary node object that will perform business model object is bound;
And/or the editing component of convergence service model object is tied up with the editing component of aggregation object It is fixed.
A8, the method according to claim A6, it is characterised in that when the execution business model Conditional policies include circulation condition;
Further, it is described based on the corresponding editing component setting respective nodes pair of conditional policies subobject The conditional policies of elephant, including:
In the editing component of the business model object belonging to the conditional policies subobject, with ordinary node After the editing component binding of object, the conditional policies subobject is distributed into the ordinary node object The next stage of editing component respectively circulate the editing component of node object;
Stream based on the corresponding circulation node object of the corresponding editing component setting of conditional policies subobject Turn condition.
A9, the method according to claim A6, it is characterised in that also include:
It is that the ordinary node sets task distribution in the editing component of specified ordinary node object Strategy.
A10, the method according to claim A8, it is characterised in that:The Task Assigned Policy Including appointment type strategy and/or competitive type strategy and/or dynamic countersign type strategy and/or equal distribution type plan Slightly;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
A11, the method according to claim A5, it is characterised in that described to each editing component Operation, also include:
In the editing component of specified ordinary node object, Backtracking Strategy is set;The Backtracking Strategy For when backtracking instruction is received, task being dateed back into predetermined ordinary node object.
A12, the method according to claim A1, it is characterised in that in the workflow service Device after generating workflow execution data and being stored, is also wrapped according to the workflow configuration data Include:
The corresponding workflow configuration data of the workflow execution data are obtained from workflow server, And according to the corresponding each editing component of each object of workflow configuration data generation, into work In stream editing interface, the operation according to user to each editing component generates the step of workflow configuration data Suddenly.
The invention discloses B13, a kind of workflow creation device, including:
Workflow parameter acquisition module, is suitable to be obtained from the corresponding workflow server of Workflow system Workflow parameter information;The workflow parameter information includes the corresponding each object of business model, each section Point object;
Editing component creation module, is suitable to generate corresponding editor's group based on the workflow parameter information Part;
Editor module, is suitable in Workflow editing interface, according to user to the behaviour of each editing component Make, generate workflow configuration data;
Sending module, is suitable to send the workflow configuration parameter to workflow server;The work Make streaming server according to the workflow configuration data, generate workflow execution data and stored.
B14, the device according to claim B13, it is characterised in that in workflow parameter acquiring Before module, also include:
Uploading module, is suitable to the business model of the operation system for uploading to workflow server;The industry Business model includes role, executor, conditional policies;The workflow server is according to the business mould Type generation business model object role's subobject corresponding with the business model object, executor's Object and conditional policies subobject.
B15, the device according to claim B14, it is characterised in that the editing component is created Module includes:
Editing component creates submodule, is suitable to for each business model object, the business model correspondence Role's subobject, executor's subobject and conditional policies subobject, and each node object, in work Make to generate corresponding editing component in stream editing interface.
B16, the device according to claim B14, it is characterised in that the workflow server Including:
Workflow execution data generation module, is suitable to the workflow server and is matched somebody with somebody according to the workflow Data are put, workflow execution data are generated;
Identifier acquisition module, is suitable to obtain the workflow identification of the workflow execution data, Yi Jisuo State the operation system mark of operation system;
Memory module, is suitable to hold the workflow with reference to operation system mark and workflow identification Row data are stored.
B17, the device according to claim B15, it is characterised in that the editor module bag Include:
Subject component selects submodule, is suitably selected for the editing component of the node object of needs;
Relation sets submodule, is suitable to set the relation between editor's group of each node object;
Binding submodule, is suitable to the editor's group by the editing component of business model object and a node object Part is bound;
Role sets submodule, is suitable to the corresponding editing component setting respective nodes of based role subobject The role of object;
Executor sets submodule, is suitable to corresponding based on the corresponding editing component setting of executor's subobject The executor of node object;
Condition sets submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The conditional policies of node object.
B18, the device for being wanted according to right described in B15 or B17, it is characterised in that the node object Including:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
B19, the device according to the claim B18, it is characterised in that the business model Including:Business model is performed, or performs business module and convergence service model;
Further, the binding submodule includes:
Ordinary node binding module, is suitable to perform the editing component and ordinary node of business model object The editing component binding of object;
And/or aggregation binding module, be suitable to by the editing component of convergence service model object be polymerized The editing component binding of node object.
B20, the device according to claim B18, it is characterised in that when the execution business mould The conditional policies of type include circulation condition;
Further, the condition setting submodule includes:
Conditional object component distribution sub module, is suitable in the business mould belonging to the conditional policies subobject After the editing component of type object, with the editing component binding of ordinary node object, by the conditional policies The next stage that subobject distributes to the editing component of the ordinary node object respectively circulates the volume of node object Collect component;
Condition generates submodule, is suitable to corresponding based on the corresponding editing component setting of conditional policies subobject The circulation condition of the circulation node object.
B21, the device according to claim B18, it is characterised in that also include:
Allocation strategy setting module, is suitable in the editing component of specified ordinary node object, is institute State ordinary node and Task Assigned Policy is set.
B22, the device according to claim B20, it is characterised in that:The Task Assigned Policy Including appointment type strategy and/or competitive type strategy and/or dynamic countersign type strategy and/or equal distribution type plan Slightly;
The appointment type strategy includes:Task is distributed to the specified executor of assigned role;
The competitive type strategy includes:Task is distributed into transmission processe request at first under executive role Executor;
The dynamic countersign type strategy includes:Task is distributed into treatment effeciency highest assigned role Under executor;
The equal distribution type strategy includes:Task round is distributed to each execution under assigned role People.
B23, the device according to claim B17, it is characterised in that the editor module is also wrapped Include:
Backtracking setting submodule, is suitable in the editing component of specified ordinary node object, sets back Trace back strategy;The Backtracking Strategy is used to, when backtracking instruction is received, task be dateed back predetermined Ordinary node object.
B24, the device according to claim B13, it is characterised in that after sending module, Also include:
Acquisition module, is suitable to obtain the corresponding work of the workflow execution data from workflow server Make stream configuration data, and according to the corresponding each editor's group of each object of workflow configuration data generation Part, into editor module.

Claims (10)

1. a kind of workflow creation method, including:
Workflow parameter information is obtained from the corresponding workflow server of Workflow system;The work Stream parameter information includes the corresponding each object of business model, each node object;
Corresponding editing component is generated based on the workflow parameter information;
In Workflow editing interface, the operation according to user to each editing component, generation workflow is matched somebody with somebody Put data;
The workflow configuration parameter is sent to workflow server;The workflow server according to The workflow configuration data, generate workflow execution data and are stored.
2. method according to claim 1, it is characterised in that corresponding from Workflow system Before obtaining workflow parameter information in workflow server, also include:
The business model of the operation system of upload is to workflow server;The business model includes angle Color, executor, conditional policies;The workflow server generates business mould according to the business model Type object role's subobject corresponding with the business model object, executor's subobject and condition plan Omit subobject.
3. method according to claim 2, it is characterised in that described based on workflow ginseng The step of number information generates corresponding editing component, including:
For each business model object, the corresponding role's subobject of the business model, executor's are right As with conditional policies subobject, and each node object, generated in Workflow editing interface corresponding Editing component.
4. method according to claim 1, it is characterised in that the workflow server according to The workflow configuration data, the step of generating workflow execution data and stored, including:
The workflow server generates workflow execution data according to the workflow configuration data;
Obtain the workflow identification of the workflow execution data, and the operation system business system System mark;
The workflow execution data are deposited with reference to operation system mark and workflow identification Storage.
5. method according to claim 3, it is characterised in that the behaviour to each editing component Work includes:
Select the editing component of the node object of needs;
Set the relation between editor's group of each node object;
The editing component of business model object is bound with the editing component of a node object;
The corresponding editing component of based role subobject sets the role of respective nodes object;
The executor of respective nodes object is set based on the corresponding editing component of executor's subobject;
The conditional policies of respective nodes object are set based on the corresponding editing component of conditional policies subobject.
6. the method according to right wants 3 or 5, it is characterised in that the node object includes:
Start node object, end node object, ordinary node object, aggregation object, circulation Node object.
7. the method according to the claim 6, it is characterised in that the business model bag Include:Business model is performed, or performs business module and convergence service model;
Further, the editing component that the editing component of business model object is bound with node object is entered Row binding includes:
The editing component of the editing component and ordinary node object that will perform business model object is bound;
And/or the editing component of convergence service model object is tied up with the editing component of aggregation object It is fixed.
8. method according to claim 6, it is characterised in that when the execution business model Conditional policies include circulation condition;
Further, it is described based on the corresponding editing component setting respective nodes pair of conditional policies subobject The conditional policies of elephant, including:
In the editing component of the business model object belonging to the conditional policies subobject, with ordinary node After the editing component binding of object, the conditional policies subobject is distributed into the ordinary node object The next stage of editing component respectively circulate the editing component of node object;
Stream based on the corresponding circulation node object of the corresponding editing component setting of conditional policies subobject Turn condition.
9. method according to claim 6, it is characterised in that also include:
It is that the ordinary node sets task distribution in the editing component of specified ordinary node object Strategy.
10. a kind of workflow creation device, including:
Workflow parameter acquisition module, is suitable to be obtained from the corresponding workflow server of Workflow system Workflow parameter information;The workflow parameter information includes the corresponding each object of business model, each section Point object;
Editing component creation module, is suitable to generate corresponding editor's group based on the workflow parameter information Part;
Editor module, is suitable in Workflow editing interface, according to user to the behaviour of each editing component Make, generate workflow configuration data;
Sending module, is suitable to send the workflow configuration parameter to workflow server;The work Make streaming server according to the workflow configuration data, generate workflow execution data and stored.
CN201510958915.8A 2015-12-17 2015-12-17 A kind of workflow creation method and apparatus Pending CN106897808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510958915.8A CN106897808A (en) 2015-12-17 2015-12-17 A kind of workflow creation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510958915.8A CN106897808A (en) 2015-12-17 2015-12-17 A kind of workflow creation method and apparatus

Publications (1)

Publication Number Publication Date
CN106897808A true CN106897808A (en) 2017-06-27

Family

ID=59190096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510958915.8A Pending CN106897808A (en) 2015-12-17 2015-12-17 A kind of workflow creation method and apparatus

Country Status (1)

Country Link
CN (1) CN106897808A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644286A (en) * 2017-08-15 2018-01-30 上海艾融软件股份有限公司 Workflow processing method and device
CN108171468A (en) * 2017-12-15 2018-06-15 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of data processing
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN109636306A (en) * 2018-10-29 2019-04-16 平安医疗健康管理股份有限公司 Node-flow shifting method, device, terminal and storage medium
CN110008034A (en) * 2018-11-22 2019-07-12 阿里巴巴集团控股有限公司 Task automated execution method, apparatus, electronic equipment and storage medium
CN110490425A (en) * 2019-07-24 2019-11-22 中国铁建电气化局集团有限公司 The electric construction safety method for quality control of railway four and device based on BIM
CN110782223A (en) * 2019-10-14 2020-02-11 浙江讯盟科技有限公司 General workflow device of OA system and general workflow implementation method
CN111241100A (en) * 2020-01-09 2020-06-05 北京齐尔布莱特科技有限公司 Workflow configuration system and method
CN111754203A (en) * 2020-06-30 2020-10-09 武汉虹信技术服务有限责任公司 Workflow-based task candidate processing method and system and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644286A (en) * 2017-08-15 2018-01-30 上海艾融软件股份有限公司 Workflow processing method and device
CN107644286B (en) * 2017-08-15 2021-04-30 上海艾融软件股份有限公司 Workflow processing method and device
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN108304201B (en) * 2017-09-14 2022-02-22 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN108171468A (en) * 2017-12-15 2018-06-15 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of data processing
CN109636306A (en) * 2018-10-29 2019-04-16 平安医疗健康管理股份有限公司 Node-flow shifting method, device, terminal and storage medium
CN110008034A (en) * 2018-11-22 2019-07-12 阿里巴巴集团控股有限公司 Task automated execution method, apparatus, electronic equipment and storage medium
CN110490425A (en) * 2019-07-24 2019-11-22 中国铁建电气化局集团有限公司 The electric construction safety method for quality control of railway four and device based on BIM
CN110782223A (en) * 2019-10-14 2020-02-11 浙江讯盟科技有限公司 General workflow device of OA system and general workflow implementation method
CN111241100A (en) * 2020-01-09 2020-06-05 北京齐尔布莱特科技有限公司 Workflow configuration system and method
CN111241100B (en) * 2020-01-09 2024-03-01 北京齐尔布莱特科技有限公司 Workflow configuration system and method
CN111754203A (en) * 2020-06-30 2020-10-09 武汉虹信技术服务有限责任公司 Workflow-based task candidate processing method and system and storage medium

Similar Documents

Publication Publication Date Title
CN106897808A (en) A kind of workflow creation method and apparatus
CN106897857A (en) A kind of workflow processing method and system
CN106897858A (en) A kind of workflow processing method and system
US11694140B2 (en) Systems and methods for generating prioritization models and predicting workflow prioritizations
CN104756460B (en) Identity management system in more customer&#39;s clouds based on LDAP
WO2017167065A1 (en) Page resource delivery method and apparatus
CN107730196A (en) Project scheduling management method and terminal device
JP6662857B2 (en) Automatic manufacturing method and apparatus
CN107592474A (en) A kind of image processing method and device
US9530156B2 (en) Customizable uniform control user interface for hosted service images
US9304746B2 (en) Creating a user model using component based approach
CN107924391A (en) The method and apparatus of shared collaborative editing document
KR102308369B1 (en) Automatic video editing system through artificial intelligence sound source analysis
CN103714509B (en) The method and system of data interaction are carried out between a client and a server
CN109325024A (en) Label display method, apparatus, terminal device and the storage medium of project
US20170212937A1 (en) Method for generating an event log
CN114258548A (en) Method and apparatus for providing recommendations for completion of engineering solutions
CN108205558A (en) A kind of method and apparatus of online management service interface
CN110347946A (en) A kind of page display method, device, computer equipment and storage medium
CN107633488A (en) A kind of image processing method and device
CN115185496A (en) Service arrangement method based on Flowable workflow engine
TW202126360A (en) Customization and reproduction of an avatar on a physical item
CN111984882A (en) Data processing method, system and equipment
US8835807B2 (en) Web configuration system for customizing welding systems
CN104765819B (en) A kind of data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170627