WO2016095373A1 - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
WO2016095373A1
WO2016095373A1 PCT/CN2015/076213 CN2015076213W WO2016095373A1 WO 2016095373 A1 WO2016095373 A1 WO 2016095373A1 CN 2015076213 W CN2015076213 W CN 2015076213W WO 2016095373 A1 WO2016095373 A1 WO 2016095373A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
request message
business
predetermined functions
module
Prior art date
Application number
PCT/CN2015/076213
Other languages
French (fr)
Chinese (zh)
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
Priority to CN201410785349.0A priority Critical patent/CN105760973A/en
Priority to CN201410785349.0 priority
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016095373A1 publication Critical patent/WO2016095373A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management, e.g. organising, planning, scheduling or allocating time, human or machine resources; Enterprise planning; Organisational models

Abstract

A service processing method and device. The method comprises: receiving, by using a preset interface supporting to be identified by a requester, a request message sent by the requester, the request message being used for requesting to perform one or more predetermined functions on a service flow (S102); performing the one or more predetermined functions on a service according to the request message (S104), that is, dynamically receiving, by using the preset interface supporting to be identified by the requester, a request message of the requester for changing the service flow, and performing one or more functions on the service according to the request message. The solution resolves the problem in the related art that dynamic release cannot be combined with service flow management, thereby increasing flexibility of service flow release.

Description

业务处理方法及装置Business processing method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种业务处理方法及装置。The present invention relates to the field of communications, and in particular to a service processing method and apparatus.
背景技术Background technique
近年来,由于经济的快速发展,企业对于自身快速适应环境,高效运转的重视程度越来越高,IT应用系统如春笋般在市场上出现,从最初的财务管理、人事管理、到现在的ERP,CRM等,这些系统的出现让企业管理者眼花缭乱,有的不惜重金采购一套又一套IT系统,但这导致了企业信息化的普遍现象,投入很高,但是收效甚微。In recent years, due to the rapid economic development, enterprises have paid more and more attention to their rapid adaptation to the environment and efficient operation. IT application systems have sprung up in the market, from the initial financial management, personnel management, to the current ERP. , CRM, etc., the emergence of these systems has dazzled corporate managers, and some have spared no expense to purchase a set of IT systems, but this has led to a general phenomenon of enterprise informationization, high investment, but little effect.
对于企业信息化成功率低的情况,业务流程管理应运而生。传统的应用软件从为解决企业当前实际问题的角度出发,以功能为导向,虽然解决企业一部分问题,但是随着企业不断发展,系统背上了越来越重的包袱,严重的会阻碍企业的业务开展和管理改进。业务流程管理为企业带来了固化企业流程、实现流程自动化、实现团队合作、优化流程、向知识型企业转变5方面的实际利益。Business process management came into being when the success rate of enterprise informationization was low. The traditional application software is functionally oriented from the perspective of solving the current practical problems of the enterprise. Although solving some problems of the enterprise, as the enterprise continues to develop, the system is carrying more and more burdens, which will seriously hinder the enterprise. Business development and management improvement. Business process management brings the actual benefits of solidifying enterprise processes, automating process, realizing teamwork, optimizing processes, and transforming into knowledge-based enterprises.
传统的基于业务流程管理的系统中,对于业务,主要注重节点与数据、流程变量在业务中如何进行业务处理,对于动态发布,主要注重一个具体的发布方式,而不是针对一个整体业务的发布方式,不是对业务流程管理的一个整体扩展。In the traditional business process management-based system, for the business, the main focus is on how to perform business processing on nodes and data and process variables in the business. For dynamic publishing, the main focus is on a specific publishing method, rather than on the overall publishing method. , not an overall extension to business process management.
相关技术中只注重业务流程的处理方法或者只是针对动态发布一个具体方式,没有动态发布和业务流程管理的整体的结合。The related technology only focuses on the processing method of the business process or just a specific way for dynamic publishing, and there is no overall combination of dynamic publishing and business process management.
针对相关技术中不能实现动态发布和业务流程管理的结合的问题,目前尚未提出有效的解决方案。In view of the inability of the related technologies to achieve the combination of dynamic publishing and business process management, an effective solution has not yet been proposed.
发明内容Summary of the invention
本发明实施例提供了一种业务处理方法及装置,以至少解决相关技术中不能实现动态发布和业务流程管理的结合的问题。The embodiment of the invention provides a service processing method and device, so as to at least solve the problem that the combination of dynamic publishing and business process management cannot be realized in the related art.
根据本发明的一个方面,提供了一种业务处理方法,包括:通过预先设置的支持请求者识别的接口接收所述请求者发送的请求消息,其中,所述请求消息用于请求对 业务流程执行一个或多个预定功能;根据所述请求消息对所述业务执行所述一个或多个预定功能。According to an aspect of the present invention, a service processing method is provided, comprising: receiving, by a preset identifier that supports requester identification, a request message sent by the requester, wherein the request message is used to request a pair The business process performs one or more predetermined functions; performing the one or more predetermined functions on the service in accordance with the request message.
在本发明实施例中,在根据所述请求消息对所述业务执行所述一个或多个预定功能之前,还包括:对所述请求消息所请求的预定功能和/或所述接口进行校验,在校验通过的情况下,根据所述请求消息对所述业务执行所述一个或多个预定功能。In the embodiment of the present invention, before performing the one or more predetermined functions on the service according to the request message, the method further includes: performing verification on a predetermined function requested by the request message and/or the interface And, if the verification passes, performing the one or more predetermined functions on the service according to the request message.
在本发明实施例中,在根据所述请求消息对所述业务执行所述一个或多个预定功能之前,还包括:对所述一个或多个预定功能进行调度监控,依据调度监控结果对所述业务执行所述一个或多个预定功能。In the embodiment of the present invention, before performing the one or more predetermined functions on the service according to the request message, the method further includes: performing scheduling monitoring on the one or more predetermined functions, and performing the monitoring according to the scheduling monitoring result. The business performs the one or more predetermined functions.
在本发明实施例中,在根据所述请求消息对所述业务执行所述一个或多个预定功能之前,还包括:在所述接口更新的情况下,依据更新的接口接收对所述业务执行一个或多个预定功能的请求消息。In the embodiment of the present invention, before performing the one or more predetermined functions on the service according to the request message, the method further includes: performing, when the interface is updated, receiving the service according to the updated interface. One or more request messages for a predetermined function.
在本发明实施例中,根据所述请求消息对所述业务执行所述一个或多个预定功能包括:在根据所述请求消息对所述业务执行所述一个或多个预定功能的过程中,对所述业务执行所述一个或多个预定功能进行监控。In the embodiment of the present invention, performing the one or more predetermined functions on the service according to the request message includes: in performing the one or more predetermined functions on the service according to the request message, Performing monitoring of the one or more predetermined functions on the business.
根据本发明的另一方面,提供了一种业务处理装置,包括:接收模块,设置为通过预先设置的支持请求者识别的接口接收所述请求者发送的请求消息,其中,所述请求消息用于请求对业务流程执行一个或多个预定功能;第一执行模块,设置为根据所述请求消息对所述业务执行所述一个或多个预定功能。According to another aspect of the present invention, a service processing apparatus is provided, comprising: a receiving module, configured to receive a request message sent by the requester by using a preset identifier that supports requester identification, wherein the request message is used by The requesting to perform one or more predetermined functions on the business process; the first execution module being configured to perform the one or more predetermined functions on the service according to the request message.
在本发明实施例中,所述装置还包括:校验模块,设置为对所述请求消息所请求的预定功能和/或所述接口进行校验,在校验通过的情况下,根据所述请求消息对所述业务执行所述一个或多个预定功能。In an embodiment of the present invention, the apparatus further includes: a verification module, configured to perform verification on a predetermined function requested by the request message and/or the interface, and in the case that the verification passes, according to the The request message performs the one or more predetermined functions on the service.
在本发明实施例中,所述装置还包括:调度监控模块,设置为对所述一个或多个预定功能进行调度监控,依据调度监控结果对所述业务执行所述一个或多个预定功能。In the embodiment of the present invention, the device further includes: a scheduling monitoring module, configured to perform scheduling monitoring on the one or more predetermined functions, and perform the one or more predetermined functions on the service according to the scheduling monitoring result.
在本发明实施例中,所述装置还包括:第二执行模块,设置为在所述接口更新的情况下,依据更新的接口接收对所述业务执行一个或多个预定功能的请求消息。In an embodiment of the present invention, the apparatus further includes: a second execution module, configured to receive, in the case of the interface update, a request message for performing one or more predetermined functions on the service according to the updated interface.
在本发明实施例中,所述装置包括:监控模块,设置为在根据所述请求消息对所述业务执行所述一个或多个预定功能的过程中,对所述业务执行所述一个或多个预定功能进行监控。 In an embodiment of the present invention, the apparatus includes: a monitoring module, configured to perform the one or more on the service in performing the one or more predetermined functions on the service according to the request message Scheduled functions are monitored.
通过本发明实施例,采用通过预先设置的支持请求者识别的接口接收所述请求者发送的请求消息,其中,所述请求消息用于请求对业务流程执行一个或多个预定功能;根据所述请求消息对所述业务执行所述一个或多个预定功能,即通过预先设置的支持请求者识别的接口动态地接收请求者对业务流程进行更改的请求消息,根据该请求消息对业务执行一个或多个功能,解决了相关技术中不能实现动态发布和业务流程管理的结合的问题,扩展了业务流程管理的能力,实现了与动态发布的结合,从而增加了业务流程发布的灵活性。According to the embodiment of the present invention, the request message sent by the requester is received through an interface that is set by a support requester, where the request message is used to request execution of one or more predetermined functions for a service flow; The request message performs the one or more predetermined functions on the service, that is, dynamically receives a request message that the requester changes the business process through an interface that is set by the support requester, and performs one or Multiple functions solve the problem that the combination of dynamic publishing and business process management cannot be realized in related technologies, and the ability of business process management is expanded, and the combination with dynamic publishing is realized, thereby increasing the flexibility of business process publishing.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明实施例的示意性实施例及其说明用于解释本发明实施例,并不构成对本发明实施例的不当限定。在附图中:The accompanying drawings are intended to provide a further understanding of the embodiments of the embodiments of the invention Improper limitations. In the drawing:
图1是根据本发明实施例的业务处理方法的流程图;1 is a flowchart of a service processing method according to an embodiment of the present invention;
图2是根据本发明实施例的业务处理装置的框图;2 is a block diagram of a service processing apparatus according to an embodiment of the present invention;
图3是根据本发明实施例一的业务处理装置的框图;3 is a block diagram of a service processing apparatus according to a first embodiment of the present invention;
图4是根据本发明实施例二的业务处理装置的框图;4 is a block diagram of a service processing apparatus according to a second embodiment of the present invention;
图5是根据本发明实施例三的业务处理装置的框图;Figure 5 is a block diagram of a service processing apparatus according to a third embodiment of the present invention;
图6是根据本发明实施例四的业务处理装置的框图;6 is a block diagram of a service processing apparatus according to Embodiment 4 of the present invention;
图7是根据本发明实施例的业务流程管理动态发布的示意图;7 is a schematic diagram of dynamic release of business process management according to an embodiment of the present invention;
图8是根据本发明实施例的业务流程管理的能力暴露模块的示意图;FIG. 8 is a schematic diagram of a capability exposure module of business process management according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的业务流程管理的动态发布模块的示意图;9 is a schematic diagram of a dynamic publishing module of business process management according to an embodiment of the present invention;
图10是根据本发明实施例的业务流程管理的调度器模块的示意图;10 is a schematic diagram of a scheduler module of business process management according to an embodiment of the present invention;
图11是根据本发明实施例的业务流程管理的业务执行模块的示意图;11 is a schematic diagram of a service execution module of business process management according to an embodiment of the present invention;
图12是根据本发明实施例的业务流程的管理控制模块的示意图。 FIG. 12 is a schematic diagram of a management control module of a business process according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明实施例。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种业务处理方法,图1是根据本发明实施例的业务处理方法的流程图,如图1所示,该流程包括如下步骤:A service processing method is provided in this embodiment. FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,通过预先设置的支持请求者识别的接口接收该请求者发送的请求消息,其中,该请求消息用于请求对业务流程执行一个或多个预定功能;Step S102, receiving, by using a preset identifier that supports the requester, the request message sent by the requester, where the request message is used to request to perform one or more predetermined functions on the business process;
步骤S104,根据该请求消息对该业务执行该一个或多个预定功能。Step S104: Perform the one or more predetermined functions on the service according to the request message.
通过上述步骤,通过预先设置的支持请求者识别的接口接收该请求者发送的请求消息,其中,该请求消息用于请求对业务流程执行一个或多个预定功能;根据该请求消息对该业务执行该一个或多个预定功能,即通过预先设置的支持请求者识别的接口动态地接收请求者对业务流程进行更改的请求消息,根据该请求消息对业务执行一个或多个功能。通过本发明实施例,解决了相关技术中不能实现动态发布和业务流程管理的结合的问题,扩展了业务流程管理的能力,实现了与动态发布的结合,从而增加了业务流程发布的灵活性。Through the above steps, the request message sent by the requester is received through a preset identifier that supports the requester, wherein the request message is used to request one or more predetermined functions to be executed on the business process; and the service is executed according to the request message. The one or more predetermined functions, that is, dynamically receiving a request message for the change of the business process by the requester through a preset interface that supports the requester identification, and performing one or more functions on the service according to the request message. The embodiments of the present invention solve the problem that the combination of dynamic publishing and business process management cannot be realized in the related art, expand the capability of business process management, and realize the combination with dynamic publishing, thereby increasing the flexibility of business process publishing.
在根据该请求消息对该业务执行该一个或多个预定功能之前,对该请求消息所请求的预定功能和/或该接口进行校验,在校验通过的情况下,根据该请求消息对该业务执行该一个或多个预定功能。Before performing the one or more predetermined functions on the service according to the request message, verifying the predetermined function and/or the interface requested by the request message, and if the verification is passed, according to the request message, The business performs the one or more predetermined functions.
在根据该请求消息对该业务执行该一个或多个预定功能之前,还可以对该一个或多个预定功能进行调度监控,依据调度监控结果对该业务执行该一个或多个预定功能。Before performing the one or more predetermined functions on the service according to the request message, scheduling monitoring of the one or more predetermined functions may also be performed, and the one or more predetermined functions are performed on the service according to the scheduling monitoring result.
在根据该请求消息对该业务执行该一个或多个预定功能之前,在该接口更新的情况下,依据更新的接口接收对该业务执行一个或多个预定功能的请求消息。Before the one or more predetermined functions are performed on the service according to the request message, in the case of the interface update, a request message for performing one or more predetermined functions on the service is received according to the updated interface.
根据该请求消息对该业务执行该一个或多个预定功能可以包括:在根据该请求消息对该业务执行该一个或多个预定功能的过程中,对该业务执行该一个或多个预定功能进行监控。Performing the one or more predetermined functions on the service according to the request message may include performing the one or more predetermined functions on the service in performing the one or more predetermined functions on the service according to the request message. monitor.
本发明实施例还提供了一种业务处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定 功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The embodiment of the present invention further provides a service processing device, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again. As used below, the term "module" can be implemented to be predetermined A combination of functional software and/or hardware. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的业务处理装置的框图,如图2所示,包括:2 is a block diagram of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
接收模块22,设置为通过预先设置的支持请求者识别的接口接收该请求者发送的请求消息,其中,该请求消息用于请求对业务流程执行一个或多个预定功能;The receiving module 22 is configured to receive, by using a preset identifier that supports the requester, the request message sent by the requester, where the request message is used to request to perform one or more predetermined functions on the service flow;
第一执行模块24,连接至上述接收模块22,设置为根据该请求消息对该业务执行该一个或多个预定功能。The first execution module 24 is coupled to the receiving module 22 and configured to perform the one or more predetermined functions on the service according to the request message.
图3是根据本发明实施例一的业务处理装置的框图,如图3所示,该装置还包括:FIG. 3 is a block diagram of a service processing apparatus according to a first embodiment of the present invention. As shown in FIG. 3, the apparatus further includes:
校验模块32,连接至上述接收模块22与上述第一执行模块24,设置为对该请求消息所请求的预定功能和/或该接口进行校验,在校验通过的情况下,根据该请求消息对该业务执行该一个或多个预定功能。The verification module 32 is connected to the foregoing receiving module 22 and the first execution module 24, and is configured to perform verification on a predetermined function and/or the interface requested by the request message, and in case the verification is passed, according to the request The message performs the one or more predetermined functions for the service.
图4是根据本发明实施例二的业务处理装置的框图,如图4所示,该装置还包括:4 is a block diagram of a service processing apparatus according to Embodiment 2 of the present invention. As shown in FIG. 4, the apparatus further includes:
调度监控模块42,连接至上述接收模块22与上述第一执行模块24,设置为对该一个或多个预定功能进行调度监控,依据调度监控结果对该业务执行该一个或多个预定功能。The scheduling monitoring module 42 is connected to the receiving module 22 and the first executing module 24, and is configured to perform scheduling monitoring on the one or more predetermined functions, and execute the one or more predetermined functions on the service according to the scheduling monitoring result.
图5是根据本发明实施例三的业务处理装置的框图,如图5所示,该装置还包括:FIG. 5 is a block diagram of a service processing apparatus according to Embodiment 3 of the present invention. As shown in FIG. 5, the apparatus further includes:
第二执行模块52,连接至上述第一执行模块24,设置为在该接口更新的情况下,依据更新的接口接收对该业务执行一个或多个预定功能的请求消息。The second execution module 52 is coupled to the first execution module 24, and is configured to receive, in the case of the interface update, a request message for performing one or more predetermined functions on the service according to the updated interface.
图6是根据本发明实施例四的业务处理装置的框图,如图6所示,该装置包括:6 is a block diagram of a service processing apparatus according to Embodiment 4 of the present invention. As shown in FIG. 6, the apparatus includes:
监控模块62,连接至上述第一执行模块24,设置为在根据该请求消息对该业务执行该一个或多个预定功能的过程中,对该业务执行该一个或多个预定功能进行监控。The monitoring module 62 is coupled to the first execution module 24, and is configured to monitor the execution of the one or more predetermined functions for the service in the process of performing the one or more predetermined functions on the service according to the request message.
下面结合可选实施例对本发明实施例进行进一步说明。The embodiments of the present invention are further described below in conjunction with the optional embodiments.
平台已包含开发的业务流程,业务流程的作用是可以通过平台实现一些功能,比如存数据库,重新封装参数,取参数,透传参数到下层接口,双方已知接口发布接口。The platform already contains the developed business process. The function of the business process is to implement some functions through the platform, such as saving the database, re-encapsulating the parameters, taking the parameters, transparently transmitting the parameters to the lower-layer interface, and both sides knowing the interface publishing interface.
实现的步骤:平台发布能力接口,外部可以通过发送请求到接口,接入业务流程实现一些预定功能,如果一些原因发布接口变更,需要重新把业务流程部署上下线, 平台发布新变更的接口,外部可以通过发送请求到接口,接入业务流程实现一些功能。这种方式只能满足本平台发布接口一直固定不变的场景,但是如果暴露接口因为一些原因需要动态变化,比如因为业务流程标识变化导致接口需要动态变化。Steps to be implemented: The platform publishes the capability interface. The external device can send the request to the interface and access the service process to implement some predetermined functions. If the interface is changed for some reason, the service process needs to be re-routed. The platform releases the newly changed interface, and the external can access the business process to implement some functions by sending a request to the interface. This mode can only meet the scenario where the publishing interface of the platform is always fixed. However, if the exposed interface needs to be dynamically changed for some reasons, for example, the interface needs to be dynamically changed due to changes in the business process identifier.
实现动态发布功能的前提条件:平台已包含开发的业务流程,业务流程的作用是可以通过平台实现一些功能,比如存数据库,重新封装参数,取参数,透传参数到下层接口。Prerequisites for implementing the dynamic publishing function: The platform already contains the developed business process. The function of the business process is to implement some functions through the platform, such as saving the database, re-encapsulating parameters, taking parameters, and transparently transmitting parameters to the lower layer interface.
在平台中增加了动态发布能力接口,外部可以通过发送请求到接口,接入业务流程实现一些功能。因为一些原因导致发布接口发生变更(比如业务流程标识变更),业务流程不需要重新部署上下线,本发明实施例的动态发布具有通知机制,通知请求者接口已发送变化。下一次请求者使用新的发布接口接入。平台动态发布新变更的能力接口,外部可以通过发送请求到接口,接入业务流程实现一些功能。动态发布功能,接口暴露后,如果接口变更,请求者会得到接口变更通知,下一次会使用新的接口发送请求,业务流程无需重新部署。A dynamic publishing capability interface is added to the platform, and the external device can implement some functions by accessing the service flow by sending a request to the interface. The dynamic release of the embodiment of the present invention has a notification mechanism to notify the requester that the interface has sent changes, because the change of the publishing interface (such as the change of the business process identifier) is performed, and the business process does not need to be redeployed. The next time the requester accesses it using the new publishing interface. The platform dynamically publishes the capability interface of the new change, and the external device can implement some functions by sending a request to the interface and accessing the business process. Dynamic publishing function. After the interface is exposed, if the interface changes, the requester will get the interface change notification. The next time, the new interface will be used to send the request, and the business process does not need to be redeployed.
为了克服业务流程管理中一个具体业务处理方法和一个具体方式的片面性,而是对业务流程管理系统中整体的扩展。In order to overcome the specific business processing method in business process management and the one-sidedness of a specific method, it is an extension of the overall business process management system.
本可选实施例中的业务流程管理动态发布包括:能力暴露,用于对外部能力的暴露,实现业务与外部能力的交互作用,支持动态发布功能,增强业务流程的功能扩展;调度器,通过调度的方式对业务流程进行管理,调度策略管理,调度执行控制;业务执行,业务流程运行的环境,实例的生命周期管理,业务流程事物控制;管理控制对业务流程的整体管理,采用本可选实施例,取得了业务流程管理中支持动态发布的进步,达到了对业务流程管理的扩展的效果,对于业务流程能力的暴露,增加了业务流程发布的灵活性,提高了开发业务的效率等等。The dynamic release of the business process management in the optional embodiment includes: capability exposure, exposure to external capabilities, interaction between the business and external capabilities, support for dynamic publishing, and enhancement of service flow expansion; scheduler, Scheduling method for business process management, scheduling policy management, scheduling execution control; business execution, business process running environment, instance life cycle management, business process transaction control; management control for overall management of business processes, using this optional The embodiment achieves the progress of supporting dynamic publishing in the business process management, achieves the effect of expanding the business process management, and exposes the flexibility of the business process release, improves the efficiency of the development business, and the like. .
图7是根据本发明实施例的业务流程管理动态发布的示意图,如图7所示,包含了业务流程管理动态发布装置的所有模块及其之间的基本关系包括:能力暴露模块、调度器模块、业务执行模块和管理控制模块,相对于传统的业务流程管理装置,本装置新增了动态发布功能,是对业务流程管理的一种扩展。FIG. 7 is a schematic diagram of dynamic release of business process management according to an embodiment of the present invention. As shown in FIG. 7, all modules including a business process management dynamic publishing device and basic relationships thereof include: capability exposure module, scheduler module The business execution module and the management control module, compared with the traditional business process management device, the device has newly added a dynamic publishing function, which is an extension of business process management.
能力暴露模块为本装置提供功能扩展和外部资源引用的功能,管理控制模块负责对系统中的众多业务执行管理操作,调度器模块则是对系统中调度执行的控制和策略管理,业务执行模块则是业务在装置中运行的核心。 The capability exposure module provides functions for function extension and external resource reference for the device. The management control module is responsible for performing management operations on numerous services in the system. The scheduler module is the control and policy management for scheduling execution in the system, and the service execution module is It is the core of the business running in the device.
能力暴露模块在整个装置中起着提供外部能力接口、扩展业务功能的作用。业务执行过程中通过该模块接入的外部能力,实现与外部的交互作用。图8是根据本发明实施例的业务流程管理的能力暴露模块的示意图,如图8所示,它总共包含二个功能组件:能力接入、安全控制。能力接入组件将能力接入到系统中,装置就可以利用这些能力接口达到与外部系统的交互作用。一个装置中的能力可以有很多,通过对接口的安全校验,来控制能力的接入和确保系统业务的安全性。The capability exposure module acts as an external capability interface and extends business functions throughout the device. The external capabilities accessed through the module during business execution enable interaction with the outside world. FIG. 8 is a schematic diagram of a capability exposure module for business process management according to an embodiment of the present invention. As shown in FIG. 8, it includes two functional components: capability access and security control. The capability access component accesses the capabilities into the system, and the device can utilize these capability interfaces to interact with external systems. There are many capabilities in a device, and the security check of the interface controls the access of the capabilities and ensures the security of the system services.
动态发布功能是包含在能力暴露模块中的,是外部能力接口的扩展,为了提高业务交互的效率和灵活性,增强能力暴露模块的接入能力。图9是根据本发明实施例的业务流程管理的动态发布模块的示意图,如图9所示,它含有四个功能组件:动态输入、动态封装、动态解析、动态校验。装置在发布后动态获取参数到业务中,可以作为一个服务在业务执行过程中进行输出或者可以作为业务流程的参数透传到下个模块,或者影响业务流程的功能作。对于外部系统交互的参数需要动态解析或者封装,参数才能在外部系统或者本系统识别和使用,解析和封装的方式可以按照交互系统间按照一定规则进行协商,解析后在参数进入到业务前,对获取的参数进行校验,过滤不符合业务需要的参数。The dynamic publishing function is included in the capability exposure module and is an extension of the external capability interface. In order to improve the efficiency and flexibility of the business interaction, the enhanced capability exposes the access capability of the module. 9 is a schematic diagram of a dynamic publishing module of business process management according to an embodiment of the present invention. As shown in FIG. 9, it has four functional components: dynamic input, dynamic encapsulation, dynamic parsing, and dynamic verification. After the device is dynamically released, the device obtains parameters into the service. It can be output as a service during the execution of the service or can be transparently transmitted to the next module as a parameter of the business process or affect the function of the business process. The parameters of the external system interaction need to be dynamically parsed or encapsulated, and the parameters can be identified and used in the external system or the system. The parsing and encapsulation methods can be negotiated according to certain rules according to the interaction system. After the parameters are entered into the service, the parameters are The obtained parameters are verified to filter parameters that do not meet the business requirements.
调度器模块是业务调用的一个接口模块,通过调度的方式启动业务或者定期启动业务。图10是根据本发明实施例的业务流程管理的调度器模块的示意图,如图10所示,调度器模块作为一个独立模块有两个基本公共组件:调度管理和调度控制组件。对于装置中的众多调度,可以通过调度管理去启动、暂停、删除建立好的调度任务。调度监控的组件是在调度执行的过程当中起作用的,当调度处于执行中的状态的时候,可以通过调度监控进行调度执行过程中执行信息的查看,例如执行过程中的成功情况,执行速率等。调度完成后,调度日志组件展现调度执行的历史记录,包括这次调度执行过程的执行总数、成功率、耗时等情况。The scheduler module is an interface module called by the service, which starts the service by scheduling or starts the service periodically. 10 is a schematic diagram of a scheduler module for business process management according to an embodiment of the present invention. As shown in FIG. 10, the scheduler module has two basic common components as a separate module: a schedule management and a schedule control component. For many schedulings in the device, scheduling management can be used to start, pause, and delete the established scheduling tasks. The components of the scheduling monitoring function in the process of scheduling execution. When the scheduling is in the state of execution, the scheduling information can be viewed through the scheduling monitoring, such as the success of the execution process, the execution rate, etc. . After the scheduling is completed, the scheduling log component displays the history of the scheduling execution, including the total execution, success rate, and time consumption of the scheduling execution process.
业务执行模块是整个装置的核心,它包含的功能组件也非常的多,图11是根据本发明实施例的业务流程的管理业务执行模块的示意图,如图11所示,主要包含的有:能力调用、变量处理、运算处理、状态控制和路由控制。业务运行过程当中,变量处理和参数处理组件执行入参和出参的解析、读取和写入,之后通过运算处理和能力调用组件处理业务的运算逻辑和外部能力调用,路由控制是业务处理逻辑的流程走向控制值,业务的部分逻辑处理完成后,通过路由控制进行业务下一个逻辑的选择。状态控制是对业务实例的状态进行控制。The service execution module is the core of the entire device, and it also contains a lot of functional components. FIG. 11 is a schematic diagram of a management service execution module of a business process according to an embodiment of the present invention. As shown in FIG. Calls, variable handling, arithmetic processing, state control, and routing control. During the business operation process, the variable processing and parameter processing components perform parsing, reading, and writing of the input and output parameters, and then process the operational logic and external capability calls through the arithmetic processing and capability calling components. The routing control is the business processing logic. The process goes to the control value, and after the partial logic processing of the service is completed, the next logical selection of the service is performed through the route control. State control controls the state of a business instance.
管理控制模块是装置中业务的管理者,对于装置中的众多业务,通过该管理模块实现管理工作。图12是根据本发明实施例的业务流程的管理控制模块的示意图,如图 12,它包含四大功能组件:业务部署、业务监控、业务管理和参数配置。业务部署用于将业务开发者开发好的业务加载到装置中,业务监控是在业务执行中起作用的,当业务处于执行中的状态的时候,可以通过业务监控进行业务执行过程中执行信息的查看,管理业务可以对业务进行上下线,升级操作,可以查看业务的信息属性,对业务参数进行配置,也可以配置全局的参数。The management control module is the manager of the business in the device, and the management work is realized by the management module for many services in the device. FIG. 12 is a schematic diagram of a management control module of a business process according to an embodiment of the present invention, as shown in FIG. 12, it contains four major functional components: business deployment, business monitoring, business management and parameter configuration. The service deployment is used to load the service developed by the business developer into the device. The service monitoring plays a role in the execution of the service. When the service is in the execution state, the service execution can be performed through the service monitoring. You can view the service information attributes, configure service parameters, or configure global parameters.
业务流程管理装置对业务的执行的完整流程过程包括:业务执行之前,管理控制模块通过业务部署把业务加载到系统中。业务执行模块根据能力暴露模块中的动态发布功能、可以动态的获取业务配置信息,并启动本系统的业务,当业务成功部署后,如果调用方发送请求,可以动态获取参数,不需要重新部署或上下线。管理控制模块根据业务的流程去调用业务执行模块中能力接入中的能力、去读取业务管理模块中的业务参数信息、去获取路由控制信息。业务执行过程中,可以在管理控制模块的业务监控中查看当前业务的执行状态:成功、异常、运行中、终止和超时等。当业务处于非“运行中”的状态时,表明业务执行完成。The complete process of the business process management device performing the business includes: before the service is executed, the management control module loads the service into the system through the service deployment. The service execution module can dynamically obtain service configuration information according to the dynamic publishing function in the capability exposure module, and start the service of the system. After the service is successfully deployed, if the caller sends a request, the parameter can be dynamically obtained, and no redeployment or Going up and down. The management control module invokes the capability of the capability access in the service execution module according to the flow of the service, reads the service parameter information in the service management module, and obtains the routing control information. During the service execution process, you can view the execution status of the current service in the service monitoring of the management control module: success, abnormality, running, termination, and timeout. When the business is in a non-"running" state, it indicates that the business execution is complete.
综上所述,本可选实施例扩展了对动态发布功能的支持,提供了更加丰富的能力暴露手段,提高业务交互的效率和灵活性,进一步提高了业务开发和执行的效率。In summary, the optional embodiment extends the support for the dynamic publishing function, provides a more abundant capability exposure means, improves the efficiency and flexibility of business interaction, and further improves the efficiency of business development and execution.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明实施例的优选实施例而已,并不用于限制本发明实施例,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。The above is only a preferred embodiment of the present invention, and is not intended to limit the embodiments of the present invention. For those skilled in the art, various modifications and changes can be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,扩展了业务流程管理的能力,实现了与动态发布的结合,从而增加了业务流程发布的灵活性。 As described above, through the above embodiments and preferred embodiments, the capability of business process management is expanded, and the combination with dynamic publishing is realized, thereby increasing the flexibility of business process publishing.

Claims (10)

  1. 一种业务处理方法,包括:A business processing method comprising:
    通过预先设置的支持请求者识别的接口接收所述请求者发送的请求消息,其中,所述请求消息用于请求对业务流程执行一个或多个预定功能;Receiving, by a pre-set interface that supports requester identification, a request message sent by the requester, where the request message is used to request execution of one or more predetermined functions for a business process;
    根据所述请求消息对所述业务执行所述一个或多个预定功能。Performing the one or more predetermined functions on the service in accordance with the request message.
  2. 根据权利要求1所述的方法,其中,在根据所述请求消息对所述业务执行所述一个或多个预定功能之前,还包括:The method of claim 1, wherein before performing the one or more predetermined functions on the service according to the request message, the method further comprises:
    对所述请求消息所请求的预定功能和/或所述接口进行校验,在校验通过的情况下,根据所述请求消息对所述业务执行所述一个或多个预定功能。And verifying the predetermined function and/or the interface requested by the request message, and performing the one or more predetermined functions on the service according to the request message if the verification passes.
  3. 根据权利要求1所述的方法,其中,在根据所述请求消息对所述业务执行所述一个或多个预定功能之前,还包括:The method of claim 1, wherein before performing the one or more predetermined functions on the service according to the request message, the method further comprises:
    对所述一个或多个预定功能进行调度监控,依据调度监控结果对所述业务执行所述一个或多个预定功能。Performing scheduling monitoring on the one or more predetermined functions, and performing the one or more predetermined functions on the service according to the scheduling monitoring result.
  4. 根据权利要求1所述的方法,其中,在根据所述请求消息对所述业务执行所述一个或多个预定功能之前,还包括:The method of claim 1, wherein before performing the one or more predetermined functions on the service according to the request message, the method further comprises:
    在所述接口更新的情况下,依据更新的接口接收对所述业务执行一个或多个预定功能的请求消息。In the case of the interface update, a request message to perform one or more predetermined functions on the service is received in accordance with the updated interface.
  5. 根据权利要求1至4中任一项所述的方法,其中,根据所述请求消息对所述业务执行所述一个或多个预定功能包括:The method according to any one of claims 1 to 4, wherein performing the one or more predetermined functions on the service according to the request message comprises:
    在根据所述请求消息对所述业务执行所述一个或多个预定功能的过程中,对所述业务执行所述一个或多个预定功能进行监控。The one or more predetermined functions are monitored for the service in the process of performing the one or more predetermined functions on the service according to the request message.
  6. 一种业务处理装置,包括:A service processing device comprising:
    接收模块,设置为通过预先设置的支持请求者识别的接口接收所述请求者发送的请求消息,其中,所述请求消息用于请求对业务流程执行一个或多个预定功能;a receiving module, configured to receive, by a preset identifier that supports the requester, the request message sent by the requester, where the request message is used to request to perform one or more predetermined functions on a business process;
    第一执行模块,设置为根据所述请求消息对所述业务执行所述一个或多个预定功能。 The first execution module is configured to perform the one or more predetermined functions on the service according to the request message.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    校验模块,设置为对所述请求消息所请求的预定功能和/或所述接口进行校验,在校验通过的情况下,根据所述请求消息对所述业务执行所述一个或多个预定功能。a verification module, configured to perform verification on a predetermined function and/or the interface requested by the request message, and if the verification passes, perform the one or more on the service according to the request message Scheduled function.
  8. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    调度监控模块,设置为对所述一个或多个预定功能进行调度监控,依据调度监控结果对所述业务执行所述一个或多个预定功能。The scheduling monitoring module is configured to perform scheduling monitoring on the one or more predetermined functions, and perform the one or more predetermined functions on the service according to the scheduling monitoring result.
  9. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    第二执行模块,设置为在所述接口更新的情况下,依据更新的接口接收对所述业务执行一个或多个预定功能的请求消息。And a second execution module, configured to receive, in the case of the interface update, a request message for performing one or more predetermined functions on the service according to the updated interface.
  10. 根据权利要求6至9中任一项所述的装置,其中,所述装置包括:The device according to any one of claims 6 to 9, wherein the device comprises:
    监控模块,设置为在根据所述请求消息对所述业务执行所述一个或多个预定功能的过程中,对所述业务执行所述一个或多个预定功能进行监控。 And a monitoring module configured to monitor the execution of the one or more predetermined functions for the service in the process of performing the one or more predetermined functions on the service according to the request message.
PCT/CN2015/076213 2014-12-16 2015-04-09 Service processing method and device WO2016095373A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410785349.0A CN105760973A (en) 2014-12-16 2014-12-16 Business processing method and device
CN201410785349.0 2014-12-16

Publications (1)

Publication Number Publication Date
WO2016095373A1 true WO2016095373A1 (en) 2016-06-23

Family

ID=56125742

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076213 WO2016095373A1 (en) 2014-12-16 2015-04-09 Service processing method and device

Country Status (2)

Country Link
CN (1) CN105760973A (en)
WO (1) WO2016095373A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018006789A1 (en) * 2016-07-04 2018-01-11 中兴通讯股份有限公司 Parameter checking method and apparatus, and network management server and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226612A (en) * 2007-12-29 2008-07-23 中国建设银行股份有限公司 Data processing management system facing to process flow
CN101751608A (en) * 2008-12-15 2010-06-23 华为技术有限公司 Processing method for controlling work flow, system thereof and workflow system
CN102801876A (en) * 2011-05-24 2012-11-28 中国联合网络通信集团有限公司 Service information centralized processing system and method
CN104168250A (en) * 2013-05-15 2014-11-26 腾讯科技(深圳)有限公司 CGI frame-based service flow control method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7310338B1 (en) * 1999-01-08 2007-12-18 Cisco Technology, Inc. Method and apparatus providing multi-service connections within a data communications device
CN102156642A (en) * 2011-04-21 2011-08-17 北京南天软件有限公司 Implementation method and system for universal business process management interfaces

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226612A (en) * 2007-12-29 2008-07-23 中国建设银行股份有限公司 Data processing management system facing to process flow
CN101751608A (en) * 2008-12-15 2010-06-23 华为技术有限公司 Processing method for controlling work flow, system thereof and workflow system
CN102801876A (en) * 2011-05-24 2012-11-28 中国联合网络通信集团有限公司 Service information centralized processing system and method
CN104168250A (en) * 2013-05-15 2014-11-26 腾讯科技(深圳)有限公司 CGI frame-based service flow control method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018006789A1 (en) * 2016-07-04 2018-01-11 中兴通讯股份有限公司 Parameter checking method and apparatus, and network management server and computer storage medium

Also Published As

Publication number Publication date
CN105760973A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
US20150293789A1 (en) System and method for providing object triggers
Calheiros et al. CloudSim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms
CA3000422C (en) Workflow service using state transfer
JP2007128521A (en) Method and apparatus for provisioning software on network of computer
US8914804B2 (en) Handling queues associated with web services of business processes
US10534337B2 (en) Flow engine for building automated flows within a cloud based developmental platform
US8538793B2 (en) System and method for managing real-time batch workflows
US20210117895A1 (en) Systems and Methods for Cross-Platform Scheduling and Workload Automation
Keller et al. Automating the provisioning of application services with the BPEL4WS workflow language
CN102420709A (en) Method and equipment for managing scheduling task based on task frame
CN105119836A (en) Dynamic operation method of routing protocol component based on state pool
Bellavista et al. GAMESH: A grid architecture for scalable monitoring and enhanced dependable job scheduling
WO2016095373A1 (en) Service processing method and device
CN102147887A (en) Enterprise electronic commerce information flow management system
CN107729139B (en) Method and device for concurrently acquiring resources
CA2857897C (en) Business rules batch processor
US8365170B2 (en) Realizing jumps in an executing process instance
de Oliveira et al. D-RES: Correct transitive distributed service sharing
CN111722929A (en) Micro-service orchestration engine management method based on PaaS
CN112817706A (en) Distributed task scheduling system and method
CN112286698A (en) Remote procedure call method and device and remote procedure call execution method
JP2005149332A (en) Workflow management system and program therefor
JP5371613B2 (en) Service linkage device
Prashanth et al. An optimized technique of increasing the performance of network adaptor on EML Layer
Benko et al. Adaptive services in a distributed environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15868890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15868890

Country of ref document: EP

Kind code of ref document: A1