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 PDF

Info

Publication number
CN102542367A
CN102542367A CN 201010582266 CN201010582266A CN102542367A CN 102542367 A CN102542367 A CN 102542367A CN 201010582266 CN201010582266 CN 201010582266 CN 201010582266 A CN201010582266 A CN 201010582266A CN 102542367 A CN102542367 A CN 102542367A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
process
engine
event
instance
cloud
Prior art date
Application number
CN 201010582266
Other languages
Chinese (zh)
Other versions
CN102542367B (en )
Inventor
宋凯
殷切
谷泉
Original Assignee
金蝶软件(中国)有限公司
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

Links

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

基于领域模型的云计算网络工作流处理方法、装置和系统 Cloud-based computing model network workflow processing method, apparatus and system for

技术领域 FIELD

[0001] 本发明属于计算机技术领域,尤其涉及一种基于领域模型的云计算网络工作流处理方法、装置和系统。 [0001] The present invention belongs to the field of computer technology, particularly, to a cloud computing network domain model workflow processing method, apparatus, and systems based.

背景技术 Background technique

[0002] 云计算(Cloud Computing)是分布式计算、并行计算和网格计算的发展,其基本原理是将计算任务通过网络分配给多台计算机执行,每台计算机成为云计算网络的一个节点,云计算服务通过浏览器把程序传给成千上万的用户。 [0002] Cloud computing (Cloud Computing) is a distributed computing, parallel computing and grid computing development, the basic principle is that computing tasks are assigned to more than one computer to perform through the network, each computer becomes a node on the network cloud, cloud computing services through a browser program passed to the thousands of users.

[0003] 目前,云计算网络中集群式服务器提供的服务是针对特定领域、特定服务对象的关联服务,当用户业务流程涉及到多个实体对象的操作时,如果业务行为经常改变,则现有基于数据模型的工作流引擎系统需要大范围进行修改,难以实现分布式计算和云计算网络集群式的服务,导致工作流引擎系统可扩展性差,维护困难,企业成本增加。 [0003] Currently, network cloud computing services provided by the server cluster is domain-specific, service-specific object associated with a service, when the user business process operations involving a plurality of physical objects, if the traffic behavior change frequently, the existing based on the data model of workflow engine systems require extensive modification, it is difficult to achieve cloud computing and distributed computing cluster network services, resulting in workflow engine system scalability poor, difficult to maintain, increase the cost of doing business.

发明内容 SUMMARY

[0004] 本发明实施例的目的在于提供一种基于领域模型的云计算网络工作流处理方法、 装置和系统,旨在解决由于用户业务流程涉及到多个实体对象的操作,当业务行为经常改变时,现有基于数据模型的工作流引擎系统需要大范围进行修改,难以实现分布式计算和云计算网络集群式服务,导致工作流引擎系统可扩展性差,维护困难,企业成本增加的问题。 [0004] The object of embodiments of the present invention to provide a computing network workflow processing method, apparatus and system for the field of cloud-based model, since the user intended to address the business process operations involving a plurality of physical objects, when the service behavior change frequently when the existing data model based workflow engine systems require extensive modification, it is difficult to achieve cloud computing and distributed computing cluster network services, resulting in workflow engine system scalability poor, difficult to maintain and increase business costs.

[0005] 本发明实施例是这样实现的,一种基于领域模型的云计算网络工作流处理方法, 所述方法包括下述步骤: [0005] Embodiments of the invention are implemented as a workflow processing network cloud-based method of calculating the field model, the method comprising the steps of:

[0006] 监听云计算用户触发的流程事件,获取所述流程事件的事件信息; [0006] Cloud computing process event listener triggered by the user, acquires the event information of the event process;

[0007] 根据所述事件信息,确定所述流程事件中包含的领域对象信息; [0007] According to the event information, determines the field of object information contained in the event process;

[0008] 根据所述领域对象信息和所述事件信息,获取预先存储的所述流程事件关联的流程模板,生成流程实例; [0008] The field of the object information and the event information, the template acquiring process flow associated event stored in advance, generating process instances;

[0009] 将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 [0009] Examples of the process and its associated process instance information encapsulated component will be sent to the network node in workflow engine assembly process instance of the cloud, the workflow engine is the main field of engine control, to receive the workflow engine node to return the results.

[0010] 本发明实施例的另一目的在于提供一种基于领域模型的云计算网络工作流处理装置,所述装置包括: [0010] Another object of an embodiment of the present invention to provide a network-based workflow processing apparatus cloud computing domain model, said apparatus comprising:

[0011] 事件信息获取单元,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息; [0011] The event information acquiring unit configured to process an event listener cloud triggered by the user, acquires the event information of the event process;

[0012] 领域对象信息确定单元,用于根据所述事件信息获取单元获取的事件信息,确定所述流程事件中包含的领域对象信息; [0012] FIELD subject information determination unit, configured to acquire the event information acquisition unit according to the event information, determines the field of object information contained in the event process;

[0013] 流程实例生成单元,用于根据所述领域对象信息确定单元确定的领域对象信息和所述事件信息获取单元获取的事件信息,获取流程事件关联的流程模板,生成流程实例;以及 [0013] Examples of the process generating unit for acquiring the subject information determination unit according to the art field of object information and determines the event information of the event information acquiring unit acquires the process flow of the template associated with the event, generating process instances; and

[0014] 执行结果接收单元,用于将所述流程实例生成单元生成的流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 [0014] The execution result receiving unit, configured to process instances of the process instance generation unit and information related to the package assembly process instance, to send the assembly process instance to the workflow engine cloud computing node in the network, the fIELD said workflow engine is the main control engine, the workflow engine receiving node returns the execution result.

[0015] 本发明实施例的另一目的在于提供一种云计算客户端,所述客户端包括基于领域模型的云计算网络工作流处理装置,所述装置包括: [0015] Another object of an embodiment of the present invention to provide a cloud computing client, the client comprises a network-based workflow processing apparatus cloud computing domain model, said apparatus comprising:

[0016] 事件信息获取单元,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息; [0016] The event information acquiring unit configured to process an event listener cloud triggered by the user, acquires the event information of the event process;

[0017] 领域对象信息确定单元,用于根据所述事件信息获取单元获取的事件信息,确定所述流程事件中包含的领域对象信息; [0017] FIELD subject information determination unit, configured to acquire the event information acquisition unit according to the event information, determines the field of object information contained in the event process;

[0018] 流程实例生成单元,用于根据所述领域对象信息确定单元确定的领域对象信息和所述事件信息获取单元获取的事件信息,获取流程事件关联的流程模板,生成流程实例;以及 [0018] The process instance generation means for acquiring the subject information determination unit according to the field of the art object information and determines the event information of the event information acquiring unit acquires the process flow of the template associated with the event, generating process instances; and

[0019] 执行结果接收单元,用于将所述流程实例生成单元生成的流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 [0019] The execution result receiving unit, configured to process instances of the process instance generation unit and information related to the package assembly process instance, to send the assembly process instance to the workflow engine cloud computing node in the network, the fIELD said workflow engine is the main control engine, the workflow engine receiving node returns the execution result.

[0020] 本发明实施例的另一目的在于提供一种工作流处理方法,所述方法包括下述步骤: [0020] Another object of an embodiment of the present invention to provide a workflow processing method, said method comprising the steps of:

[0021] 接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件; [0021] The client process receives the cloud transmission processing request instance, a process instance includes a request component;

[0022] 根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果; [0022] The examples of the process object information field in the package assembly process instance included, the process instance into a process instance sheet comprising different areas of the object, and sends the sheet to the process instance list execution engine engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0023] 接收所述执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0023] receives the execution result of the execution engine returns the result of the execution of the process instance synthesized as a result, it transmits to the client computing cloud.

[0024] 本发明实施例的另一目的在于提供一种工作流处理装置,所述装置包括: [0024] Another object of an embodiment of the present invention to provide a workflow processing apparatus, said apparatus comprising:

[0025] 流程实例组件接收单元,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件; [0025] Examples of process component receiving means for receiving a flow of the cloud sent from the client processing request instance, a process instance includes a request component;

[0026] 流程实例分发单元,用于根据所述流程实例组件接收单元接收的流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果;以及 [0026] Examples of flow distribution unit for receiving the subject information assembly process instance flow instance art process received instance of the component unit contained in the package according to the process instance into a process instance sheet comprising different areas of the object, and examples of the sheet to a process execution engine list execution engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0027] 流程实例执行结果发送单元,用于接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0027] Examples of the process execution result transmission means for receiving an execution result returned by the execution engine, the result of execution of the process instance synthesized as a result, transmits to the client computing cloud.

[0028] 本发明实施例的另一目的在于提供一种主控制引擎,所述主控制引擎包括工作流处理装置,所述装置包括: [0028] Another object of an embodiment of the present invention to provide a main control engine, the engine comprising a main control workflow processing apparatus, said apparatus comprising:

[0029] 流程实例组件接收单元,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件; [0029] Examples of process component receiving means for receiving a flow of the cloud sent from the client processing request instance, a process instance includes a request component;

[0030] 流程实例分发单元,用于根据所述流程实例组件接收单元接收的流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果;以及 [0030] Examples of flow distribution unit for receiving the subject information assembly process instance flow instance art process received instance of the component unit contained in the package according to the process instance into a process instance sheet comprising different areas of the object, and examples of the sheet to a process execution engine list execution engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0031] 流程实例执行结果发送单元,用于接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0031] Examples of the process execution result transmission means for receiving an execution result returned by the execution engine, the result of execution of the process instance synthesized as a result, transmits to the client computing cloud.

[0032] 本发明实施例的另一目的在于提供一种工作流处理方法,所述方法包括下述步骤: [0032] Another object of an embodiment of the present invention to provide a workflow processing method, said method comprising the steps of:

[0033] 云计算客户端监听云计算用户触发的流程事件,获取所述流程事件的事件信息, 确定所述流程事件中包含的领域对象信息,根据所述领域对象信息和所述事件信息,获取所述流程事件关联的流程模板,生成流程实例; [0033] Cloud computing client listening process events triggered by the user cloud, the event information acquisition process of the event, the process determines that the object field of information contained in the event, according to the field of object information and the event information, acquires the process flow associated with the event template, generating process instances;

[0034] 云计算客户端将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果; [0034] The cloud client process instance, and information related to the package assembly process instance, to send the assembly process instance to the workflow engine cloud computing nodes in the network, the workflow engine to control the engine main FIELD , the workflow engine receiving node returns an execution result;

[0035] 主控制引擎接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件,根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果; [0035] The main control engine receiving process instance cloud processing request sent by the client, the request includes assembly process instance, the object information according to the field of process instances in the package assembly process instance included, the process instance into process contains different areas of the object instance sheet, and the sheet to a process instance list execution engine execution engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0036] 主控制引擎接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0036] The main control engine receives an execution result returned by the engine, the result of execution of the process instance synthesized as a result, transmits to the client computing cloud.

[0037] 本发明实施例的另一目的在于提供一种工作流引擎系统,所述系统包括云计算客户端和主控制引擎,其中: [0037] Another object of an embodiment of the present invention to provide a workflow engine, the system comprising a client computing cloud and a main control engine, wherein:

[0038] 云计算客户端,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息,确定所述流程事件中包含的领域对象信息,根据所述领域对象信息和所述事件信息, 获取所述流程事件关联的流程模板,生成流程实例,将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果;以及 [0038] Cloud computing client, an event listener process for cloud triggered by the user, the process acquires the event information event, the process determines that the object field of information contained in the event, according to the object information and the event field information acquisition event associated with the process flow template generation process instance, the process instance, and information related to the package assembly process instance, a process instance to send the assembly to a cloud computing network node workflow engine, the fIELD said workflow engine is the main control engine, the workflow engine receiving node returns the execution result;

[0039] 主控制引擎,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件,根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果,接收所述执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0039] The main control engine, for instance process the received processing request sent by a client computing cloud, the assembly process instance includes a request based on the information field of the target process instance package assembly process instance contained, the examples of the process flow is divided into different areas of an object comprising an instance of sheet, and the sheet to a process instance list execution engine execution engine, the execution engine to execute the sheet process instance, and returns the results of the execution engine receives returning the results of the execution result of the process instance synthesized as a result, it transmits to the client computing cloud.

[0040] 本发明实施例根据流程事件的事件信息,确定流程事件中包含的领域对象信息, 进一步根据领域对象信息和事件信息,获取预先存储的流程事件关联的流程模板,生成流程实例,将流程实例发送给云计算网络中的领域主控制引擎,主控制引擎将流程实例分成包含不同领域对象的流程实例片,发送给执行引擎列表中的执行引擎进行执行,从而完成云计算网络中流程实例的执行,克服了现有基于数据模型的工作流引擎系统需要大范围进行修改,难以实现分布式计算和云计算网络集群式服务,提高了工作流引擎系统的可扩展性,使得工作流引擎的维护更加容易,有效地降低了企业的成本。 [0040] Embodiments of the invention according to the event information flow event, determine the object field of information flow contained in the event, further accordance with the field object information and the event information acquisition process template process event previously stored associated generated process instance, the flow examples sent to cloud computing network in the field of the main control engine, the main control engine process instance into a process comprising different areas of object instances sheet, sent to the execution engine list execution engine for execution, thereby completing the cloud computing network process instances performed, to overcome the existing data model based workflow engine systems require extensive modification, it is difficult to realize a distributed network computing and cloud computing cluster service, the workflow engine to improve system scalability, maintenance such workflow engine more easily, effectively reducing the cost of the enterprise.

附图说明[0041] 图1是本发明第一实施例提供的工作流引擎系统的交互流程图; BRIEF DESCRIPTION [0041] FIG. 1 is a flowchart showing interactive workflow engine system according to a first embodiment of the present invention;

[0042] 图2是本发明第一实施例提供的工作流引擎系统的具体实施图; [0042] FIG 2 is a specific embodiment of FIG workflow engine system according to a first embodiment of the present invention;

[0043] 图3是本发明第二实施例提供的基于领域模型的云计算网络工作流处理装置的结构图; [0043] FIG. 3 is a configuration diagram of a workflow processing apparatus computing network cloud-based domain model to a second embodiment of the present invention provides;

[0044] 图4是本发明第三实施例提供的工作流处理装置的结构图。 [0044] FIG 4 is a configuration diagram of a workflow processing apparatus according to a third embodiment of the present invention is provided. 具体实施方式 detailed description

