CN104077669A - General self-customizing and driven execution method for computer workflow - Google Patents

General self-customizing and driven execution method for computer workflow Download PDF

Info

Publication number
CN104077669A
CN104077669A CN201410351275.XA CN201410351275A CN104077669A CN 104077669 A CN104077669 A CN 104077669A CN 201410351275 A CN201410351275 A CN 201410351275A CN 104077669 A CN104077669 A CN 104077669A
Authority
CN
China
Prior art keywords
prototype
flow process
flow
file
business
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
CN201410351275.XA
Other languages
Chinese (zh)
Other versions
CN104077669B (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.)
Institute of Automation of Chinese Academy of Science
Original Assignee
Institute of Automation of Chinese Academy of Science
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 Institute of Automation of Chinese Academy of Science filed Critical Institute of Automation of Chinese Academy of Science
Priority to CN201410351275.XA priority Critical patent/CN104077669B/en
Publication of CN104077669A publication Critical patent/CN104077669A/en
Application granted granted Critical
Publication of CN104077669B publication Critical patent/CN104077669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a general self-customizing and driven execution method for computer workflow. The method is characterized by comprising steps as follows: production business is divided according to logics and abstracted into three-layer workflow models of prototype, flow and business from bottom to top; the prototype is used for representing mutually independent business links in the production business, the flow is used for representing that multiple business links capable of completing one task are combined according to a certain sequence, and the business is used for representing the binding relation between the flow and a specific file; a workflow case conforming to the actual business is self-customized on a computer on the basis of the workflow models; the workflow case is converted to generate a workflow case configuration file to facilitate transmission and use; the workflow case configuration file is used for recording all information in the workflow case for recognition and use of the computer; and the computer analyzes and loads the workflow case configuration file and drives automatic execution of the case. The method has good generality.

Description

A kind of autonomous customization of computer operation stream and the universal method that drives execution
Technical field
The present invention relates to computer operation stream processing technology field, relate in particular to a kind of autonomous customization and the universal method that drives execution of computer operation stream.
Background technology
Current, computer technology can assist people to finish the work in all fields.Wherein there is a kind of Workflow system, to the working link of digital production business, arrange abstract exactly, facilitate user to manage links, and utilize computer automation and carry out, reach clear, orderliness, complete easily the object of production business.More common Workflow system is as office automatic platform, the service of expert data on-line customization etc.
The realization of Workflow system depends on three aspects: conventionally: the one, from production business, take out rational Work flow model, the 2nd, according to model, configure the workflow consistent with practical business, three are to provide the mechanism that allows computer automatic execution flow process finish the work.
Existing office automatic platform mainly focuses on realization front two aspects, business has been carried out abstract, configuration effort flow process visually on this basis, guiding work is carried out.Problem is, flow process configuration is relevant to specific transactions, more limited, and flow performing is also manual control, do not automatically perform mechanism.
The service of existing expert data on-line customization focuses on realization first and third aspect, business has been carried out abstractly, but solidify flow process, reaches and automatically performs object.Therefore problem is, flow process can not autonomous configuration, limited-service, lacks dirigibility, and the mechanism that automatically performs is also for set flow scheme design, is difficult for expansion, lacks versatility.
In the digital product production business in the fields such as graph rendering, image processing, user wishes larger degree of freedom, can customize independently, visually the workflow that it is wanted, and allows computer drives automatically perform.Now, autonomous customization has just formed contradiction with driving execution, and Workflow system in the past still can not be coordinated both well; Meanwhile, except graph rendering, image are processed, the digital product production business of other field also can need the support of Workflow system, and its design should avoid being subject to specific transactions to limit to as far as possible.So computer operation stream process field personnel are in the urgent need to a kind of customization and method of carrying out and having versatility taken into account.
Summary of the invention
(1) technical matters that will solve
In view of this, fundamental purpose of the present invention be to provide a kind of towards the digital product production business of processing such as graph rendering, image and other may application, utilize autonomous customization that computing machine carries out workflow and drive the method for carrying out.
(2) technical scheme
For achieving the above object, the invention provides
The autonomous customization of computer operation stream and a universal method that drives execution, is characterized in that, comprising:
Step 101: production business is pressed to logical partitioning, bottom-up three layers of Work flow model that are abstracted into prototype, flow process, affairs; Described prototype is for representing the service link that production business is separate, and described flow process is for representing to complete the combining in a certain order of a plurality of service links of a business; Described affairs are for representing the binding relationship of flow process and concrete file;
Step 102: take Work flow model as basis, on computers the workflow instance of the realistic business of autonomous customization; Described workflow instance comprises prototype layer example, flow process layer example and transaction layer example; Described prototype layer example comprises prototype module, prototype pin, former shape parameter, prototype file, prototype type; Described flow process layer example comprises flow process summary, flow nodes, flow process line, flow process parameter; Described transaction layer example comprises affairs summary, transaction file;
Step 103: workflow instance conversion is generated to workflow instance configuration file, so that transmission is used; Described workflow instance configuration file is for recording all information of described workflow instance, for computing machine identification and;
Step 104: computer analyzing loads workflow exemplary configuration file, and drives automatically performing of example.
(3) beneficial effect
From technique scheme, can find out, the present invention has following beneficial effect:
1) Work flow model that the present invention sets up, three layers of its prototypes, flow process, affairs are respectively that production business is by the bottom-up cluster of logical level.In layer, object functionality is clearly demarcated, is together to form an organic whole; Interlayer Existence dependency, multiplexing relation, but play a role at different logical layers.With regard to the dirigibility for autonomous customization and the robotization that driving is carried out, have laid a good foundation like this.
2) the above-mentioned model of employing provided by the invention carries out the method for the autonomous customization of workflow instance, because model logical partitioning is clear, while independently customizing dirigibility good but step is clear and definite, can freely customizing for more areas production business; And can support visual customization.The workflow instance of customization can be changed and generate workflow instance configuration file, and reconstruction or the subsequent calculations machine of being convenient to example are carried out.
3) the driving manner of execution of workflow instance provided by the invention, not for specific area business Process Design, but according to the feature of Work flow model, farthest realize independently customizing arbitrarily automatically performing of flow process, thereby when having taken into account autonomous customization and having driven execution, guaranteed versatility of the present invention.
Accompanying drawing explanation
Fig. 1 is the autonomous customization and the universal method general steps figure that drives execution according to the computer operation stream of the embodiment of the present invention;
Fig. 2 is the hierarchical relationship schematic diagram according to the Work flow model of the embodiment of the present invention;
Fig. 3 is the block diagram according to the autonomous customization prototype layer example of the embodiment of the present invention;
Fig. 4 is the block diagram according to the autonomous customization flow process layer example of the embodiment of the present invention;
Fig. 5 is the block diagram according to the autonomous customization transaction layer example of the embodiment of the present invention;
Fig. 6 is the block diagram that realizes the visual autonomous customization of workflow instance according to the embodiment of the present invention;
Fig. 7 is for changing workflow instance the block diagram of generating configuration file according to the embodiment of the present invention;
Fig. 8 is the structural drawing according to the workflow instance configuration file of the embodiment of the present invention;
Fig. 9 loads the block diagram of workflow exemplary configuration file according to the computer analyzing of the embodiment of the present invention;
The block diagram that Figure 10 automatically performs for the computer drives workflow instance according to the embodiment of the present invention;
Figure 11 for according to the embodiment of the present invention to 0,1 grade of schematic flow sheet that production business customizes of remote sensing images.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
As shown in Figure 1, Fig. 1 is according to the autonomous customization and the universal method general steps figure that drives execution of the computer operation stream of the embodiment of the present invention, mainly comprises:
Step 101: production business is pressed to logical partitioning, bottom-up three layers of Work flow model that are abstracted into prototype, flow process, affairs;
Step 102: take Work flow model as basis, on computers the workflow instance of the realistic business of autonomous customization;
Step 103: workflow instance conversion is generated to workflow instance configuration file, so that transmission is used;
Step 104: computer analyzing loads workflow exemplary configuration file, and drives automatically performing of example.
In step 101, production business is divided from logic, and by step, 1011-1013 sets up Work flow model:
Step 1011, in production business, conventionally comprise some stable conventional, separate service links, these links have its uniqueness, with the not effect of repetition mutually of other link, generally can not cut apart again, be the basis that builds production business, these links are abstracted into respectively different prototypes.The level at service link place, abstract is the prototype layer of Work flow model;
Step 1012, production business generally goes to carry out according to the order that experiences some link certain result that leads from certain starting point, and this has just formed operation flow.Operation flow is combined in a certain order by the service link that can accomplish a task in step 1011, is the vague generalization of production business is described.The level at operation flow place, abstract is the flow process layer of Work flow model;
Step 1013, production business only depends on this vague generalization of operation flow to describe can not produce actual product, flow process and original/file destination binding just can must be carried out to actual production, and this has just formed business transaction.Business transaction is the final person of implementing of production business.The level at business transaction place, abstract is the transaction layer of Work flow model.
In step 1011, further refinement prototype layer model is as follows, comprising:
Prototype module: the vague generalization to certain service link itself is abstract, describes title, Main Function, executive routine of this service link etc.;
Prototype pin: required input and output are carried out abstractly to certain service link, describe the title input or output, order, data type etc., and a prototype module may have several to input or output prototype pin;
Former shape parameter: to certain service link when operation required parameter carry out abstract, the title of characterising parameter, order, data type etc., a prototype module can comprise some former shape parameters;
Prototype file: the source document that need to obtain when moving certain service link or the file destination generating carry out abstract, the title of description document, order, file type etc.;
Prototype type: kind and pattern to data or file under above-mentioned prototype pin, former shape parameter, prototype file carry out abstract.
In step 1012, further refinement flow process layer model is as follows, comprising:
Flow process summary: abstract to operation flow itself, title, time, effect that has recorded operation flow etc. wanted dot information;
Flow nodes: the actual service link comprising of operation flow is carried out abstract, the service link of record in certain concrete operation flow, depends on prototype module, carries out multiplexing to prototype module;
Flow process line: the actual execution sequence that comprises service link of operation flow is carried out abstract, recorded in concrete operation flow the trend that outputs to another link input from a certain link, depend on prototype pin, carry out multiplexing to prototype pin;
Flow process parameter: the actual parameter that comprises service link of operation flow is carried out abstract, recorded the actual value of service link desired parameters in concrete operation flow, depend on former shape parameter, carry out multiplexing to former shape parameter.
In step 1013, further refinement transaction layer model is as follows, comprising:
Affairs summary: abstract to business transaction itself, title, time, effect, employing operation flow that has recorded business transaction etc. wanted dot information;
Transaction file: the file of the actual binding of business transaction is carried out abstract, the Actual path of the service link institute binding file of record in certain concrete business transaction, depends on prototype file, carries out multiplexing to prototype file.
More than the finish the work abstract foundation of flow model, its level schematic diagram as shown in Figure 2.
Step 102, take above-mentioned Work flow model as basis, independently customizes on computers the workflow instance of realistic business, and wherein autonomous customization is undertaken by step 1021-1023:
Step 1021, customization prototype layer example: actual production delineation of activities is become to some service links, then add corresponding prototype module and associated prototype pin, former shape parameter, prototype file and prototype type for each service link.According to a service link, customize corresponding prototype layer example as shown in Figure 3, comprise step 301-306:
Step 301, determines a service link;
Step 302, according to this service link, adds a prototype module, sets the description such as title, effect, program of this module;
Step 303, judges that this service link has or not input and output, if having, performs step 3031-3036, otherwise execution step 304;
Step 3031, for the prototype module of having added increases corresponding I/O prototype pin;
Step 3032, the title of prototype pin that setting increases, order etc.;
Step 3033, checks in prototype type and has or not the data type conforming to prototype pin, if having, directly performs step 3035, otherwise first performs step 3034, performs step 3035 again;
Step 3034 increases new data type in prototype type;
Step 3035 is the selected prototype type of prototype pin;
Step 3036, check the input and output of service link whether all abstract be prototype pin, be to perform step 304, otherwise return to step 3031;
Step 304, judges that this service link has or not runtime parameter, if having, performs step 3041-3046, otherwise execution step 305;
Step 3041, for prototype module increases corresponding former shape parameter;
Step 3042, the title of former shape parameter that setting increases, order etc.;
Step 3043, checks in prototype type and has or not the data type conforming to former shape parameter, performs step 3045, otherwise first performs step 3044, then perform step 3045 if having;
Step 3044 increases new data type in prototype type;
Step 3045 is the selected prototype type of former shape parameter;
Step 3036, check the required runtime parameter of service link whether all abstract be former shape parameter, be to perform step 305, otherwise return to step 3041;
Step 305, judges whether this service link relates to file, if perform step 3051-3056, otherwise execution step 306;
Step 3051 is prototype module increase original/object prototype file accordingly;
Step 3052, the title of prototype file that setting increases, order etc.;
Step 3053, checks in prototype type and has or not the file type conforming to prototype file, performs step 3055, otherwise first performs step 3054, then perform step 3055 if having;
Step 3054 increases new file type in prototype type;
Step 3055 is the selected prototype type of prototype file;
Step 3056, whether the file that inspection service link relates to is all abstract is prototype file, is to perform step 306, otherwise returns to step 3051;
Step 306, preserves the contents such as the prototype module of above-mentioned customization and relevant prototype pin thereof, former shape parameter, prototype file, prototype type to database.
0, the 1 grade of production business of remote sensing images of take is below example, illustrates how to customize prototype layer example.
Because 0,1 grade of production of remote sensing images can be divided into the links such as " assigned source data ", " format ", " registration ", " fusion ", " storage target data ", therefore corresponding five prototype modules of the same name." assigned source data " module of take is example, and its effect is exactly that the industry of making a living is engaged in being ready to pending source data, and the executive routine of module is prepare.exe; This module, without input pin, only has an output pin, and the prototype type of pin is " image "; This module is without runtime parameter; This module only has a source document, i.e. " source data path ".Other module is all perfect one by one according to the step of Fig. 3.Prototype layer example information after having customized deposit database in.
By above step, can complete the customization of prototype layer example.
Step 1022, customization flow process layer example: utilize the prototype layer example having customized, take certain operation flow as reference, add a flow process summary, and for it increases flow nodes, flow process line and flow process parameter, as shown in Figure 4, comprise step 401-405:
Step 401, determines certain operation flow of institute's reference;
Step 402, extracts the information such as title, time, effect of this operation flow, forms a new flow process summary;
Step 403, judges whether this operation flow still needs to increase flow nodes and improve flow process, is to perform step 4031-4033, otherwise execution step 404;
Step 4031, increases a new flow nodes, and is its selected prototype module adopting;
Step 4032, the prototype module that judgement adopts has or not former shape parameter, has and performs step 4033, without returning to step 403;
Step 4033, while having former shape parameter, increases corresponding flow process parameter, and setup parameter actual value, then returns to step 403;
Step 404, judges whether this operation flow still needs to increase flow process line and improve flow process, is to perform step 4041-4043, otherwise execution step 405;
Step 4041, it is starting point that a selected flow nodes adopts the output prototype pin in prototype module;
Step 4042, a more selected flow nodes to adopt the input prototype pin in prototype module be terminal;
Step 4043, records above-mentioned starting point and terminal, increases a flow process line, returns to step 404;
Step 405, preserves the contents such as the above-mentioned flow process summary customizing out and relevant flow nodes, flow process line to database.
By above step, complete the customization of flow process layer example.
Still take the process of 0,1 grade of product business of remote sensing images as example explanation customization flow process layer example.
According to the need of production of 0,1 grade of product, can form two flowing paths summary, represent respectively 0,1 grade of production.The production procedure of 0 grade of product of take is again improved as example, and flow process needs three nodes altogether, selected module " assigned source data ", " format " and " storage target data " respectively, and with line, corresponding pin is coupled together.The production procedure customization of 1 grade of product is similar with it, has just increased the node of selecting " registration ", " fusion " module.Visual flow process signal as shown in figure 11, is selected the node of certain module with the representative of word rectangle, filled black aciculiform represents pin, and line conspires to create complete flow process by node.Here, module is that prototype layer customizes, can be re-used, and affiliated node is unique.Flow process layer example information after having customized deposits database equally in
Step 1023, customization transaction layer example: utilize the prototype layer and the flow process layer example that have customized, take certain business transaction as reference, add an affairs summary, and for it increases transaction file, as shown in Figure 5, comprise step 501-506:
Step 501, determines certain business transaction of institute's reference;
Step 502, the information such as title, time, effect of extracting this business transaction form a new affairs summary;
Step 503, for the selected operation flow adopting of affairs summary, is mainly to select suitable orchestration instance according to flow process summary;
Step 504, checks the flow nodes in orchestration instance, judges whether its prototype module used comprises the prototype file not arranging, if having, performs step 505, otherwise execution step 506;
Step 505, increases and the corresponding transaction file of prototype file, and enactment document Actual path, returns to step 504.
Step 506, preserves the affairs summary of above-mentioned customization and transaction file to database.
By above step, complete the customization of transaction layer example.
Still take the process of 0,1 grade of product business of remote sensing images as example explanation customization transaction layer example.
Finally customize transaction layer example: 0 grade of production of supposing to carry out the new remote sensing images that gather on July 7, can increase a new affairs summary, and select 0 grade of production flow process having customized, for " assigned source data ", " storage target data " arrange the Actual path of transaction file, as the dotted line bubble frame in Figure 11 is illustrated.If carry out 1 grade of production, also so customize new affairs, customized the rear database that all deposits in.
Thus, the autonomous customization of the workflow instance described in step 102 all completes.
In step 102, because the autonomous customization of workflow instance is to complete on computers, the graphical interfaces of computer, can support visual customization.Realize the step of visual customization as Fig. 6, comprise step 601-603:
Step 601, first carries out the visual customization of prototype layer example, is specifically divided into again step 6011-6017:
Step 6011, adds a rectangular label at graphical interfaces main window, represents a prototype module;
Step 6012, double-clicks rectangular label, the information such as the title of editor's prototype module, effect, program;
Step 6013, clicks newly-increased some needle-like labels at the left and right of rectangular label housing, represents each prototype pin;
Step 6014, double-clicks needle-like label, ejects dialog box, the information such as the title of editor's prototype pin, order, data type;
Step 6015, clicks newly-increased some point-like labels in the bottom of rectangular label, represent former shape parameter or prototype file;
Step 6016, double-clicks point-like label, ejects dialog box, edits the information such as title, order, data/file type of former shape parameter or prototype file;
Step 6017, preserves the above prototype layer example information customizing.
Step 602, next carries out the visual customization of flow process layer example, is specifically divided into again step 6021-6027:
Step 6021, at graphical interfaces main window with information such as the title of form editing process summary, effects;
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, pull in step 6022, represent corresponding prototype module rectangular label to flow process editing area, form new flow nodes;
Step 6025, double-clicks the point-like label that represents prototype parameter in rectangular label, ejects dialog box, sets actual value, forms new flow process parameter;
Step 6026, selectes the needle-like label that represents prototype pin in rectangular label, increases required flow process line;
Step 6027, preserves the above flow process layer example information customizing.
Step 603, finally carries out the visual customization of transaction layer example, is specifically divided into again step 6031-6035:
Step 6031, at graphical interfaces main window with information such as the title of form editorial services summary, effects;
Step 6032, main window shows the flow process summary of existing business flow process with tabular form, as required a selected flow process summary;
Step 6033, main window is with painting canvas form flow for displaying editing area, comprising all flow nodes (being shown as rectangular label) that are associated with selected flow process summary and flow process line;
Step 6034, double-clicks the point-like label that represents prototype file in rectangular label, ejects dialog box, and enactment document Actual path, forms new transaction file;
Step 6035, preserves the above transaction layer example information customizing.
By above step, can realize the visual autonomous customization of workflow instance.
Step 103, generates workflow instance configuration file by workflow instance conversion, so as transmission for other computing machine identification and.Wherein conversion generation and model foundation or the independently reversed in order of customization, top-down carrying out, as shown in Figure 7, comprises step 701-712:
Step 701, obtains an affairs summary of transaction layer example from database;
Step 702, writes configuration file by information such as the title in affairs summary, time, effects;
Step 703 according to the information of the operation flow that adopts in affairs summary, is obtained corresponding flow process summary from flow process layer example;
Step 704, writes configuration file by information such as the title in flow process summary, time, effects;
Step 705, obtains all flow nodes that are associated with this flow process summary;
Step 706, obtains from prototype layer example the prototype module (comprising prototype pin) that each flow nodes adopts;
Step 707, writes configuration file by flow nodes prototype module used (comprising prototype pin) information;
Step 708, obtains the former shape parameter and the prototype file that are associated with prototype module;
Step 709, finds the flow process parameter/transaction file corresponding with former shape parameter/prototype file;
Step 710, merges the actual value of the title of former shape parameter/prototype file, order information and flow process parameter/transaction file, writes configuration file;
Step 711, obtains all flow process lines that are associated with flow process summary;
Step 712, writes configuration file by the information of moving towards of flow process line.
By above step, workflow instance conversion can be generated to workflow instance configuration file.File structure is as shown in Figure 8: be divided into affairs summary, flow process summary, flow nodes (some), flow process line (some) four parts; The information that has comprised prototype module used and prototype pin thereof, former shape parameter (and corresponding flow process parameter), prototype file (and corresponding transaction file) under single flow nodes; Under single flow process line, starting point, endpoint information have been comprised.
For the example of 0,1 grade of product business of remote sensing images, for carrying out computing machine production, must conversion generate workflow instance configuration file, the 0 grade of production affairs of still take are example, the basic format of configuration file is:
-<root>
Gather on-< affairs summary title=July 70 grade of product time of image=... effect=... >
-< flow process summary title=0 grade production time=... effect=... >
-< flow nodes >
-< node 1>
-effect of < prototype module title=assigned source data=... program=preprare.exe>
-< prototype pin 1 title=output order=1 type=image >
-< prototype file 1 title=source data path order=1 type=image >
-< transaction file new image data > on 1 actual value=July 7
-< node 2>
-< prototype module title=format effect=... program=format.exe>
-< prototype pin 1 title=input order=1 type=image >
-< prototype pin 2 title=output order=1 type=image >
The former shape parameter 1 title=format parameter of-< order=1 type=parameter >
-< flow process parameter 1 actual value=... >
-< node 3>
-< and upper similar, slightly >
......
-< flow process line >
-< line 1 starting point=node 1 prototype pin 1 terminal=node 2 prototype pin 1>
-< line 2, with upper similar, omits >
......。
Step 104: computer analyzing loads workflow exemplary configuration file, and drives automatically performing of example.Wherein, parsing is that the key message in configuration file is extracted in identification, and the order that in its order and step 103, conversion generates is basic identical; Loading is that the information after resolving is written into calculator memory.Resolve loading process as shown in Figure 9, comprise step 901-910:
Step 901 is searched affairs summary in configuration file, parses key word and the specifying information thereof such as title, time, effect of affairs summary;
Step 902 is affairs summary distribution structure body space in calculator memory, and loads the information such as title, time, effect of affairs summary;
Step 903 is searched flow process summary in configuration file, parses key word and the specifying information thereof such as title, time, effect of flow process summary;
Step 904 is flow process summary distribution structure body space in calculator memory, and loads the information such as title, time, effect of flow process summary;
Step 905 is searched one by one flow nodes in configuration file, parses flow nodes and prototype module used thereof, comprises the prototype pin relevant to prototype module, former shape parameter, prototype file etc.;
Step 906 is each flow nodes distribution structure body space in calculator memory, loads flow nodes self information;
Step 907, in the structure space of flow nodes, loads the information of prototype module used and prototype pin;
Step 908, in the structure space of flow nodes, loads the information of former shape parameter/prototype file and corresponding flow process parameter/transaction file;
Step 909 is searched one by one flow process line in configuration file, parses starting point, endpoint keyword and the specifying information thereof of flow process line;
Step 910 is each flow process line distribution structure body space in calculator memory, loads starting point, the endpoint information of flow process line.
By can the finish the work parsing of stream exemplary configuration file of above step, load.
In step 104, after resolving loading, computing machine automatically performs driving workflow instance, as shown in figure 10, comprises step 1001-1006:
Step 1001, is labeled as not executing state by all flow nodes, and adds a waiting list;
Step 1002, each flow nodes in poll waiting list, constantly obtains a flow nodes from queue heads to tail according to the order of sequence, performs step the inquiry of 1003-1004;
Step 1003, judges that whether the current flow nodes obtaining is executing state not, is to perform step 10031-10034, otherwise execution step 1004;
Step 10031, searches forerunner's flow nodes of current flow nodes according to flow process link information, forerunner's flow nodes is that the terminal of flow process line points to current flow nodes and the node at starting point place.
Step 10032, judges that whether forerunner's flow nodes is all complete state (do not have forerunner's flow nodes to be defaulted as be), is to continue to perform step 10033-10034, otherwise returns to step 1002;
Step 10033, be ready to input, the runtime parameter/file of current flow nodes, wherein, input is indicated by the input prototype pin in current flow nodes prototype module used, particular content derives from the output prototype pin in forerunner's flow nodes prototype module used, and runtime parameter/file derives from the actual value of flow process parameter/transaction file;
Step 10034, input, the parameter/file of take in step 10033 are basis, start the executable program of current flow nodes prototype module used, and the current flow nodes of mark are for state in carrying out, and returns to step 1002;
Step 1004, judges that whether current flow nodes is complete, is to perform step 10041-10042, otherwise returns to step 1002;
Step 10041, arranges the output of current flow nodes, and this refers to the output content of executable program is tied to the output prototype pin in current flow nodes prototype module used;
Step 10042, the current flow nodes of mark is complete state, and is shifted out waiting list, continues execution step 1005;
Step 1005, judges that whether waiting list is empty, is to perform step 1006, otherwise returns to step 1002;
Step 1006, according to the driving implementation status of workflow, upgrades affairs summary information.
By above step, workflow instance just can be automatically performed by computer drives, produces corresponding result.
Configuration file for 0 grade of production affairs of remote sensing images, computer analyzing loads above-mentioned configuration file, driving workflow instance automatically performs: first node " assigned source data ", " format " and " storage target data " are all set to not executing state, add waiting list; Snoop queue discovery " assigned source data ", without forerunner's node, can be carried out immediately, and other two node still needs to wait for; Once " assigned source data " node has obtained source data, it is complete, and " format " node also can be carried out, and it is input as the output of " assigned source data " node; After " format " node completes, " storage target data " node is also carried out successively; After three nodes are all complete, waiting list be empty, and whole production affairs are just disposed by computing machine, acquisition required product.
In sum, the present invention is by pressing logical partitioning, bottom-up three layers of Work flow model that are abstracted into prototype, flow process, affairs to production business; Take Work flow model as basis, on computers the workflow instance of the realistic business of autonomous customization; Workflow instance conversion is generated to workflow instance configuration file, so that transmission is used; Computer analyzing loads workflow exemplary configuration file, and drive automatically performing of example, finally realized a kind of autonomous customization and the universal method that drives execution of computer operation stream, reached for computer operation flows process field a kind of customization and object of carrying out and having universal method taken into account is provided.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the autonomous customization of computer operation stream and a universal method that drives execution, is characterized in that, comprising:
Step 101: production business is pressed to logical partitioning, bottom-up three layers of Work flow model that are abstracted into prototype, flow process, affairs; Described prototype is for representing the service link that production business is separate, and described flow process is for representing to complete the combining in a certain order of a plurality of service links of a business; Described affairs are for representing the binding relationship of flow process and concrete file;
Step 102: take Work flow model as basis, on computers the workflow instance of the realistic business of autonomous customization; Described workflow instance comprises prototype layer example, flow process layer example and transaction layer example; Described prototype layer example comprises prototype module, prototype pin, former shape parameter, prototype file, prototype type; Described flow process layer example comprises flow process summary, flow nodes, flow process line, flow process parameter; Described transaction layer example comprises affairs summary, transaction file;
Step 103: workflow instance conversion is generated to workflow instance configuration file, so that transmission is used; Described workflow instance configuration file is for recording all information of described workflow instance, for computing machine identification and;
Step 104: computer analyzing loads workflow exemplary configuration file, and drives automatically performing of example.
2. method according to claim 1, it is characterized in that, the prototype module in described prototype layer model, prototype pin, former shape parameter, prototype file, prototype type represent respectively the data type of file that service link itself, service link input and output, the required runtime parameter of service link, service link will obtain or generate and pin, parameter, file; Flow process summary in described flow process layer model, flow nodes, flow process line, flow process parameter represent respectively the actual parameter of service link in the execution sequence of service link in operation flow itself, the actual service link comprising of flow process, flow process and flow process; Affairs summary in described transaction layer model, transaction file are for representing the file of business transaction itself, the actual binding of affairs.
3. method according to claim 1, it is characterized in that, the customization of the layer of prototype described in step 102 example, to take actual service link as reference, first by prototype module, service link itself is described, investigate service link again and whether comprise input and output, runtime parameter, required file, thereby use accordingly prototype pin, former shape parameter, prototype file to be described respectively, the type of prototype pin, former shape parameter and prototype file is described with prototype type is unified.
4. method according to claim 1, it is characterized in that, the customization of the layer of flow process described in step 102 example, to utilize the prototype layer example having customized, take actual operation flow as reference, first by flow process summary, describe operation flow itself, then investigate service link, link parameter, execution sequence that operation flow need to possess, thereby use accordingly flow nodes, flow process parameter, flow process line to be described respectively.
5. method according to claim 1, it is characterized in that, the customization of the example of transaction layer described in step 102, to utilize prototype layer, the flow process layer example having customized, take actual business transaction as reference, first by affairs summary, describe business transaction itself, then investigate the file of the required binding of business transaction, thereby be described with transaction file.
6. according to the method described in claim 3-5 any one, it is characterized in that, described autonomous customization completes on computers, computer graphical interfaces, realize the visual customization of each layer model example, the visual means of take is figure by model display, and on figure, model information is edited.
7. method according to claim 1, it is characterized in that, described in step 103, workflow instance conversion is generated to workflow instance configuration file, according to top-down order, first in configuration file, write affairs summary information, write again flow process summary information, then write all flow nodes information, finally write all flow process link information.
8. method according to claim 7, it is characterized in that, the structure of the configuration file of workflow instance described in step 103 comprises affairs summary, flow process summary, a plurality of flow nodes, a plurality of flow process line, wherein, each flow nodes comprises again the information of prototype module used and prototype pin, former shape parameter and corresponding flow process parameter, prototype file and corresponding transaction file; Each flow process line comprises starting point and the endpoint information of line.
9. method according to claim 1, it is characterized in that, computer analyzing described in step 104 loads workflow exemplary configuration file, that the key message in described workflow instance configuration file is identified and extracted to computing machine, and extracted key message is written into calculator memory, in memory headroom, construct the structure information of affairs summary, flow process summary, flow nodes, flow process line.
10. method according to claim 1, is characterized in that, drives automatically performing of workflow instance described in step 104, is that the structure information that computing machine be take in memory headroom is basis, adopts following method step to drive:
All flow nodes are marked as not executing state, and all add a waiting list;
Flow nodes in waiting list is judged in turn, if current flow nodes is executing state not, when all flow nodes before it all complete, current flow nodes is started and carries out and be labeled as state in execution, otherwise make it continue wait; If current flow nodes is state in carrying out, is shifted out waiting list and be labeled as complete state being checked through when current flow nodes is finished, or still when carrying out, continue to wait for being checked through it;
Whether be empty, for sky shows that all flow nodes are complete, enter next step if detecting waiting list;
The implementation status of workflow instance is recorded to summary.
CN201410351275.XA 2014-07-23 2014-07-23 The universal method that a kind of autonomous customization of computer operation stream is performed with driving Active CN104077669B (en)

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 true CN104077669A (en) 2014-10-01
CN104077669B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522355A (en) * 2018-11-12 2019-03-26 北京懿医云科技有限公司 Control method, device, medium and the electronic equipment of data handling procedure
CN109753314A (en) * 2017-11-01 2019-05-14 南京南瑞继保电气有限公司 A kind of configurable process automatic execution method and system
CN112308443A (en) * 2020-11-09 2021-02-02 中国科学院空天信息创新研究院 Batch scheduling method and device for remote sensing information product generation workflow
CN112882810A (en) * 2021-02-25 2021-06-01 国家超级计算天津中心 High-throughput task processing method based on supercomputer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
US20110231812A1 (en) * 2010-03-17 2011-09-22 Microsoft Corporation Workflow execution model
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
US20110231812A1 (en) * 2010-03-17 2011-09-22 Microsoft Corporation Workflow execution model
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753314A (en) * 2017-11-01 2019-05-14 南京南瑞继保电气有限公司 A kind of configurable process automatic execution method and system
CN109522355A (en) * 2018-11-12 2019-03-26 北京懿医云科技有限公司 Control method, device, medium and the electronic equipment of data handling procedure
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
CN112882810A (en) * 2021-02-25 2021-06-01 国家超级计算天津中心 High-throughput task processing method based on supercomputer

Also Published As

Publication number Publication date
CN104077669B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN112181416B (en) Method and device for directly generating UI code from visual manuscript
Newman et al. DENIM: An informal web site design tool inspired by observations of practice
CN102609402B (en) Device and method for generation and management of ontology model based on real-time strategy
CN102426519B (en) Linked data-based multiplexing method of business process execution language (BPEL) templates and services, and system thereof
Jugel et al. Interactive functions of a cockpit for enterprise architecture planning
CN101777004A (en) Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment
Taleb et al. Pattern-oriented approach for enterprise architecture: TOGAF framework
CN106484394A (en) A kind of fast software development system with double engines
Kolb et al. Using concurrent task trees for stakeholder-centered modeling and visualization of business processes
CN112199086A (en) Automatic programming control system, method, device, electronic device and storage medium
CN104077669A (en) General self-customizing and driven execution method for computer workflow
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
CN111736821A (en) Visual modeling analysis method, system, computer device and readable storage medium
US20090326921A1 (en) Grammar checker for visualization
CN115495069B (en) Model-driven coal industry software process implementation method, device and equipment
CN105809375A (en) Extension form design integrating method
CN107450897A (en) The cross-platform implantation method and device of graphics engine
US10691429B2 (en) Converting whiteboard images to personalized wireframes
de_Almeida Monte-Mor et al. Applying MDA approach to create graphical user interfaces
Gruhier et al. A spatiotemporal information management framework for product design and assembly process planning reconciliation
CN104199882B (en) A kind of acquisition methods of structural knowledge and its body based on the customization of intelligent masterplate
CN106096159B (en) A kind of implementation method of distributed system behavior simulation analysis system under cloud platform
CN113127195B (en) Artificial intelligence analysis vertical solution integrator
Zaid et al. Feature Assembly Framework: towards scalable and reusable feature models
CN111709601B (en) Data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant