CN102624919A - Distributed service integrated system for service-oriented architecture and application method thereof - Google Patents

Distributed service integrated system for service-oriented architecture and application method thereof Download PDF

Info

Publication number
CN102624919A
CN102624919A CN2012100900966A CN201210090096A CN102624919A CN 102624919 A CN102624919 A CN 102624919A CN 2012100900966 A CN2012100900966 A CN 2012100900966A CN 201210090096 A CN201210090096 A CN 201210090096A CN 102624919 A CN102624919 A CN 102624919A
Authority
CN
China
Prior art keywords
service
system
control server
distributed
node
Prior art date
Application number
CN2012100900966A
Other languages
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
Application filed by 电子科技大学 filed Critical 电子科技大学
Priority to CN2012100900966A priority Critical patent/CN102624919A/en
Publication of CN102624919A publication Critical patent/CN102624919A/en

Links

Abstract

The invention discloses a distributed service integrated system for a service-oriented architecture and an application method thereof and belongs to computer application technique. The defects that a present service system cannot perform dynamic management, the automatic expanding and contracting capacities of service component examples are poor and the simultaneous proceeding of large-scale service system examples cannot be supported are overcome. The distributed service integrated system is mainly composed of a deploying node cluster, a service control processor, a resource control server, a Web gateway and a service access point. According to the distributed service integrated system provided by the invention, the operations by a service provider and a user are simplified; a stable operation environment is provided; multiple operation requests of service systems are concurrently processed; when the deploying nodes are subjected to fault crash, the relation thereof is analyzed, and the corresponding examples are informed of registered information and are caused to correspondingly process, so that the service supplied by the service system can be recovered and be reusable within a short period of time and the high applicability of the system is realized; and the distributed service integrated system is suitable for being popularized and applied.

Description

一种面向服务架构的分布式业务集成系统及其应用方法 A distributed business integration system and its application method for service-oriented architecture

技术领域[0001] 本发明涉及一种业务集成系统及其应用方法,具体地说,是涉及一种面向服务架构的分布式业务集成系统及其应用方法。 Technical Field [0001] The present invention relates to a service integration system and its application method, particularly to a distributed service integration system and its application method for a service-oriented architecture.

背景技术 Background technique

[0002]目前,大部分业务系统都是单独设计和部署的,随着计算机应用的发展,这些单独设计和部署的业务系统建设时间周期过长,无法快速提供能力,并且资源一经分配便难以更改,动态伸缩性差,按峰值规模建设的思路导致系统平均利用率较低,缺乏一致性的服务访问,无法整合服务能力以及集成开发过程中的遗留系统的问题,无法适应计算机领域的快速发展,因此业务系统正逐步向半分布式,全分布式方向发展。 [0002] Currently, most business systems are individually designed and deployed, with the development of computer applications, business systems construction period these individually designed and deployed too long to quickly provide the capacity and resource allocation would be difficult to change once dynamic flexibility is poor, the size of the lines of the peak construction results in a lower average system utilization, lack of consistency of service access, service capabilities and can not integrate legacy systems integration issues of the development process and can not adapt to the rapid development of the computer field, so business system is gradually developing into semi-distributed, fully distributed direction.

[0003] 近些年来,面向服务的体系结构作为一个新兴的组件模型受到广泛的关注和使用,面向服务的体系结构通过建立统一的架构,使得软件开发人员能快速开发、集成和应用。 [0003] In recent years, service-oriented architecture as a new component model to receive widespread attention and use of service-oriented architecture through the establishment of a unified architecture enables software developers to quickly develop, integrate and use. 目前的面向服务的体系结构大多数无法对各种分布式业务进行动态管理,并且服务组件实例自动扩容、收缩能力较差,无法支撑大规模业务系统实例同时运行。 Service-oriented architecture of the current majority can not be distributed to a variety of dynamic business management, and service component instance automatic expansion, poor contractility, unable to support large-scale business system instances running simultaneously. 同时,鉴于分布式结构的不可靠性,系统容易出现故障宕机,系统无法提供一个稳定的运营环境。 At the same time, given the unreliability of distributed architecture, system downtime prone to failure, the system can not provide a stable operating environment.

发明内容 SUMMARY

[0004] 本发明的目的在于克服业务系统无法进行动态管理,并且服务组件实例自动扩容、收缩能力较差,无法支撑大规模业务系统实例同时进行的缺陷,提供以一种面向服务架构的分布式业务集成系统及应用方法,简化有权限的运营商的操作,提供稳定的运营环境, 可以并发处理多个业务系统的操作请求,达到提高系统高可用性、高伸缩性和重用性的目的。 [0004] The object of the present invention to overcome the service system can not be dynamically managed, and the service component instance automatic expansion, poor contractility, scale defects can not support concurrent service system example, provided in a distributed service-oriented architecture business application integration system and method, simplifying the operation of the operator has authority to provide a stable operating environment, the request may be processed concurrently operating a plurality of business systems, to achieve high availability, scalability, and improved system reuse purposes.

[0005] 为了实现上述目的,本发明采用的技术方案如下: [0005] To achieve the above object, the present invention employs the following technical solutions:

一种面向服务架构的分布式业务集成系统,包括承载服务组件的部署节点集群、监控和管理部署节点集群的资源控制服务器、与该资源控制服务器连接并处理业务系统的请求和响应内部事件的业务控制服务器,以及分别连接该业务控制服务器的作为系统对外统一的控制接口的Web门户和提供系统服务接口查询的服务接入点。 A service-oriented architecture of distributed service integration system, including the deployment of the cluster node bearer service components, the resource control server to monitor and manage the deployment of the cluster nodes, connected to the resource control server and service processing systems in response to requests and service internal events Web portal external unified control interface control server, and are connected to the server as a service control systems and provide system services interface to query service access point.

[0006] 进一步的,所述部署节点集群包括至少一个部署节点。 [0006] Further, the deployment of deployment comprises at least one node cluster node.

[0007] 更进一步的,所述服务组件由一个服务插件和至少一个服务程序组成。 [0007] Further still, the service component of a service plug and the at least one service program.

[0008] 以上述硬件系统为基础,本发明提供的面向服务架构的分布式业务集成系统的应用方法,包括以下步骤: [0008] In the above-described hardware-based systems, distributed service integration system application of the method of service-oriented architecture of the present invention, provided, comprising the steps of:

(a)在分布式业务集成系统上安装由配置文件、服务插件以及服务程序集组成的业务系统; (A) a mounting system service profile, service, and service plug-in assembly consisting of distributed service integration system;

(b)服务提供商通过Web门户启动安装的业务系统; (B) the service provider business to start installation of the system through the Web portal;

(C)用户通过服务接入点访问安装的业务系统的服务接口,进行对分布式业务集成系统的使用。 (C) access to a service interface service system installed through the service access point for use of the distributed service integration system. [0009] 其中所述步骤(a)具体包括: [0009] wherein said step (a) comprises:

(al)用户填写配置文件; (Al) user fill in the configuration file;

(a2)按照系统提示依次上传资源文件后,由业务控制服务器检查资源文件合法性并存储,生成对应的元数据。 After (a2) sequentially follow the prompts resource file uploading, by the service control server checks the legitimacy of a file and store the resource to generate corresponding metadata.

[0010] 进一步的,所述步骤(b)具体包括: [0010] Further, the step (b) comprises:

(bl)服务提供商在Web门户上选择已安装的业务系统,并发送至业务控制服务器上进行处理; (Bl) service provider selection service system has been installed on a Web portal, processed and sent to the service control server;

(b2)业务控制服务器解析文件,并将其发送至资源控制服务器,资源控制服务器选择一个部署节点运行服务组件; (B2) a service control server parses the file and sends it to the resource control server, the control server selects a resource deployment node running service components;

(b3)部署节点为服务组件分配地址,实现服务组件的启动及初始化工作,完成后,将启动结果返回; (b4)重复步骤(b2)和(b3),直至所有服务组件启动成功; (B3) a provisioning node address assigned to service components, start-up and to achieve the initialization service component, after the completion, the result is returned to start; (B4) repeating steps (b2) and (b3), successfully started until all service components;

(b5)业务系统启动成功后,业务控制服务器通过资源控制服务器和业务控制服务器向服务接入点注册该业务系统的服务接口、系统实例号; After (b5) starts successfully operational system, the service control server registers the service system, the service interface, an instance number by the system resource control server to the traffic control server and a service access point;

(b6)完成后向用户报告此次启动实例的结果以及服务组件实例的资源分布情况。 (B6) after completion of the start of the distribution of results and resource instance service component instances reported to the user.

[0011] 更进一步的,所述步骤(C)中用户完成对业务系统的访问方式至少包括以下三种方式: [0011] Further still, the step (C) is completed the user access to the service system of the embodiment includes at least the following three ways:

(Cl)服务接入点首先查询自己内存中的服务组件列表,并将查询结果回复给客户; (c2)服务接入点再查询自己内存中某个实例的服务接口,并将查询结果回复给客户; (c3)用户完成查询后,调用部署节点上的服务。 (Cl) service access point first queries the list of service components in its own memory, and return query results to the client; (c2) service access point and then check their memory in an instance of the service interface, and the reply to the query results customers; (c3) the user after completion of inquiry, calling the deployment of services on the node.

[0012] 本发明中还包括对服务组件的自动扩容和/或收缩方法,其步骤如下: [0012] The present invention further comprises an automatic expansion of the service components and / or contraction process comprises the following steps:

(1)部署节点检测到自身消耗的内存和/或网络中阈值超过预设的上限和/或下限时, 向资源控制服务器发送该事件通知; (1) detects own node deployed memory consumption and / or network exceeds a predetermined upper threshold value and / or the lower limit, the event notification sent to the resource control server;

(2)资源控制服务器将事件转发给业务控制服务器; (2) resource control server to forward events to the service control server;

(3)业务控制服务器对服务组件实例进行扩容和/或收缩。 (3) the service control server component instance services for expansion and / or contraction.

[0013] 再进一步的,本发明还包括对部署节点出现故障宕机后的恢复方法,包括以下步骤: [0013] Still further, the present invention further comprises a method of recovery after failure occurs downtime node deployment, comprising the steps of:

(1)资源控制服务器检测到部署节点出现故障宕机后,将出现故障宕机的部署节点上运行的服务组件放入故障实例队列内; Fault downtime (1) to detect the presence of the resource control server node deployment, the service appears to deploy components running on a node failure down the failed instance placed within a queue;

(2)业务控制服务器定时从资源控制服务器拉取出现故障宕机的服务组件,并将其重新启动。 (2) the timing of traffic control server downtime pull service failure from the resource control server component, and restarted.

[0014] 与现有技术相比,本发明具有以下优点及有益效果: [0014] Compared with the prior art, the present invention has the following advantages and beneficial effects:

(I)本发明对业务系统实现了动态管理,并且对主机资源进行了分机,使服务提供商能够自动化、定制化地部署和运营具备高可用、高伸缩性和重用性强的服务。 (I) of the present invention is to achieve a dynamic business management system, and the extension of host resources, enabling service providers to automate, customize and deploy operations with high availability, high scalability and reusability strong service.

[0015] (2)本发明运用服务组件实例框架,用户只需按照规范填写配置文件即可完成业务系统的安装,既保证了业务正常运营,又简化了运营商的操作,简单实用。 [0015] (2) Application example service component frame of the present invention, the user simply fill in accordance with the standard service profile to complete the installation of the system, both to ensure the normal business operations, and simplifies the operation of the operator, simple and practical.

[0016] (3)启动业务实例时,服务提供商只需在Web门户进行简单的操作,Web门户为浏览器门户,操作方便,极大地提高了业务应用的部署效率。 [0016] (3) When you start service instances, service providers only need a simple operation in a Web portal, Web portal to portal browser, easy to operate, greatly improve the efficiency of deploying business applications.

[0017] (4)服务组件通过资源控制服务器和业务控制服务器的配合操作,实现了自动扩容、收缩,并支撑了多个业务系统的同时运行,既实现了高伸缩性,又实现了强重用性。 Run [0017] (4) with the service components by operation of the control server and the resource control server service, to achieve the automatic expansion, contraction, and the plurality of operational support systems for both to achieve high scalability, reusability and to achieve strong sex.

[0018] (5)部署节点出现故障宕机后,资源控制服务器能够感知此事件并且把宕机的部署节点放入待处理故障队列,业务控制服务器会定时向资源控制服务器拉取宕机的部署节点,并对其进行修复,从而使业务系统能够在短时间内恢复可用,实现了动态管理,以及系统的高可用性。 [0018] (5) down deployment node fails, the resource control server can perceive this event and deploy nodes in a cluster to be treated was placed in the fault queue, the service control server will periodically pull down the deployment of the resource control server node, and to fix it, so that the business system can be restored in a short time available to achieve high availability, dynamic management, and systems.

附图说明 BRIEF DESCRIPTION

[0019] 图I为本发明的系统框图。 [0019] The block diagram of the system I of the present invention.

[0020] 图2为本发明的应用方法的流程图。 [0020] FIG 2 is a flowchart of the application of the method of the present invention.

[0021] 图3为本发明-实施例中业务系统的安装流程图。 Installation flowchart service system embodiment - [0021] FIG. 3 of the present invention. [0022] 图4为本发明-实施例中业务系统的启动流程图。 Start flowchart service system embodiment - [0022] FIG. 4 of the present invention.

[0023] 图5为本发明-实施例中业务系统的访问流程图。 Access flow chart service system embodiment - [0023] FIG. 5 of the present invention.

[0024] 图6为本发明-实施例中业务组件的扩容和/或收缩方法的流程图。 Examples flowchart expansion assembly operations and / or contraction of a method embodiment - [0024] FIG. 6 of the present invention.

[0025] 图7为本发明-实施例中恢复故障节点的流程图。 Flowchart illustrating recovery of the failed node embodiment - [0025] FIG. 7 of the present invention.

具体实施方式 Detailed ways

[0026] 下面结合附图与实施例对本发明作进一步说明,本发明的实施方式包括但不限于下列实施例。 [0026] Example embodiments in conjunction with the accompanying drawings further illustrate the present invention, embodiments of the present invention include, but are not limited to the following examples.

[0027] 实施例I [0027] Example I

一种面向服务架构的分布式业务集成系统,如图1、2所示,包括承载服务组件的部署节点集群、监控和管理部署节点集群的资源控制服务器、与该资源控制服务器连接并处理业务系统的请求和响应内部事件的业务控制服务器、以及分别连接该业务控制服务器的作为系统对外统一的控制接口的Web门户和提供系统中服务接口查询的服务接入点。 Distributed service integration system of a service-oriented architecture, as shown in Figures 1 and 2, including the deployment of the resource control server nodes in the cluster bearer service components, monitor and manage the deployment of the cluster nodes, connected to the resource control server and service processing system the request and the service control server responds to internal events, as well as service control server connected to the unified system of external control interface of Web portals and interfaces to provide system services inquiry service access point. 业务控制服务器处理Web门户或者资源控制服务器的请求和响应内部事件,驱动其他模块进行相应操作,资源控制服务器负责部署节点集群的监控和管理,发现并建立、管理、负载均衡和监控部署节点,定位并处理故障节点的服务组件实例迁移。 The service control server processes the request and respond to internal events Web portal or resource control server, and drive other modules operate accordingly, monitor and manage the resource control server is responsible for the deployment of nodes in the cluster, discover and create, manage, load balancing, and monitoring the deployment of nodes, location and the processing of the failed node services component instance migration. 部署节点集群至少有一个部署节点,部署节点集群主要调用接口完成相应的操作,并且收集节点上资源的使用情况以及监控服务组件实例运行过程中的负载异常、程序故障等系统突发事件,并汇报给资源控制服务器。 Node cluster deployed at least one node deployment, the deployment of a cluster node main call interface complete the appropriate action, and collecting nodes use of resources and process monitoring service component instance running in an abnormal load, system failure emergency procedures, and reporting to the resource control server. Web门户连接业务控制服务器,实现对系统的控制,业务控制服务器将服务接口的信息表传送给服务接入点,并且连接资源控制服务器,驱动资源控制服务器进行相应操作。 Web portal service control server is connected, to achieve control of the system, a service control server transmits service information table interface to the serving access point, and the connection resource control server, the drive resource control server corresponding operations. 资源控制服务器收到请求后监控以及管理部署节点集群,定位并处理故障节点的服务组件实例迁移。 Resource control server receives a request to monitor and manage the deployment of nodes in the cluster, locate and processing services component failure node instance migration. 而服务元数据库的内存上保持着服务接口的信息表,供用户查询。 And maintain information on the memory table service interface service metadata database for user queries.

[0028] 一个业务系统包括配置文件、服务插件以及服务程序集三类资源。 [0028] a business system configuration files, plug-ins and service assembly service three types of resources. 配置文件是服务提供商与系统之间达成的协议,服务组件实例与服务程序集安装在部署节点上,服务插件是在部署节点上的具有相同的命名规则和接口标准的动态链接库,实现服务程序集的启动、停止和通知操作,具体的实现由服务开发商完成。 A profile is an agreement between a service provider and systems, service and service component instance assembly is installed on the deployment node, the service plug-in is the same naming conventions and interface standard dynamic link library on the deployment node, to achieve service start the assembly, stop the operation and notify the specific implementation is done by the service developer. 服务程序集是具有特定功能的应用程序,它用来实现业务系统的功能应用。 Services Assembly is an application with a specific function, which is used to implement application business systems. 部署节点可以抽象为一个服务组件实例框架,服务插件与服务程序集组成服务组件实例。 Deployment can be abstracted as a node instance service component frame, and the service plug assembly composed of the service component service instances. 配置文件以及服务组件实例的主要标签及说明如表I、 2所示。 Examples of the service profile and the main assembly of the label and as described in Table I, 2 shown in FIG. [0029] 表I系统配置文件主要标签说明标签名I父标签I说明 [0029] TABLE I System main configuration file name tag label instructions parent tag I I Description

SYSTEM_^_业务系统名及描述_ SYSTEM _ ^ _ business system name and description _

MODULE—QUANTITY START_0RDER ~1亥业务服务组件实例的数量MODULE START_0RDER ¥承服务组件实例启动的时序关系 Examples of the number of components 1 Hai Business Services START_0RDER ~ MODULE-QUANTITY MODULE START_0RDER ¥ bearing service component instance start timing relationship

QUANT ITYMAX MODULE 服务组件实例运行的最大数 The maximum number of QUANT ITYMAX MODULE service component instance running

QUANT ITYMIN MODULE 该服务组件实例运行的最小数 — QUANT ITYMIN MODULE minimum number of running the service component instance -

KEYMODULE MODULE 该服务组件实例是否为宕机就必须关闭整个业务系统的关键组件ENTRY MODULE _务组件实例是否为一个服务接口的入口 KEYMODULE MODULE whether the service component instance must be shut down for the entire business system is a key component ENTRY MODULE _ business component instance is a service interface entry

MONOPOLIZE !MODULE I该服务组件实例是否需要独占一个部署节 MONOPOLIZE! MODULE I need this service component instance is exclusively a deployment section

表2服务组件实例配置文件主要标签说明 LABEL DESCRIPTION Table 2 Main Profile service component instance

¥签名 I父标签 I说明 ¥ signature I explained I parent tag

MODULE—NAME MODULE—CONFIG 服务组件实例名 MODULE-NAME MODULE-CONFIG service component instance name

BIN—NAME—LIST M0DULE_C0NFIG -应用程序名列表 BIN-NAME-LIST M0DULE_C0NFIG - application name list

MONITOR—LIMIT !MODULE—CONFIG |扩容和/ 或收缩阀值 MONITOR-LIMIT MODULE-CONFIG |! Expansion and / or contraction threshold

只有按照上述规范填写配置文件,然后才能在业务系统安装时候正确解析配置的XML Only fill in the configuration file in accordance with the above specifications before you can resolved configured correctly in the business system installation time XML

文档的树形结构,加载必要信息和属性,保证业务正常运营。 The tree structure of the document, load the necessary information and attributes to ensure normal business operations.

[0030] 其中,如图3所示,安装一个业务流程的步骤如下: [0030] wherein, as shown in FIG. 3, the step of mounting a business process is as follows:

(1)用户通过Web门户上的安装业务系统页面上的提示,依次上传资源文件; (1) by prompting the user on the system installation business page on the Web portal, in order to upload the resource file;

(2) Web门户将这些资源文件传至业务控制服务器; (2) Web portal business resource files transmitted to the control server;

(3)业务控制服务器按特定的目录结果存放,并检查资源文件的合法性,生成对应的业务系统的元数据。 (3) store traffic control server according to the results of a particular directory, checks the validity of the resource file and the metadata is generated corresponding to the business system.

[0031] 实施例2 [0031] Example 2

在启动一个业务系统时,由服务提供商进行操作,并且由系统内部完成生成文件,对业务系统进行编号,运行服务组件实例,返回启动结果的功能, In a business system startup, the operation performed by the service provider, and generates a file is completed by the internal system, the business system numbers running service component instance, the result returns to the startup function,

如图4所示,按照下面步骤启动一个业务系统: As shown in FIG 4. The following steps start a service system:

(1)服务提供商在Web门户上选择启动已安装的业务系统; (1) Select the service provider initiates the service system has been installed on the Web portal;

(2)ffeb门户生成该业务的格式为“业务系统名_实例号”,并发至业务控制服务器进行处理; Format (2) ffeb the service portal generator is "business system name _ instance number", and transmits to the service control server for processing;

(3 )业务控制服务器接收请求后,从系统配置文件解析出服务组件实例数量和关系、启动顺序等,将要启动的服务组件实例名放入队列。 After receiving a request (3) a service control server, parses the service from the system configuration files and the number of component instances relationship, the boot sequence the like, to be launched into the queue service component instance name. 业务检查队列不为空,读出队头服务组建的配置文件,生成一个服务组件实例实施号,启动报文并发送至资源控制服务器进行处理; Check the service queue is not empty, the service queue head reads out the formation of the profile, example embodiment generates a service component number, start packets and sent to the resource control server for processing;

(4)资源控制服务器有资源池里部署节点的状态以及负载信息,根据负载因子计算权值,选择一个最为空闲的部署节点运行这个服务组件实例; (4) the resource control server node has the resources pool deployment status and load information, the load factor calculated weights, selecting a most idle run the service nodes deployed component instance;

(5)部署节点上的Agent守护进程接收到启动报文后,为该服务组件实例分配IP、Port 等资源,然后调用服务插件的Start接口,由服务插件实现服务程序集启动及初始化工作, 完成后,将启动结果返回; After Agent daemon on (5) to start deploying node receives the packet, instance assignment IP, Port and other resources for the service component, and then call the service plug-ins Start interface implemented by the service plug assembly start-up and service initialization completed after, the results will start to return;

(6)若该组件返回启动成功,业务控制服务器将分配资源的位置进行记录,并且将信息发送至服务接入点进行保存,重复步骤(3)至(6),直至所有服务组件实例都启动完毕。 (6) If the component returns starts successfully, the service control server allocates resources to a position to be recorded, and the information is transmitted to the serving access point stored, repeating steps (3) to (6) until all components of the service instances are started completed. 若返回启动失败,则关闭已经启动的服务组件实例,并且从步骤(3)开始重新运行整个流程; If the return initiation fails, the service instance of the closure assembly has been started, and (3) run the whole process starts again from step;

(7)业务系统实例在系统上启动成功后,业务控制服务器会向所有的服务接入点注册该业务的服务及接口、系统实施号等信息; (7) Examples of system operations on the system starts successfully, the service control server registers the service access point for all services and interfaces of information services, the system number and the like;

(8)向用户报告此次启动实例的结果以及服务组件实例的资源分布情况。 (8) The start of the distribution of results and resource instance service component instances reported to the user. 至此,启动业务系统实例完成,服务提供商只需在浏览器上进行简单的操作,这种操作极大的提高了业务应用的部署效率。 So far, start the instance of complete business systems, service providers need a simple operation on the browser, this greatly improves the operating efficiency of the deployment of business applications. [0032] 实施例3 [0032] Example 3

无论外部系统的服务接入点还是其它业务系统,如图5所示,都通过下列方法完成服务对平台内部署的所有业务系统接口的访问: Serving access point whether the external system or other business systems, shown in Figure 5, complete access to all system services for all services deployed in the platform interface by the following method:

(1)首先查询服务组件实例列表:用户通过服务接入点查询内存中存储的业务系统实例表; (1) First, a list of queries component instance: Instance table service system through a service access point user query stored in the memory;

(2)收到回复后,用户查询服务组件实例中实例的服务接口 :用户通过服务接入点发送报文,查询业务系统实例的入口,业务系统实例名被包含在报文中,然后用户再查询内存中存储的业务系统入口表; (2) After receiving the reply, the service interface instance in a user query service component instance: the user sends packets via a service access point, inquiry service system inlet instance, the instance name service system is contained in the message, then the user re query service system table entry stored in memory;

(3)服务组件实例得到服务接口的位置信息后,使用已部署的服务。 (3) Service component instance obtained location information service interfaces, services that have been deployed.

[0033] 实施例4 [0033] Example 4

部署节点采用集群方式实现,具有良好的伸缩性,动态地加入和/或减少节点并不会影响到平台的其它工作,部署节点上的服务组件实例可以实现自动扩容和/或收缩,如图6 所示,按照下面的步骤完成: Deployment uses a cluster node manner, having excellent stretchability, dynamically added and / or decrease does not affect other nodes and working platforms, service nodes deployed on the component instance can automatically expansion and / or contraction, in FIG. 6 As shown in, the following steps are performed:

(1)部署节点的守护进程检测到一段时间内该服务组件实例消耗的内存和/或网络其中一项或多项阈值超过上限和/或下限,向资源控制服务器发送该事件的通知; Daemon (1) detected node deployed within a period of time of the service component instance consumes memory and / or wherein one or more network notifies exceeds the upper threshold value and / or a lower limit, sending the event to the resource control server;

(2)资源控制服务器将此事件转发给业务控制服务器; (2) resource control server forwards this event to the service control server;

(3)业务控制服务器对业务组件实例进行调整,然后检查调整后的业务系统实例下组件实例数是否超过最大或者最小值,若超过,则忽略该消息,若没有超过,则开始扩容或者收缩。 (3) the service control server component instance operations to adjust and examples of the component service system checking the adjusted number of instances exceeds a maximum or a minimum, if exceeded, the message is ignored, if not exceeded, the expansion or contraction starts.

[0034] 实施例5 [0034] Example 5

为了提供稳定的运营环境,系统所有模块均采用异步事件驱动编程模型,可以并发处理多个业务系统实例的操作请求,支撑大规模业务系统实例同时运行,一个部署节点若出现宕机时,该节点上运行的服务组件实例将迁移到其它部署节点上。 In order to provide a stable operating environment, the system all modules are asynchronous event-driven programming model may be processed concurrently operating system instances multiple service requests, a large-scale example of a support service while the system is running, if the down time occurs a provisioning node, the node service component instances running on deployment will migrate to other nodes.

[0035] 部署节点出现故障宕机时,部署节点心跳超时,资源控制服务器监测到此事件后, 重新启动部署节点上的实例分类排序列表,解析出它们之间的关系,并把注册过的消息通知相应的实例,让它们做出相应的处理,使得业务系统提供的服务能在短时间内恢复可用。 When [0035] the deployment of node failure downtime, deploy node heartbeat timeout, the resource control server monitoring this event, restart the instance Sorting listing on deployment node, parse out the relationships between them, and the registered message examples of appropriate notice, so that they make the appropriate treatment, so that the service provided by the system can resume business in the short time available. 如图7所示,具体步骤包括: As shown in FIG 7, the specific steps include:

(1)部署节点出现故障宕机后,部署节点心跳超时,监测到此事件后,资源控制服务器将该部署节点运行的服务实例放入故障实例队列里; After (1) deployment of node failure downtime, deploy node heartbeat timeout, this event monitoring, resource control server node running the service instances deployed into the failed instance of the queue;

(2)业务控制服务器每隔一段时间向资源控制服务器拉取故障实例,按照系统实例号分类并排序这批故障实例,通过资源控制服务器重新启动; (2) server service control intervals pulls the resource control server failure instance, the classification system according to Example number and sort these faults instance, by restarting the resource control server;

(3)某个业务系统在故障的部署节点上可能运行着多个模块实例,各个模块在启动时候都有严格的启动顺序和依赖关系,系统采用的是一种双迁移队列的方案来解决避免模块重启时的乱序问题,当某个部署节点出现故障宕机时,资源控制服务器会因心跳感知到此事件,把宕机的模块放入待处理故障队列,业务控制服务器会定时向资源控制服务器拉取这些已宕机的模块实例,按业务顺序排列,并将此时间通知依赖于它的模块实例。 (3) a plurality of business systems may be running on the deployment module instance node failure, the modules start the startup sequence, when there are stringent and dependencies, the system uses a dual migration scheme to address queue avoided module disorder problems when restarted, when a node fails deployment downtime, due to resource control server heartbeat perceive this event, put down the modules into the fault queue to be processed, the service control server periodically to the resource control examples of these servers are pulling down the module, are arranged in the order of operations, and this time is dependent on its notification module instance.

[0036]按照上述实施例,便可很好地实现本发明。 [0036] According to the above embodiment, the present invention can be well realized.

Claims (9)

1. 一种面向服务架构的分布式业务集成系统,其特征在于,包括承载服务组件的部署节点集群、监控和管理部署节点集群的资源控制服务器、与该资源控制服务器连接并处理业务系统的请求和响应内部事件的业务控制服务器,以及分别连接该业务控制服务器的作为系统对外统一的控制接口的Web门户和提供系统服务接口查询的服务接入点。 A distributed service integration system of the service-oriented architecture, which is characterized in that, the resource control server comprises a cluster node bearer service deployment assembly, the deployment of the monitoring and management of the cluster nodes, connected to the resource control server and service processing system requests Web portal and service control server responds to internal events, and are connected to the service control server as a unified system of external control interface and provide system services interface to query service access point.
2.根据权利要求1所述的一种面向服务架构的分布式业务集成系统,其特征在于,所述部署节点集群包括至少一个部署节点。 According to one of the claims 1 to distributed service-oriented architecture service integration system, and wherein said deploying comprises at least one node cluster node deployment.
3.根据权利要求1或2所述的一种面向服务架构的分布式业务集成系统,其特征在于, 所述服务组件由一个服务插件和至少一个服务程序组成。 3. According to one of claim 1 or claim 2 for distributed service integration system services architecture, wherein the service component of a service plug and the at least one service program.
4. 一种面向服务架构的分布式业务集成系统的应用方法,其特征在于,包括以下步骤:(a)在分布式业务集成系统上安装由配置文件、服务插件以及服务程序集组成的业务系统;(b)服务提供商通过Web门户启动安装的业务系统;(C)用户通过服务接入点访问安装的业务系统的服务接口,进行对业务系统的访问。 A distributed service integration system application of the method of service-oriented architectures, characterized by comprising the steps of: (a) mounting a system service profile, service, and service plug-in assembly consisting of distributed service integration system ; (b) the service provider business to start installation of the system through the Web portal; (C) user interfaces to access business systems installation services through a service access point, access to business systems.
5.根据权利要求4所述的一种面向服务架构的分布式业务集成系统的应用方法,其特征在于,所述步骤(a)具体包括:(al)用户填写配置文件;(a2)按照系统提示依次上传资源文件后,由业务控制服务器检查资源文件的合法性并存储,生成对应的元数据。 5. According to one claim 4, wherein for application of the method of service distributed service integration system architecture, wherein said step (a) comprises: (al) to fill in the user profile; (A2) in accordance with the system after the prompts to upload the resource file, the server checks the legality of the service control and resource files to store, generate corresponding metadata.
6.根据权利要求4或5所述的一种面向服务架构的分布式业务集成系统的应用方法, 其特征在于,所述步骤(b)具体包括:(bl)服务提供商在Web门户上选择已安装的业务系统,并发送至业务控制服务器进行处理;(b2)业务控制服务器解析文件,并将其发送至资源控制服务器,资源控制服务器选择一个部署节点运行服务组件;(b3)部署节点为服务组件分配地址,实现服务组件的启动及初始化工作,完成后,将启动结果返回;(b4)重复步骤(b2)和(b3),直至所有服务组件启动成功;(b5)业务系统启动成功后,业务控制服务器通过资源控制服务器向服务接入点注册该业务系统的服务接口、系统实例号;(b6)完成后向用户报告此次启动实例的结果以及服务组件的资源分布情况。 A 4-or 5 according to the method of claim distributed service-oriented application service integration system architecture, wherein said step (b) comprises: (bl) selecting a service provider on the Web portal installed service system, and transmits to the service control server for processing; (B2) the service control server parses the file and sends it to the resource control server, the control server selects a resource deployment node running service components; (B3) node deployed after (b5) service system starts successfully; service component to assign addresses to achieve start-up and initialization service component, after completion of the startup result is returned; (B4) repeating steps (b2) and (B3), until all service components start successfully the service control server registers the service system via an access point to the service server service interface resource control, system instance number; (B6) to start after completion of the distribution of resources as well as the results of the service component instances reported to the user.
7.根据权利要求6所述的一种面向服务架构的分布式业务集成系统的应用方法,其特征在于,所述步骤(C)中用户完成对业务系统的访问包括以下三种方式:(Cl)服务接入点首先查询自己内存中的服务组件列表,并将查询结果回复给客户; (c2)服务接入点再查询自己内存中服务组件的服务接口,并将查询结果回复给客户; (c3)用户完成查询后,调用部署节点上的服务。 According to one of the claim 6 for application of the method of service distributed service integration system architecture, wherein said step (C) is completed the user access to the service system comprises the following three ways: (Cl ) service access point first queries the list of service components in its own memory, and return query results to the client; (c2) service access point and then query the service interface service component in its own memory, and return query results to the client; ( c3) after the user completes the inquiry, calling the deployment of services on the node.
8.根据权利要求4或5或7所述的一种面向服务架构的分布式业务集成系统的应用方法,其特征在于,还包括对服务组件的自动扩容和/或收缩方法,其步骤如下:(1)部署节点检测到自身消耗的内存和/或网络中阈值超过预设的上限和/或下限时,向资源控制服务器发送该事件通知;(2)资源控制服务器将事件转发给业务控制服务器;(3)业务控制服务器对服务组件进行扩容和/或收缩。 8. According to one 5 or 4 or 7 Application of the method according to the distributed service-oriented architecture service integration system of claim, wherein further comprising a service component to the automatic expansion and / or contraction process comprises the following steps: (1) deployment node detects itself consumes memory and / or network threshold value exceeds a preset upper and / or lower limit, sends the event notification to the resource control server; (2) the resource control server forwards the event to the service control server ; (3) the service control server service components for expansion and / or contraction.
9.根据权利要求4或5或7所述的一种面向服务架构的分布式业务集成系统的应用方法,其特征在于,还包括部署节点出现故障宕机后的恢复方法,包括以下步骤:(1)资源控制服务器检测到部署节点出现故障宕机后,将出现故障宕机的部署节点上运行的服务组件放入故障实例队列内;(2)业务控制服务器定时从资源控制服务器拉取出现故障宕机的服务组件,并将其重新启动。 9. According to one of the 4 or 5 or 7 for application of the method as claimed in claim distributed service architecture service integration system, characterized by, further comprising a post-deployment recovery method fails down node, comprising the steps of :( fault downtime 1) detect the presence of the resource control server node deployment, the service will appear components running on a node failure downtime deployment into the fault instance queue; (2) the timing of traffic control server fails pulled from the resource control server down service components, and restart it.
CN2012100900966A 2012-03-30 2012-03-30 Distributed service integrated system for service-oriented architecture and application method thereof CN102624919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100900966A CN102624919A (en) 2012-03-30 2012-03-30 Distributed service integrated system for service-oriented architecture and application method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100900966A CN102624919A (en) 2012-03-30 2012-03-30 Distributed service integrated system for service-oriented architecture and application method thereof

Publications (1)

Publication Number Publication Date
CN102624919A true CN102624919A (en) 2012-08-01

Family

ID=46564601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100900966A CN102624919A (en) 2012-03-30 2012-03-30 Distributed service integrated system for service-oriented architecture and application method thereof

Country Status (1)

Country Link
CN (1) CN102624919A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761235A (en) * 2013-11-18 2014-04-30 芜湖大学科技园发展有限公司 Distribution method and application of universal power data platform
CN103905234A (en) * 2012-12-28 2014-07-02 北京友友天宇系统技术有限公司 Method and system for improving resource availability in distributed system
CN103905550A (en) * 2014-04-01 2014-07-02 南威软件股份有限公司 Distributed scheduling method based on same interface
CN104348857A (en) * 2013-07-30 2015-02-11 北大方正集团有限公司 Method and system for integrating business system to portal system
CN104468777A (en) * 2014-12-05 2015-03-25 北京奇虎科技有限公司 Data operating method and device
CN105471990A (en) * 2015-11-23 2016-04-06 中国民生银行股份有限公司 Construction method of unique service support platform and apparatus thereof
CN106100867A (en) * 2016-05-27 2016-11-09 乐视控股(北京)有限公司 Operation maintenance method and apparatus for distributed service system
CN103457771B (en) * 2013-08-30 2016-12-28 杭州华三通信技术有限公司 A virtual machine cluster management methods and equipment ha
WO2016169530A3 (en) * 2016-06-22 2017-05-11 白杨 Service-oriented modular system architecture
CN107832139A (en) * 2017-09-26 2018-03-23 上海点融信息科技有限责任公司 Computing resource method, device and system for managing block chain nodes

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246415A1 (en) * 2000-06-22 2005-11-03 Microsoft Corporation Distributed computing services platform
CN101583148A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Method and device for processing overloading of communication equipment
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
CN101969391A (en) * 2010-10-27 2011-02-09 北京邮电大学 Cloud platform supporting fusion network service and operating method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246415A1 (en) * 2000-06-22 2005-11-03 Microsoft Corporation Distributed computing services platform
CN101583148A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Method and device for processing overloading of communication equipment
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
CN101969391A (en) * 2010-10-27 2011-02-09 北京邮电大学 Cloud platform supporting fusion network service and operating method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905234A (en) * 2012-12-28 2014-07-02 北京友友天宇系统技术有限公司 Method and system for improving resource availability in distributed system
CN104348857A (en) * 2013-07-30 2015-02-11 北大方正集团有限公司 Method and system for integrating business system to portal system
CN103457771B (en) * 2013-08-30 2016-12-28 杭州华三通信技术有限公司 A virtual machine cluster management methods and equipment ha
CN103761235A (en) * 2013-11-18 2014-04-30 芜湖大学科技园发展有限公司 Distribution method and application of universal power data platform
CN103905550A (en) * 2014-04-01 2014-07-02 南威软件股份有限公司 Distributed scheduling method based on same interface
CN103905550B (en) * 2014-04-01 2017-08-29 南威软件股份有限公司 One kind of the same interface of a distributed scheduling based
CN104468777A (en) * 2014-12-05 2015-03-25 北京奇虎科技有限公司 Data operating method and device
CN104468777B (en) * 2014-12-05 2018-01-23 北京奇虎科技有限公司 Method and apparatus for data manipulation
CN105471990A (en) * 2015-11-23 2016-04-06 中国民生银行股份有限公司 Construction method of unique service support platform and apparatus thereof
CN106100867A (en) * 2016-05-27 2016-11-09 乐视控股(北京)有限公司 Operation maintenance method and apparatus for distributed service system
WO2016169530A3 (en) * 2016-06-22 2017-05-11 白杨 Service-oriented modular system architecture
CN107832139A (en) * 2017-09-26 2018-03-23 上海点融信息科技有限责任公司 Computing resource method, device and system for managing block chain nodes

Similar Documents

Publication Publication Date Title
US8631283B1 (en) Monitoring and automated recovery of data instances
US8676753B2 (en) Monitoring of replicated data instances
EP2697714B1 (en) Deployment system for multi-node applications
US7447940B2 (en) System and method for providing singleton services in a cluster
US9817727B2 (en) Failover and recovery for replicated data instances
US9154549B2 (en) Dynamic server farms
US20090158292A1 (en) Use of external services with clusters
JP6005706B2 (en) Virtual machine morphing for heterogeneous mobile environment
CN102648448B (en) Supply and management of replicated data
US9357034B2 (en) System and method for orchestration of services for use with a cloud computing environment
JP4716637B2 (en) System and method for automating the management of computer services and programmable device
CN104170323B (en) Network-based virtual function fault processing method and apparatus, system
EP1762932A2 (en) Method and an apparatus for controlling executables running on blade servers
CN102763102B (en) Self-service environment for data configuration
US8185776B1 (en) System and method for monitoring an application or service group within a cluster as a resource of another cluster
US6934880B2 (en) Functional fail-over apparatus and method of operation thereof
CN1784660B (en) Method and system for deploying processing resources to fault switch station using rule explanation
US8713177B2 (en) Remote management of networked systems using secure modular platform
CN104704775B (en) Discovering, validating and configuring the hardware inventory component
JP2004519024A (en) System and method for managing a cluster containing a large number of nodes
EP1635257A2 (en) System method and medium for configuring client computers to operate disconnected from a server computer while using a master instance of the operating system
CN103024060B (en) Open type cloud computing monitoring system for large scale cluster and method thereof
US20030196148A1 (en) System and method for peer-to-peer monitoring within a network
CN104272292A (en) Network resource deployment for cloud-based services
CN1656776A (en) A computing services grid

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C53 Correction of patent for invention or patent application
COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: DUAN HANCONG LI LIN NIE XIAOWEN LI TONGXING JIANG BO TO: DUAN HANCONG MIN GEYONG LI LIN NIE XIAOWEN LI TONGXING JIANG BO

C12 Rejection of a patent application after its publication