[0045] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0045] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0046] 本发明实施例根据流程事件的事件信息,确定流程事件中包含的领域对象信息, 进一步根据领域对象信息和事件信息,获取预先存储的流程事件关联的流程模板,生成流程实例,将流程实例发送给云计算网络中的领域主控制引擎,主控制引擎将流程实例分成包含不同领域对象的流程实例片,发送给执行引擎列表中的执行引擎进行执行,从而完成云计算网络中流程实例的执行,提高了工作流引擎系统的可扩展性,使得工作流引擎的维护更加容易,有效地降低了企业的成本。 [0046] Embodiments of the invention according to the event information flow event, determine the object field of information flow contained in the event, further accordance with the field object information and the event information acquisition process template process event previously stored associated generated process instance, the flow examples sent to cloud computing network in the field of the main control engine, the main control engine process instance into a process comprising different areas of object instances sheet, sent to the execution engine list execution engine for execution, thereby completing the cloud computing network process instances execution, improve workflow engine system scalability, making maintenance easier workflow engine, effectively reducing the cost of the enterprise.

[0047] 本发明实施例提供了一种基于领域模型的云计算网络工作流处理方法,所述方法包括下述步骤: [0047] Example embodiments of the present invention provides a network workflow processing method, the method of calculating the field of cloud-based model comprises the steps of:

[0048] 监听云计算用户触发的流程事件,获取所述流程事件的事件信息; [0048] The event listener cloud processes triggered by the user, acquires the event information of the event process;

[0049] 根据所述事件信息,确定所述流程事件中包含的领域对象信息; [0049] According to the event information, determines the field of object information contained in the event process;

[0050] 根据所述领域对象信息和所述事件信息,获取预先存储的所述流程事件关联的流程模板,生成流程实例; [0050] The field of the object information and the event information, the template acquiring process flow associated event stored in advance, generating process instances;

[0051] 将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 [0051] Examples of the process and its associated process instance information encapsulated component will be sent to the network node in workflow engine assembly process instance of the cloud, the workflow engine is the main field of engine control, to receive the workflow engine node to return the results.

[0052] 本发明实施例还提供了一种基于领域模型的云计算网络工作流处理装置,所述装置包括: [0052] Embodiments of the present invention further provides a network workflow processing apparatus for calculating the field of cloud-based model, the apparatus comprising:

[0053] 事件信息获取单元,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息; [0053] The event information acquiring unit configured to process an event listener cloud triggered by the user, acquires the event information of the event process;

[0054] 领域对象信息确定单元,用于根据所述事件信息获取单元获取的事件信息,确定所述流程事件中包含的领域对象信息; [0054] FIELD subject information determination unit, configured to acquire the event information acquisition unit according to the event information, determines the field of object information contained in the event process;

[0055] 流程实例生成单元,用于根据所述领域对象信息确定单元确定的领域对象信息和所述事件信息获取单元获取的事件信息,获取流程事件关联的流程模板,生成流程实例;以及 [0055] The process instance generation means for acquiring the subject information determination unit according to the field of the art object information and determines the event information of the event information acquiring unit acquires the process flow of the template associated with the event, generating process instances; and

[0056] 执行结果接收单元,用于将所述流程实例生成单元生成的流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 [0056] The execution result receiving unit, configured to process instances of the process instance generation unit and information related to the package assembly process instance, to send the assembly process instance to the workflow engine cloud computing node in the network, the fIELD said workflow engine is the main control engine, the workflow engine receiving node returns the execution result.

[0057] 本发明实施例还提供了一种云计算客户端,所述云计算客户端包括基于领域模型的云计算网络工作流处理装置,所述装置包括:[0058] 事件信息获取单元,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息; [0057] Embodiments of the present invention further provides a client cloud, the cloud computing client workflow processing apparatus includes a network cloud-based computing model field, said apparatus comprising: [0058] The event information acquiring unit, with cloud computing to monitor process events triggered by the user, the process to obtain event information event;

[0059] 领域对象信息确定单元,用于根据所述事件信息获取单元获取的事件信息,确定所述流程事件中包含的领域对象信息; [0059] FIELD subject information determination unit, configured to acquire the event information acquisition unit according to the event information, determines the field of object information contained in the event process;

[0060] 流程实例生成单元,用于根据所述领域对象信息确定单元确定的领域对象信息和所述事件信息获取单元获取的事件信息,获取流程事件关联的流程模板,生成流程实例;以及 [0060] The process instance generation means for acquiring the subject information determination unit according to the field of the art object information and determines the event information of the event information acquiring unit acquires the process flow of the template associated with the event, generating process instances; and

[0061] 执行结果接收单元,用于将所述流程实例生成单元生成的流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 [0061] The execution result receiving unit, configured to process instances of the process instance generation unit and information related to the package assembly process instance, to send the assembly process instance to the workflow engine cloud computing node in the network, the fIELD said workflow engine is the main control engine, the workflow engine receiving node returns the execution result.

[0062] 本发明实施例还提供了一种工作流处理方法,所述方法包括下述步骤: [0062] The present invention further provides a workflow processing method, said method comprising the steps of:

[0063] 接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件; [0063] The client process receives the cloud transmission processing request instance, a process instance includes a request component;

[0064] 根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果; [0064] The examples of the process object information field in the package assembly process instance included, the process instance into a process instance sheet comprising different areas of the object, and sends the sheet to the process instance list execution engine engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0065] 接收所述执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0065] receives the execution result of the execution engine returns the result of the execution of the process instance synthesized as a result, it transmits to the client computing cloud.

[0066] 本发明实施例还提供了一种工作流处理装置,所述装置包括: [0066] Embodiments of the present invention further provides a workflow processing apparatus, said apparatus comprising:

[0067] 流程实例组件接收单元,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件; [0067] Examples of process component receiving means for receiving a flow of the cloud sent from the client processing request instance, a process instance includes a request component;

[0068] 流程实例分发单元,用于根据所述流程实例组件接收单元接收的流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果;以及 [0068] Examples of flow distribution unit for receiving the subject information assembly process instance flow instance art process received instance of the component unit contained in the package according to the process instance into a process instance sheet comprising different areas of the object, and examples of the sheet to a process execution engine list execution engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0069] 流程实例执行结果发送单元,用于接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0069] Examples of the process execution result transmission means for receiving an execution result returned by the execution engine, the result of execution of the process instance synthesized as a result, transmits to the client computing cloud.

[0070] 本发明实施例还提供了一种主控制引擎,所述主控制引擎包括工作流处理装置, 所述装置包括: [0070] Embodiments of the present invention further provides a main control engine, the engine comprising a main control workflow processing apparatus, said apparatus comprising:

[0071] 流程实例组件接收单元,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件; [0071] Examples of process component receiving means for receiving a flow of the cloud sent from the client processing request instance, a process instance includes a request component;

[0072] 流程实例分发单元,用于根据所述流程实例组件接收单元接收的流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果;以及 [0072] Examples of flow distribution unit for receiving the subject information assembly process instance flow instance art process received instance of the component unit contained in the package according to the process instance into a process instance sheet comprising different areas of the object, and examples of the sheet to a process execution engine list execution engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0073] 流程实例执行结果发送单元,用于接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0073] Examples of the process execution result transmission means for receiving an execution result returned by the execution engine, the result of execution of the process instance synthesized as a result, transmits to the client computing cloud.

[0074] 本发明实施例还提供了一种工作流处理方法,所述方法包括下述步骤: [0074] The present invention further provides a workflow processing method, said method comprising the steps of:

[0075] 云计算客户端监听云计算用户触发的流程事件,获取所述流程事件的事件信息, 确定所述流程事件中包含的领域对象信息,根据所述领域对象信息和所述事件信息,获取所述流程事件关联的流程模板,生成流程实例; [0075] Cloud computing client listening process events triggered by the user cloud, the event information acquisition process of the event, the process determines that the object field of information contained in the event, according to the field of object information and the event information, acquires the process flow associated with the event template, generating process instances;

[0076] 云计算客户端将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果; [0076] The cloud client process instance, and information related to the package assembly process instance, to send the assembly process instance to the workflow engine cloud computing nodes in the network, the workflow engine to control the engine main FIELD , the workflow engine receiving node returns an execution result;

[0077] 主控制引擎接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件,根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果; [0077] The main control engine receiving process instance cloud processing request sent by the client, the request includes assembly process instance, the object information according to the field of process instances in the package assembly process instance included, the process instance into process contains different areas of the object instance sheet, and the sheet to a process instance list execution engine execution engine, the execution engine to execute the sheet process instance, and returns the execution result;

[0078] 主控制引擎接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0078] The main control engine receives an execution result returned by the engine, the result of execution of the process instance synthesized as a result, transmits to the client computing cloud.

[0079] 本发明实施例还提供了一种工作流引擎系统,所述系统包括云计算客户端和主控制引擎,其中: [0079] Embodiments of the present invention further provides a workflow engine, the system comprising a client computing cloud and a main control engine, wherein:

[0080] 云计算客户端,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息,确定所述流程事件中包含的领域对象信息,根据所述领域对象信息和所述事件信息, 获取所述流程事件关联的流程模板,生成流程实例,将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果;以及 [0080] Cloud computing client, an event listener process for cloud triggered by the user, the process acquires the event information event, the process determines that the object field of information contained in the event, according to the object information and the event field information acquisition event associated with the process flow template generation process instance, the process instance, and information related to the package assembly process instance, a process instance to send the assembly to a cloud computing network node workflow engine, the fIELD said workflow engine is the main control engine, the workflow engine receiving node returns the execution result;

[0081] 主控制引擎,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件,根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果,接收所述执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 [0081] The main control engine, for instance process the received processing request sent by a client computing cloud, the assembly process instance includes a request based on the information field of the target process instance package assembly process instance contained, the examples of the process flow is divided into different areas of an object comprising an instance of sheet, and the sheet to a process instance list execution engine execution engine, the execution engine to execute the sheet process instance, and returns the results of the execution engine receives returning the results of the execution result of the process instance synthesized as a result, it transmits to the client computing cloud.

[0082] 本发明实施例根据流程事件的事件信息,确定流程事件中包含的领域对象信息, 进一步根据领域对象信息和事件信息,获取预先存储的流程事件关联的流程模板,生成流程实例,将流程实例发送给云计算网络中的领域主控制引擎,主控制引擎将流程实例分成包含不同领域对象的流程实例片,并其发送给执行引擎列表中的执行引擎进行执行,从而完成云计算网络中流程实例的执行,克服了现有基于数据模型的工作流引擎系统需要大范围进行修改,难以实现分布式计算和云计算网络集群式服务,提高了工作流引擎系统的可扩展性,使得工作流引擎的维护更加容易,有效地降低了企业的成本。 [0082] Embodiments of the invention according to the event information flow event, determine the object field of information flow contained in the event, further accordance with the field object information and the event information acquisition process template process event previously stored associated generated process instance, the flow examples sent to cloud computing network in the field of the main control engine, the main control engine process instance into a process instance tablets containing different field objects, and send it to the execution engine list execution engine for execution, thereby completing the cloud computing network Scheme executing instances, to overcome the existing data model based workflow engine systems require extensive modification, it is difficult to realize a distributed network computing and cloud computing cluster service, the workflow engine to improve system scalability, so that the workflow engine maintenance easier, effectively reducing the cost of the enterprise.

[0083] 以下结合具体实施例对本发明的具体实现进行详细描述: [0083] The following specific embodiments with reference to specific embodiments of the present invention is implemented will be described in detail:

[0084] 实施例一: [0084] Example a:

[0085] 领域模型是一个系统的概念模型,用于以可视化的形式描述系统中的各个实体(对象)及其之间的关系,领域模型显示出了系统中的主要实体对象(领域对象)之间的关系,并确定了其重要的方法和属性,为系统设计提供了整个系统的结构化视图,并描述、限制系统边界。 [0085] The domain model is a conceptual model of a system used to describe the various entities (objects) in the system to visualize relationships between them form, showed a major domain model entity object (field object) in the system the relationship between, and to determine the important methods and attributes, the system design provides a structural view of the entire system, and is described, limiting the system boundary.

[0086] 在本发明实施例中,领域模型被用于工作流引擎云计算网络中,工作流引擎被分为主控制引擎和执行引擎,其中执行引擎负责流程的具体执行,部署在不同的服务器上,主控制引擎主要负责流程的路由和分发。 [0086] In an embodiment of the present invention, the field is used to model the workflow engine cloud computing network, the workflow engine is divided into a main engine control and execution engine, wherein the execution engine is responsible for the specific implementation process, deployed in different servers the main control engine is responsible for routing and distribution processes. 所有的主控制引擎服务器形成主控制引擎服务云, 所有的执行引擎服务器形成执行引擎服务云,其中在一个主控制引擎注册的所有执行引擎负责执行相同领域对象的流程实例部分,由主控制引擎进行调度。 All the main control engine server forms the main control engine service cloud, all execution engine server forming execution engine service cloud, wherein the main control process instance part engine all registered execution engine is responsible for executing the same field of the object, a main control engine by the scheduling.

[0087] 图1示出了本发明第一实施例提供的工作流引擎系统的交互过程,详述如下: [0087] FIG. 1 shows a first embodiment of the interactive process workflow engine system provided in the present invention, described in detail below:

[0088] 1.云计算客户端监听触发的流程事件,获取该流程事件的事件信息。 [0088] 1. Cloud computing process events triggered by the client to listen, get this process to event information.

[0089] 在本发明实施例中,流程事件可以是用户输入预定条件触发的相应流程事件。 [0089] In an embodiment of the present invention, the flow event may be an event process corresponding to a user input predetermined trigger conditions. 例如:用户输入财务报销单据时,将触发与该财务单据相关的处理流程,当用户输入招聘表单时,将触发相应的招聘处理流程。 For example: when the user enters the financial reimbursement documents, it will trigger financial documents related to the processing flow, when a user enters recruitment form will trigger the appropriate recruitment processes. 每个流程事件包括事件ID等信息,主控制引擎根据事件ID获取关联的流程模板。 Each process events including an event ID and other information, the main control engine process template according to get the associated event ID.

[0090] 2.云计算客户端根据步骤1获取的事件信息,确定流程事件中包含的领域对象信息; [0090] 2. The cloud client event information acquired in step 1, the flow field is determined object information contained in the event;

[0091] 领域模型以可视化的形式描述系统中的各个实体(对象)及其之间的关系,将实体对象转换为领域对象,在本发明实施例中,根据用户输入单据时触发的事件信息,抽取事件中包含的领域对象信息,领域对象信息包括:领域对象、领域对象方法和领域对象属性等信息,其中,对象方法和属性信息等用于流程流转过程中的处理。 [0091] Field of the model described in the form of visual entities (objects) in the system and their relationship, the entity object to convert the object field, the event information in an embodiment of the present invention, when the trigger document according to user input, extracting the object contained in the event information field, the field of object information includes: an object field, the field of art and an object method and object properties information, wherein the object attribute information, and the method for processing the process flow process. 例如:当用户输入为财务报销单据时,事件包含的领域对象有:报销实物对象、部门审核人员对象、以及财务部门审核人员对象等领域对象,对应的对象方法有报销实物输入方法、部门审核人员报销实物审核方法、以及部门审核人员报销实物审核方法,对应的属性有:实物ID和价格、部门审核人员工号、财务部门审核人员工号等属性,上述仅为本发明的实施例,在此不用以限制本发明。 For example: When a user enters the financial reimbursement documents, domain objects events included are: reimbursement physical objects, department auditors objects, as well as the financial sector auditors subject areas such as object corresponding object methods of physical input method claims, department audit staff reimbursement physical audit method, and audit personnel department claims physical verification method, the corresponding attributes: ID and physical price, department and employee number of people, who finance department and employee ID attribute, only the above-described embodiments of the present invention, this not to limit the present invention.

[0092] 3.云计算客户端根据领域对象和事件信息,获取预先存储的流程事件关联的流程模板,生成流程实例; [0092] 3. The client cloud art objects and event information, process event acquisition process templates stored in advance in association, generating process instances;

[0093] 在本发明实施例中,预先建立企业中工作流程对应的流程事件信息,生成该流程事件关联的流程模板,例如,针对在步骤2中财务报销事件的领域对象,根据事件ID信息, 对应地,分别建立报销实物对象、部门审核人员对象、以及财务部门审核人员对象流程模板,可以以数据库、配置文件等形式进行存储。 [0093] In the embodiment of the present invention, pre-established process event corporate a workflow corresponding to the generated process template of the process associated with the event, for example, for the art objects financial reimbursement event in step 2, the information based on the event ID, correspondingly, real objects were established reimbursement, personnel department and objects, as well as the financial sector auditors target process templates can be stored in the database, configuration files, and other forms. 在具体的实施过程中,根据步骤1获取的事件ID与数据库的事件ID进行比较,获得关联的流程模板,从而生成相应的流程实例。 In a specific embodiment of the process, according to the event ID and the event ID acquired database comparison step 1, to obtain the associated process template to generate a corresponding process instance.

[0094] 4.云计算客户端将流程实例以及其关联信息封装为流程实例组件。 [0094] 4. The cloud client process instance, and information related to the package assembly process instance.

[0095] 在本发明实施例中,为了后续流程实例的自动化处理,应将创建的流程实例的关联信息与流程实例进行封装,该关联信息可以包括流程实例中领域对象的属性值信息,以及扩展脚本等,其中领域对象的属性值信息可用于填充领域对象信息中的领域对象对应的属性值,扩展脚本则用于实现流程实例的自动流转。 [0095] In an embodiment of the present invention, in order to automate the subsequent process instance should be associated with the process instance information created process instance is encapsulated, the associated information may include an object property value information in the field of process instances, and extended scripts, etc., wherein the information field of the attribute values ​​of object attribute value field may be used to fill the object the field of object information corresponding to the extension script for implementing the automatic transfer of the process instance.

[0096] 5.云计算客户端将流程实例组件发送给云计算网络中的工作流引擎节点,该工作流引擎为领域主控制引擎。 [0096] The client sends a cloud computing components to process instances of the cloud computing network nodes workflow engine, the workflow engine is the main field of engine control.

[0097] 在本发明实施例中,云计算网络中的主控制引擎服务云提供的服务是以领域对象进行划分的,云计算客户端根据流程实例的领域对象选择云计算网络中的主控制引擎节点,将流程实例组件发送给该主控制引擎。 [0097] In an embodiment of the present invention, the service is the main target art engine control service cloud cloud network provided by the division, the client selects the main cloud cloud network according to art engine control target process instance node, transmitting to the main assembly process instance control engine. 在具体的实施过程中,可以根据流程实例的领域对象与主控制引擎可处理的领域对象进行匹配,匹配度最大者被选择为接收该流程实例组件的主控制引擎。 In a specific embodiment the process may be controlled according to the engine can handle the object field of the main process instance art object, the matching degree is selected as the greatest received main component of the process control engine instance.

[0098] 6.云计算网络中的主控制引擎根据流程实例组件中封装的流程实例包含的领域对象信息,将流程实例分成包含不同领域对象的流程实例片。 [0098] 6. The main cloud computing network in accordance with the engine control target process instance art process instance information component contained in the package, the process instance flow into different areas of an object comprising an instance of sheet. [0099] 7.主控制引擎将流程实例片发送给执行引擎列表中的执行引擎。 [0099] 7. The engine main control process execution engine instance sheet to a list of execution engines.

[0100] 在本发明实施例中,主控制引擎中存储了在其注册的执行引擎信息,包括执行引擎能够处理的领域对象信息,以及执行引擎调用接口信息等,主控制引擎根据流程实例包含的领域对象信息,将流程实例分成包含不同领域对象的流程实例片,选择领域对象对应的执行引擎,将流程实例片发送给选择的执行引擎。 [0100] In this embodiment, the main control engine stores embodiment of the present invention in its registration execution engine, including the field of object information execution engine can be processed, and the execution engine call interface information, the main control engine according to the process instance contains field of object information, the process instance flow into different areas of an object comprising an instance of sheet, the field corresponding to the object selection execution engine, transmitting sheet to the selected process instance execution engine.

[0101] 8.执行引擎执行所述流程实例片。 [0101] 8. The execution engine to execute the sheet process instance.

[0102] 在本发明实施例中,接收到流程实例片的执行引擎,采取异步的方式进行执行,当流程实例片的执行需要同步时,则需要主控制引擎进行调度,或直接执行引擎之间进行通信,完成执行引擎的同步。 [0102] In an embodiment of the present invention, the receiving sheet to an execution engine process instance take asynchronous execution mode, when a process instance performing sheet needs to be synchronized, the main control engine required scheduling, or between the direct execution engine communicate, complete synchronous execution engine. 在具体的实施过程中,云计算客户端向工作流引擎服务云请求服务,工作流引擎服务云分为主控制引擎服务云和执行引擎服务云,主控制引擎服务云向用户提供服务,执行引擎服务云负责执行主控制引擎发送的流程实例执行,如图2所示,从而实现资源的利用最大化,提高资源的利用效率。 In a specific embodiment of the process, a cloud computing client to request the workflow engine service cloud services, cloud service workflow engine major control engine service cloud and the cloud service execution engine, a main control engine service cloud provide services to the user, the execution engine cloud service process responsible for executing the main control engine performs transmission instance, shown in Figure 2, in order to maximize utilization of resources, improving the utilization efficiency of resources.

[0103] 9.执行引擎向主控制引擎返回执行结果。 [0103] 9. The execution engine returns an execution result to the main control engine.

[0104] 10.主控制引擎接收执行引擎返回的执行结果,将执行结果合成为流程实例执行结果。 [0104] receiving an execution result returned by the execution engine 10. The main control engine, the execution result of the synthesis process instance execution result.

[0105] 在本发明实施例中,主控制引擎根据分发流程实例片的顺序、分拆方式,将接收到的执行结果组装为整个流程实例的执行结果,在具体实施过程中,也可以由云计算客户端完成这一步骤。 [0105] In an embodiment of the present invention, the main control engine according to the sequence distribution of process instances sheet, split mode, the received execution result of execution results of the whole assembly process instance, in the specific implementation process, the cloud may be computing client to complete this step.

[0106] 11.云计算网络中主控制引擎将执行结果发送给云计算客户端。 [0106] 11. The main control network cloud engine execution result is sent to the client computing cloud.

[0107] 本发明实施例根据流程事件的事件信息,确定流程事件中包含的领域对象信息, 进一步根据领域对象信息和事件信息,获取预先存储的流程事件关联的流程模板,生成流程实例,将流程实例发送给云计算网络中的领域主控制引擎,主控制引擎将流程实例分成包含不同领域对象的流程实例片,发送给领域对象关联的执行引擎,从而完成云计算网络中流程实例的执行,提高了工作流引擎系统的可扩展性,使得工作流引擎的维护更加容易, 有效地降低了企业的成本。 [0107] Embodiments of the invention according to the event information flow event, determine the object field of information flow contained in the event, further accordance with the field object information and the event information acquisition process template process event previously stored associated generated process instance, the flow examples sent to cloud computing network in the field of the main control engine, the main control engine process instance into a process instance tablets containing different field object, transmitted to the associated domain object execution engine, thereby completing the implementation of cloud computing network process instances, improved the scalability of the system's workflow engine, workflow engine makes maintenance easier, effectively reducing the cost of the enterprise.

[0108] 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中, 所述的存储介质,如ROM/RAM、磁盘、光盘等。 [0108] Those of ordinary skill in the art may understand that the above-described embodiment, all or part of the method steps may be relevant hardware instructed by a program, the program may be stored in a computer readable storage medium, the described storage medium, such as ROM / RAM, magnetic disk, optical disk.

[0109] 实施例二: [0109] Example II:

[0110] 图3示出了本发明第二实施例提供的基于领域模型的云计算网络工作流处理装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分。 [0110] FIG. 3 shows a second embodiment of a computing network workflow processing apparatus cloud-based domain model structure provided in the present invention, for convenience of description, only the parts related to the embodiment of the present invention.

[0111] 该基于领域模型的云计算网络工作流处理装置可以用于工作流引擎等ERP云计算系统中,或者用于具有工作流处理能力的云计算流程处理系统,可以作为云计算客户端或独立的挂件集成到这些系统中,其中: [0111] The field of cloud-based computing model network workflow processing apparatus and the like may be used in workflow engine ERP cloud computing system, or into the cloud flow workflow processing system having a processing capability, cloud computing may be a client or independent integration into these pendant system, wherein:

[0112] 事件信息获取单元31监听云计算用户触发的流程事件,获取该流程事件的事件信息;领域对象信息确定单元32根据事件信息获取单元31获取的事件信息,确定流程事件中包含的领域对象信息;流程模板生成单元33根据流程事件包含的领域对象信息,生成流程事件关联的流程模板;流程实例生成单元34根据领域对象信息确定单元32确定的领域对象信息和事件信息获取单元31获取的事件信息,获取流程事件关联的流程模板,生成流程实例;执行结果接收单元35将流程实例生成单元34生成的流程实例以及其关联信息封装为流程实例组件,将流程实例组件发送给云计算网络中的工作流引擎,该工作流引擎为领域主控制引擎。 [0112] The event information acquiring unit 31 monitor cloud process event triggered by the user, obtaining the flow event event information; FIELD The subject information determination unit 32 acquires the event information unit 31 acquired from the event information, determines the field of the target process contained in the event information; process template generating unit 33 according to the object information field of process events contained, the flow template generation process associated with the event; process instance generation unit 34 determination unit 32 determines the field of object information and the event information acquisition unit 31 event acquired according to the object information field information acquisition process template process events associated with generating process instance; execution result receiving unit 35 to process instance process instance generation unit 34 generates and its associated information package for the process instance of a component, the transmission process instance of the component to a cloud computing network workflow engine, the workflow engine is the main field of engine control.

[0113] 上述仅为本发明的系统实施例,其各单元的功能如上述方法实施例所述,在此不再赘述,但不用以限制本发明。 [0113] The system of the present invention is merely exemplary embodiment, functions of each unit as described above which method embodiment, and are not repeated here, but not to limit the present invention.

[0114] 实施例三: [0114] Example III:

[0115] 图4示出了本发明第三实施例提供的工作流处理装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分。 [0115] FIG. 4 shows the structure of a workflow processing apparatus according to a third embodiment provided by the present invention, for convenience of description, only the parts related to the embodiment of the present invention.

[0116] 该工作流处理装置可以用于工作流引擎等ERP云计算系统中,或者用于具有工作流处理能力的云计算流程处理系统,可以作为工作流引擎中的主控制引擎负责执行引擎的调用和管理,或作为独立的挂件集成到这些系统中,其中: [0116] The workflow processing apparatus may be used for the cloud computing system ERP workflow engine or the like, or into the cloud flow processing system having processing capability of the workflow, the workflow engine may be used as the main engine is responsible for control of the execution engine and call management, or integrated as a separate pendant to these systems, in which:

[0117] 流程实例组件接收单元41接收云计算客户端发送的流程实例处理请求,该请求中包括流程实例组件;流程实例分发单元42根据流程实例组件接收单元41接收的流程实例组件中封装的流程实例包含的领域对象信息,将流程实例分成包含不同领域对象的流程实例片,并将流程实例片发送给执行引擎列表中的执行引擎,该执行引擎执行接收到的流程实例片,并返回执行结果;流程实例执行结果发送单元43接收执行引擎返回的执行结果,将执行结果合成为流程实例执行结果,发送给云计算客户端。 [0117] Process Examples component receiving process instance processing request received cloud sent by the client unit 41, the request includes a process instance assembly; process instance distributing unit 42 receives the process instance of the component received in the package process unit 41 according to the process instance of the component examples of information included in the object field, the process instance flow into different areas of an object comprising an instance of sheet, and to a sheet process execution engine instance list execution engine, the engine performs the execution process instance sheet received, and returns the execution result ; examples of process execution result transmitting unit 43 receives the execution result returned by the execution engine, the execution result of the process execution result synthesis examples, to a cloud computing client.

[0118] 上述仅为本发明的系统实施例,其各单元的功能如上述方法实施例所述,在此不再赘述,但不用以限制本发明。 [0118] The system of the present invention is merely exemplary embodiment, functions of each unit as described above which method embodiment, and are not repeated here, but not to limit the present invention.

[0119] 实施例四: [0119] Example IV:

[0120] 在本发明实施例中,云计算网络中的工作流引擎系统负责对用户提交的流程进行处理,该工作流引擎在工作流引擎系统包括云计算客户端和主控制引擎,其中: [0120] In an embodiment of the present invention, in the network cloud computing system is responsible for the workflow engine processes the user submitted for processing, the workflow engine comprises a cloud client and a main control system of the engine in the workflow engine, wherein:

[0121] 云计算客户端监听云计算用户触发的流程事件,获取流程事件的事件信息,确定流程事件中包含的领域对象信息,根据领域对象信息和所述事件信息,获取流程事件关联的流程模板,生成流程实例,将流程实例以及其关联信息封装为流程实例组件,将流程实例组件发送给云计算网络中的工作流引擎节点,工作流引擎为领域主控制引擎。 [0121] Cloud computing client listening process events triggered by the user cloud, the procedure of acquiring event information of the event, the art process determines object information contained in the event, according to the field of object information and the event information, the template acquisition process flow associated with the event generating process instances, the instances of the information and its associated package assembly process instance, the cloud will be sent to the network nodes in the workflow engine assembly process instance, the workflow engine is the main field of engine control. 在具体的实施过程中,云计算客户端如图3所示,具体构成单元已在实施例二中描述,在此不再赘述。 In a specific embodiment of the process, the client computing cloud shown in Figure 3, the specific constituent unit described in the second embodiment, which is not repeated herein.

[0122] 主控制引擎,用于接收云计算客户端发送的流程实例处理请求,请求中包括流程实例组件,根据流程实例组件中封装的流程实例包含的领域对象信息,将流程实例分成包含不同领域对象的流程实例片,并将流程实例片发送给执行引擎列表中的执行引擎,该执行引擎执行流程实例片,并返回执行结果,接收执行引擎返回的执行结果,将执行结果合成为流程实例执行结果,发送给云计算客户端。 [0122] The main control engine, for example of the processing flow of the cloud receiving a request sent by the client, the request including assembly process instance, a process instance based on the object information field package assembly process instance included, the process instance into different areas comprising examples of sheet flow of objects, and to a sheet process execution engine instance list execution engine, the execution engine executes the sheet process instance, and returns the results of the execution result received engine returns execution, the execution result of the synthesis process instance As a result, the client is sent to the cloud. 在具体的实施过程中,主控制引擎如图4所示,具体构成单元已在实施例三中描述,在此不再赘述。 In a specific embodiment of the process, the main control engine shown in FIG. 4, the specific constituent unit described in Embodiment 3 are not repeated here.

[0123] 上述仅为本发明的系统实施例,其各单元的功能如上述方法实施例所述,在此不再赘述,但不用以限制本发明。 [0123] The system of the present invention is merely exemplary embodiment, functions of each unit as described above which method embodiment, and are not repeated here, but not to limit the present invention.

[0124] 本发明实施例根据流程事件的事件信息,确定流程事件中包含的领域对象信息, 进一步根据领域对象信息和事件信息,获取预先存储的流程事件关联的流程模板,生成流程实例,将流程实例发送给云计算网络中的领域主控制引擎,主控制引擎将流程实例分成包含不同领域对象的流程实例片,发送给执行引擎列表中的执行引擎进行执行,从而完成云计算网络中流程实例的执行,克服了现有基于数据模型的工作流引擎系统需要大范围进行修改,难以实现分布式计算和云计算网络集群式服务,提高了工作流引擎系统的可扩展性,使得工作流引擎的维护更加容易,有效地降低了企业的成本。 [0124] Embodiments of the invention according to the event information flow event, determine the object field of information flow contained in the event, further accordance with the field object information and the event information acquisition process template process event previously stored associated generated process instance, the flow examples sent to cloud computing network in the field of the main control engine, the main control engine process instance into a process comprising different areas of object instances sheet, sent to the execution engine list execution engine for execution, thereby completing the cloud computing network process instances performed, to overcome the existing data model based workflow engine systems require extensive modification, it is difficult to realize a distributed network computing and cloud computing cluster service, the workflow engine to improve system scalability, maintenance such workflow engine more easily, effectively reducing the cost of the enterprise.

[0125] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0125] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present within the scope of the invention.

Claims (10)

  1. 1. 一种基于领域模型的云计算网络工作流处理方法,其特征在于,所述方法包括下述步骤:监听云计算用户触发的流程事件,获取所述流程事件的事件信息; 根据所述事件信息,确定所述流程事件中包含的领域对象信息; 根据所述领域对象信息和所述事件信息,获取预先存储的所述流程事件关联的流程模板,生成流程实例;将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 1. A network-based method of calculating the workflow processing field cloud model, wherein said method comprises the steps of: listening process event cloud triggered by the user, acquires the event information of the event process; according to the event information, determining the field of object information contained in the event process; field according to the object information and the event information acquisition process template previously stored event associated with the process, generating process instances; as well as the process instance related information package assembly process instance, the cloud will be sent to the network node of the workflow engine assembly process instance, the workflow engine is the main field of engine control, receiving the execution result returned by the workflow engine node.
  2. 2.如权利要求1所述的方法,其特征在于,所述根据所述领域对象信息和所述事件信息,获取预先存储的所述流程事件关联的流程模板,生成流程实例的步骤之前,所述方法还包括下述步骤:根据所述流程事件包含的领域对象信息,生成所述流程事件关联的流程模板。 Before 2. A method according to claim 1, wherein said field in accordance with the object information and the event information, event correlation acquisition process templates stored in advance in the process, the process step of generating instance, the said method further comprising the steps of: field of the process according to the object information included in the event, the template generation process flow associated with the event.
  3. 3. 一种基于领域模型的云计算网络工作流处理装置,其特征在于,所述装置包括:事件信息获取单元,用于监听云计算用户触发的流程事件,获取所述流程事件的事件fn息;领域对象信息确定单元,用于根据所述事件信息获取单元获取的事件信息,确定所述流程事件中包含的领域对象信息;流程实例生成单元,用于根据所述领域对象信息确定单元确定的领域对象信息和所述事件信息获取单元获取的事件信息,获取流程事件关联的流程模板,生成流程实例;以及执行结果接收单元,用于将所述流程实例生成单元生成的流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果。 A workflow processing apparatus network cloud-based computing model field, characterized in that said apparatus comprising: an event information acquisition unit configured to process an event listener cloud triggered by the user, obtaining the flow rate fn to event ; fIELD the subject information determination unit, configured to acquire event information from the event information acquisition unit, to determine the field of object information contained in the event process; process instance generation unit, a determining unit determines according to the information of the object field field of object information and the event information acquisition unit acquires the event information, the template acquisition process events associated with the process, generating process instances; and execution result receiving unit, for instance to process the process instance generation unit and information related package assembly process instance, a process instance to send the cloud computing components in the network node workflow engine, a workflow engine is the main field of engine control, receiving the execution result returned by the workflow engine node.
  4. 4.如权利要求3所述的装置,其特征在于,所述装置还包括:流程模板生成单元,用于根据流程事件包含的领域对象信息,生成所述流程事件关联的流程模板。 4. The apparatus according to claim 3, characterized in that said apparatus further comprises: a template generation process unit, the field for the object according to the flow event included, the template generation process flow associated with the event.
  5. 5. 一种云计算客户端,所述云计算客户端包括权利要求3、4任一项所述的基于领域模型的云计算网络工作流处理装置。 A cloud computing client, the client comprises a cloud computing network cloud-based domain model work flow processing apparatus according to any one of claims 3 and 4.
  6. 6. 一种工作流处理方法,其特征在于,所述方法包括下述步骤:接收云计算客户端发送的流程实例处理请求,所述请求包括流程实例组件; 根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果;接收所述执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果, 发送给云计算客户端。 A workflow processing method, wherein the method comprises the steps of: receiving process instance cloud processing request sent by the client, the request including the process instance of the component; package assemblies according to the process instance examples of the process field contains object information, the process instance flow into different areas of an object comprising an instance of sheet, and the sheet to a process instance list execution engine execution engine, the execution engine to execute the sheet process instance and returns the execution result; engine returns an execution result of receiving the execution result of the execution of the process instance synthesized as a result, it transmits to the client computing cloud.
  7. 7. 一种工作流处理装置,其特征在于,所述装置包括:流程实例组件接收单元,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件;流程实例分发单元,用于根据所述流程实例组件接收单元接收的流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片, 并将所述流程实例片发送给执行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果;以及流程实例执行结果发送单元,用于接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 A workflow processing apparatus, wherein the apparatus comprises: a receiving unit assembly process instance, a process instance cloud receiving processing request sent by the client, the request includes flow component instance; distribution process instance means for receiving the subject information assembly process instance flow instance art process received instance of the component unit contained in the package according to the process instance flow into different areas of an object comprising an instance of sheet, and the sheet process instance the list sent to the execution engine execution engine, the execution engine to execute the sheet process instance, and returns the execution result; and a process instance execution result transmission means for receiving an execution result returned by the execution engine, the execution result synthesis examples of the process execution result is sent to the client computing cloud.
  8. 8. 一种包含权利要求7所述的工作流处理装置的主控制引擎。 Main workflow processing apparatus of claim 8 comprising controlling the engine 7.
  9. 9. 一种工作流处理方法,其特征在于,所述方法包括下述步骤:云计算客户端监听云计算用户触发的流程事件,获取所述流程事件的事件信息,确定所述流程事件中包含的领域对象信息,根据所述领域对象信息和所述事件信息,获取所述流程事件关联的流程模板,生成流程实例;云计算客户端将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果;主控制引擎接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件,根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给执行引擎列表中的执行引擎,所述 A workflow processing method, wherein the method comprises the steps of: Cloud Client monitor cloud process event triggered by the user, the acquiring process to event information contained in the event to determine the flow the object information field according to the field of object information and the event information, the template acquiring process flow associated event, generating process instances; cloud client instance of the process and its associated process instance information package assembly, sending the assembly process instance to a cloud computing network node workflow engine, a workflow engine is the main field of engine control, receiving the execution result returned by the workflow engine node; receiving a main control engine cloud client sends examples of the treatment process, the request includes assembly process instance, the object information according to the field of process instances in the package assembly process instance included, the process instance into a process instance sheet comprising different areas of the object, and the examples of said sheet to a process execution engine list execution engine, the 行引擎执行所述流程实例片,并返回执行结果;主控制引擎接收执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 Line engine executes the sheet process instance, and returns the execution result; main engine control receives engine returns an execution result executed, the execution result of the process instance synthesized as a result, transmits to the client computing cloud.
  10. 10. 一种工作流引擎系统,其特征在于,所述系统包括云计算客户端和主控制引擎,其中:云计算客户端,用于监听云计算用户触发的流程事件,获取所述流程事件的事件信息, 确定所述流程事件中包含的领域对象信息,根据所述领域对象信息和所述事件信息,获取所述流程事件关联的流程模板,生成流程实例,并将所述流程实例以及其关联信息封装为流程实例组件,将所述流程实例组件发送给云计算网络中的工作流引擎节点,所述工作流引擎为领域主控制引擎,接收所述工作流引擎节点返回的执行结果;以及主控制引擎,用于接收云计算客户端发送的流程实例处理请求,所述请求中包括流程实例组件,根据所述流程实例组件中封装的流程实例包含的领域对象信息,将所述流程实例分成包含不同领域对象的流程实例片,并将所述流程实例片发送给 A workflow engine system, wherein the system comprises a client computing cloud and a main control engine, wherein: Cloud Client, a Cloud event listener process triggered by the user, the process acquires event event information, determining the flow field of object information contained in the event, according to the field of object information and the event information, the template acquiring process flow associated event, generates the process instance and the process instance and its associated package assembly process instance information, sending the assembly process instance to the workflow engine cloud computing nodes in the network, the workflow engine is the main field of engine control, the workflow engine receiving node returns an execution result; and a main a control engine for receiving process instance cloud processing request sent by the client, the request includes assembly process instance, the object information according to the field of process instances in the package assembly process instance included, the process instance into comprising examples of sheet process different areas of the object, and the process instance to a sheet 行引擎列表中的执行引擎,所述执行引擎执行所述流程实例片,并返回执行结果,接收所述执行引擎返回的执行结果,将所述执行结果合成为所述流程实例执行结果,发送给云计算客户端。 Line engine list execution engine, the execution engine to execute the sheet process instance, and returns the results of the execution result returned by the engine receives the execution result of the execution of the process instance synthesized as a result, to a cloud computing client.
CN 201010582266 2010-12-10 2010-12-10 Cloud computing network workflow processing method, device and system based on domain model CN102542367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010582266 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
CN 201010582266 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 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
CN 201010582266 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 (5)

* Cited by examiner, † Cited by third party
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

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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 (9)

* Cited by examiner, † Cited by third party
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
CN102821162B (en) * 2012-08-24 2016-04-27 上海和辰信息技术有限公司 The cloud computing system for loose cloud service platform nodes in network environment
CN102821160B (en) * 2012-08-24 2016-06-01 上海和辰信息技术有限公司 One kind of cloud computing system and method for protection of loose cloud node multi-level data in a network environment
CN102801812B (en) * 2012-08-24 2016-09-07 上海和辰信息技术有限公司 The new system and method for managing a cloud service component of a loose 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
CN104463504B (en) * 2014-12-29 2018-07-20 北京致远互联软件股份有限公司 Business process execution system and an execution method

Also Published As

Publication number Publication date Type
CN102542367B (en) 2015-03-11 grant

Similar Documents

Publication Publication Date Title
Chaczko et al. Availability and load balancing in cloud computing
US20070038648A1 (en) Transforming a legacy IT infrastructure into an on-demand operating environment
US20110138047A1 (en) Provisioning services using a cloud services catalog
US20120179646A1 (en) Multi-tenant audit awareness in support of cloud environments
US20130185413A1 (en) Integrated Metering of Service Usage for Hybrid Clouds
Simmhan et al. A framework for collecting provenance in data-centric scientific workflows
US9075788B1 (en) Account state simulation service for cloud computing environments
CN102739771A (en) Cloud application integrated management platform and method supporting service fusion
CN102222090A (en) Mass data resource management frame under cloud environment
US8856077B1 (en) Account cloning service for cloud computing environments
US7287089B1 (en) Electronic commerce infrastructure system
US20120117422A1 (en) Disaster recovery in a networked computing environment
Bojanova et al. Analysis of cloud computing delivery architecture models
Wetzstein et al. Cross-organizational process monitoring based on service choreographies
US20100251264A1 (en) Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring
US20130227116A1 (en) Determining optimal component location in a networked computing environment
US20110138171A1 (en) Global profile management method and system
US20130160105A1 (en) Configuring identity federation configuration
US20120173725A1 (en) Distributed topology enabler for identity manager
Mukherjee et al. Determining QoS of WS-BPEL compositions
CN102208991A (en) Blog processing method, device and system
Mukherjee et al. Cloud computing: future framework for e-Governance
Rezaei et al. A semantic interoperability framework for software as a service systems in cloud computing environments
CN102368261A (en) Expandable running maintenance report generation method
US20100121923A1 (en) Multi-tenancy engine

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model