CN104077669B - The universal method that a kind of autonomous customization of computer operation stream is performed with driving - Google Patents
The universal method that a kind of autonomous customization of computer operation stream is performed with driving Download PDFInfo
- Publication number
- CN104077669B CN104077669B CN201410351275.XA CN201410351275A CN104077669B CN 104077669 B CN104077669 B CN 104077669B CN 201410351275 A CN201410351275 A CN 201410351275A CN 104077669 B CN104077669 B CN 104077669B
- Authority
- CN
- China
- Prior art keywords
- flow
- prototype
- file
- parameter
- affairs
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000004519 manufacturing process Methods 0.000 claims abstract description 38
- 238000006243 chemical reaction Methods 0.000 claims abstract description 11
- 238000000638 solvent extraction Methods 0.000 claims abstract description 5
- 230000008569 process Effects 0.000 claims description 34
- 230000000007 visual effect Effects 0.000 claims description 2
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 238000001514 detection method Methods 0.000 claims 1
- 239000000284 extract Substances 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 239000010410 layer Substances 0.000 description 48
- 230000000694 effects Effects 0.000 description 20
- 238000003860 storage Methods 0.000 description 5
- 230000001419 dependent effect Effects 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010422 painting Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 239000011229 interlayer Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000007711 solidification Methods 0.000 description 1
- 230000008023 solidification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000013396 workstream Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses the universal method that a kind of autonomous customization of computer operation stream is performed with driving, it is characterised in that including:Logical partitioning, bottom-up three layers of Work flow model for being abstracted into prototype, flow, affairs are pressed to production business;The prototype is used to represent service link separate in production business, and the flow is used to represent combining in a certain order for the multiple service links that can complete a business;The affairs are used for the binding relationship for representing flow and specific file;Based on Work flow model, autonomous customization on computers meets the workflow instance of practical business;By workflow instance conversion generation workflow instance configuration file, used to transmit;The workflow instance configuration file is used to record all information in the workflow instance, for computer identification with using;Computer analyzing loads workflow instance configuration file, and drives the automatic execution of example.The present invention has good versatility.
Description
Technical field
The present invention relates to computer operation stream process technical field, more particularly to a kind of autonomous customization of computer operation stream
The universal method performed with driving.
Background technology
Currently, computer technology has been able to aid in people to complete work in all fields.Wherein there is a kind of workflow system
System, is exactly that the working link of digital production business is carried out to arrange abstract, facilitates user to be managed links, and
Performed using computer automation, come the purpose for reaching clear, orderliness, easily completing production business.Relatively common work
Make streaming system such as office automatic platform, expert data on-line customization service etc..
The realization of Workflow system often relies on three aspects:One is to take out rational workflow mould from production business
Type, two be that the workflow consistent with practical business is configured according to model, and three are to provide and allow computer automatic execution flow
Complete the mechanism of work.
Existing office automatic platform mainly by realization focus on it is preceding two aspect, i.e., business has been carried out it is abstract,
On the basis of this can visually configuration work flow, instruct work to carry out.Problem is, flow configuration is related to specific transactions,
Compare limited, it is also manual control, without automatic execution mechanism that flow, which is performed,.
And realization is then focused on first and third aspect by existing expert data on-line customization service, i.e., business is carried out
It is abstract, but solidification flow automatic performs purpose to reach.Therefore problem is, flow is unable to autonomous configuration, limited-service, lacks
Weary flexibility, and automatic execution mechanism is also to be directed to set flow scheme design, is difficult extension, lacks versatility.
Render in figure, in the digital product production business in field such as image procossing, user wishes the bigger free degree,
Its desired workflow can independently, be visually customized, and allows computer drives to perform automatically.Now, autonomous customization with
Driving execution is formed contradiction, and conventional Workflow system can not still coordinate both well;Meanwhile, render except figure,
Beyond image procossing, the digital product production business of other field also may require that the support of Workflow system, and its design should be use up can
It is avoided that and is limited to by specific transactions.So, computer operation stream process field personnel in the urgent need to one kind take into account customization with perform,
And the method with versatility.
The content of the invention
(1) technical problem to be solved
In view of this, it is a primary object of the present invention to provide it is a kind of rendered towards such as figure, image procossing and its
The digital product in its possible application field is produced business, the side that the autonomous customization of stream is performed with driving is operated using computer
Method.
(2) technical scheme
To reach above-mentioned purpose, the invention provides
The universal method that a kind of autonomous customization of computer operation stream is performed with driving, it is characterised in that including:
Step 101:Logical partitioning, bottom-up three layers of workflow for being abstracted into prototype, flow, affairs are pressed to production business
Model;The prototype is used to represent service link separate in production business, and the flow, which is used for expression, can complete one
Multiple service links of business are combined in a certain order;The affairs are used to represent flow and specific file
Binding relationship;
Step 102:Based on Work flow model, the workflow that autonomous customization on computers meets practical business is real
Example;The workflow instance includes prototype layer example, flow layer example and transaction layer example;The prototype layer example includes prototype
Module, prototype pin, prototype parameter, proto file, prototype type;Flow layer example include flow summary, flow nodes,
Flow line, process parameter;The transaction layer example includes affairs summary, transaction file;
Step 103:By workflow instance conversion generation workflow instance configuration file, used to transmit;The work
Stream exemplary configuration file is used to record all information in the workflow instance, for computer identification with using;
Step 104:Computer analyzing loads workflow instance configuration file, and drives the automatic execution of example.
(3) beneficial effect
It can be seen from the above technical proposal that the invention has the advantages that:
1) Work flow model that the present invention is set up, its prototype, flow, three layers of affairs are production business respectively by logical layer
Secondary bottom-up cluster.Object functionality is clearly demarcated in layer, is together to form an organic whole;Interlayer, which exists, to be relied on, is multiplexed and closes
System, but played a role in different logical layers.The automation thus performed for the flexibility and driving that independently customize is established
Good basis.
2) the above-mentioned model of use that the present invention is provided is operated the method that stream example is independently customized, because model logic is drawn
Distinguish clear, flexibility is good during autonomous customization but step is clear and definite, can be used for freely customizing for more areas production business;And
Visible customization can be supported.The workflow instance of customization can change generation workflow instance configuration file, be easy to example
Rebuild or follow-up computer is performed.
3) driving for the workflow instance that the present invention is provided performs method, is not set for specific area operation flow
Meter, but the characteristics of according to Work flow model, the automatic execution to any autonomous customization flow is farthest realized, so that
While autonomous customization has been taken into account with driving execution, it is ensured that versatility of the invention.
Brief description of the drawings
Fig. 1 is that the universal method that the autonomous customization of the computer operation stream according to the embodiment of the present invention and driving are performed is overall
Block diagram;
Fig. 2 is the hierarchical relationship schematic diagram of the Work flow model according to the embodiment of the present invention;
The step of Fig. 3 is the autonomous customization prototype layer example according to the embodiment of the present invention is schemed;
The step of Fig. 4 is the autonomous customization flow layer example according to the embodiment of the present invention is schemed;
The step of Fig. 5 is the autonomous customization transaction layer example according to the embodiment of the present invention is schemed;
Fig. 6 is scheming the step of realizing that workflow instance visualization is autonomous and customize according to the embodiment of the present invention;
The step of Fig. 7 is and workflow instance conversion is generated into configuration file according to the embodiment of the present invention is schemed;
Fig. 8 is the structure chart of the workflow instance configuration file according to the embodiment of the present invention;
The step of Fig. 9 is the computer analyzing loading workflow instance configuration file according to the embodiment of the present invention is schemed;
The step of Figure 10 is performed automatically for the computer drives workflow instance according to the embodiment of the present invention is schemed;
Figure 11 is the flow being customized to remote sensing images 0, the 1 grade of production business signal according to the embodiment of the present invention
Figure.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, and reference
Accompanying drawing, the present invention is described in more detail.
As shown in figure 1, Fig. 1 is the autonomous customization of the computer operation stream according to the embodiment of the present invention and leading to for driving execution
With method general steps figure, mainly include:
Step 101:Logical partitioning, bottom-up three layers of workflow for being abstracted into prototype, flow, affairs are pressed to production business
Model;
Step 102:Based on Work flow model, the workflow that autonomous customization on computers meets practical business is real
Example;
Step 103:By workflow instance conversion generation workflow instance configuration file, used to transmit;
Step 104:Computer analyzing loads workflow instance configuration file, and drives the automatic execution of example.
In step 101, production business is logically divided, and Work flow model is set up by step 1011-1013:
Step 1011, some stable conventional, separate service links are generally comprised in production business, these links have
Its effect that is unique, not repeated mutually with other links, typically can not again split, be the basis for building production business, these rings
Section is abstracted into different prototypes respectively.Level where service link, the abstract prototype layer for Work flow model;
Step 1012, production business is generally according to undergoing some links from some starting point and be oriented to the order of certain result
Go to perform, which forms operation flow.The service link that can accomplish a task of the operation flow in step 1011 by
Formed according to certain sequential combination, be the vague generalization description to producing business.Level where operation flow, abstract is workflow
The flow layer of model;
Step 1013, production business only can not produce actual product by this vague generalization description of operation flow, it is necessary to will
Flow could carry out actual production with original/file destination binding, and which forms business transaction.Business transaction is production business
The final person of implementing.Level where business transaction, the abstract transaction layer for Work flow model.
In step 1011, further refinement prototype layer model is as follows, including:
Prototype module:It is abstract to the vague generalization of some service link in itself, the title of the service link, main work are described
With, configuration processor etc.;
Prototype pin:It is abstract to the input needed for some service link and output progress, the title of description input or output,
Order, data type etc., a prototype module may have several to input or output prototype pin;
Prototype parameter:To some service link operationally required parameter carry out it is abstract, it is the title of characterising parameter, secondary
Sequence, data type etc., a prototype module can include some prototype parameters;
Proto file:The file destination of the original document or generation obtained is operationally needed to enter to some service link
Row is abstract, describes title, order, the file type etc. of file;
Prototype type:Species and pattern to above-mentioned prototype pin, prototype parameter, the affiliated data of proto file or file are entered
Row is abstract.
In step 1012, further refinement flow layer model is as follows, including:
Flow summary:To operation flow abstract in itself, the main points such as title, time, the effect of operation flow letter have recorded
Breath;
Flow nodes:The service link progress included actual to operation flow is abstract, and record is in some specific Business Stream
Service link in journey, dependent on prototype module, is multiplexed to prototype module;
Flow line:The execution sequence progress comprising service link actual to operation flow is abstract, have recorded specific business
The trend of another link input is output in flow from a certain link, dependent on prototype pin, prototype pin is multiplexed;
Process parameter:The parameter progress comprising service link actual to operation flow is abstract, have recorded specific operation flow
The actual value of parameter needed for middle service link, dependent on prototype parameter, is multiplexed to prototype parameter.
In step 1013, further refinement affairs layer model is as follows, including:
Affairs summary:To business transaction abstract in itself, have recorded the title of business transaction, the time, effect, using business
Flow etc. will put information;
Transaction file:The file progress of binding actual to business transaction is abstract, and record is in some specific business transaction
Service link bound in file Actual path, dependent on proto file, proto file is multiplexed.
The abstract foundation of Work flow model is completed above, and its level schematic diagram is as shown in Figure 2.
Step 102, based on above-mentioned Work flow model, autonomous customization on computers meets the workflow of practical business
Example, wherein autonomous customization is carried out by step 1021-1023:
Step 1021, customization prototype layer example:It is then each industry by actual production delineation of activities into some service links
Business link all adds corresponding prototype module and associated prototype pin, prototype parameter, proto file and prototype type.
Corresponding prototype layer example is customized as shown in figure 3, including step 301-306 according to a service link:
Step 301, a service link is determined;
Step 302, according to this service link, a prototype module is added, title, effect, program of the module etc. is set
Description;
Step 303, judge this service link whether there is input and output, step 3031-3036 is performed if having, step is otherwise performed
Rapid 304;
Step 3031, it is that the prototype module added increases corresponding input/output prototype pin;
Step 3032, setting increases title, order of prototype pin etc.;
Step 3033, check in prototype type whether there is the data type being consistent with prototype pin, directly step is performed if having
Rapid 3035, otherwise first carry out step 3034, perform step 3035 again;
Step 3034, new data type is increased in prototype type;
Step 3035, it is that prototype pin selectes a prototype type;
Step 3036, it is prototype pin that whether the input and output of inspection service link are all abstract, is to perform step
304, otherwise return to step 3031;
Step 304, judge this service link whether there is runtime parameter, step 3041-3046 is performed if having, is otherwise performed
Step 305;
Step 3041, it is that prototype module increases corresponding prototype parameter;
Step 3042, setting increases title, order of prototype parameter etc.;
Step 3043, check in prototype type whether there is the data type being consistent with prototype parameter, step is performed if having
3045, step 3044 is otherwise first carried out, then perform step 3045;
Step 3044, new data type is increased in prototype type;
Step 3045, it is that prototype parameter selectes a prototype type;
Step 3036, it is prototype parameter that whether the runtime parameter needed for inspection service link is all abstract, is to hold
Row step 305, otherwise return to step 3041;
Step 305, judge whether this service link is related to file, if then performing step 3051-3056, otherwise perform step
Rapid 306;
Step 3051, it is the corresponding original/object prototype file of prototype module increase;
Step 3052, setting increases title, order of proto file etc.;
Step 3053, check in prototype type whether there is the file type being consistent with proto file, step is performed if having
3055, step 3054 is otherwise first carried out, then perform step 3055;
Step 3054, new file type is increased in prototype type;
Step 3055, it is that proto file selectes a prototype type;
Step 3056, it is proto file that whether the file that inspection service link is related to is all abstract, is to perform step
306, otherwise return to step 3051;
Step 306, the prototype module of above-mentioned customization and its prototype pin of correlation, prototype parameter, proto file, original are preserved
The contents such as type type are to database.
Below by the 0 of remote sensing images, exemplified by 1 grade of production business, customization prototype layer example is illustrated how.
Due to remote sensing images 0,1 grade of production can be divided into " specified source data ", " formatting ", " registration ", " melt
The link such as conjunction ", " storage target data ", therefore i.e. five prototype modules of the same name of correspondence.By taking " specified source data " module as an example,
It is exactly that industry of making a living is engaged in getting out pending source data that it, which is acted on, and the configuration processor of module is prepare.exe;The module without
Input pin, only one of which output pin, the prototype type of pin is " image ";The module is without runtime parameter;The module is only
There is an original document, i.e. " source data path ".Other modules are according to perfect one by one the step of Fig. 3.Original after the completion of customization
Type layer example information is deposit database.
By above step, the customization of prototype layer example can be completed.
Step 1022, customization flow layer example:Using the prototype layer example customized, using some operation flow as reference,
A flow summary is added, and increases flow nodes, flow line and process parameter for it, as shown in figure 4, including step 401-
405:
Step 401, it is determined that some operation flow of institute's reference;
Step 402, the information such as title, time, the effect of the operation flow are extracted, a new flow summary is formed;
Step 403, judge whether the operation flow stills need increase flow nodes to improve flow, be to perform step
4031-4033, otherwise performs step 404;
Step 4031, increase a new flow nodes, and be its selected used prototype module;
Step 4032, judge used prototype module whether there is prototype parameter, have then execution step 4033, walked without then returning
Rapid 403;
Step 4033, when having prototype parameter, increase corresponding process parameter, and setup parameter actual value, be then back to step
Rapid 403;
Step 404, judge whether the operation flow stills need increase flow line to improve flow, be to perform step
4041-4043, otherwise performs step 405;
Step 4041, a flow nodes are selected and uses the output prototype pin in prototype module for starting point;
Step 4042, then select a flow nodes use the input prototype pin in prototype module for terminal;
Step 4043, above-mentioned beginning and end is recorded, increases a flow line, return to step 404;
Step 405, the contents such as flow nodes, the flow line of the above-mentioned flow summary customized out and correlation are preserved to data
Storehouse.
By above step, that is, complete the customization of flow layer example.
Still explanation customizes the process of flow layer example by taking remote sensing images 0,1 grade of product business as an example.
According to 0, the production needs of 1 grade of product, two flowing paths summary can be formed, 0 is represented respectively, 1 grade of production.Again with
Exemplified by the production procedure of 0 grade of product is improved, flow needs three nodes altogether, respectively selected module " specified source data ", " formatting "
" storage target data ", and connected corresponding pin with line.The production procedure customization of 1 grade of product is similar therewith,
Only increase selection " registration ", the node of " fusion " module.Visual flow signal is as shown in figure 11, band word rectangle generation
Table selects the node of some module, and filled black aciculiform represents pin, and line conspires to create node complete flow.Here, module
It is that prototype layer is customized, can be re-used, affiliated node is then unique.Flow layer example information after the completion of customization is same
It is stored in database
Step 1023, transaction layer example is customized:Using the prototype layer and flow layer example customized, with some business transaction
For reference, an affairs summary is added, and increases transaction file for it, as shown in figure 5, including step 501-506:
Step 501, it is determined that some business transaction of institute's reference;
Step 502, the information such as title, time, the effect of the business transaction one new affairs summary of formation is extracted;
Step 503, by the selected operation flow used of affairs summary, mainly select suitable according to flow summary
Orchestration instance;
Step 504, the flow nodes in orchestration instance are checked, judges whether its prototype module used includes and is not provided with
Proto file, if having perform step 505, otherwise perform step 506;
Step 505, increase transaction file corresponding with proto file, and set file Actual path, return to step 504.
Step 506, the affairs summary and transaction file of above-mentioned customization are preserved to database.
By above step, that is, complete the customization of transaction layer example.
Still explanation customizes the process of transaction layer example by taking remote sensing images 0,1 grade of product business as an example.
Finally customize transaction layer example:Assuming that to carry out 0 grade of production of freshly harvested remote sensing images on the 7th in July, you can
Increase a new affairs summary, and 0 grade of production flow that selection has been customized, be " specified source data ", " storage number of targets
According to " set transaction file Actual path, as the dotted line bubble frame in Figure 11 is illustrated.To carry out 1 grade of production also such as
This customizes new affairs, and database is stored in after the completion of customization.
Thus, the autonomous customization of the workflow instance described in step 102 is fully completed.
In step 102, because the autonomous customization of workflow instance is to complete on computers, by figure circle of computer
Face, i.e., can support visible customization.The step of realizing visible customization such as Fig. 6, including step 601-603:
Step 601, the visible customization of prototype layer example is carried out first, it is specific to be divided into step 6011-6017 again:
Step 6011, a rectangular label is added in graphical interfaces main window, represents a prototype module;
Step 6012, rectangular label is double-clicked, the information such as title, effect, the program of prototype module are edited;
Step 6013, newly-increased some needle-like labels are clicked in the left and right housing of rectangular label, represents each prototype pin;
Step 6014, needle-like label is double-clicked, pop-up dialogue box edits the letter such as title, order, data type of prototype pin
Breath;
Step 6015, newly-increased some point-like labels are clicked in the bottom of rectangular label, prototype parameter or proto file is represented;
Step 6016, the title of double-click point-like label, pop-up dialogue box, editor's prototype parameter or proto file, order, number
According to information such as/file types;
Step 6017, the prototype layer example information of customization more than preserving.
Step 602, the visible customization of flow layer example is secondly carried out, it is specific to be divided into step 6021-6027 again:
Step 6021, in the graphical interfaces main window information such as the title of editing process summary, effect in a tabular form;
Step 6022, main window shows existing prototype module with rectangular label tabular form;
Step 6023, main window is with painting canvas form flow for displaying editing area;
Step 6024, the rectangular label that corresponding prototype module is represented in step 6022 is pulled to flow editing area, is formed
New flow nodes;
Step 6025, the point-like label that prototype parameter is represented in rectangular label is double-clicked, pop-up dialogue box, setting actually takes
Value, forms new process parameter;
Step 6026, the needle-like label that prototype pin is represented in rectangular label, the flow line needed for increase are selected;
Step 6027, the flow layer example information of customization more than preserving.
Step 603, the visible customization of transaction layer example is finally carried out, it is specific to be divided into step 6031-6035 again:
Step 6031, in the graphical interfaces main window information such as the title of editorial services summary, effect in a tabular form;
Step 6032, main window shows the flow summary of existing business flow with tabular form, selected one as needed
Flow summary;
Step 6033, main window is with painting canvas form flow for displaying editing area, including related to selected flow summary
All flow nodes (being shown as rectangular label) of connection and flow line;
Step 6034, the point-like label that proto file is represented in rectangular label is double-clicked, pop-up dialogue box, setting file is actual
Path, forms new transaction file;
Step 6035, the transaction layer example information of customization more than preserving.
Pass through above step, you can realize that the visualization of workflow instance is independently customized.
Step 103, by workflow instance conversion generation workflow instance configuration file, know to transmit for other computers
Not with using.The order that wherein conversion generation is set up or independently customized with model is on the contrary, be top-down progress, such as Fig. 7 institutes
Show, including step 701-712:
Step 701, an affairs summary of transaction layer example is obtained from database;
Step 702, the information such as the title in affairs summary, time, effect are write into configuration file;
Step 703, the information of the operation flow according to employed in affairs summary, corresponding stream is obtained from flow layer example
Journey summary;
Step 704, the information such as the title in flow summary, time, effect are write into configuration file;
Step 705, all flow nodes associated with the flow summary are obtained;
Step 706, the prototype module (including prototype pin) used from prototype layer case-based system each flow nodes;
Step 707, prototype module (including prototype pin) information used in flow nodes is write into configuration file;
Step 708, the acquisition prototype parameter associated with prototype module and proto file;
Step 709, the process parameter/transaction file corresponding with prototype parameter/proto file is found;
Step 710, actually taking the title of prototype parameter/proto file, order information and process parameter/transaction file
Value merges, and writes configuration file;
Step 711, all flow lines associated with flow summary are obtained;
Step 712, flow line is moved towards into information write-in configuration file.
Pass through above step, you can by workflow instance conversion generation workflow instance configuration file.File structure such as Fig. 8
It is shown:It is divided into affairs summary, flow summary, flow nodes (some), the part of flow line (some) four;Under single flow nodes
Contain prototype module used and its prototype pin, prototype parameter (and correspondence process parameter), proto file (and correspondence affairs text
Part) information;Starting point, endpoint information are contained under single flow line.
, must conversion generation workflow to carry out computer production for remote sensing images 0, the example of 1 grade of product business
Exemplary configuration file, still by taking 0 grade of production affairs as an example, the basic format of configuration file is:
-<root>
-<0 grade of product time of affairs summary title=collection on July 7 image=... effect=...>
-<The flow summary title=0 grade production time=... effect=...>
-<Flow nodes>
-<Node 1>
-<Prototype module title=specified source data effect=... program=preprare.exe>
-<1 title of prototype pin=output order=1 type=image>
-<1 title of proto file=source data path order=1 type=image>
-<1 actual value of transaction file=July 7 new gathered data>
-<Node 2>
-<Prototype module title=formatting effect=... program=format.exe>
-<1 title of prototype pin=input order=1 type=image>
-<2 titles of prototype pin=output order=1 type=image>
-<1 title of prototype parameter=format parameter order=1 type=parameter>
-<The actual value of process parameter 1=...>
-<Node 3>
-<With upper similar, summary>
-<Flow line>
-<1 starting point of line=node 1,1 terminal of the prototype pin=prototype pin 1 of node 2>
-<Line 2 and upper similar, summary>
Step 104:Computer analyzing loads workflow instance configuration file, and drives the automatic execution of example.Wherein, solve
Analysis is the key message in identification extraction configuration file, and its order and the order that generation is changed in step 103 are essentially identical;Load
It is that the information after parsing is loaded into calculator memory.Loading process is parsed as shown in figure 9, including step 901-910:
Step 901, affairs summary is searched in configuration file, the keys such as title, time, the effect of affairs summary are parsed
Word and its specifying information;
Step 902, in calculator memory be affairs summary distribution structure body space, and load affairs summary title,
The information such as time, effect;
Step 903, flow summary is searched in configuration file, the keys such as title, time, the effect of flow summary are parsed
Word and its specifying information;
Step 904, in calculator memory be flow summary distribution structure body space, and load flow summary title,
The information such as time, effect;
Step 905, flow nodes are searched one by one in configuration file, flow nodes and its prototype module used is parsed,
Including the prototype pin related to prototype module, prototype parameter, proto file etc.;
Step 906, it is each flow nodes distribution structure body space in calculator memory, loads flow nodes itself letter
Breath;
Step 907, in the structure space of flow nodes, prototype module used and the information of prototype pin are loaded;
Step 908, in the structure space of flow nodes, loading prototype parameter/proto file and correspondingly process parameter/
The information of transaction file;
Step 909, search flow line one by one in configuration file, parse starting point, the endpoint keyword of flow line
And its specifying information;
Step 910, it is each flow line distribution structure body space in calculator memory, loads rising for flow line
Point, endpoint information.
The parsing that can complete workflow instance configuration file by above step is loaded.
In step 104, after parsing loading is finished, computer will drive workflow instance to perform automatically, as shown in Figure 10, bag
Include step 1001-1006:
Step 1001, by all flow nodes labeled as the state that is not carried out, and a waiting list is added;
Step 1002, each flow nodes in poll waiting list, i.e., constantly sequentially obtain one to tail from queue heads
Flow nodes, to perform step 1003-1004 inquiry;
Step 1003, judge whether the flow nodes currently obtained are to be not carried out state, be then to perform step 10031-
10034, otherwise perform step 1004;
Step 10031, forerunner's flow nodes of current process node, forerunner's flow nodes are searched according to flow link information
I.e. the terminal of flow line points to current process node and the node where starting point.
Step 10032, whether judge forerunner's flow nodes is entirely that execution completion status (then write from memory by no forerunner's flow nodes
It is considered), it is to continue executing with step 10033-10034, otherwise return to step 1002;
Step 10033, input, the runtime parameter/file of current process node are got out, wherein, input is flowed by currently
Input prototype pin used in Cheng Jiedian in prototype module indicates that particular content derives from prototype module used in forerunner's flow nodes
On output prototype pin, runtime parameter/file then derive from process parameter/transaction file actual value;
Step 10034, based on input in step 10033, parameter/file, start former used in current process node
The executable program of pattern block, and mark current process node to be state, return to step 1002 in performing;
Step 1004, judge whether current process node performs completion, be then to perform step 10041-10042, otherwise return
Return step 1002;
Step 10041, the output of current process node is set, and this refers to the output content of executable program being tied to and worked as
Output prototype pin used in preceding flow nodes in prototype module;
Step 10042, mark current process node is performs completion status, and is moved out waiting list, continues executing with
Step 1005;
Step 1005, whether be empty, be then to perform step 1006 if judging waiting list, otherwise return to step 1002;
Step 1006, according to the driving implementation status of workflow, affairs summary information is updated.
By above step, workflow instance just can automatically be performed by computer drives, produce corresponding result.
For the configuration file of 0 grade of production affairs of remote sensing images, computer analyzing loads above-mentioned configuration file, drives
Dynamic workflow instance is performed automatically:Node " specified source data ", " formatting " and " storage target data " is all set to not first
Execution state, adds waiting list;Snoop queue finds that " specified source data ", without predecessor node, can be immediately performed, and other two
Node is still needed to wait for;Once " specified source data " node obtains source data, it performs completion, then " formatting " node can also hold
OK, its input is the output of " specified source data " node;After the completion of " formatting " node, " storage target data " node is also successively
Perform;After the completion of three nodes are all performed, waiting list is sky, and whole production affairs, which are just subsequently can by computer, to be finished, and is obtained
Required product.
In summary, the present invention is bottom-up to be abstracted into prototype, flow, affairs by pressing logical partitioning to production business
Three layers of Work flow model;Based on Work flow model, the workflow that autonomous customization on computers meets practical business is real
Example;By workflow instance conversion generation workflow instance configuration file, used to transmit;It is real that computer analyzing loads workflow
Example configuration file, and the automatic execution of example is driven, finally realize a kind of autonomous customization of computer operation stream and held with driving
Capable universal method, has reached that providing one kind for computer operation stream process field takes into account customization with performing and with versatility
The purpose of method.
Particular embodiments described above, has been carried out further in detail to the purpose of the present invention, technical scheme and beneficial effect
Describe in detail it is bright, should be understood that the foregoing is only the present invention specific embodiment, be not intended to limit the invention, it is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements done etc., should be included in the guarantor of the present invention
Within the scope of shield.
Claims (5)
1. the universal method that a kind of autonomous customization of computer operation stream is performed with driving, it is characterised in that including:
Step 101:Logical partitioning, bottom-up three layers of workflow mould for being abstracted into prototype, flow, affairs are pressed to production business
Type;The prototype is used to represent service link separate in production business, and the flow, which is used for expression, can complete one
Multiple service links of business are combined in a certain order;The affairs are used to represent tying up for flow and specific file
Determine relation;
Step 102:Based on Work flow model, autonomous customization on computers meets the workflow that digital product produces business
Example;The workflow instance includes prototype layer example, flow layer example and transaction layer example;The prototype layer example includes original
Pattern block, prototype pin, prototype parameter, proto file, prototype type;Prototype module, prototype in the prototype layer model are drawn
Pin, prototype parameter, proto file, prototype type represent respectively service link in itself, service link input and output, service link institute
Need file and pin, parameter, the data type of file that runtime parameter, service link to be obtained or generated;The stream
Journey layer example includes flow summary, flow nodes, flow line, process parameter;Flow summary, stream in the flow layer model
Cheng Jiedian, flow line, process parameter represent respectively operation flow in itself, industry in the actual service link included of flow, flow
The actual parameter of service link in the execution sequence and flow of link of being engaged in;The transaction layer example includes affairs summary, affairs
File;Affairs summary, transaction file in the affairs layer model be used to representing business transaction in itself, the text of the actual binding of affairs
Part;
Wherein, the customization of the prototype layer example, is, using actual service link as reference, first to describe industry using prototype module
Link of being engaged in itself, then investigates whether service link includes input and output, runtime parameter, required file, so as to accordingly use
Prototype pin, prototype parameter, proto file are described respectively, and the type of prototype pin, prototype parameter and proto file is then used
Prototype type Unify legislation;
The customization of the flow layer example, is, using the prototype layer example customized, using actual operation flow as reference, first to make
Operation flow is described with flow summary in itself, then investigate service link, link parameter that operation flow needs to have, perform it is suitable
Sequence, so as to be accordingly described respectively using flow nodes, process parameter, flow line;
The customization of the transaction layer example, is using the prototype layer, flow layer example customized, using actual business transaction as ginseng
According to, business transaction is first described using affairs summary in itself, then the file of binding required for business transaction is investigated, so that acting
File is engaged in be described;
Step 103:By workflow instance conversion generation workflow instance configuration file, used to transmit;The workflow is real
Example configuration file is used to record all information in the workflow instance, for computer identification with using;
Step 104:Computer analyzing loads workflow instance configuration file, and drives the automatic execution of example;
The automatic execution of workflow instance is driven described in step 104, be computer using the structure information in memory headroom as
Basis, is driven using following method and step:
All flow nodes are marked as being not carried out state, and all add a waiting list;
Flow nodes in waiting list are judged in turn, if current process node is is not carried out state, before it
All flow nodes current process node is started when being fully completed and performs and labeled as state in performing, otherwise make it continue
Wait;If current process node is state in performing, it is moved out waiting when current process node is finished checking
Queue simultaneously is labeled as performing completion status, or still continue waiting for upon execution checking it;
Whether detection waiting list is empty, is that sky then shows that all flow nodes have performed completion, then into next step;
Implementation status to workflow instance carries out record summary.
2. according to the method described in claim 1, it is characterised in that the autonomous customization is completed on computers, by
Computer graphical interface, realizes the visible customization of each layer model example, using visual means by model display as figure, and
Edlin is entered to model information on figure.
3. according to the method described in claim 1, it is characterised in that by workflow instance conversion generation work described in step 103
Make stream exemplary configuration file, be, according to top-down order, affairs summary information first to be write into configuration file, then write stream
Journey summary information, then writes all flow nodes information, is ultimately written all flow link informations.
4. method according to claim 3, it is characterised in that the knot of workflow instance configuration file described in step 103
Structure includes affairs summary, flow summary, multiple flow nodes, multiple flow lines, wherein, each flow nodes include used again
The information of prototype module and its prototype pin, prototype parameter and correspondence process parameter, proto file and correspondence transaction file;Each
Flow line includes the beginning and end information of line.
5. according to the method described in claim 1, it is characterised in that it is real that computer analyzing described in step 104 loads workflow
Example configuration file, is computer recognizes and extracts the key message in the workflow instance configuration file, and will be extracted
Key message is loaded into calculator memory, and affairs summary, flow summary, flow nodes, flow line are constructed in memory headroom
Structure information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410351275.XA CN104077669B (en) | 2014-07-23 | 2014-07-23 | The universal method that a kind of autonomous customization of computer operation stream is performed with driving |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410351275.XA CN104077669B (en) | 2014-07-23 | 2014-07-23 | The universal method that a kind of autonomous customization of computer operation stream is performed with driving |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104077669A CN104077669A (en) | 2014-10-01 |
CN104077669B true CN104077669B (en) | 2017-10-17 |
Family
ID=51598914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410351275.XA Active CN104077669B (en) | 2014-07-23 | 2014-07-23 | The universal method that a kind of autonomous customization of computer operation stream is performed with driving |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104077669B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753314B (en) * | 2017-11-01 | 2021-08-27 | 南京南瑞继保电气有限公司 | Configurable automatic flow execution method and system |
CN109522355B (en) * | 2018-11-12 | 2020-09-29 | 北京懿医云科技有限公司 | Control method, device, medium and electronic equipment for data processing process |
CN112308443A (en) * | 2020-11-09 | 2021-02-02 | 中国科学院空天信息创新研究院 | Batch scheduling method and device for remote sensing information product generation workflow |
CN112882810B (en) * | 2021-02-25 | 2023-02-07 | 国家超级计算天津中心 | High-throughput task processing method based on supercomputer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714230A (en) * | 2009-11-20 | 2010-05-26 | 广东金宇恒科技有限公司 | User-defined workflow management method and system |
CN102831497A (en) * | 2012-07-26 | 2012-12-19 | 深圳市融创天下科技股份有限公司 | Method, system and terminal device for establishing working process |
CN103745310A (en) * | 2013-12-25 | 2014-04-23 | 北京邮电大学 | Workflow data modeling method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8484610B2 (en) * | 2010-03-17 | 2013-07-09 | Microsoft Corporation | Workflow execution model |
-
2014
- 2014-07-23 CN CN201410351275.XA patent/CN104077669B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714230A (en) * | 2009-11-20 | 2010-05-26 | 广东金宇恒科技有限公司 | User-defined workflow management method and system |
CN102831497A (en) * | 2012-07-26 | 2012-12-19 | 深圳市融创天下科技股份有限公司 | Method, system and terminal device for establishing working process |
CN103745310A (en) * | 2013-12-25 | 2014-04-23 | 北京邮电大学 | Workflow data modeling method |
Also Published As
Publication number | Publication date |
---|---|
CN104077669A (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11561684B1 (en) | Method and system for configuring automatic generation of narratives from data | |
CN110764753B (en) | Business logic code generation method, device, equipment and storage medium | |
US20200410044A1 (en) | Visualized edition method, device and apparatus, and storage medium | |
CN104407973B (en) | A kind of implementation method and device of automation cell test | |
CN108345456A (en) | Page code generation method, device, computer equipment and storage medium | |
CN105608258B (en) | A kind of Model-based diagnosis and information flow visual simulation system and method | |
CN102411540B (en) | Automatic management system of workflow-based common software testing process | |
CN104077669B (en) | The universal method that a kind of autonomous customization of computer operation stream is performed with driving | |
CN114936019B (en) | Component and strategy linkage method, device, equipment, system and storage medium | |
US20220139075A1 (en) | Deep learning guide device and method | |
CN105808244A (en) | Dynamic data visualized analysis tool based on workflows | |
CN104866585A (en) | Comprehensive processing system for experimental flight-test data | |
US9135234B1 (en) | Collaborative generation of digital content with interactive reports | |
CN104077232A (en) | Testing device and method based on use case and source code two-way tracing | |
CN105045583A (en) | Visualized process based IETM (Interactive Electronic Technical Manual) fault class data module creation apparatus and creation method therefor | |
CN106415416A (en) | Rendering software | |
KR20220046380A (en) | System for classifying and managing contents asset | |
US20100030712A1 (en) | Guided process/procedure and knowledge and resource scripting system, toolbox and method | |
CN115357300A (en) | Batch packaging and step-by-step loading system and method for associalbundle resources | |
CN115602277A (en) | Medical electronic medical record labeling method, device, system and storage medium | |
CN112052652B (en) | Automatic generation method and device for electronic courseware script | |
CN115346669A (en) | Medical artificial intelligence reasoning method and system based on low-code programming | |
CN115080018A (en) | Automatic parking off-line analysis system based on LabVIEW programming | |
KR20220046379A (en) | Method for providing cooperation solution among multiple subjects specialized in video contents production | |
KR20220046378A (en) | System, server and method for providing cooperation solution among multiple workers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |