CN103208046B - Workflow engine architecture method and system based on interactive dynamic flow chart - Google Patents

Workflow engine architecture method and system based on interactive dynamic flow chart Download PDF

Info

Publication number
CN103208046B
CN103208046B CN201310095422.7A CN201310095422A CN103208046B CN 103208046 B CN103208046 B CN 103208046B CN 201310095422 A CN201310095422 A CN 201310095422A CN 103208046 B CN103208046 B CN 103208046B
Authority
CN
China
Prior art keywords
flow
data
service data
workflow
instance
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.)
Active
Application number
CN201310095422.7A
Other languages
Chinese (zh)
Other versions
CN103208046A (en
Inventor
王庆红
韦嵘晖
李广凯
郑金
周育忠
宋开颜
张驰
刘毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China South Power Grid International Co ltd
Ourchem Information Consulting Co ltd
Original Assignee
Ourchem Information Consulting Co ltd
China South Power Grid International 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 Ourchem Information Consulting Co ltd, China South Power Grid International Co ltd filed Critical Ourchem Information Consulting Co ltd
Priority to CN201310095422.7A priority Critical patent/CN103208046B/en
Publication of CN103208046A publication Critical patent/CN103208046A/en
Application granted granted Critical
Publication of CN103208046B publication Critical patent/CN103208046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

A workflow engine architecture method and system based on interactive dynamic flow chart, the method includes steps: receiving a process instance processing instruction, acquiring workflow process definition data and first type of process service data corresponding to a process instance from a workflow database, and converting the workflow process definition data and the first type of process service data into a process instance workflow diagram for displaying according to the preset corresponding relation between each process task node and the process definition data; and receiving a service operation instruction, and updating the first type of flow service data in the workflow database by using the flow service data processed based on the service operation instruction. According to the scheme of the invention, the checking of the first type of flow business data and the related processing of the flow business data can be realized directly on the displayed flow example workflow diagram, the interactive processing aiming at the workflow diagram is realized, the convenience and the rapidness are realized, and the processing efficiency of the workflow is improved.

Description

Workflow engine architecture method based on interactive dynamic flow diagram and system
Technical field
The present invention relates to field of computer technology, particularly to a kind of work based on interactive dynamic flow diagram Stream exchange architecture method, a kind of workflow engine architecture system based on interactive dynamic flow diagram.
Background technology
In the application of current Workflow system, when configuring workflow diagram, the stream of configuration good berth stream After journey process, flowchart process is to exist and present in the way of static flow chart.Stream based on this static state Cheng Tu, can only show the logic of flow definition, and cannot know details or the behaviour of each process step Make process, more based on this flow chart, each process step cannot be operated accordingly.Stream is performed at needs During each step during journey, the operator scheme being all based on forms pages presents, and needs to open each step Rapid concrete operation pages, just can know details or the operating process of each process step, and at this The operation pages newly opened performs the associative operation to this process step.And generally, any one work Make the flowchart process flowed, all without only existing a process step, but the combination of multiple process step, from And need to relate to redirecting of multiple page, operation extremely inconvenience, and present to the overall flow of user not Intuitively, have impact on the treatment effeciency of workflow.
Summary of the invention
Based on this, for above-mentioned problems of the prior art, it is an object of the invention to provide a kind of base Workflow engine architecture method, a kind of work based on interactive dynamic flow diagram in interactive dynamic flow diagram Making stream exchange architecture system, it can improve the treatment effeciency of workflow.
For reaching above-mentioned purpose, the present invention by the following technical solutions:
A kind of workflow engine architecture method based on interactive dynamic flow diagram, including step:
Receive flow instance and process instruction, obtain the workflow stream corresponding with flow instance from workflow database Cheng Dingyi data, first kind flow service data, according to default each flow tasks node and flow definition number According to corresponding relation, described work process flow definition data, described first kind flow service data are converted to Flow instance workflow diagram shows;
Receive business operating instructions, and with based on this business operating instructions process after flow service data to institute The first kind flow service data stated in workflow database is updated.
A kind of workflow engine architecture system based on interactive dynamic flow diagram, including:
Traffic flow module, is used for receiving flow instance and processes instruction, obtain and flow process from workflow database Work process flow definition data, the first kind flow service data that example is corresponding, appoints according to default each flow process Business node and the corresponding relation of flow definition data, define data, the described first kind by described work process flow Flow service data is converted to flow instance workflow diagram and shows, and receives business operating instructions, uses Flow service data after processing based on this business operating instructions is to the first kind stream in described workflow database Journey business datum is updated.
According to the scheme of the invention described above, it is when receiving flow instance and processing instruction, from Work stream data Storehouse obtains work process flow definition data, the first kind flow service data corresponding with this flow instance, and will This work process flow definition data, first kind flow service data are converted to flow instance workflow diagram and carry out Display, consequently facilitating check this flow instance workflow diagram and corresponding first kind traffic flow number in time According to, but also with the flow service data after processing based on business operating instructions to the in workflow database One class flow service data is updated.It is to say, flow tasks node is mutual with flow definition data Corresponding, when flow for displaying example workflow diagram, it is simultaneously achieved the first kind flow process of this flow instance The display of business datum, and can be by the flow tasks of corresponding steps in this flow instance workflow diagram Node performs the operation to each process step, it is not necessary to reopen corresponding forms pages for each step, It is performed without repeatedly page jump, directly just can realize on the flow instance workflow diagram of display the Checking and relevant treatment to flow service data of one class flow service data, it is achieved that for workflow The interactive process of figure, convenient and swift, improve the treatment effeciency of workflow.
Accompanying drawing explanation
Fig. 1 is the stream of the workflow engine architecture method embodiment based on interactive dynamic flow diagram of the present invention Journey schematic diagram;
Fig. 2 is the knot of the workflow engine architecture system embodiment based on interactive dynamic flow diagram of the present invention Structure schematic diagram.
Detailed description of the invention
Below in conjunction with better embodiment therein, the present invention program is described in detail.
In the scheme of the embodiment of the present invention, it is to define each flow tasks node in other words by presetting, Set the definition data of each flow tasks node respectively, and generate workflow diagram based on each flow tasks node, Visioning procedure example on the basis of the workflow diagram generated.Owing to workflow diagram contains multiple flow process The definition data of task node, i.e. workflow diagram actually contain the flow process of multiple flow tasks node The set of definition data, therefore, in following illustrating, illustrates flow tasks by flow definition data The definition data of node, with workflow flow definition data illustrate workflow diagram or flow instance or The definition data of flow instance workflow diagram.
Fig. 1 showing, the workflow engine architecture method based on interactive dynamic flow diagram of the present invention is implemented The schematic flow sheet of example.
As it is shown in figure 1, the method in the present embodiment includes step:
Step S101: receive flow instance and process instruction;
Step S102: process instruction according to above-mentioned flow instance and obtain from workflow database real with above-mentioned flow process Work process flow definition data, the first kind flow service data that example is corresponding, and appoint according to default each flow process Business node and the corresponding relation of flow definition data, define data, the described first kind by described work process flow Flow service data is converted to flow instance workflow diagram and shows;
Step S103: receive business operating instructions;
Step S104: with based on described business operating instructions process after flow service data to described workflow First kind flow service data in data base is updated.
According to the scheme in the present embodiment, it is when receiving flow instance and processing instruction, from Work stream data Storehouse obtains work process flow definition data, the first kind flow service data corresponding with this flow instance, and will This work process flow definition data, first kind flow service data are converted to flow instance workflow diagram and carry out Display, consequently facilitating check this flow instance workflow diagram and corresponding first kind traffic flow number in time According to, but also with the flow service data after processing based on business operating instructions to the in workflow database One class flow service data is updated.It is to say, flow tasks node is mutual with flow definition data Corresponding, when flow for displaying example workflow diagram, it is simultaneously achieved the first kind flow process of this flow instance The display of business datum, and can be by the flow tasks of corresponding steps in this flow instance workflow diagram Node performs the operation to each process step, it is not necessary to reopen corresponding forms pages for each step, It is performed without repeatedly page jump, directly just can realize on the flow instance workflow diagram of display the Checking and relevant treatment to flow service data of one class flow service data, it is achieved that for workflow The interactive process of figure, convenient and swift, improve the treatment effeciency of workflow.
Wherein, above-mentioned first kind flow service data, refer to when flow for displaying example workflow diagram, need The flow service data that user to be simultaneously displayed to checks, generally, first kind flow service data can The information relevant with state to refer to the most processed grade of each process step.Certainly, based on being actually needed, it is possible to To be arranged to other kinds of information.
Due to the corresponding relation of the flow tasks node in above-mentioned workflow diagram with corresponding flow definition data, Therefore, in the present invention program, need to preset flow tasks node and each flow tasks node is corresponding Flow definition data.
When concrete setting process task node and corresponding flow definition data, the tool of each flow tasks node The body form of expression can be set according to being actually needed, such as can be based on shape, size, pattern etc. Difference makes a distinction, it is also possible to is to use identical shape, pattern, such as square frame etc., and uses in square frame Different word contents is distinguish between, it is also possible to by different numberings or other information as this flow tasks The uniqueness labelling of node, concrete implementation mode can by use various possible in the way of carry out, as long as can Each flow tasks node is distinguish between, the most exhaustive at this.
After the flow definition data setting each flow tasks node and each flow tasks node, can be by each The flow definition data of flow tasks node and correspondence are stored.Owing to each flow tasks node is with corresponding Flow definition data are relations one to one, therefore, when setting up workflow, and can be directly to flow process Task node is edited, and generates workflow diagram.
Accordingly, in a concrete example of the present invention program, it is also possible to include step:
Step S1001: receive workflow diagram edit instruction, determine phase according to this workflow diagram edit instruction Annexation before and after each flow tasks node answered and each flow tasks node, saves according to each flow tasks Before and after point, each flow tasks node, annexation generates workflow diagram.After generating workflow diagram, A concrete flow instance can be created based on this workflow diagram, generate above-mentioned flow instance workflow Figure.
Here workflow diagram edit instruction, can be to include that the various possible editors such as dragging, connection refer to Order.Wherein in a concrete example, the above-mentioned flow tasks node set can be arranged in a certain way Row or placement select for user.When needing to set up new workflow diagram, can be required by dragging The flow tasks node wanted, and the mode of annexation generates before and after setting up between each flow tasks node, Correspondingly, above-mentioned workflow diagram edit instruction can be to drag instruction, link order etc..
The workflow diagram of above-mentioned generation, can preserve and issue, in order to can be based on this workflow Figure creates relevant concrete flow instance.Accordingly, after above-mentioned steps S100, it is also possible to include step:
S1002: receive workflow diagram and issue instruction, identifies each flow tasks joint in described workflow diagram Annexation before and after point, each flow tasks node, and fixed with flow process according to default each flow tasks node Before and after the justice corresponding relation of data, each flow tasks node, annexation generates work process flow definition data, This work process flow definition data are stored in described workflow database.
Thus, the workflow diagram of generation, can issue, and after issuing, be based on presetting Each flow tasks node and the corresponding relation of flow definition data, each flow tasks node between before and after connect Connect relation, generate work process flow definition data and be stored in workflow database, it is simple to the storage of information and Read.And when storing, any possible data form can be used to store, such as XML lattice Formula etc..Concrete storage mode can be set according to being actually needed.
After the workflow diagram of establishment is issued and is stored, it is possible to create based on this workflow diagram Build concrete flow instance.When visioning procedure example, based on selected workflow diagram (same work Streaming system may create multiple different workflow diagrams), corresponding flow instance workflow can be generated Figure, after flow instance has created, the follow-up processing procedure for this flow instance is based on selected The flow definition logic of fixed workflow diagram is carried out.
Owing in workflow database, workflow diagram is to store with the form of work process flow definition data, Therefore, when visioning procedure example, the flow instance workflow diagram created also is first with flow instance Work process flow definition data are stored in workflow database.If being accomplished by this stream when visioning procedure example Journey example workflow diagram shows, or in the flow process that this flow instance workflow diagram is correlated with During operation, then need to read corresponding work process flow definition data from workflow database, and be converted Show for concrete flow instance workflow diagram.
Accordingly, the situation that this flow instance workflow diagram is shown it is accomplished by when visioning procedure example Under, above-mentioned flow instance processes instruction and may refer to arrange the instruction automatically generated, at concrete pin based on system In the case of opening during flow process example operation, this flow instance processes instruction and may refer to based on one The instruction that fixed option sends.
On the other hand, above-mentioned receive flow instance process instruction time, it is also possible to obtain second from data base Class flow service data, and when showing above-mentioned flow instance workflow diagram by this Equations of The Second Kind traffic flow number According to showing.Correspondingly, when receiving business operating instructions, it is also possible to refer to based on this business operation Equations of The Second Kind flow service data in data base is updated by the flow service data after order processes.
Wherein, this Equations of The Second Kind flow service data, may refer to when flow for displaying example workflow diagram without Need display, after the edit instruction receiving flow tasks node, be shown to the traffic flow number that user checks again According to.Generally, this Equations of The Second Kind flow service data can be with flow instance or the shape of each process step The business datum that state is unrelated, such as, process people's information, process time and other associated traffic data etc.. Certainly, based on being actually needed, it is also possible to be arranged to other kinds of information.
Wherein, the above-mentioned data base in order to store Equations of The Second Kind flow service data, due to different Considerations Difference, can do different settings.
In application scenes, it may not be necessary to the storage position of various different types of data is made a distinction, It is to say, the work process flow definition data of the related procedure definition data of workflow diagram, flow instance, First kind flow service data, Equations of The Second Kind flow service data can be stored in same data base, now, Above-mentioned data base refers to above-mentioned workflow database.
In other application scenarios, based on data type, the significance level of different types of data or source Deng Consideration, it may be necessary to separately deposited by Equations of The Second Kind flow service data, now, above-mentioned data base is Refer to be different from the data base of above-mentioned workflow database, such as, can be to store Equations of The Second Kind traffic flow number specially According to Service Database.
It is described in detail as a example by a concrete processing procedure below.
When carrying out concrete process, as it has been described above, flow tasks node and each flow process need to first be preset The flow definition data that task node is corresponding.Each flow tasks size of node, shape, pattern, literal table The mode of reaching can determine based on being actually needed, as long as can make a distinction variant flow tasks node i.e. Can.After setting each flow tasks node and flow definition data corresponding to each flow tasks node, will The flow definition data correspondence storage of each flow tasks node and its correspondence.It is to say, each flow tasks Node is corresponding with respective flow definition data respectively.
After setting the flow definition data of each flow tasks node and correspondence thereof, set up workflow follow-up During journey figure, flow tasks node can be directly based upon and carry out, and without redefining flow definition data etc. Deng.Certainly, based on the needs in actual application, it is also possible to set up new flow tasks node with corresponding Flow definition data, or the flow definition data of existing flow tasks node and correspondence thereof are carried out Amendment etc., not repeats in detail at this.
When workflow set up by needs, the above-mentioned flow tasks node set can be in some way Arrangement or place, such as in the way of icon, in the way of list etc., concrete arrangement modes of emplacement is not Limit, selects for user.It is yet to be built that user can select to need to apply to it by modes such as dragging, choose The vertical flow tasks node in workflow diagram.As a example by dragging, for user level, can pass through The mode dragged sends workflow diagram edit instruction, the most specifically can select with named flow tasks node Select instruction, so that required flow tasks node is dragged to work process flow editing interface.To side of the present invention For case, after receiving the selection instruction of flow tasks node, selected flow tasks node is shown dynamic In the editing pictures of state interactive mode flow process animation, process for user.
After have selected required flow tasks node, can be by dragging between each flow tasks node Before and after order, or set up connecting line between each flow tasks node, determine that each flow tasks saves with this Annexation before and after between point, to form a complete workflow diagram.
Before and after each flow tasks node selects between flow tasks node complete, each, annexation has determined After one-tenth, define a complete workflow diagram, and this workflow diagram can be issued. User by clicking on the issue button of workflow diagram editing interface, control, options or can pass through it His mode, sends workflow diagram and issues instruction.
The present invention program, after receiving workflow diagram issue instruction, identifies each stream in workflow diagram Annexation before and after between journey task node and each flow tasks node, and according to default each flow process Annexation before and after between task node and the corresponding relation of flow definition data, each flow tasks node, Generate work process flow definition data, and this work process flow definition data are stored in workflow database In, in order to concrete flow instance can be created based on this workflow diagram during follow-up work.
When creating concrete flow instance, based on selected workflow diagram, flow instance can be sent Create instruction, in this flow instance creates instruction, the mark of the workflow diagram created can be included Which workflow diagram visioning procedure example is information, to be shown to be based on.Refer to receiving flow instance establishment After order, generate corresponding flow instance workflow diagram.When need not at visioning procedure example just to this In the case of flow instance workflow diagram shows, the work relevant to this flow instance workflow diagram Stream flow definition data only exist in workflow database.It is accomplished by this flow process real when visioning procedure example In the case of example workflow diagram shows, or when carrying out concrete flow operations, need from work Flow database reads out the work process flow definition data corresponding with this flow instance, and by this workflow stream Cheng Dingyi data are converted to concrete flow instance workflow diagram and show.
As a example by opening this workflow diagram time during concrete flow operations, receiving at flow instance During reason instruction, now, it can be specifically that a flow instance workflow diagram is beaten that this flow instance processes instruction Open instruction, process instruction according to this flow instance and obtain the work corresponding with this flow instance from workflow database Make stream flow definition data, first kind flow service data, according to default each flow tasks node and flow process The corresponding relation of definition data, defines data, described first kind flow service data by described work process flow Be converted to flow instance workflow diagram show.It is to say, based on default each flow tasks node With the corresponding relation of flow definition data, the work process flow of flow instance can be defined in data relevant Flow definition data parsing, it is converted into corresponding flow tasks node, owing to each flow process being appointed when issuing Annexation between business node resolves to corresponding data content and defines one of data as work process flow Point, therefore, based on the parsing to work process flow definition data, can easily acknowledge that each flow tasks Annexation before and after between node.
Above-mentioned open flow instance workflow diagram time, real for passing through the flow process of some processing procedure Example, this flow instance has had relevant flow service data.Therefore, except obtaining above-mentioned first kind flow process Business datum, facilitates user to understand up-to-date flow processing progress.On the other hand, it is also possible to obtain from data base Take above-mentioned Equations of The Second Kind flow service data, be actually needed based on concrete, different settings can be done.
After flow instance workflow diagram is shown, can be based on this flow instance workflow diagram Carry out the workflow processing operation being correlated with.In these workflow processing operate, it is mainly based upon flow tasks Node is carried out.As a example by wherein certain flow tasks node, can send for this flow tasks node Edit instruction, after receiving this edit instruction, at not yet corresponding to this flow tasks node Equations of The Second Kind stream In the case of journey business datum shows, can obtain and above-mentioned flow instance workflow diagram from data base Corresponding Equations of The Second Kind flow service data, is shown this Equations of The Second Kind flow service data.Based on Equations of The Second Kind Flow service data, can be so that user understands the concrete service data information of certain process step, such as Concrete processes people, process time or other relevant information.
Wherein, this edit instruction, can be set as detecting that user recognizes when clicking on this flow tasks node For receiving this edit instruction, in order to just can check in time when user clicks this flow tasks node And process.Can also be set to detecting that user clicks this flow tasks node and have selected During corresponding option, just it is considered to have received edit instruction, to avoid user to click flow tasks joint by mistake Relevant treatment to be carried out during point, causes the waste processing resource.The concrete process side receiving edit instruction Formula, can be set based on being actually needed, and not repeats in detail at this.
Flow instance workflow diagram based on display, user can be in this flow instance workflow diagram Process step corresponding to each flow tasks node carry out business operation, the present invention program receives the business of correspondence Operational order, and with based on this business operating instructions process after flow service data to workflow database Equations of The Second Kind flow service data in first kind flow service data, data base is updated.Wherein, here Based on business operating instructions process after flow service data, may refer to after particular procedure with stream The status data that journey task node is relevant, particular procedure here can be such as sign for, send, rollback, Fetch, the traffic flow relevant with the state of currently pending flow tasks node place process step such as calcellation Data, such flow service data, as described above set-up mode, may be used for Work stream data The first kind flow service data in storehouse is updated.On the other hand, here based on business operating instructions process After flow service data, it is also possible to be to include other kinds of business datum, the most each flow tasks node Process people's name of place process step, process time and other any possible information etc., such stream Journey business datum, as described above set-up mode, may be used for the Equations of The Second Kind flow process industry in data base Business data are updated.Certainly, need to do different settings based on reality application.
Above-mentioned flow service data is updated after, based on update after flow service data, permissible Each flow tasks node in flow instance workflow diagram is marked in a particular manner, such as different The FB(flow block) of color, different colours flow tasks node in Word message or directly appoint in flow process Certain ad-hoc location labelling " processed " etc. of business node, enables to that open-and-shut to know this flow process real Which process step in example workflow diagram is the most processed, it is simple to being smoothed out of workflow processing. In the case, it is also possible to by current or next step need the flow tasks joint that the process step that carries out is corresponding Point highlights, to remind relevant treatment people to process this process step.Additionally, also may be used With the process time according to flow instance workflow diagram, the history node path of playing flow, it is simple to whole The process progress of individual workflow diagram, history process checking of path.
According to the workflow engine architecture method based on interactive dynamic flow diagram of the invention described above, based on stream Corresponding relation between journey task node and flow definition data, can be directly based upon flow tasks node and carry out The operation of work process flow correlation step, it is achieved be directly based upon the flow operations of dynamically interactive type flow chart, nothing Need to carry out the operation that form page is facial, whole operating process directly can be carried out at flow chart, short and sweet, And treatment effeciency is high.
According to the workflow engine architecture method based on interactive dynamic flow diagram of the invention described above, the present invention Also provide for a kind of workflow engine architecture system based on interactive dynamic flow diagram.Fig. 2 shows this The structural representation of bright system embodiment.
As in figure 2 it is shown, the system in the present embodiment includes:
Traffic flow module 201, is used for receiving flow instance and processes instruction, obtain and stream from workflow database Work process flow definition data, the first kind flow service data that journey example is corresponding, according to default each flow process The corresponding relation of task node and flow definition data, by described work process flow definition data, described first Class flow service data is converted to flow instance workflow diagram and shows, and receives business operating instructions, With based on this business operating instructions process after flow service data to the first kind in described workflow database Flow service data is updated.
Wherein in a concrete example, as in figure 2 it is shown, should workflow based on interactive dynamic flow diagram Exchange architecture system can also include flow definition module 202, on this basis, it is also possible to include flow process Engine modules 203.
Wherein, this flow definition module 202, it is used for receiving definition of work flow figure edit instruction, according to this work Make before and after flow definition figure edit instruction determines corresponding each flow tasks node and each flow tasks node Annexation, and according to annexation before and after each flow tasks node, each flow tasks node, generate work Make flow chart, and when receiving workflow diagram and issuing instruction, described workflow diagram is issued;
This flow engine module 203, for receiving the above-mentioned workflow diagram that flow definition module 202 is issued, Identify annexation before and after each flow tasks node in described workflow diagram, each flow tasks node, And according to default each flow tasks node and the corresponding relation of flow definition data, each flow tasks node Front and back annexation generates work process flow definition data, is stored in described by this work process flow definition data In workflow database.
In a concrete example, above-mentioned flow engine module 203, it is also possible to be used for receiving traffic flow module The 201 above-mentioned flow instances sent process instruction, and process instruction from Work stream data according to above-mentioned flow instance Storehouse obtains work process flow definition data, the first kind flow service data corresponding with described flow instance, also With based on described business operating instructions process after flow service data to first in described workflow database Class flow service data is updated.
Accordingly, as in figure 2 it is shown, in this concrete example, above-mentioned flow engine module 203 specifically can be wrapped Include:
Flow process analytics engine 2031, for receiving the described workflow diagram that described flow definition module is issued, Identify annexation before and after each flow tasks node in described workflow diagram, each flow tasks node, And according to default each flow tasks node and the corresponding relation of flow definition data, each flow tasks node Front and back annexation generates work process flow definition data;
Flow data engine 2032, the work process flow obtained after being resolved by flow process analytics engine 2031 is fixed Justice data are stored in workflow database, and the flow instance process receiving traffic flow module 201 transmission refers to Order, processes instruction according to this flow instance and obtains the work corresponding with described flow instance from workflow database Stream flow definition data, first kind flow service data, define data, first kind stream by this work process flow Journey business datum returns to traffic flow module 201, and the traffic flow sent with flow operations engine 2033 First kind flow service data corresponding in workflow database is updated by data;
Flow operations engine 2033, for receive traffic flow module 201 send based on described business operation Flow service data after instruction process, and this flow service data is sent out 2032 to described flow data engine Send.
In practical work process, it is also possible to relate to the amendment of the flow definition data to flow process task node. At this point it is possible to send instruction by flow definition module 202, this instruction sends through flow process analytics engine 2031 To flow data engine 2032, flow data engine 2032 obtain relevant flow process from workflow database fixed Justice data, corresponding with flow definition data according to default flow tasks node by flow process analytics engine 2031 Relation, is to return to flow definition module 202 after concrete flow tasks node by this flow definition data parsing Show, it is simple to this flow tasks node is modified.Or can also be by flow process analytics engine 2031 Directly flow definition data are returned to flow definition module 202, by flow definition module 202 according to default Flow definition data are converted to flow tasks joint by flow tasks node and the corresponding relation of flow definition data Show after Dian, it is simple to the flow definition data of this flow tasks node or correspondence are modified.Base In actual needs, different settings can be done.
Wherein in a concrete example, above-mentioned traffic flow module 201, refer to receiving flow instance process When making, it is also possible to obtain Equations of The Second Kind flow service data from data base, and by this Equations of The Second Kind flow service data Show when showing above-mentioned flow instance workflow diagram, it is also possible to refer to receiving above-mentioned business operation When making, also with based on this business operating instructions process after flow service data to second in above-mentioned data base Class flow service data is updated
As in figure 2 it is shown, in this concrete example, above-mentioned traffic flow module 201 specifically can include:
Animation interactive unit 2011, is used for receiving flow instance and processes instruction, this flow instance is processed instruction Send to flow data interface unit 2012, business datum interface unit 2014, appoint according to default each flow process Business node and the corresponding relation of flow definition data, the workflow stream that flow data interface unit 2012 is obtained Cheng Dingyi data, first kind flow service data are converted to flow instance workflow diagram and show, by industry The Equations of The Second Kind flow service data that business data interface unit obtains shows, and receives business operating instructions, Flow service data after processing based on this business operating instructions is to flow operations interface unit 2013, business Data interface unit 2014 sends;
Flow data interface unit 2012, for processing instruction from workflow database according to described flow instance Obtain work process flow definition data, the first kind flow service data corresponding with described flow instance, and will Work process flow definition data, first kind flow service data that this described flow instance is corresponding return to described Animation interactive unit 2011;
Flow operations interface unit 2013, for based on the traffic flow after the process of described business operating instructions First kind flow service data in described workflow database is updated by data;
Business datum interface unit 2014, for according to described flow instance process instruction from data base obtain with The Equations of The Second Kind flow service data that described flow instance is corresponding, and this Equations of The Second Kind flow service data is returned to Described animation interactive unit 2011.
Similar with the invention described above method, in order to store the data base of Equations of The Second Kind flow service data, permissible Refer to above-mentioned workflow database, it is also possible to refer to independent Service Database.Exemplary shown in Fig. 2 In explanation, being to illustrate as a example by workflow database, Service Database, this explanation is not in order to right The present invention program constitutes restriction.
The specific implementation of each module in present system, unit etc., can be with the invention described above method In identical, not repeat in detail at this.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, But therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for this area Those of ordinary skill for, without departing from the inventive concept of the premise, it is also possible to make some deformation and Improving, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended Claim is as the criterion.

Claims (5)

1. a workflow engine architecture method based on interactive dynamic flow diagram, it is characterised in that include Step:
Receive definition of work flow figure edit instruction, determine accordingly according to this definition of work flow figure edit instruction Each flow tasks node and each flow tasks node before and after annexation, according to each flow tasks node, Before and after each flow tasks node, annexation generates workflow diagram;
Receive workflow diagram and issue instruction, identify each flow tasks node in described workflow diagram, each Annexation before and after flow tasks node, and appoint with each flow process according to each flow tasks node set in advance Before and after the flow definition data that business node is corresponding, each flow tasks node, annexation generates work process flow This work process flow definition data are stored in workflow database by definition data;
According to described workflow diagram visioning procedure example;
Receive flow instance workflow diagram OPEN, obtain corresponding with flow instance from workflow database Work process flow definition data, first kind flow service data, according to default each flow tasks node with The corresponding relation of flow definition data, defines data, described first kind traffic flow by described work process flow Data are converted to flow instance workflow diagram and show, described first kind flow service data is in display Need during flow instance workflow diagram to be simultaneously displayed to the flow service data that user checks;
Receive business operating instructions, and with based on this business operating instructions process after flow service data to institute The first kind flow service data stated in workflow database is updated;
When receiving the edit instruction of flow tasks node, obtain Equations of The Second Kind flow service data from data base, And when showing described flow instance workflow diagram, described Equations of The Second Kind flow service data is shown, institute Stating Equations of The Second Kind flow service data is without showing, receiving stream when flow for displaying example workflow diagram The flow service data that user checks it is shown to again after the edit instruction of journey task node;
When receiving business operating instructions, with based on the flow service data after the process of this business operating instructions Equations of The Second Kind flow service data in described data base is updated.
2. a workflow engine architecture system based on interactive dynamic flow diagram, it is characterised in that including:
Flow definition module, is used for receiving definition of work flow figure edit instruction, according to this definition of work flow Figure edit instruction determines annexation before and after corresponding each flow tasks node and each flow tasks node, According to annexation generation workflow diagram before and after each flow tasks node, each flow tasks node, and When receiving workflow diagram issue instruction, described workflow diagram is issued;
Flow engine module, for receiving the described workflow diagram that described flow definition module is issued, identifies Annexation before and after each flow tasks node in described workflow diagram, each flow tasks node, and root Before and after default each flow tasks node and the corresponding relation of flow definition data, each flow tasks node Annexation generates work process flow definition data, and this work process flow definition data are stored in work fluxion According in storehouse;
Traffic flow module, is used for receiving flow instance workflow diagram OPEN, from workflow database Obtain work process flow definition data, the first kind flow service data corresponding with flow instance, according to presetting The corresponding relation of each flow tasks node and flow definition data, by described work process flow definition data, Described first kind flow service data is converted to flow instance workflow diagram and shows, and receives business behaviour Instruct, with based on this business operating instructions process after flow service data in described workflow database First kind flow service data be updated, be additionally operable to when receiving the edit instruction of flow tasks node, Obtain Equations of The Second Kind flow service data from data base, and this Equations of The Second Kind flow service data is being shown described stream Show during journey example workflow diagram, when receiving described business operating instructions, also with based on this industry Equations of The Second Kind flow service data in described data base is carried out by the flow service data after business operational order processes Updating, described first kind flow service data is for need to show when flow for displaying example workflow diagram simultaneously The flow service data checked to user, described Equations of The Second Kind flow service data is to work at flow for displaying example Without display during flow chart, after the edit instruction receiving flow tasks node, it is shown to what user checked again Flow service data.
Workflow engine architecture system based on interactive dynamic flow diagram the most according to claim 2, It is characterized in that:
Described flow engine module, is additionally operable to receive the described flow instance work that described traffic flow module sends Make flow chart OPEN, and according to described flow instance workflow diagram OPEN from workflow database Obtain work process flow definition data, the first kind flow service data corresponding with described flow instance, also use Flow service data after processing based on described business operating instructions is to the first kind in described workflow database Flow service data is updated.
Workflow engine architecture system based on interactive dynamic flow diagram the most according to claim 3, It is characterized in that, described flow engine module includes:
Flow process analytics engine, for receiving the described workflow diagram that described flow definition module is issued, identifies Annexation before and after each flow tasks node in described workflow diagram, each flow tasks node, and root Before and after default each flow tasks node and the corresponding relation of flow definition data, each flow tasks node Annexation generates work process flow definition data;
Flow operations engine, for receive described traffic flow module send based on described business operating instructions Flow service data after process, and this flow service data is sent to flow data engine;
Flow data engine, the work process flow obtained after described flow process analytics engine is resolved definition number According to being stored in described workflow database, receive the described flow instance work that described traffic flow module sends Make flow chart OPEN, obtain from workflow database according to described flow instance workflow diagram OPEN Take work process flow definition data, the first kind flow service data corresponding with described flow instance, by this work Make stream flow definition data, first kind flow service data returns to described traffic flow module, and with described The flow service data that flow operations engine sends is to first kind flow process industry corresponding in described workflow database Business data are updated.
Workflow engine architecture system based on interactive dynamic flow diagram the most according to claim 2, It is characterized in that, described traffic flow module includes:
Animation interactive unit, for receiving flow instance workflow diagram OPEN, flow tasks node Edit instruction, sends this flow instance workflow diagram OPEN to flow data interface unit, should The edit instruction of flow tasks node sends to business datum interface unit, according to default each flow tasks joint Point and the corresponding relation of flow definition data, define number by the work process flow of flow data interface unit acquisition Be converted to flow instance workflow diagram show according to, first kind flow service data, business datum is connect The Equations of The Second Kind flow service data that mouth unit obtains shows, and receives business operating instructions, will be based on this Flow service data after business operating instructions process is to flow operations interface unit, business datum interface unit Send;
Flow data interface unit, is used for according to described flow instance workflow diagram OPEN from workflow Data base obtains work process flow definition data, the first kind flow service data corresponding with described flow instance, And this work process flow definition data, first kind flow service data are returned to described animation interactive unit;
Flow operations interface unit, for based on the flow service data after the process of described business operating instructions First kind flow service data in described workflow database is updated;
Business datum interface unit, obtains from data base for the edit instruction according to described flow tasks node The Equations of The Second Kind flow service data corresponding with described flow instance, returns to this Equations of The Second Kind flow service data Described animation interactive unit, and with based on described business operating instructions process after flow service data to described Equations of The Second Kind flow service data in data base is updated.
CN201310095422.7A 2012-12-31 2013-03-22 Workflow engine architecture method and system based on interactive dynamic flow chart Active CN103208046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310095422.7A CN103208046B (en) 2012-12-31 2013-03-22 Workflow engine architecture method and system based on interactive dynamic flow chart

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2012105924524 2012-12-31
CN201210592452 2012-12-31
CN201210592452.4 2012-12-31
CN201310095422.7A CN103208046B (en) 2012-12-31 2013-03-22 Workflow engine architecture method and system based on interactive dynamic flow chart

Publications (2)

Publication Number Publication Date
CN103208046A CN103208046A (en) 2013-07-17
CN103208046B true CN103208046B (en) 2016-12-28

Family

ID=48755263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310095422.7A Active CN103208046B (en) 2012-12-31 2013-03-22 Workflow engine architecture method and system based on interactive dynamic flow chart

Country Status (1)

Country Link
CN (1) CN103208046B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155769B (en) * 2015-03-26 2019-10-15 北大方正集团有限公司 A kind of workflow processing method, device and workflow engine
CN106528066B (en) * 2015-09-15 2020-01-17 华为技术有限公司 Business process operation method and device
CN106776349B (en) * 2017-02-07 2020-01-03 武汉斗鱼网络科技有限公司 Method and system for setting interface detection flow
CN107943564B (en) * 2017-08-18 2020-08-07 深圳市谜谭动画有限公司 Fine management system and management method for animation design task
US10719365B2 (en) 2017-10-27 2020-07-21 International Business Machines Corporation Cognitive learning workflow execution
US10713084B2 (en) 2017-10-27 2020-07-14 International Business Machines Corporation Cognitive learning workflow execution
US10474977B2 (en) * 2017-10-27 2019-11-12 International Business Machines Corporation Cognitive learning workflow execution
US10719795B2 (en) 2017-10-27 2020-07-21 International Business Machines Corporation Cognitive learning workflow execution
US10552779B2 (en) 2017-10-27 2020-02-04 International Business Machines Corporation Cognitive learning workflow execution
CN108073450B (en) * 2017-12-18 2021-10-15 北京搜狐新媒体信息技术有限公司 Task scheduling method, device and system
CN107944762A (en) * 2017-12-18 2018-04-20 北京搜狐新媒体信息技术有限公司 A kind of method for scheduling task and device
CN109389050B (en) * 2018-09-19 2021-11-09 陕西科技大学 Method for identifying connection relation of flow chart
CN110956672A (en) * 2018-09-26 2020-04-03 北京国双科技有限公司 Marketing strategy construction method and device
CN109636306A (en) * 2018-10-29 2019-04-16 平安医疗健康管理股份有限公司 Node-flow shifting method, device, terminal and storage medium
CN109559099A (en) * 2018-11-30 2019-04-02 广州净松软件科技有限公司 Early warning rule configuration method, device and the computer equipment of observation system
CN111291284A (en) * 2018-12-10 2020-06-16 北京京东金融科技控股有限公司 Method and device for redirecting multi-level page
CN111553549A (en) * 2019-02-12 2020-08-18 阿里巴巴集团控股有限公司 Platform control method and device, storage medium and processor
CN110458433B (en) * 2019-07-31 2022-05-17 克劳丽化妆品股份有限公司 Construction method and device of industrial internet and computer storage medium
CN110909370B (en) * 2019-11-08 2022-09-20 泰康保险集团股份有限公司 Client data acquisition method and device and readable storage medium
CN111767043B (en) * 2020-06-24 2024-01-30 北京思特奇信息技术股份有限公司 Cross-system service scheduling method and system based on service scheduling engine
CN112764736B (en) * 2020-12-30 2021-08-10 北京宇信科技集团股份有限公司 Web end flow chart modeling method, device and system
CN112785263A (en) * 2021-01-22 2021-05-11 山西青峰软件股份有限公司 Method and system for dynamically generating flow model by workflow engine
CN113988801B (en) * 2021-10-27 2023-11-10 北京百度网讯科技有限公司 Office system, work task management method and device
CN114048196B (en) * 2022-01-13 2022-05-13 山东中创软件商用中间件股份有限公司 Workflow system data processing method, device, equipment and storage medium
CN115328381B (en) * 2022-08-05 2023-09-05 深圳乐播科技有限公司 Page pushing method, device and server
CN115934086A (en) * 2022-12-28 2023-04-07 苏州峰之鼎信息科技有限公司 Information sharing method, device, equipment and medium for blueprint and page design

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169500A (en) * 2011-04-19 2011-08-31 北京神州数码思特奇信息技术股份有限公司 Dynamic service flow display device
CN102254246A (en) * 2011-06-17 2011-11-23 中国建设银行股份有限公司 Workflow managing method and system
CN102663552A (en) * 2012-04-06 2012-09-12 东华理工大学 Dynamic workflow engine supporting online self-evolution
CN102722771A (en) * 2011-12-06 2012-10-10 新奥特(北京)视频技术有限公司 Method for realizing service flow monitoring

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101467A1 (en) * 2004-10-18 2006-05-11 International Business Machines Corporation Process execution management based on resource requirements and business impacts

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169500A (en) * 2011-04-19 2011-08-31 北京神州数码思特奇信息技术股份有限公司 Dynamic service flow display device
CN102254246A (en) * 2011-06-17 2011-11-23 中国建设银行股份有限公司 Workflow managing method and system
CN102722771A (en) * 2011-12-06 2012-10-10 新奥特(北京)视频技术有限公司 Method for realizing service flow monitoring
CN102663552A (en) * 2012-04-06 2012-09-12 东华理工大学 Dynamic workflow engine supporting online self-evolution

Also Published As

Publication number Publication date
CN103208046A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
CN103208046B (en) Workflow engine architecture method and system based on interactive dynamic flow chart
CN104267947B (en) A kind of editor's method of pop-up picture and pop-up picture editor's device
CN106897806A (en) Workflow creation method and system, operation system
CN102426519A (en) Linked data-based multiplexing method of business process execution language (BPEL) templates and services and system thereof
CN107977236A (en) Generation method, terminal device, storage medium and the question answering system of question answering system
WO2022188780A1 (en) Visual software development system, method and apparatus, and computer storage medium
CN105278960A (en) Process automation method and system in remote sensing application
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
CN101414301A (en) Content management system that renders multiple types of data to different applications
CN103634177A (en) Method and system for implementing configuration on basis of network services
CN112598391A (en) Business process creation method and device, electronic equipment and storage medium
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN107562464A (en) A kind of call method of command line interface, device and equipment
CN103677841B (en) IETM code generation method and device based on element-level template
CN109302459B (en) Service compiling device and method of service-oriented intelligent power grid dispatching control system
CN103109289A (en) Web-based script language editing method, system and web client
CN106415416A (en) Rendering software
CN109670011A (en) A kind of more figure source Map Services engines
JP2007233973A (en) Sequential processing transfer device and sequential processing transfer method
JP2016173721A (en) Information processing device, control method of information processing device, and program
US8869048B2 (en) Declarative and multi-mode wizard framework
JP2006294011A (en) Control program development support apparatus
JP2010033500A (en) Gui data conversion system and gui data conversion method
JP2009009207A (en) System design support method for soa architecture and system design support deice for soa architecture
CN107730572A (en) A kind of chart rendering intent and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: RESEARCH INSTITUTE OF SOUTHERN POWER GRID CO., LTD

Free format text: FORMER OWNER: GUANGZHOU OURCHEM INFORMATION CONSULTING CO., LTD.

Effective date: 20150529

Owner name: GUANGZHOU OURCHEM INFORMATION CONSULTING CO., LTD.

Effective date: 20150529

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150529

Address after: 510080 Dongfeng East Road, Dongfeng, Guangdong, Guangzhou, Zhejiang Province, No. 8

Applicant after: China South Power Grid International Co.,Ltd.

Applicant after: OURCHEM INFORMATION CONSULTING CO.,LTD.

Address before: 510075 Tianhe Road Guangdong city Guangzhou province Guangdong No. 45 building 1401-1404 room

Applicant before: OURCHEM INFORMATION CONSULTING CO.,LTD.

C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wang Qinghong

Inventor after: Wei Ronghui

Inventor after: Li Guangkai

Inventor after: Zheng Jin

Inventor after: Zhou Yuzhong

Inventor after: Song Kaiyan

Inventor after: Zhang Chi

Inventor after: Liu Yi

Inventor before: Song Kaiyan

Inventor before: Zhang Chi

Inventor before: Liu Yi

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: SONG KAIYAN ZHANG CHI LIU YI TO: WANG QINGHONG WEI RONGHUI LI GUANGKAI ZHENG JIN ZHOU YUZHONG SONG KAIYAN ZHANG CHI LIU YI

C14 Grant of patent or utility model
GR01 Patent grant