CN102542367A - Cloud computing network workflow processing method, device and system based on domain model - Google Patents
Cloud computing network workflow processing method, device and system based on domain model Download PDFInfo
- Publication number
- CN102542367A CN102542367A CN2010105822663A CN201010582266A CN102542367A CN 102542367 A CN102542367 A CN 102542367A CN 2010105822663 A CN2010105822663 A CN 2010105822663A CN 201010582266 A CN201010582266 A CN 201010582266A CN 102542367 A CN102542367 A CN 102542367A
- Authority
- CN
- China
- Prior art keywords
- flow
- engine
- flow instance
- cloud computing
- instance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention is suitable for the technical field of computers, provides a cloud computing network workflow processing method, device and system based on a domain model. The method comprises monitoring a process event triggered by cloud computing users and obtaining event information of the process event; determining domain object information contained in the process event according to the event information; according to the domain object information and the event information, obtaining a pre-stored process template relevant to the process event to generate a process instance; packaging the process instance and the relevant information of the process instance into a process instance assembly, and sending the process instance assembly to workflow engine nodes in a cloud computing network, wherein a workflow engine is a domain master control engine and used for receiving executing results returned from the workflow engine nodes. By means of the cloud computing network workflow processing method, device and system based on the domain model, expandability of a workflow engine system is improved, maintenance of the workflow engine is easy, and cost of enterprises is effectively reduced.
Description
Technical field
The invention belongs to field of computer technology, relate in particular to a kind of system for cloud computing workflow processing methods, devices and systems based on domain model.
Background technology
Cloud computing (Cloud Computing) is the development of Distributed Calculation, parallel computation and grid computing; Its ultimate principle is to carry out for many computing machines through network allocation calculation task; Every computing machine becomes a node of system for cloud computing, and the cloud computing service is passed to thousands of user to program through browser.
At present, the service that cluster server provides in the system for cloud computing is the association service to specific area, specific service object, when the customer service flow process relates to the operation of a plurality of entity objects; If business conduct often changes; Then have now and need make amendment on a large scale, be difficult to realize the service of Distributed Calculation and system for cloud computing concentrating type, cause the workflow engine system poor expandability based on the workflow engine system of data model; Difficult in maintenance, enterprise cost increases.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of system for cloud computing workflow processing methods, devices and systems based on domain model; Be intended to solve because the customer service flow process relates to the operation of a plurality of entity objects; When business conduct often changes; Have now and need make amendment on a large scale, be difficult to realize Distributed Calculation and the service of system for cloud computing concentrating type, cause the workflow engine system poor expandability based on the workflow engine system of data model; Problem difficult in maintenance, that enterprise cost increases.
The embodiment of the invention is achieved in that a kind of system for cloud computing workflow processing method based on domain model, and said method comprises the steps:
Monitor the flow events that the cloud computing user triggers, obtain the event information of said flow events;
According to said event information, confirm the domain object information that comprises in the said flow events;
According to said domain object information and said event information, obtain the related flow template of said flow events of storage in advance, the product process instance;
With said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
Another purpose of the embodiment of the invention is to provide a kind of system for cloud computing Workflow processing apparatus based on domain model, and said device comprises:
The event information acquiring unit is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events;
Domain object information is confirmed the unit, is used for the event information that obtains according to said event information acquiring unit, confirms the domain object information that comprises in the said flow events;
The flow instance generation unit is used for confirming the event information that domain object information that the unit is confirmed and said event information acquiring unit obtain according to said domain object information, obtains the related flow template of flow events, the product process instance; And
The execution result receiving element; The flow instance that is used for said flow instance generation unit is generated with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
Another purpose of the embodiment of the invention is to provide a kind of cloud computing client, and said client comprises the system for cloud computing Workflow processing apparatus based on domain model, and said device comprises:
The event information acquiring unit is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events;
Domain object information is confirmed the unit, is used for the event information that obtains according to said event information acquiring unit, confirms the domain object information that comprises in the said flow events;
The flow instance generation unit is used for confirming the event information that domain object information that the unit is confirmed and said event information acquiring unit obtain according to said domain object information, obtains the related flow template of flow events, the product process instance; And
The execution result receiving element; The flow instance that is used for said flow instance generation unit is generated with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
Another purpose of the embodiment of the invention is to provide a kind of workflow processing method, and said method comprises the steps:
Receive the flow instance processing request that the cloud computing client is sent, comprise the flow instance assembly in the described request;
The domain object information that comprises according to the flow instance that encapsulates in the said flow instance assembly; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing; Said execution engine is carried out said flow instance sheet, and returns execution result;
Receive the execution result that said execution engine returns, said execution result is synthesized said flow instance execution result, send to the cloud computing client.
Another purpose of the embodiment of the invention is to provide a kind of Workflow processing apparatus, and said device comprises:
Flow instance assembly receiving element is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request;
The flow instance Dispatching Unit; Be used for the domain object information that comprises according to the flow instance that the flow instance assembly that said flow instance assembly receiving element receives encapsulates; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet, and returns execution result; And
Flow instance execution result transmitting element is used to receive and carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
Another purpose of the embodiment of the invention is to provide a kind of main control engine, and said main control engine comprises Workflow processing apparatus, and said device comprises:
Flow instance assembly receiving element is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request;
The flow instance Dispatching Unit; Be used for the domain object information that comprises according to the flow instance that the flow instance assembly that said flow instance assembly receiving element receives encapsulates; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet, and returns execution result; And
Flow instance execution result transmitting element is used to receive and carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
Another purpose of the embodiment of the invention is to provide a kind of workflow processing method, and said method comprises the steps:
The cloud computing client is monitored the flow events that the cloud computing user triggers; Obtain the event information of said flow events; Confirm the domain object information that comprises in the said flow events; According to said domain object information and said event information, obtain the related flow template of said flow events, the product process instance;
The cloud computing client with said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns;
The main control engine receives the flow instance processing request that the cloud computing client is sent; Comprise the flow instance assembly in the described request; Domain object information according to the flow instance that encapsulates in the said flow instance assembly comprises is divided into the flow instance sheet that comprises the different field object with said flow instance, and said flow instance sheet is sent to the execution engine of carrying out in the Engine Listing; Said execution engine is carried out said flow instance sheet, and returns execution result;
The main control engine receives carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
Another purpose of the embodiment of the invention is to provide a kind of workflow engine system, and said system comprises cloud computing client and main control engine, wherein:
The cloud computing client is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events; Confirm the domain object information that comprises in the said flow events; According to said domain object information and said event information, obtain the related flow template of said flow events, the product process instance; With said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing, and said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns; And
The main control engine is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request; The domain object information that comprises according to the flow instance that encapsulates in the said flow instance assembly; Said flow instance is divided into the flow instance sheet that comprises the different field object, and said flow instance sheet is sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet; And return execution result; Receive the execution result that said execution engine returns, said execution result is synthesized said flow instance execution result, send to the cloud computing client.
The embodiment of the invention is according to the event information of flow events; Confirm the domain object information that comprises in the flow events,, obtain the related flow template of flow events of storage in advance further according to domain object information and event information; The product process instance; Flow instance is sent to the field main control engine in the system for cloud computing, and the main control engine is divided into the flow instance sheet that comprises the different field object with flow instance, sends to the execution engine of carrying out in the Engine Listing and carries out; Thereby the execution of flow instance in the completion system for cloud computing; Overcome to have now and need make amendment on a large scale, be difficult to realize Distributed Calculation and the service of system for cloud computing concentrating type, improved the extensibility of workflow engine system based on the workflow engine system of data model; Make the maintenance of workflow engine be more prone to, reduced the cost of enterprise effectively.
Description of drawings
Fig. 1 is the interaction diagrams of the workflow engine system that provides of first embodiment of the invention;
Fig. 2 is the practical implementation figure of the workflow engine system that provides of first embodiment of the invention;
Fig. 3 is the structural drawing based on the system for cloud computing Workflow processing apparatus of domain model that second embodiment of the invention provides;
Fig. 4 is the structural drawing of the Workflow processing apparatus that provides of third embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention is according to the event information of flow events; Confirm the domain object information that comprises in the flow events,, obtain the related flow template of flow events of storage in advance further according to domain object information and event information; The product process instance; Flow instance is sent to the field main control engine in the system for cloud computing, and the main control engine is divided into the flow instance sheet that comprises the different field object with flow instance, sends to the execution engine of carrying out in the Engine Listing and carries out; Thereby the execution of flow instance in the completion system for cloud computing; Improve the extensibility of workflow engine system, made the maintenance of workflow engine be more prone to, reduced the cost of enterprise effectively.
The embodiment of the invention provides a kind of system for cloud computing workflow processing method based on domain model, and said method comprises the steps:
Monitor the flow events that the cloud computing user triggers, obtain the event information of said flow events;
According to said event information, confirm the domain object information that comprises in the said flow events;
According to said domain object information and said event information, obtain the related flow template of said flow events of storage in advance, the product process instance;
With said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
The embodiment of the invention also provides a kind of system for cloud computing Workflow processing apparatus based on domain model, and said device comprises:
The event information acquiring unit is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events;
Domain object information is confirmed the unit, is used for the event information that obtains according to said event information acquiring unit, confirms the domain object information that comprises in the said flow events;
The flow instance generation unit is used for confirming the event information that domain object information that the unit is confirmed and said event information acquiring unit obtain according to said domain object information, obtains the related flow template of flow events, the product process instance; And
The execution result receiving element; The flow instance that is used for said flow instance generation unit is generated with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
The embodiment of the invention also provides a kind of cloud computing client, and said cloud computing client comprises the system for cloud computing Workflow processing apparatus based on domain model, and said device comprises:
The event information acquiring unit is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events;
Domain object information is confirmed the unit, is used for the event information that obtains according to said event information acquiring unit, confirms the domain object information that comprises in the said flow events;
The flow instance generation unit is used for confirming the event information that domain object information that the unit is confirmed and said event information acquiring unit obtain according to said domain object information, obtains the related flow template of flow events, the product process instance; And
The execution result receiving element; The flow instance that is used for said flow instance generation unit is generated with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
The embodiment of the invention also provides a kind of workflow processing method, and said method comprises the steps:
Receive the flow instance processing request that the cloud computing client is sent, comprise the flow instance assembly in the described request;
The domain object information that comprises according to the flow instance that encapsulates in the said flow instance assembly; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing; Said execution engine is carried out said flow instance sheet, and returns execution result;
Receive the execution result that said execution engine returns, said execution result is synthesized said flow instance execution result, send to the cloud computing client.
The embodiment of the invention also provides a kind of Workflow processing apparatus, and said device comprises:
Flow instance assembly receiving element is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request;
The flow instance Dispatching Unit; Be used for the domain object information that comprises according to the flow instance that the flow instance assembly that said flow instance assembly receiving element receives encapsulates; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet, and returns execution result; And
Flow instance execution result transmitting element is used to receive and carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
The embodiment of the invention also provides a kind of main control engine, and said main control engine comprises Workflow processing apparatus, and said device comprises:
Flow instance assembly receiving element is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request;
The flow instance Dispatching Unit; Be used for the domain object information that comprises according to the flow instance that the flow instance assembly that said flow instance assembly receiving element receives encapsulates; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet, and returns execution result; And
Flow instance execution result transmitting element is used to receive and carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
The embodiment of the invention also provides a kind of workflow processing method, and said method comprises the steps:
The cloud computing client is monitored the flow events that the cloud computing user triggers; Obtain the event information of said flow events; Confirm the domain object information that comprises in the said flow events; According to said domain object information and said event information, obtain the related flow template of said flow events, the product process instance;
The cloud computing client with said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns;
The main control engine receives the flow instance processing request that the cloud computing client is sent; Comprise the flow instance assembly in the described request; Domain object information according to the flow instance that encapsulates in the said flow instance assembly comprises is divided into the flow instance sheet that comprises the different field object with said flow instance, and said flow instance sheet is sent to the execution engine of carrying out in the Engine Listing; Said execution engine is carried out said flow instance sheet, and returns execution result;
The main control engine receives carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
The embodiment of the invention also provides a kind of workflow engine system, and said system comprises cloud computing client and main control engine, wherein:
The cloud computing client is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events; Confirm the domain object information that comprises in the said flow events; According to said domain object information and said event information, obtain the related flow template of said flow events, the product process instance; With said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing, and said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns; And
The main control engine is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request; The domain object information that comprises according to the flow instance that encapsulates in the said flow instance assembly; Said flow instance is divided into the flow instance sheet that comprises the different field object, and said flow instance sheet is sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet; And return execution result; Receive the execution result that said execution engine returns, said execution result is synthesized said flow instance execution result, send to the cloud computing client.
The embodiment of the invention is according to the event information of flow events; Confirm the domain object information that comprises in the flow events,, obtain the related flow template of flow events of storage in advance further according to domain object information and event information; The product process instance; Flow instance is sent to the field main control engine in the system for cloud computing, and the main control engine is divided into the flow instance sheet that comprises the different field object with flow instance, and its execution engine that sends in the execution Engine Listing is carried out; Thereby the execution of flow instance in the completion system for cloud computing; Overcome to have now and need make amendment on a large scale, be difficult to realize Distributed Calculation and the service of system for cloud computing concentrating type, improved the extensibility of workflow engine system based on the workflow engine system of data model; Make the maintenance of workflow engine be more prone to, reduced the cost of enterprise effectively.
Below in conjunction with specific embodiment concrete realization of the present invention is described in detail:
Embodiment one:
Domain model is the conceptual model of a system; Be used for descriptive system in visual form each entity (object) and between relation; Domain model has demonstrated the relation between the main entity object (domain object) in the system; And confirmed its important method and attribute, for system design provides the structuring view of total system, and description, restriction system border.
In embodiments of the present invention; Domain model is used in the workflow engine system for cloud computing, and workflow engine is divided into the main control engine and carries out engine, wherein carries out the concrete execution that engine is responsible for flow process; Be deployed on the different servers, the main control engine mainly is responsible for the route and the distribution of flow process.All main control engine servers form main control engine service cloud; All execution engine servers form carries out the engine service cloud; Wherein be responsible for carrying out the flow instance part of same area object, dispatch by the main control engine at all execution engines of a main control engine registration.
Fig. 1 shows the reciprocal process of the workflow engine system that first embodiment of the invention provides, and details are as follows:
1. the flow events of cloud computing client monitoring triggering is obtained the event information of this flow events.
In embodiments of the present invention, flow events can be that the user imports the corresponding flow events that predetermined condition triggers.For example: when the user imports financial reimbursement document,, when the user imports the recruitment list, will trigger and recruit treatment scheme accordingly with triggering the treatment scheme relevant with this accounting voucher.Each flow events comprises information such as event id, and the main control engine obtains related flow template according to event id.
2. the event information that cloud computing client is obtained according to step 1 is confirmed the domain object information that comprises in the flow events;
Domain model in visual form each entity (object) in the descriptive system and between relation; Convert entity object into domain object, in embodiments of the present invention, the event information that triggers when importing document according to the user; The domain object information that comprises in the extraction incident; Domain object information comprises: information such as domain object, domain object method and domain object attribute, wherein, object method and attribute information etc. is used for the processing of flow process circulation process.For example: when the user is input as financial reimbursement document; The domain object that incident comprises has: submit an expense account domain objects such as object in kind, the auditor of department object and the auditor of treasurer's department object; Corresponding object method has reimbursement input method in kind, the auditor of department submits an expense account the physical verification method and the auditor of department submits an expense account the physical verification method; Corresponding attribute has: attributes such as ID in kind and price, the auditor of department job number, the auditor of treasurer's department job number; The above-mentioned embodiments of the invention that are merely, this not in order to the restriction the present invention.
3. cloud computing client is obtained the related flow template of flow events of storage in advance, the product process instance according to domain object and event information;
In embodiments of the present invention, set up the corresponding flow events information of workflow in the enterprise in advance, generate the related flow template of this flow events; For example; To the domain object of financial reimbursement incident in step 2, according to event id information, accordingly; Set up reimbursement object in kind, the auditor of department object and the auditor of treasurer's department object flow template respectively, can store with forms such as database, configuration files.In concrete implementation process, the event id that obtains according to step 1 and the event id of database compare, and obtain related flow template, thereby generate corresponding flow instance.
4. cloud computing client with flow instance with and related information be encapsulated as the flow instance assembly.
In embodiments of the present invention; For the robotization of flow instance is handled; Should the related information and the flow instance of the flow instance of creating be encapsulated, this related information can comprise the property value information of domain object in the flow instance, and the expansion script etc.; Wherein the property value information of domain object can be used for the corresponding property value of domain object in the padding field object information, and the expansion script then is used for the automatic circulation of realization flow instance.
5. cloud computing client sends to the workflow engine node in the system for cloud computing with the flow instance assembly, and this workflow engine is a field main control engine.
In embodiments of the present invention; The service that main control engine service cloud in the system for cloud computing provides is divided with domain object; The cloud computing client is selected the main control engine node in the system for cloud computing according to the domain object of flow instance, and the flow instance assembly is sent to this main control engine.In concrete implementation process, can mate according to the domain object and the accessible domain object of main control engine of flow instance, matching degree the maximum is selected as the main control engine that receives this flow instance assembly.
6. the domain object information that comprises according to the flow instance that encapsulates in the flow instance assembly of the main control engine in the system for cloud computing is divided into flow instance the flow instance sheet that comprises the different field object.
7. the main control engine sends to the flow instance sheet in the execution engine of carrying out in the Engine Listing.
In embodiments of the present invention; Stored execution Engine information in the main control engine, comprised the domain object information that engine can be handled of carrying out, and carried out engine calling interface message etc. in its registration; The domain object information that the main control engine comprises according to flow instance; Flow instance is divided into the flow instance sheet that comprises the different field object, selects the corresponding execution engine of domain object, the flow instance sheet is sent to the execution engine of selection.
8. carry out engine and carry out said flow instance sheet.
In embodiments of the present invention, receive the execution engine of flow instance sheet, take asynchronous mode to carry out; When the execution needs of flow instance sheet are synchronous; Then need the main control engine to dispatch, or directly carry out between the engine and communicate, accomplish carry out engine synchronously.In concrete implementation process; The cloud computing client is to workflow engine service cloud request service, and workflow engine service cloud is divided into main control engine service cloud and carries out the engine service cloud, and main control engine service cloud provides service to the user; Carry out the engine service cloud and be responsible for carrying out the flow instance execution that the main control engine sends; As shown in Figure 2, thus the utilization that realizes resource maximizes, and improves efficiency of resource.
9. carry out engine and return execution result to the main control engine.
10. the main control engine receives and carries out the execution result that engine returns, and execution result is synthesized the flow instance execution result.
In embodiments of the present invention; The main control engine is according to order, the partition mode of distribution flow instance sheet; The execution result that receives is assembled into the execution result of whole flow instance, in the practical implementation process, also can accomplishes this step by the cloud computing client.
11. the main control engine sends to the cloud computing client with execution result in the system for cloud computing.
The embodiment of the invention is according to the event information of flow events, confirms the domain object information that comprises in the flow events, further according to domain object information and event information; Obtain the related flow template of flow events of storage in advance, the product process instance sends to the field main control engine in the system for cloud computing with flow instance; The main control engine is divided into flow instance the flow instance sheet that comprises the different field object; Send to the related execution engine of domain object, thereby accomplish the execution of flow instance in the system for cloud computing, improved the extensibility of workflow engine system; Make the maintenance of workflow engine be more prone to, reduced the cost of enterprise effectively.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk, CD etc.
Embodiment two:
The structure based on the system for cloud computing Workflow processing apparatus of domain model that Fig. 3 shows that second embodiment of the invention provides for the ease of explanation, only shows the part relevant with the embodiment of the invention.
Should can be used for ERP cloud computing system such as workflow engine based on the system for cloud computing Workflow processing apparatus of domain model; Perhaps be used to have the cloud computing flow processing system of workflow processing ability; Can be used as the cloud computing client or independently suspension member be integrated in these systems, wherein:
Event information acquiring unit 31 is monitored the flow events that the cloud computing user triggers, and obtains the event information of this flow events; Domain object information is confirmed unit 32 according to the event information that event information acquiring unit 31 obtains, and confirms the domain object information that comprises in the flow events; The domain object information that flow template generation unit 33 comprises according to flow events, the flow template of product process event correlation; Flow instance generation unit 34 is confirmed according to domain object information domain object information of unit 32 confirming and the event information that event information acquiring unit 31 obtains to obtain the flow template of flow events association, the product process instance; The flow instance that execution result receiving element 35 generates flow instance generation unit 34 with and related information be encapsulated as the flow instance assembly; The flow instance assembly is sent to the workflow engine in the system for cloud computing, and this workflow engine is a field main control engine.
Above-mentionedly be merely system embodiment of the present invention, the function of its each unit such as above-mentioned method embodiment are said, repeat no more at this, but not in order to restriction the present invention.
Embodiment three:
Fig. 4 shows the structure of the Workflow processing apparatus that third embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
This Workflow processing apparatus can be used for ERP cloud computing system such as workflow engine; Perhaps be used to have the cloud computing flow processing system of workflow processing ability; The main control engine that can be used as in the workflow engine is responsible for carrying out calling and managing of engine; Or be integrated in these systems, wherein as suspension member independently:
Flow instance assembly receiving element 41 receives the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in this request; The domain object information that the flow instance that encapsulates in the flow instance assembly of flow instance Dispatching Unit 42 according to 41 receptions of flow instance assembly receiving element comprises; Flow instance is divided into the flow instance sheet that comprises the different field object; And the flow instance sheet sent to the execution engine of carrying out in the Engine Listing; This execution engine is carried out the flow instance sheet that receives, and returns execution result; Flow instance execution result transmitting element 43 receives carries out the execution result that engine returns, and execution result is synthesized the flow instance execution result, sends to the cloud computing client.
Above-mentionedly be merely system embodiment of the present invention, the function of its each unit such as above-mentioned method embodiment are said, repeat no more at this, but not in order to restriction the present invention.
Embodiment four:
In embodiments of the present invention, the workflow engine system in the system for cloud computing is responsible for the flow process that the user submits to is handled, and this workflow engine comprises cloud computing client and main control engine at workflow engine system, wherein:
The cloud computing client is monitored the flow events that the cloud computing user triggers, and obtains the event information of flow events, confirms the domain object information that comprises in the flow events; According to domain object information and said event information; Obtain the related flow template of flow events, the product process instance, with flow instance with and related information be encapsulated as the flow instance assembly; The flow instance assembly is sent to the workflow engine node in the system for cloud computing, and workflow engine is a field main control engine.In concrete implementation process, the cloud computing client is as shown in Figure 3, specifically constitutes the unit and in embodiment two, describes, repeats no more at this.
The main control engine is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the request; The domain object information that comprises according to the flow instance that encapsulates in the flow instance assembly; Flow instance is divided into the flow instance sheet that comprises the different field object, and the flow instance sheet is sent to the execution engine of carrying out in the Engine Listing, this is carried out engine and carries out the flow instance sheet; And return execution result; Receive and carry out the execution result that engine returns, execution result is synthesized the flow instance execution result, send to the cloud computing client.In concrete implementation process, the main control engine is as shown in Figure 4, specifically constitutes the unit and in embodiment three, describes, repeats no more at this.
Above-mentionedly be merely system embodiment of the present invention, the function of its each unit such as above-mentioned method embodiment are said, repeat no more at this, but not in order to restriction the present invention.
The embodiment of the invention is according to the event information of flow events; Confirm the domain object information that comprises in the flow events,, obtain the related flow template of flow events of storage in advance further according to domain object information and event information; The product process instance; Flow instance is sent to the field main control engine in the system for cloud computing, and the main control engine is divided into the flow instance sheet that comprises the different field object with flow instance, sends to the execution engine of carrying out in the Engine Listing and carries out; Thereby the execution of flow instance in the completion system for cloud computing; Overcome to have now and need make amendment on a large scale, be difficult to realize Distributed Calculation and the service of system for cloud computing concentrating type, improved the extensibility of workflow engine system based on the workflow engine system of data model; Make the maintenance of workflow engine be more prone to, reduced the cost of enterprise effectively.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the system for cloud computing workflow processing method based on domain model is characterized in that said method comprises the steps:
Monitor the flow events that the cloud computing user triggers, obtain the event information of said flow events;
According to said event information, confirm the domain object information that comprises in the said flow events;
According to said domain object information and said event information, obtain the related flow template of said flow events of storage in advance, the product process instance;
With said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
2. the method for claim 1; It is characterized in that, said according to said domain object information and said event information, obtain the related flow template of said flow events of storage in advance; Before the step of product process instance, said method also comprises the steps:
According to the domain object information that said flow events comprises, generate the related flow template of said flow events.
3. system for cloud computing Workflow processing apparatus based on domain model is characterized in that said device comprises:
The event information acquiring unit is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events;
Domain object information is confirmed the unit, is used for the event information that obtains according to said event information acquiring unit, confirms the domain object information that comprises in the said flow events;
The flow instance generation unit is used for confirming the event information that domain object information that the unit is confirmed and said event information acquiring unit obtain according to said domain object information, obtains the related flow template of flow events, the product process instance; And
The execution result receiving element; The flow instance that is used for said flow instance generation unit is generated with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns.
4. device as claimed in claim 3 is characterized in that, said device also comprises:
The flow template generation unit is used for the domain object information that comprises according to flow events, generates the related flow template of said flow events.
5. cloud computing client, said cloud computing client comprises claim 3,4 each described system for cloud computing Workflow processing apparatus based on domain model.
6. a workflow processing method is characterized in that, said method comprises the steps:
Receive the flow instance processing request that the cloud computing client is sent, described request comprises the flow instance assembly;
The domain object information that comprises according to the flow instance that encapsulates in the said flow instance assembly; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing; Said execution engine is carried out said flow instance sheet, and returns execution result;
Receive the execution result that said execution engine returns, said execution result is synthesized said flow instance execution result, send to the cloud computing client.
7. a Workflow processing apparatus is characterized in that, said device comprises:
Flow instance assembly receiving element is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request;
The flow instance Dispatching Unit; Be used for the domain object information that comprises according to the flow instance that the flow instance assembly that said flow instance assembly receiving element receives encapsulates; Said flow instance is divided into the flow instance sheet that comprises the different field object; And said flow instance sheet sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet, and returns execution result; And
Flow instance execution result transmitting element is used to receive and carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
8. main control engine that comprises the described Workflow processing apparatus of claim 7.
9. a workflow processing method is characterized in that, said method comprises the steps:
The cloud computing client is monitored the flow events that the cloud computing user triggers; Obtain the event information of said flow events; Confirm the domain object information that comprises in the said flow events; According to said domain object information and said event information, obtain the related flow template of said flow events, the product process instance;
The cloud computing client with said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing; Said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns;
The main control engine receives the flow instance processing request that the cloud computing client is sent; Comprise the flow instance assembly in the described request; Domain object information according to the flow instance that encapsulates in the said flow instance assembly comprises is divided into the flow instance sheet that comprises the different field object with said flow instance, and said flow instance sheet is sent to the execution engine of carrying out in the Engine Listing; Said execution engine is carried out said flow instance sheet, and returns execution result;
The main control engine receives carries out the execution result that engine returns, and said execution result is synthesized said flow instance execution result, sends to the cloud computing client.
10. a workflow engine system is characterized in that, said system comprises cloud computing client and main control engine, wherein:
The cloud computing client is used to monitor the flow events that the cloud computing user triggers, and obtains the event information of said flow events; Confirm the domain object information that comprises in the said flow events; According to said domain object information and said event information, obtain the related flow template of said flow events, the product process instance; And with said flow instance with and related information be encapsulated as the flow instance assembly; Said flow instance assembly is sent to the workflow engine node in the system for cloud computing, and said workflow engine is a field main control engine, receives the execution result that said workflow engine node returns; And
The main control engine is used to receive the flow instance processing request that the cloud computing client is sent, and comprises the flow instance assembly in the described request; The domain object information that comprises according to the flow instance that encapsulates in the said flow instance assembly; Said flow instance is divided into the flow instance sheet that comprises the different field object, and said flow instance sheet is sent to the execution engine of carrying out in the Engine Listing, said execution engine is carried out said flow instance sheet; And return execution result; Receive the execution result that said execution engine returns, said execution result is synthesized said flow instance execution result, send to the cloud computing client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010582266.3A CN102542367B (en) | 2010-12-10 | 2010-12-10 | Cloud computing network workflow processing method, device and system based on domain model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010582266.3A CN102542367B (en) | 2010-12-10 | 2010-12-10 | Cloud computing network workflow processing method, device and system based on domain model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102542367A true CN102542367A (en) | 2012-07-04 |
CN102542367B CN102542367B (en) | 2015-03-11 |
Family
ID=46349212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010582266.3A Active CN102542367B (en) | 2010-12-10 | 2010-12-10 | Cloud computing network workflow processing method, device and system based on domain model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102542367B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801812A (en) * | 2012-08-24 | 2012-11-28 | 上海和辰信息技术有限公司 | Novel cloud service component management system and method in loose network environment |
CN102821162A (en) * | 2012-08-24 | 2012-12-12 | 上海和辰信息技术有限公司 | System for novel service platform of loose cloud nodes under cloud computing network environment |
CN102821160A (en) * | 2012-08-24 | 2012-12-12 | 上海和辰信息技术有限公司 | System and method for multilevel data protection oriented to loose cloud nodes in cloud computing network environment |
CN103679401A (en) * | 2013-12-31 | 2014-03-26 | 浙江中控研究院有限公司 | Flow control method, server, client side and system |
CN104463504A (en) * | 2014-12-29 | 2015-03-25 | 北京致远协创软件有限公司 | Business process executing system and method |
CN107844924A (en) * | 2017-12-18 | 2018-03-27 | 马上消费金融股份有限公司 | Method, device and medium for executing control workflow |
CN107870897A (en) * | 2016-09-28 | 2018-04-03 | 小船出海教育科技(北京)有限公司 | The treating method and apparatus of data |
CN108696559A (en) * | 2017-04-11 | 2018-10-23 | 华为技术有限公司 | Method for stream processing and device |
CN109087004A (en) * | 2018-08-03 | 2018-12-25 | 北京东软望海科技有限公司 | A kind of public workflow engine system based on domain model |
CN109636306A (en) * | 2018-10-29 | 2019-04-16 | 平安医疗健康管理股份有限公司 | Node-flow shifting method, device, terminal and storage medium |
CN111178815A (en) * | 2018-11-12 | 2020-05-19 | 北大方正集团有限公司 | Method and device for generating process instance template and computer readable storage medium |
CN112905270A (en) * | 2021-02-19 | 2021-06-04 | 北京百度网讯科技有限公司 | Workflow implementation method, device, platform, electronic equipment and storage medium |
CN112955919A (en) * | 2019-10-09 | 2021-06-11 | 株式会社日立制作所 | Computer system and cooperative control method |
US11151151B2 (en) | 2018-12-06 | 2021-10-19 | International Business Machines Corporation | Integration template generation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364176A (en) * | 2008-08-12 | 2009-02-11 | 北京航空航天大学 | BPEL visual model building system based on GMF |
CN101819654A (en) * | 2010-02-24 | 2010-09-01 | 上海引跑信息科技有限公司 | Workflow system based CMIS (Content Management Interoperability Services) protocol and oriented to content management |
US20100281462A1 (en) * | 2009-04-30 | 2010-11-04 | United Parcel Service Of America, Inc. | Systems and methods for generating source code for workflow platform |
-
2010
- 2010-12-10 CN CN201010582266.3A patent/CN102542367B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364176A (en) * | 2008-08-12 | 2009-02-11 | 北京航空航天大学 | BPEL visual model building system based on GMF |
US20100281462A1 (en) * | 2009-04-30 | 2010-11-04 | United Parcel Service Of America, Inc. | Systems and methods for generating source code for workflow platform |
CN101819654A (en) * | 2010-02-24 | 2010-09-01 | 上海引跑信息科技有限公司 | Workflow system based CMIS (Content Management Interoperability Services) protocol and oriented to content management |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801812B (en) * | 2012-08-24 | 2016-09-07 | 上海和辰信息技术有限公司 | The System and method for of Novel cloud service assembly management under loose network environment |
CN102821162A (en) * | 2012-08-24 | 2012-12-12 | 上海和辰信息技术有限公司 | System for novel service platform of loose cloud nodes under cloud computing network environment |
CN102821160A (en) * | 2012-08-24 | 2012-12-12 | 上海和辰信息技术有限公司 | System and method for multilevel data protection oriented to loose cloud nodes in cloud computing network environment |
CN102801812A (en) * | 2012-08-24 | 2012-11-28 | 上海和辰信息技术有限公司 | Novel cloud service component management system and method in loose network environment |
CN102821162B (en) * | 2012-08-24 | 2016-04-27 | 上海和辰信息技术有限公司 | Towards the system of loose cloud node serve platform under system for cloud computing environment |
CN102821160B (en) * | 2012-08-24 | 2016-06-01 | 上海和辰信息技术有限公司 | Towards the system of loose cloud node multi-levels data protection and method under a kind of system for cloud computing environment |
CN103679401A (en) * | 2013-12-31 | 2014-03-26 | 浙江中控研究院有限公司 | Flow control method, server, client side and system |
CN104463504B (en) * | 2014-12-29 | 2018-07-20 | 北京致远互联软件股份有限公司 | The execution system and execution method of operation flow |
CN104463504A (en) * | 2014-12-29 | 2015-03-25 | 北京致远协创软件有限公司 | Business process executing system and method |
CN107870897A (en) * | 2016-09-28 | 2018-04-03 | 小船出海教育科技(北京)有限公司 | The treating method and apparatus of data |
CN108696559B (en) * | 2017-04-11 | 2021-08-20 | 华为技术有限公司 | Stream processing method and device |
CN108696559A (en) * | 2017-04-11 | 2018-10-23 | 华为技术有限公司 | Method for stream processing and device |
CN107844924A (en) * | 2017-12-18 | 2018-03-27 | 马上消费金融股份有限公司 | Method, device and medium for executing control workflow |
CN109087004A (en) * | 2018-08-03 | 2018-12-25 | 北京东软望海科技有限公司 | A kind of public workflow engine system based on domain model |
CN109087004B (en) * | 2018-08-03 | 2021-04-09 | 望海康信(北京)科技股份公司 | Public workflow engine system based on domain model |
CN109636306A (en) * | 2018-10-29 | 2019-04-16 | 平安医疗健康管理股份有限公司 | Node-flow shifting method, device, terminal and storage medium |
CN111178815A (en) * | 2018-11-12 | 2020-05-19 | 北大方正集团有限公司 | Method and device for generating process instance template and computer readable storage medium |
US11151151B2 (en) | 2018-12-06 | 2021-10-19 | International Business Machines Corporation | Integration template generation |
CN112955919A (en) * | 2019-10-09 | 2021-06-11 | 株式会社日立制作所 | Computer system and cooperative control method |
CN112905270A (en) * | 2021-02-19 | 2021-06-04 | 北京百度网讯科技有限公司 | Workflow implementation method, device, platform, electronic equipment and storage medium |
CN112905270B (en) * | 2021-02-19 | 2024-05-07 | 北京百度网讯科技有限公司 | Workflow realization method, device, platform, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102542367B (en) | 2015-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102542367A (en) | Cloud computing network workflow processing method, device and system based on domain model | |
CN104378341B (en) | Template acquisition methods, template provider method, Apparatus and system | |
US8230419B2 (en) | Method, system and program product for capturing central processing unit (CPU) utilization for a process on a virtual machine | |
CN102236554B (en) | Construction platform, construction system and construction method of on-line application software | |
JP2019534496A (en) | Managed query service | |
US20170236188A1 (en) | System and method for automating business processes throughout the life cycle of an order by using a publish-subscriber pattern | |
US20080244233A1 (en) | Machine cluster topology representation for automated testing | |
US20090063664A1 (en) | Systems and/or methods for location transparent routing and execution of processes | |
CN102710793A (en) | Network printing system based on cloud computing and data storage method thereof | |
Keller | Challenges and directions in service management automation | |
US9246688B1 (en) | Dataset licensing | |
CN107276914B (en) | Self-service resource allocation scheduling method based on CMDB | |
CN106534303A (en) | Load balance method and device applied to account checking system | |
CN107528871A (en) | Data analysis in storage system | |
CN113312359A (en) | Distributed job progress calculation method and device and storage medium | |
US12015532B2 (en) | Component-based risk evaluation techniques using processing flow signatures | |
TW201407503A (en) | System and method for work schedule of cloud platform | |
US20200134621A1 (en) | Detecting cashback and other related reimbursement frauds using blockchain technology | |
KR102438733B1 (en) | Virtual computing resource scaling method and cloud system to which the method is applied | |
CN112380040B (en) | Message processing method and device, electronic equipment and storage medium | |
CN109791484A (en) | The enlarging and dismounting of of short duration infrastructure for dynamic Service example deployment | |
US20200134078A1 (en) | Clone data object and software generation | |
CN111708677A (en) | Cloud hard disk usage amount acquisition method in cloud computing environment | |
CN102571731B (en) | Object-oriented AJAX framework model system and processing method thereof | |
Sodhi et al. | Appification of web applications: Architectural aspects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |