CN107437140A - A kind of dynamic moving method of operation flow and system - Google Patents

A kind of dynamic moving method of operation flow and system Download PDF

Info

Publication number
CN107437140A
CN107437140A CN201710573179.3A CN201710573179A CN107437140A CN 107437140 A CN107437140 A CN 107437140A CN 201710573179 A CN201710573179 A CN 201710573179A CN 107437140 A CN107437140 A CN 107437140A
Authority
CN
China
Prior art keywords
operation flow
storehouse
version
dynamic
setting
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
CN201710573179.3A
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.)
Tsinghua University
Huawei Technologies Co Ltd
Original Assignee
Tsinghua University
Huawei Technologies 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 Tsinghua University, Huawei Technologies Co Ltd filed Critical Tsinghua University
Priority to CN201710573179.3A priority Critical patent/CN107437140A/en
Publication of CN107437140A publication Critical patent/CN107437140A/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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

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

Abstract

The present invention discloses a kind of dynamic moving method of operation flow and system, and the moving method includes:Obtain the operational order to operation flow of user's input;According to user input to Workflow messages currently stored in the operational order of operation flow and operation flow storehouse, the dynamic for judging whether to need to carry out operation flow storehouse operation flow updates;According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse, to be updated to the operation flow storehouse.The dynamic moving method of operation flow of the present invention according to user input to Workflow messages currently stored in the operational order of operation flow and operation flow storehouse, can accurate judgement whether need to operation flow storehouse carry out operation flow dynamic update, and then the dynamic of operation flow updates operation corresponding to being performed according to judged result to the operation flow storehouse, so as to realize automatically updating for operation flow.

Description

A kind of dynamic moving method of operation flow and system
Technical field
The present invention relates to operation flow upgrade technique field, more particularly to a kind of dynamic moving method of operation flow and System.
Background technology
Operation flow definition is uniformly stored in operation flow storehouse, and by title and version unique mark, that is, before updating Flow definition has identical title and different version numbers after flow definition and renewal.What the operation flow of different editions was completed Business objective is identical, but realizes that details is variant.One operation flow may have different versions, but have at any time and An only default version.When user starts orchestration instance by title, the version of startup is default version.In addition, User can also start a non-default operation flow version by title and version number.
Operation flow generally changes over time, to adapt to the change of service environment and business demand. The time of orchestration instance operation may be up to a couple of days, several months long.When operation flow changes, some old business Flow instance, which needs to move to new flow definition, to be continued executing with, and some do not have to, some then because logical relation is incompatible and nothing Method is migrated.Therefore, it is necessary to which a sets of plan controls the migration of the flow instance between different editions.
When treating flow edition upgrading, old example is still run existing flow engine on legacy version, and migration needs Rely on manual operation and carry out specially treated, the compatibility and migration point of new and old edition can not be calculated, it is impossible to automatically carry out intelligence Can migration.Further, since manually-operated hysteresis quality, can cause the delay of business processing, operating efficiency is reduced.
The content of the invention
It is an object of the invention to provide a kind of dynamic moving method of operation flow and system, operation flow can be automatically performed Dynamic renewal.
To achieve the above object, the invention provides following scheme:
A kind of dynamic moving method of operation flow, the moving method include:
The operational order to operation flow of user's input is obtained, wherein, the behaviour to operation flow of user's input Making instruction includes insertion, deletes and activates at least one of setting operation flow;
According to user input to Business Stream currently stored in the operational order of operation flow and operation flow storehouse Journey information, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;According to judged result, to the business The dynamic renewal operation of operation flow corresponding to the execution of flow storehouse, to be updated to the operation flow storehouse;The operation flow letter Breath includes at least one of title, version number, completed example and unfinished example of operation flow.
Optionally, when the operational order to operation flow of user input sets operation flow for insertion,
According to user input to Business Stream currently stored in the operational order of operation flow and operation flow storehouse Journey information, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;
According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse;
Specifically include:
According to the title of the setting operation flow, judge to whether there is the setting Business Stream in the operation flow storehouse Journey;
If it does not exist, then create the version number of the corresponding operation flow, and by the version of the operation flow, version Number and title be stored in the operation flow storehouse;Otherwise, to the version number of the operation flow in the operation flow storehouse again Assignment, with more than the current maximum version number of the operation flow stored in the operation flow storehouse.
Optionally, when the operational order to operation flow of user input is deletes setting operation flow,
According to user input to Business Stream currently stored in the operational order of operation flow and operation flow storehouse Journey information, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;
According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse;
Specifically include:
According to the title of the setting operation flow or version number, judge in the operation flow storehouse with the presence or absence of belonging to institute State the unfinished example of version number;
Continued to run with if it is present control does not complete example according to setting operation flow corresponding to the version number;Otherwise, Setting operation flow corresponding to the version number is deleted, and judges to whether there is the setting operation flow in the operation flow storehouse Other versions;If it does, judge to whether there is default version in other versions, if it does not exist, then activating maximum version Version corresponding to number;Otherwise do not process.
Optionally, when the operational order to operation flow of user input sets operation flow for activation,
According to user input to Business Stream currently stored in the operational order of operation flow and operation flow storehouse Journey information, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;
According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse;
Specifically include:
According to the title of the setting operation flow, the version of the setting operation flow is set into default version, judged With the presence or absence of other versions of the setting operation flow in the operation flow storehouse;
If it does not, the setting operation flow is deposited into the operation flow storehouse;
Otherwise, it determines the migration point of the version of the setting operation flow and other versions of the setting operation flow;
Controlled according to migration point and run under existing instance migration to the setting operation flow.
Optionally, the version for determining the setting operation flow moves with other versions for setting operation flow Point is moved, is specifically included:
Whether the present node for judging other versions in the operation flow storehouse is terminal node;
If it is, present node is migration point;Otherwise the version of setting operation flow and the Business Stream are judged successively Whether the nodename of other versions is identical in Cheng Ku, whether front and rear node is identical, whether front and rear read-write data are identical;
When the nodename is identical, front and rear node is identical, front and rear read-write data are identical, continue to judge next node, Otherwise present node is migration point.
To achieve the above object, present invention also offers following scheme:
A kind of dynamic migratory system of operation flow, the migratory system include:
Acquiring unit, for obtaining the operational order to operation flow of user's input, wherein, pair of user's input The operational order of operation flow includes insertion, deletes and activates at least one of setting operation flow;
Migrate controller, for according to the user input in the operational order of operation flow and operation flow storehouse when The Workflow messages of preceding storage, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;The business Procedure information includes at least one of title, version number, completed example and unfinished example of operation flow;According to sentencing Disconnected result, the operation flow storehouse is performed corresponding to the dynamic of operation flow update operation, with to the operation flow storehouse more Newly.
Optionally, it is described when the operational order to operation flow of user input sets operation flow for insertion Migration controller includes:
First judge module, for the title according to the setting operation flow, judge in the operation flow storehouse whether The setting operation flow be present;
First creation module, it is connected with first judge module, for being not in the judged result of the judge module In the presence of, then the version number of the corresponding operation flow is created, and the version of the operation flow, version number and title are stored in The operation flow storehouse;
First assignment module, it is connected with first judge module, for being to deposit in the judged result of the judge module When, to the version number of the operation flow in the operation flow storehouse again assignment, with more than in the operation flow storehouse The current maximum version number of the operation flow of storage.
Optionally, it is described when the operational order to operation flow of user input is deletes setting operation flow Migration controller includes:
Second judge module, for the title according to the setting operation flow or version number, judge the operation flow With the presence or absence of the unfinished example for belonging to the version number in storehouse;
Module is run, is connected with second judge module, for being to deposit in the judged result of second judge module When, then control do not complete example according to corresponding to the version number set operation flow continue to run with;
Removing module, it is connected with second judge module, for being not in the judged result of second judge module In the presence of, delete setting operation flow corresponding to the version number;
3rd judge module, it is connected with the removing module, for judging in the operation flow storehouse with the presence or absence of described Set other versions of operation flow;
4th judge module, it is connected with the 3rd judge module, for the judged result in the 3rd judge module For in the presence of, judge to whether there is default version in other versions;
Active module, it is connected with the 4th judge module, for being not in the judged result of the 4th judge module In the presence of then activating version corresponding to maximum version number;Otherwise do not process.
Optionally, it is described when the operational order to operation flow of user input sets operation flow for activation Controller includes:
Setup module, for the title according to the setting operation flow, the version of the setting operation flow is set Default version;
5th judge module, for the title according to the setting operation flow, judge in the operation flow storehouse whether Other versions of the setting operation flow be present;
Memory module, it is connected with the 5th judge module, for being not in the judged result of the 5th judge module In the presence of, then the version of the setting operation flow is set into default version, be deposited into the operation flow storehouse;
Computing module, it is connected with the 5th judge module, for being to deposit in the judged result of the 5th judge module When, determine the migration points of other versions in version and the operation flow storehouse of the setting operation flow;
Transferring module, run for being controlled according to migration point under existing instance migration to the setting operation flow.
Optionally, transferring module is controlled according to migration point and run under existing instance migration to the setting operation flow, is had Body includes:
Whether the present node for judging other versions in the operation flow storehouse is terminal node;
If it is, present node is migration point;Otherwise the version of setting operation flow and the Business Stream are judged successively Whether the nodename of other versions is identical in Cheng Ku, whether front and rear node is identical, whether front and rear read-write data are identical;
When the nodename is identical, front and rear node is identical, front and rear read-write data are identical, next node is judged, otherwise Present node is migration point.
According to specific embodiment provided by the invention, the invention discloses following technique effect:Operation flow of the present invention is moved The moving method of state and system according to user input to currently stored in the operational order of operation flow and operation flow storehouse Workflow messages, can the accurate judgement dynamic that whether needs to carry out operation flow storehouse operation flow update, and then according to sentencing Disconnected result updates operation to the dynamic of operation flow corresponding to the execution of the operation flow storehouse, so as to realize the automatic of operation flow Renewal.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the dynamic moving method of operation flow of the embodiment of the present invention;
Fig. 2 is the flow chart of insertion setting operation flow in the dynamic moving method of operation flow of the embodiment of the present invention;
Fig. 3 is the flow chart that setting operation flow is deleted in the dynamic moving method of operation flow of the embodiment of the present invention;
Fig. 4 is the flow chart of activation setting operation flow in the dynamic moving method of operation flow of the embodiment of the present invention;
Fig. 5 is the determination flow chart of migration point in activation setting operation flow;
Fig. 6 is the modular structure schematic diagram of the dynamic migratory system of operation flow of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It is an object of the invention to provide a kind of dynamic moving method of operation flow, according to user's input to operation flow Operational order and operation flow storehouse in currently stored Workflow messages, can accurate judgement whether need to operation flow storehouse The dynamic renewal of operation flow is carried out, and then operation flow corresponding to the execution of the operation flow storehouse is moved according to judged result State renewal operation, so as to realize automatically updating for operation flow.
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
As shown in figure 1, the dynamic moving method of operation flow of the present invention includes:
Step 110:Obtain the operational order to operation flow of user's input.
Wherein, the operational order to operation flow of user's input includes insertion, deletes and activates setting Business Stream At least one of journey.
Step 120:According to user input to currently stored in the operational order of operation flow and operation flow storehouse Workflow messages, the dynamic for judging whether to need to carry out operation flow storehouse operation flow updates;It is right according to judged result The dynamic renewal operation of operation flow corresponding to the operation flow storehouse execution, to be updated to the operation flow storehouse.
The Workflow messages include title, version number, completed example and the unfinished example of operation flow At least one of.
As shown in Fig. 2 when the operational order to operation flow of user input sets operation flow for insertion, step Rapid 110, specifically include:
Step 210:According to the title of the setting operation flow, judge to set with the presence or absence of described in the operation flow storehouse Determine operation flow;
Step 220:If it does not exist, then create the version number of the corresponding operation flow, and by the operation flow Version, version number and title are stored in the operation flow storehouse;
Step 230:If it does, to the version number of the operation flow in the operation flow storehouse again assignment, with More than the current maximum version number of the operation flow stored in the operation flow storehouse.
As shown in figure 3, when the operational order to operation flow of user input is deletes setting operation flow, step Rapid 120, specifically include:
Step 310:According to the title of the setting operation flow or version number, judge whether deposited in the operation flow storehouse Belonging to the unfinished example of the version number;
Step 320:Continue to transport according to setting operation flow corresponding to the version number if it is present control does not complete example OK;
Step 330:If it does not, delete setting operation flow corresponding to the version number;
Step 340:Judge in the operation flow storehouse with the presence or absence of other versions of the setting operation flow;
Step 350:If it does, judge to whether there is default version in other versions,
Step 360:If it does not exist, then activate version corresponding to maximum version number;
Step 370:Otherwise do not process, terminate operation.
As shown in figure 4, when the operational order to operation flow of user input sets operation flow for activation, step Rapid 120, specifically include:
Step 410:According to the title of the setting operation flow, the version of the setting operation flow is set into acquiescence version This;
Step 420:Judge in the operation flow storehouse with the presence or absence of other versions of the setting operation flow;
Step 430:If it does not, the setting operation flow is deposited into the operation flow storehouse;
Step 440:If it does, determine the version and other versions of the setting operation flow of the setting operation flow This migration point;
Step 450:Controlled according to migration point and run under existing instance migration to the setting operation flow.
When user activates some setting operation flow version, the flow version is on the one hand set to default version, it is another Aspect calculates the compatibility between the version and other versions according to migration point detection algorithm, draws migration point.Afterwards, according to moving Move the migration that point controls existing example.
Migration point detection algorithm is intended to find the migration point between the operation flow of two different editions.As shown in figure 5, The migration point of the version and other versions in the operation flow storehouse of the setting operation flow, tool are determined described in step 440 Body includes:
Whether the present node for judging other versions in the operation flow storehouse is terminal node;
If it is, present node is migration point;Otherwise the version of setting operation flow and the Business Stream are judged successively Whether the nodename of other versions is identical in Cheng Ku, whether front and rear node is identical, whether front and rear read-write data are identical;
When the nodename is identical, front and rear node is identical, front and rear read-write data are identical, next node is judged, otherwise Present node is migration point.
1) since the version of setting operation flow is with first node of other versions, descendant node is judged successively compatible Property.Two nodes are that the data of compatible and if only if their title, preceding descendant node and front and rear read-write are consistent.
2) when two node compatibilities, continue to compare its subsequent node, until there is incompatible situation.Incompatible section Point is migration point, and migration point there may be multiple.
Wherein, the dynamic migration mode in existing example is divided into three kinds:Do not migrate, force migration and Autonomic Migration Framework.It is described Do not migrate and refer to:All existing examples continue to run with according to original operation flow, without migration operation, such as step 320 institute Show.The pressure migration refers to all existing instance migrations to default version.If there is example due to compatibility issue without Method migrates, then terminates the example and recorded in migration daily record.Otherwise, example is continued to run with by existing default version.It is described from Moving moves whether the automatic decision example in transition process can migrate.For running the example not less than migration point, by the reality Example terminates, and the status data having run through recorded in database subsequently to recover.Afterwards, one is started newly The flow instance of version, according to status data of the old example in database, running orbit is recurred on new example, makes its recovery To terminating point and continue to run with.The example for running more than migration point continues to run with according to original operation flow, does not migrate.
In addition, the present invention also provides a kind of operation flow dynamic migratory system.As shown in fig. 6, operation flow of the present invention Dynamic migratory system includes acquiring unit 1 and migration controller 2.
The acquiring unit 1 is used for the operational order to operation flow for obtaining user's input, wherein, user's input The operational order to operation flow include insertion, delete and activation setting at least one of operation flow;The migration control Device 2 is used for according to user input to operation flow currently stored in the operational order of operation flow and operation flow storehouse Information, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;According to judged result, to the Business Stream The dynamic renewal operation of operation flow corresponding to Cheng Ku execution, to be updated to the operation flow storehouse;The Workflow messages At least one of title, version number, completed example and unfinished example including operation flow;.
When the operational order to operation flow of user input sets operation flow for insertion, the migration control Device 2 includes the first judge module, the first creation module and the first assignment module.First judge module is used to set according to Determine the title of operation flow, judge to whether there is the setting operation flow in the operation flow storehouse;Described first creates mould Block is connected with first judge module, for the judged result of the judge module be in the absence of when, then create corresponding institute The version number of operation flow is stated, and the version of the operation flow, version number and title are stored in the operation flow storehouse;It is described First assignment module is connected with first judge module, in the presence of being in the judged result of the judge module, to institute The version number of the operation flow in operation flow storehouse assignment again is stated, with more than described in being stored in the operation flow storehouse Operation flow current version number.
When the operational order to operation flow of user input is deletes setting operation flow, the migration control Device 2 includes the second judge module, operation module, removing module, the 3rd judge module, the 4th judge module and active module.Institute State the second judge module and be used for the title according to the setting operation flow or version number, judge in the operation flow storehouse whether In the presence of the unfinished example for belonging to the version number;The operation module is connected with second judge module, for described In the presence of the judged result of second judge module is, then unfinished example is controlled to set operation flow according to corresponding to the version number Continue to run with;The removing module is connected with second judge module, for the judged result in second judge module For in the absence of when, delete setting operation flow corresponding to the version number;3rd judge module is connected with the removing module, For judging in the operation flow storehouse with the presence or absence of other versions of the setting operation flow;4th judge module with The 3rd judge module connection, in the presence of being in the judged result of the 3rd judge module, judges in other versions With the presence or absence of default version;The active module is connected with the 4th judge module, in the 4th judge module Judged result is in the absence of then activating version corresponding to maximum version number;Otherwise do not process.
When the operational order to operation flow of user input sets operation flow for activation, the controller 2 Including setup module, the 5th judge module, memory module, computing module and transferring module.Wherein, the setup module is used for root According to the title of the setting operation flow, the version of the setting operation flow is set into default version;Described 5th judges mould Block is used for the title according to the setting operation flow, judges to whether there is the setting operation flow in the operation flow storehouse Other versions;The memory module is connected with the 5th judge module, for the judgement knot in the 5th judge module Fruit be in the absence of when, then by it is described setting operation flow be deposited into the operation flow storehouse;The computing module and described the Five judge modules connect, in the presence of being in the judged result of the 5th judge module, by the setting operation flow Version sets default version, and determines the migration of the version and other versions in the operation flow storehouse of the setting operation flow Point;The transferring module is used to be controlled according to migration point to be run under existing instance migration to the setting operation flow.
Transported specifically, the transferring module controls according to migration point under existing instance migration to the setting operation flow OK, specifically include:
Whether the present node for judging other versions in the operation flow storehouse is terminal node;
If it is, present node is migration point;Otherwise the version of setting operation flow and the Business Stream are judged successively Whether the nodename of other versions is identical in Cheng Ku, whether front and rear node is identical, whether front and rear read-write data are identical;
When the nodename is identical, front and rear node is identical, front and rear read-write data are identical, next node is judged, otherwise Present node is migration point.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
Specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said It is bright to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, in specific embodiments and applications there will be changes.In summary, this specification content is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of dynamic moving method of operation flow, it is characterised in that the moving method includes:
The operational order to operation flow of user's input is obtained, wherein, the operation to operation flow of user's input refers to Order includes insertion, deletes and activates at least one of setting operation flow;
Operation flow currently stored in the operational order of operation flow and operation flow storehouse is believed according to what the user inputted Breath, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;According to judged result, to the operation flow The dynamic renewal operation of operation flow corresponding to the execution of storehouse, to be updated to the operation flow storehouse;The Workflow messages bag Include at least one of title, version number, completed example and unfinished example of operation flow.
2. the dynamic moving method of operation flow according to claim 1, it is characterised in that when pair of user input When the operational order of operation flow sets operation flow for insertion,
Operation flow currently stored in the operational order of operation flow and operation flow storehouse is believed according to what the user inputted Breath, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;
According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse;
Specifically include:
According to the title of the setting operation flow, judge to whether there is the setting operation flow in the operation flow storehouse;
If it does not exist, then create the version number of the corresponding operation flow, and by the version of the operation flow, version number and Title is stored in the operation flow storehouse;Otherwise, to the version number of the operation flow in the operation flow storehouse again assignment, With more than the current maximum version number of the operation flow stored in the operation flow storehouse.
3. the dynamic moving method of operation flow according to claim 1, it is characterised in that when pair of user input When the operational order of operation flow is deletes setting operation flow,
Operation flow currently stored in the operational order of operation flow and operation flow storehouse is believed according to what the user inputted Breath, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;
According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse;
Specifically include:
According to the title of the setting operation flow or version number, judge in the operation flow storehouse with the presence or absence of belonging to the version The unfinished example of this number;
Continued to run with if it is present control does not complete example according to setting operation flow corresponding to the version number;Otherwise, delete Setting operation flow corresponding to the version number, and judge in the operation flow storehouse with the presence or absence of the setting operation flow its His version;If it does, judge to whether there is default version in other versions, if it does not exist, then activating maximum version number pair The version answered;Otherwise do not process.
4. the dynamic moving method of operation flow according to claim 1, it is characterised in that when pair of user input When the operational order of operation flow sets operation flow for activation,
Operation flow currently stored in the operational order of operation flow and operation flow storehouse is believed according to what the user inputted Breath, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;
According to judged result, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse;
Specifically include:
According to the title of the setting operation flow, the version of the setting operation flow is set into default version, described in judgement With the presence or absence of other versions of the setting operation flow in operation flow storehouse;
If it does not, the setting operation flow is deposited into the operation flow storehouse;
Otherwise, it determines the migration point of the version of the setting operation flow and other versions of the setting operation flow;
Controlled according to migration point and run under existing instance migration to the setting operation flow.
5. the dynamic moving method of operation flow according to claim 4, it is characterised in that described to determine the setting industry The migration point of the version for flow of being engaged in and other versions of the setting operation flow, is specifically included:
Whether the present node for judging other versions in the operation flow storehouse is terminal node;
If it is, present node is migration point;Otherwise the version of setting operation flow and the operation flow storehouse are judged successively In other versions nodename it is whether identical, whether front and rear node identical, it is front and rear read-write data it is whether identical;
When the nodename is identical, front and rear node is identical, front and rear read-write data are identical, continue to judge next node, otherwise Present node is migration point.
6. a kind of dynamic migratory system of operation flow, it is characterised in that the migratory system includes:
Acquiring unit, for obtaining the operational order to operation flow of user's input, wherein, user input to business The operational order of flow includes insertion, deletes and activates at least one of setting operation flow;
Migrate controller, for according to the user input to currently being deposited in the operational order of operation flow and operation flow storehouse The Workflow messages of storage, the dynamic for judging whether to need to carry out operation flow storehouse operation flow update;The operation flow Information includes at least one of title, version number, completed example and unfinished example of operation flow;Tied according to judgement Fruit, operation is updated to the dynamic of operation flow corresponding to the execution of the operation flow storehouse, to be updated to the operation flow storehouse.
7. the dynamic migratory system of operation flow according to claim 6, it is characterised in that when pair of user input When the operational order of operation flow sets operation flow for insertion, the migration controller includes:
First judge module, for the title according to the setting operation flow, judge to whether there is in the operation flow storehouse The setting operation flow;
First creation module, be connected with first judge module, for the judge module judged result be in the absence of When, then the version number for corresponding to the operation flow is created, and by described in the deposit of the version of the operation flow, version number and title Operation flow storehouse;
First assignment module, it is connected with first judge module, in the presence of being in the judged result of the judge module, To the version number of the operation flow in the operation flow storehouse again assignment, with more than being stored in the operation flow storehouse The current maximum version number of the operation flow.
8. the dynamic migratory system of operation flow according to claim 6, it is characterised in that when pair of user input When the operational order of operation flow is deletes setting operation flow, the migration controller includes:
Second judge module, for the title according to the setting operation flow or version number, judge in the operation flow storehouse With the presence or absence of the unfinished example for belonging to the version number;
Module is run, is connected with second judge module, in the presence of being in the judged result of second judge module, Unfinished example is then controlled to be continued to run with according to setting operation flow corresponding to the version number;
Removing module, be connected with second judge module, for second judge module judged result be in the absence of When, delete setting operation flow corresponding to the version number;
3rd judge module, it is connected with the removing module, for judging to whether there is the setting in the operation flow storehouse Other versions of operation flow;
4th judge module, it is connected with the 3rd judge module, for being to deposit in the judged result of the 3rd judge module When, judge to whether there is default version in other versions;
Active module, be connected with the 4th judge module, for the 4th judge module judged result be in the absence of, Then activate version corresponding to maximum version number;Otherwise do not process.
9. the dynamic migratory system of operation flow according to claim 6, it is characterised in that when pair of user input When the operational order of operation flow sets operation flow for activation, the controller includes:
Setup module, for the title according to the setting operation flow, the version of the setting operation flow is set into acquiescence Version;
5th judge module, for the title according to the setting operation flow, judge to whether there is in the operation flow storehouse Other versions of the setting operation flow;
Memory module, be connected with the 5th judge module, for the 5th judge module judged result be in the absence of When, then the version of the setting operation flow is set into default version, be deposited into the operation flow storehouse;
Computing module, it is connected with the 5th judge module, in the presence of being in the judged result of the 5th judge module, Determine the migration point of the version and other versions in the operation flow storehouse of the setting operation flow;
Transferring module, run for being controlled according to migration point under existing instance migration to the setting operation flow.
10. the dynamic migratory system of operation flow according to claim 9, it is characterised in that transferring module is according to migration Point controls to be run under existing instance migration to the setting operation flow, is specifically included:
Whether the present node for judging other versions in the operation flow storehouse is terminal node;
If it is, present node is migration point;Otherwise the version of setting operation flow and the operation flow storehouse are judged successively In other versions nodename it is whether identical, whether front and rear node identical, it is front and rear read-write data it is whether identical;
When the nodename is identical, front and rear node is identical, front and rear read-write data are identical, next node is judged, otherwise currently Node is migration point.
CN201710573179.3A 2017-07-14 2017-07-14 A kind of dynamic moving method of operation flow and system Pending CN107437140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710573179.3A CN107437140A (en) 2017-07-14 2017-07-14 A kind of dynamic moving method of operation flow and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710573179.3A CN107437140A (en) 2017-07-14 2017-07-14 A kind of dynamic moving method of operation flow and system

Publications (1)

Publication Number Publication Date
CN107437140A true CN107437140A (en) 2017-12-05

Family

ID=60459618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710573179.3A Pending CN107437140A (en) 2017-07-14 2017-07-14 A kind of dynamic moving method of operation flow and system

Country Status (1)

Country Link
CN (1) CN107437140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109214785A (en) * 2018-10-23 2019-01-15 北京奇艺世纪科技有限公司 Implementation method, server and the system of workflow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132560A (en) * 2006-08-25 2008-02-27 华为技术有限公司 Business interactive processing method and system
CN101132401A (en) * 2006-08-25 2008-02-27 华为技术有限公司 Business interactive processing method and system
CN102043625A (en) * 2010-12-22 2011-05-04 中国农业银行股份有限公司 Workflow operation method and system
CN102254246A (en) * 2011-06-17 2011-11-23 中国建设银行股份有限公司 Workflow managing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132560A (en) * 2006-08-25 2008-02-27 华为技术有限公司 Business interactive processing method and system
CN101132401A (en) * 2006-08-25 2008-02-27 华为技术有限公司 Business interactive processing method and system
CN102043625A (en) * 2010-12-22 2011-05-04 中国农业银行股份有限公司 Workflow operation method and system
CN102254246A (en) * 2011-06-17 2011-11-23 中国建设银行股份有限公司 Workflow managing method and system

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
TAO JIN 等: "Refactor Business Process Models with Maximized Parallelism", 《IEEE TRANSACTIONS ON SERVICES COMPUTING》 *
宋金凤 等: "基于任务发生关系的流程模型相似性度量", 《计算机研究与发展》 *
崔立真 等: "一种基于工作流类型版本和实例迁移的动态修改方法", 《计算机科学》 *
张琮: "基于动态演变的工作流模型研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
杨书新 等: "工作流管理系统的流程柔性动态变更研究", 《计算机应用》 *
檀迎军 等: "工作流迁移问题的研究", 《计算机技术与发展》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109214785A (en) * 2018-10-23 2019-01-15 北京奇艺世纪科技有限公司 Implementation method, server and the system of workflow
CN109214785B (en) * 2018-10-23 2022-06-03 北京奇艺世纪科技有限公司 Workflow implementation method, server and system

Similar Documents

Publication Publication Date Title
CN107145521B (en) A kind of data migration method towards block chain multistage intelligent contract
CN104461744B (en) A kind of resource allocation methods and device
CN103885719B (en) Device, system and method for online storage migration of virtual machine system
CN103688262B (en) System constructing auxiliary device and system structure drawing generating method
CN106803790A (en) The upgrade control method and device of a kind of group system
CN106201659A (en) A kind of method of live migration of virtual machine and host
CN107247592A (en) Tackle the model management system and method under multi-service scene
US20060161291A1 (en) Injection molding system data management method
CN106817259A (en) The upgrade method and device of VSM systems
CN107656796A (en) A kind of virtual machine cold moving method, system and equipment
CN107437140A (en) A kind of dynamic moving method of operation flow and system
CN109542985A (en) A kind of general streaming Data Analysis Model and its construction method
CN106130802A (en) A kind of configuration smoothing method and device
CN106021373A (en) File updating method and device
CN103105787A (en) Method for automatically transferring a configuration of an automation device during replacement of an automation device
CN106970778A (en) A kind of Configuration Online method and system of the embedded device based on FPGA
CN106775980A (en) A kind of process ID management method, device and computer-readable medium
CN103559574B (en) Method and system for operating workflow
CN105005492B (en) A kind of embedded device and a kind of method for upgrading software
EP0895169A3 (en) Deriving process models for workflow management systems from audit trails
CN106415539A (en) Artifact correlation between domains
CN107506500A (en) The control method and relevant apparatus of a kind of Data Migration
CN106326487A (en) Data storage method and device
CN110427245A (en) Manage virtual machine method and apparatus
CN110413921A (en) Webpage loading method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171205