CN103186416A - Method and state machine for establishing multi-task multi-branch process and execution method of state machine - Google Patents

Method and state machine for establishing multi-task multi-branch process and execution method of state machine Download PDF

Info

Publication number
CN103186416A
CN103186416A CN2011104521875A CN201110452187A CN103186416A CN 103186416 A CN103186416 A CN 103186416A CN 2011104521875 A CN2011104521875 A CN 2011104521875A CN 201110452187 A CN201110452187 A CN 201110452187A CN 103186416 A CN103186416 A CN 103186416A
Authority
CN
China
Prior art keywords
task
task node
node
output
dictionary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104521875A
Other languages
Chinese (zh)
Other versions
CN103186416B (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201110452187.5A priority Critical patent/CN103186416B/en
Publication of CN103186416A publication Critical patent/CN103186416A/en
Application granted granted Critical
Publication of CN103186416B publication Critical patent/CN103186416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and state machine for establishing a multi-task multi-branch process and an execution method of the state machine. The method for establishing the multi-task multi-branch process comprises the following steps of: creating a plurality of work task nodes; configuring a work task for each work task node to realize a calling interface of codes; creating a task output dictionary for each work task node, wherein the task output dictionary is configured to store output results of the work task nodes and a mapping relation for the work task nodes which correspond to the output results; creating a task cooperative control object, wherein the task cooperative control object is configured to store the work task nodes; and controlling operations of the work task nodes according to the output results and the task output dictionary. Through the method and state machine for establishing the multi-task multi-branch process and the execution method of the state machine, the multi-task multi-branch work process can be established. Moreover, repeated flow establishing codes do not need to be written for each establishment, so that the code complexity is reduced.

Description

Make up method, state machine and the manner of execution of multitask multiple-limb process
Technical field
The present invention relates to field of software development, particularly, relate to a kind of method, state machine and manner of execution that makes up multitask multiple-limb process.
Background technology
In order to realize the functional and diversity of software, in software programming, often adopt the software flow of multitask multiple-limb.A plurality of task multiple-limb operational processs then mainly are the control methods that realizes calling behind the running result and expected results between a plurality of software work tasks corresponding next task in the software, mainly are that result with a last task is as the foundation of selecting next task.
Fig. 1 is multitask multiple-limb course of work example.Be to realize the multitask multiple-limb course of work as shown in Figure 1, in the exploitation of software programming at present mainly by repeatedly use if-else branch case statement (as, be example with the C language) realize.Fig. 2 is to use if-else to write the method flow diagram of the multitask multiple-limb course of work, as shown in Figure 2, uses the flow process of specifically writing of if-else to comprise:
S1. based on if-else branch case statement, according to the input of the output between task relation, set up basic task level branched structure by nested multi-level if-else statement;
S2. after setting up basic task level branched structure, in each if-else branched structure statement block, add corresponding task code or the calling interface of task.
For example, for the multitask multiple-limb course of work shown in Fig. 1, it is as follows to use if-else to write:
Figure BDA0000126606440000021
As can be seen, mainly there is following shortcoming in present this implementation:
Each course of work that realizes different multitask multiple-limbs all to write the multi-level multinest structural code of if-else again, the code reuse rate is low;
Task and branch more for a long time, if-else structure and nested meeting thereof are more many, code structure is more complicated, can cause code to be carried out so easily makeing mistakes probability to increase code complexity height;
Task code and course of work control routine combine to mix and realize and write, and have increased the degree of coupling between the code module, are unfavorable for adjustment or the modification of the course of work and code structure, code degree of coupling height, and the degree of modularity is low;
After finishing multitask multiple-limb Activity Processing Code and writing, if code is checked analysis, need check if-else structure and nested structure thereof from level to level, task and branch are for a long time, nested structure is many, and code analysis difficulty height is unfavorable for the analysis of code and the maintenance of code.
At the problems referred to above, still there is not solution preferably at present.
Summary of the invention
The purpose of this invention is to provide a kind of method, state machine and manner of execution that makes up multitask multiple-limb process, to solve at problems of the prior art.
To achieve these goals, according to an aspect of the present invention, provide a kind of method that makes up multitask multiple-limb process, this method comprises: create a plurality of task nodes; Calling interface for each described task node configuration effort task code; Be each described task node creation task output dictionary, wherein said task output dictionary is configured to store the output result of task node and the mapping relations of the task node corresponding with this output result; And creation task cooperation control object, wherein said task cooperation control object is configured to store a plurality of described task nodes, and exports the operation that dictionary is controlled a plurality of described task nodes according to described output result and described task.
Further, this method also comprises: the task node title that each described task node is set; And the described task output dictionary of creating is configured to store the mapping relations of the task node title of the output result of described task and the task node corresponding with this output result.
Further, a plurality of described task nodes are stored in the described task cooperation control object with the form of array.
Further, this method comprises that also revising described task exports the described mapping relations that store in the dictionary.
Further, this method also comprises increase and/or deletes the described task node that stores in the described task cooperation control object.
Further, the described mapping relations that store in the described task output dictionary are that key-value is right, and wherein, key table shows the output result of task node, the task node that value representation is corresponding with described output result.
According to another aspect of the present invention, provide a kind of structure multitask multiple-limb status of processes machine, wherein, this state machine comprises: the Object Creation module is used for creating a plurality of task nodes; The calling interface configuration module is used to the calling interface of each described task node configuration effort task code; Task output dictionary creation module, be used to each described task node creation task output dictionary, wherein said task output dictionary is configured to store the output result of task node and the mapping relations of the task node corresponding with this output result; And task cooperation control object creation module, be used for creation task cooperation control object, wherein said task cooperation control object is configured to store a plurality of described task nodes, and exports the operation that dictionary is controlled a plurality of described task nodes according to described output result and described task.
Further, described state machine also comprises: the task node title arranges module, is used for arranging the task node title of each described task node; And the described task output dictionary of creating is configured to store the mapping relations of the task node title of the output result of described task and the task node corresponding with this output result.
Further, a plurality of described task nodes are stored in the described task cooperation control object with the form of array.
Further, described state machine also comprises: task output dictionary editor module is used for revising the described mapping relations that described task output dictionary stores.
Further, described state machine also comprises: the object editing module, for increasing and/or delete the described task node that stores in the described task cooperation control object.
Further, the described mapping relations that store in the described task output dictionary are that key-value is right, and wherein, key table shows the output result of task node, the task node that value representation is corresponding with described output result.
According to another aspect of the present invention, provide the method for a kind of execution according to the constructed multitask multiple-limb process of above-mentioned structure multitask multiple-limb status of processes machine, this method comprises: a task node in the selection task cooperation control object; Carry out the calling interface of selected task node; In the task output dictionary of performed task node, search for the task node corresponding with the output result of performed task node; And select the task node search.
Further, the step of a task node in the described selection task cooperation control object comprises: the task node title that input will be carried out; And according to the described task node title that will carry out search work task node in task cooperation control object.
Further, after the step of the calling interface of the selected task node of described execution, this method also comprises: the task node that described task cooperation control object record searching arrives.
Further, the step of the described search task node corresponding with the output result of performed task node comprises: the search task node title corresponding with the output result of performed task node in the task output dictionary of performed task node; The step of the task node that described selection searches comprises: the task node name that searches is referred to as the described task node title that will carry out.
Further, after described step according to the described task node title that will carry out search work task node in task cooperation control object, this method also comprises: judge whether to search the task node, wherein: if judged result is for being then continuation; If judged result then finishes for not.
Further, described judge whether to search the step of task node after, this method also comprises: whether the calling interface of judging the task node search is empty, wherein: if judged result then continues for not; If judged result is for being then end.
Further, after described task at performed task node is exported the step of searching for the task node title corresponding with the output result of performed task node in the dictionary, this method also comprises: the corresponding task node title of output result that judges whether to find described with performed task node, wherein: if judged result is for being then continuation; If judged result then finishes for not.
Realize comparing with traditional multitask multiple-limb, make up method and the state machine of multitask multiple-limb process by the present invention, can make up the multitask multiple-limb course of work, and do not need to make up code for each flow process of writing repetition that makes up, only the calling interface of task code need be disposed to corresponding task node and get final product, reduce the size of code that the course of work is built, code reuse rate height; The task node only need simply be stored in the array of task collaboration object, and code nested structure that need not be too much has reduced the code complexity.
Make up method and the state machine of multitask multiple-limb process by the present invention, realized that course of work control routine and task code are separated from each other, improve the independent degree between the code module, only need to increase or delete mapping relations in corresponding flow nodes or the modification task output dictionary and just can realize modification to the course of work, the course of work is revised convenient, and the code coupling procedure is low, degree of modularity height; In addition, when the code that the method that makes up multitask multiple-limb process according to the present invention and state machine are made up is analyzed, relation in the time of only need be with the process development in the task output dictionary of each task node enumerates out relation between the task of can putting in order and task and the relation between task action result and next task, the intelligibility that improves code with can safeguard degree.
Other features and advantages of the present invention will partly be described in detail in embodiment subsequently.
Description of drawings
Accompanying drawing is to be used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with following embodiment one, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is multitask multiple-limb course of work example;
Fig. 2 is to use if-else to write the method flow diagram of the multitask multiple-limb course of work;
Fig. 3 is the method flow diagram according to the structure multitask multiple-limb process of embodiment of the present invention;
Fig. 4 is the method flow diagram that makes up multitask multiple-limb process according to the preferred embodiment of the present invention;
Fig. 5 is the structure multitask multiple-limb status of processes machine synoptic diagram according to embodiment of the present invention;
Fig. 6 is that execution is according to the method flow diagram of the multitask multiple-limb process of the state machine structure of embodiment of the present invention; And
Fig. 7 is that execution is according to the preferable methods process flow diagram of the multitask multiple-limb process of the state machine structure of embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.Should be understood that embodiment described herein only is used for description and interpretation the present invention, is not limited to the present invention.
Fig. 3 is the method flow diagram according to the structure multitask multiple-limb process of embodiment of the present invention.As shown in Figure 3, a kind of method that makes up multitask multiple-limb process, this method comprises: create a plurality of task nodes (S32); Calling interface (S34) for each described task node configuration effort task code; Be each described task node creation task output dictionary, wherein said task output dictionary can be configured to store the output result of task node and the mapping relations (S36) of the task node corresponding with this output result; And creation task cooperation control object, wherein said task cooperation control object can be configured to store a plurality of described task nodes, and exports the operation (S36) that dictionary is controlled a plurality of described task nodes according to described output result and described task.
Realize comparing with traditional multitask multiple-limb, make up the method for multitask multiple-limb process by the present invention, can make up the multitask multiple-limb course of work, and do not need to make up code for each flow process of writing repetition that makes up, only the calling interface of task code need be disposed to corresponding task node and get final product, reduce the size of code that the course of work is built, code reuse rate height.Realized that course of work control routine and task code are separated from each other, improved the independent degree between the code module.
Wherein, the mapping relations in the said method can be the mappings of certain attribute of the output result of task and the task node corresponding with this output result, for example, and position or the first address etc. of task node in storer.Preferably, this method also comprises: the task node title that each described task node is set; And the described task output dictionary of creating can be configured to store the mapping relations of the task node title of the output result of described task and the task node corresponding with this output result.Wherein, a plurality of described task nodes can be stored in the form of array in the described task cooperation control object.Preferably, the described mapping relations that store in the described task output dictionary can be right for " key-value ", wherein, and the output result of " key " expression task node, " value " expression task node corresponding with described output result.
Make up the method for multitask multiple-limb process by the present invention, the task node only need simply be stored in the array of task collaboration object, and code nested structure that need not be too much has reduced the code complexity.When the code that makes up by method of the present invention is analyzed, relation in the time of only need be with the process development in the task output dictionary of each task node enumerates out relation between the task of can putting in order and task and the relation between task action result and next task, the intelligibility that improves code with can safeguard degree.
Preferably, method according to structure multitask multiple-limb process of the present invention, if desired the process that makes up is made amendment, can realize by revising the described mapping relations that store in the described task output dictionary, also can be by increasing and/or deleting the described task node that stores in the described task cooperation control object and realize.
Because course of work control routine and task code are separated from each other, and have improved the independent degree between the code module, this just makes the modification of the course of work very convenient.
Fig. 4 is the method flow diagram that makes up multitask multiple-limb process according to the preferred embodiment of the present invention.As shown in Figure 4, in this preferred implementation, comprise according to the method for structure multitask multiple-limb process of the present invention: the process analysis of multitask multiple-limb, the cooperation relation between the combing multitask (S40); Be a task node of each task initialization (S42); The task node title (S44) of each task node is set; According to the task cooperation relation, for each task node interpolation task is exported dictionary " key-value " to (S46); Each task node is added in the array of the storage task node in the task cooperation control object (S48).So just finished the establishment of multitask multiple-limb process.
Fig. 5 is the structure multitask multiple-limb status of processes machine synoptic diagram according to embodiment of the present invention.As shown in Figure 5, the structure multitask multiple-limb status of processes machine according to embodiment of the present invention comprises: Object Creation module 500 is used for creating a plurality of task nodes; Calling interface configuration module 502 is used to the calling interface of each described task node configuration effort task code; Task output dictionary creation module 504, be used to each described task node creation task output dictionary, wherein said task output dictionary is configured to store the output result of task node and the mapping relations of the task node corresponding with this output result; And task cooperation control object creation module 510, be used for creation task cooperation control object, wherein said task cooperation control object is configured to store a plurality of described task nodes, and exports the operation that dictionary is controlled a plurality of described task nodes according to described output result and described task.
Preferably, described state machine can also comprise: the task node title arranges module 506, is used for arranging the task node title of each described task node; And the described task output dictionary of creating is configured to store the mapping relations of the task node title of the output result of described task and the task node corresponding with this output result.
Preferably, a plurality of described task nodes are stored in the described task cooperation control object with the form of array.
Preferably, described state machine can also comprise: task output dictionary editor module 520 is used for revising the described mapping relations that described task output dictionary stores.Described state machine can also comprise: object editing module 530, for increasing and/or delete the described task node that stores in the described task cooperation control object.
Preferably, the described mapping relations that store in the described task output dictionary are right for " key-value ", wherein, and the output result of " key " expression task node, " value " expression task node corresponding with described output result.
In the structure multitask multiple-limb status of processes machine according to embodiment of the present invention, comprise two main modular: Object Creation module 500 and task cooperation control object creation module 510.Wherein, Object Creation module 500 can be used for building work task node (TaskNode).The task node can be used for storing the calling interface of task code, can comprise three attributes, be respectively calling interface (TaskInterface) and the task output dictionary (ExportDic) of task (node) title (TaskName), task.The task node title can be the unique identification of task working node, is used for search or searches its corresponding task node.The calling interface of task is be used to the code of depositing task call or program, when task cooperation control object need be carried out this task node, can pass through the corresponding code of this interface interchange or program to realize the function of task node.Task output dictionary can be based on " key-value " right storage organization, " key " is used for storing the output result of this task node, " value " is used for next task nodename that storage should be carried out during with its " key " coupling as the output result of this task node, and realization is corresponding relation foundation, between work at present task node and next the task node to export the result.Task cooperation control object creation module 510 can be used for creation task cooperation control object (FlowController), and wherein, task cooperation control object can coordinate to control the cooperating operation process between each task.Task cooperation control object can comprise an array, is used for the whole task node objects of storage.Carry out the course of work when making up using the present invention to make up multitask multiple-limb status of processes machine, only initialized task node need be added in the array of task cooperation control object and can finish structure work.
Realize comparing with traditional multitask multiple-limb, make up multitask multiple-limb status of processes machine by the present invention, can make up the multitask multiple-limb course of work, and do not need to make up code for each flow process of writing repetition that makes up, only the calling interface of task code need be disposed to corresponding task node and get final product, reduce the size of code that the course of work is built, code reuse rate height; The task node only need simply be stored in the array of task collaboration object, and code nested structure that need not be too much has reduced the code complexity.This has just realized that course of work control routine and task code are separated from each other, improve the independent degree between the code module, only need to increase or delete mapping relations in corresponding flow nodes or the modification task output dictionary and just can realize modification to the course of work, the course of work is revised convenient, and the code coupling procedure is low, degree of modularity height; In addition, when the code that the method that makes up multitask multiple-limb process according to the present invention and state machine are made up is analyzed, relation in the time of only need be with the process development in the task output dictionary of each task node enumerates out relation between the task of can putting in order and task and the relation between task action result and next task, the intelligibility that improves code with can safeguard degree.
Fig. 6 is that execution is according to the method flow diagram of the multitask multiple-limb process of the state machine structure of embodiment of the present invention.As shown in Figure 6, can carry out by the following method according to the constructed multitask multiple-limb process of above-mentioned structure multitask multiple-limb status of processes machine, this method comprises: the task node (S62) in the selection task cooperation control object; Carry out the calling interface (S64) of selected task node; In the task output dictionary of performed task node, search for the task node (S66) corresponding with the output result of performed task node; And select the task node (S68) search.
Carry out multitask multiple-limb process by above-mentioned method, can be as required from task cooperation control object, select arbitrarily that a task node begins implementation, and realize the function of this task node by the calling interface of selected working node.Utilize the output result of current task node and the task output dictionary of current task node, can find the task node that will be performed, make the execution of process have continuity, integrality.
Fig. 7 is that execution is according to the preferable methods process flow diagram of the multitask multiple-limb process of the state machine structure of embodiment of the present invention.Compare with the process flow diagram shown in Fig. 6, in the process flow diagram shown in Fig. 7, preferably, the step of a task node in the described selection task cooperation control object can comprise: the task node title that input will be carried out; And according to the described task node title that will carry out search work task node in task cooperation control object.The task node title can be used as the unique identification of task node, by using the task node title, can select the task node exactly in task cooperates control object.
In addition, the step of the described search task node corresponding with the output result of performed task node can comprise: the search task node title corresponding with the output result of performed task node in the task output dictionary of performed task node; The step of the task node that described selection searches comprises: the task node name that searches is referred to as the described task node title that will carry out.Preferably, after the step of the calling interface of the selected task node of described execution, this method can also comprise: the task node that described task cooperation control object record searching arrives.
In addition, compare with the process flow diagram shown in Fig. 6, also increased by three judgements in the process flow diagram shown in Fig. 7 and selected node, judge for these three and select nodes to be respectively: judge whether to search the task node, wherein: if judged result is for being then continuation; If judged result then finishes for not; Whether the calling interface of judging the described task node that searches is empty, wherein: if judged result then continues for not; If judged result is for being then end.Judge whether to find the corresponding task node title of output result of described with performed task node, wherein: if judged result is for being then continuation; If judged result then finishes for not.
Can avoid deadlock occurring in the course of work execution by judging, guarantee the smooth execution of the course of work.
Preferably, task cooperation control implementation step can be as follows:
The task node title of first execution work task node of the whole workflow that input begins to carry out, array with storage task node in the task node title search mission cooperation control object finds the task node corresponding with this task node title; Whether the calling interface attribute that checks the task node is empty, if for sky then do not execute the task, if be sky, then carries out this calling interface; The current task node of carrying out of task cooperation control object record; After the task of a task node is complete, export its execution result to the task control object that cooperates, task cooperation control object is search condition with the current output result who executes the task, the task output dictionary of search work at present task node, with " key " in output result and the task output dictionary relatively, if " value " that finds this " key " and be complementary with this " key " then with " value " title as the next task node, returned the execution first step.If search " value " less than coupling, then finish work at present task process.
Below describe preferred implementation of the present invention by reference to the accompanying drawings in detail; but; the present invention is not limited to the detail in the above-mentioned embodiment; in technical conceive scope of the present invention; can carry out multiple simple variant to technical scheme of the present invention, these simple variant all belong to protection scope of the present invention.
Need to prove in addition, each concrete technical characterictic described in above-mentioned embodiment under reconcilable situation, can make up by any suitable manner, for fear of unnecessary repetition, the present invention is to the explanation no longer separately of various possible array modes.

Claims (19)

1. method that makes up multitask multiple-limb process, this method comprises:
Create a plurality of task nodes;
Calling interface for each described task node configuration effort task code;
Be each described task node creation task output dictionary, wherein said task output dictionary is configured to store the output result of task node and the mapping relations of the task node corresponding with this output result; And
Creation task cooperation control object, wherein said task cooperation control object is configured to store a plurality of described task nodes, and exports the operation that dictionary is controlled a plurality of described task nodes according to described output result and described task.
2. method according to claim 1, wherein, this method also comprises:
The task node title of each described task node is set;
And the described task output dictionary of creating is configured to store the mapping relations of the task node title of the output result of described task and the task node corresponding with this output result.
3. method according to claim 1, wherein, a plurality of described task nodes are stored in the described task cooperation control object with the form of array.
4. method according to claim 1, wherein, this method also comprises revises the described mapping relations that store in the described task output dictionary.
5. method according to claim 1, wherein, this method also comprises to be increased and/or deletes the described task node of storing in the described task cooperation control object.
6. method according to claim 1, wherein, the described mapping relations that store in the described task output dictionary are that key-value is right, wherein, key table shows the output result of task node, the task node that value representation is corresponding with described output result.
7. one kind makes up multitask multiple-limb status of processes machine, and wherein, this state machine comprises:
The Object Creation module is used for creating a plurality of task nodes;
The calling interface configuration module is used to the calling interface of each described task node configuration effort task code;
Task output dictionary creation module, be used to each described task node creation task output dictionary, wherein said task output dictionary is configured to store the output result of task node and the mapping relations of the task node corresponding with this output result; And
Task cooperation control object creation module, be used for creation task cooperation control object, wherein said task cooperation control object is configured to store a plurality of described task nodes, and exports the operation that dictionary is controlled a plurality of described task nodes according to described output result and described task.
8. state machine according to claim 7, wherein, described state machine also comprises:
The task node title arranges module, is used for arranging the task node title of each described task node;
And the described task output dictionary of creating is configured to store the mapping relations of the task node title of the output result of described task and the task node corresponding with this output result.
9. state machine according to claim 7, wherein, a plurality of described task nodes are stored in the described task cooperation control object with the form of array.
10. state machine according to claim 7, wherein, described state machine also comprises:
Task output dictionary editor module is used for revising the described mapping relations that described task output dictionary stores.
11. state machine according to claim 7, wherein, described state machine also comprises:
The object editing module, for increasing and/or delete the described task node that stores in the described task cooperation control object.
12. state machine according to claim 7, wherein, the described mapping relations that store in the described task output dictionary are that key-value is right, and wherein, key table shows the output result of task node, the task node that value representation is corresponding with described output result.
13. an execution is by the method for the constructed multitask multiple-limb process of the described structure multitask of each claim multiple-limb status of processes machine among the claim 7-12, this method comprises:
A task node in the selection task cooperation control object;
Carry out the calling interface of selected task node;
In the task output dictionary of performed task node, search for the task node corresponding with the output result of performed task node; And
The task node that selection searches.
14. method according to claim 13, wherein, the step of a task node in the described selection task cooperation control object comprises:
The task node title that input will be carried out; And
According to the described task node title that will carry out search work task node in task cooperation control object.
15. method according to claim 13, wherein, after the step of the calling interface of the selected task node of described execution, this method also comprises:
The task node that described task cooperation control object record searching arrives.
16. method according to claim 14, wherein,
The step of the task node that described search is corresponding with the output result of performed task node comprises: the search task node title corresponding with the output result of performed task node in the task output dictionary of performed task node;
The step of the task node that described selection searches comprises: the task node name that searches is referred to as the described task node title that will carry out.
17. method according to claim 14, wherein, after described step according to the described task node title that will carry out search work task node in task cooperation control object, this method also comprises:
Judge whether to search the task node, wherein: if judged result is for being then continuation; If judged result then finishes for not.
18. method according to claim 17, wherein, described judge whether to search the step of task node after, this method also comprises:
Whether the calling interface of judging the task node that searches is empty, wherein: if judged result then continues for not; If judged result is for being then end.
19. method according to claim 16, wherein, after described task at performed task node was exported the step of searching for the task node title corresponding with the output result of performed task node in the dictionary, this method also comprised:
Judge whether to find the corresponding task node title of output result of described with performed task node, wherein:
If judged result is for being then continuation; If judged result then finishes for not.
CN201110452187.5A 2011-12-29 2011-12-29 Build the method for multi-task multi-branch process, state machine and the method for execution Active CN103186416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110452187.5A CN103186416B (en) 2011-12-29 2011-12-29 Build the method for multi-task multi-branch process, state machine and the method for execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110452187.5A CN103186416B (en) 2011-12-29 2011-12-29 Build the method for multi-task multi-branch process, state machine and the method for execution

Publications (2)

Publication Number Publication Date
CN103186416A true CN103186416A (en) 2013-07-03
CN103186416B CN103186416B (en) 2016-06-22

Family

ID=48677594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110452187.5A Active CN103186416B (en) 2011-12-29 2011-12-29 Build the method for multi-task multi-branch process, state machine and the method for execution

Country Status (1)

Country Link
CN (1) CN103186416B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222510A (en) * 2008-01-25 2008-07-16 北京工业大学 Method for implementing CANopen main station
CN101739281A (en) * 2008-11-07 2010-06-16 埃森哲环球服务有限公司 Infrastructure for parallel programming of clusters of machines
CN101854300A (en) * 2010-06-02 2010-10-06 北京工业大学 Method for realizing CANopen slave station
WO2011134875A1 (en) * 2010-04-30 2011-11-03 International Business Machines Corporation Data center operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222510A (en) * 2008-01-25 2008-07-16 北京工业大学 Method for implementing CANopen main station
CN101739281A (en) * 2008-11-07 2010-06-16 埃森哲环球服务有限公司 Infrastructure for parallel programming of clusters of machines
WO2011134875A1 (en) * 2010-04-30 2011-11-03 International Business Machines Corporation Data center operation
CN102236581A (en) * 2010-04-30 2011-11-09 国际商业机器公司 Mapping reduction method and system thereof for data center
CN101854300A (en) * 2010-06-02 2010-10-06 北京工业大学 Method for realizing CANopen slave station

Also Published As

Publication number Publication date
CN103186416B (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105630472B (en) Client rapid development framework of manufacturing execution system and software development method thereof
Kilincci A Petri net-based heuristic for simple assembly line balancing problem of type 2
CN102043625A (en) Workflow operation method and system
CN107875632B (en) Method and system for realizing artificial intelligence behavior and artificial intelligence behavior editor
CN102214213A (en) Method and system for classifying data by adopting decision tree
CN106681820A (en) Message combination based extensible big data computing method
CN109189374A (en) Object formation code generating method and system based on object reference chain
CN109189469A (en) Android application micro services method and system based on reflection
CN105677306A (en) Automation script compiling method and device
CN101593294A (en) The method and system of dynamic-configuration workflow
CN111159268B (en) Method and device for running ETL (extract-transform-load) process in Spark cluster
CN110673844A (en) Image processing software development method and system
CN102866890A (en) System and method for generating Android embedded interface and program framework based on object correlation
Qu et al. Design and implementation of system generator based on rule engine
CN103186416A (en) Method and state machine for establishing multi-task multi-branch process and execution method of state machine
CN109542494B (en) Extension control method and terminal for VR software peripheral
Murray Specifying agent behaviors with UML statecharts and StatEdit
CN116301826A (en) Method for calling software command to conduct data batch processing in CAA development
Jeng et al. Petri net dynamics-based scheduling of flexible manufacturing systems with assembly
CN112148271B (en) Method for automatically generating and injecting assembly process codes
CN110471367A (en) A kind of construction method of dynamic 3 D model that capableing of cooperative motion
CN110716522B (en) Manufacturing enterprise workshop scheduling optimization method based on arbitrary time A-heuristic search
CN105511866B (en) Resource constraint dispatching optimization method based on parallel organization cognition technology
CN110457212B (en) Test modeling and test case automatic generation method based on complex system
Vlach et al. MDBAS—a prototype of a multidatabase management system based on mobile agents

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant