[go: up one dir, main page]

CN100512132C - Method for implementing service logic operation environment - Google Patents

Method for implementing service logic operation environment Download PDF

Info

Publication number
CN100512132C
CN100512132C CNB031094937A CN03109493A CN100512132C CN 100512132 C CN100512132 C CN 100512132C CN B031094937 A CNB031094937 A CN B031094937A CN 03109493 A CN03109493 A CN 03109493A CN 100512132 C CN100512132 C CN 100512132C
Authority
CN
China
Prior art keywords
business
instance
message
service
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB031094937A
Other languages
Chinese (zh)
Other versions
CN1536818A (en
Inventor
梁笑凯
廖江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031094937A priority Critical patent/CN100512132C/en
Publication of CN1536818A publication Critical patent/CN1536818A/en
Application granted granted Critical
Publication of CN100512132C publication Critical patent/CN100512132C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Multi Processors (AREA)

Abstract

本发明公开了一种业务逻辑运行环境实现的方法,涉及电信业务运行环境领域,该方法包含:通信实体向事件调度器发送消息中间件事件消息;事件调度器根据收到的消息中间件事件消息,在业务类型池中获取相应的业务实例,并控制所获取的业务实例完成相应操作。在分布式业务逻辑运行环境结构中,一次会话过程中的业务实例能够共享该会话过程中生成的业务会话上下文数据,业务实例可对其进行相应操作。通过消息中间件技术为业务逻辑运行环境提供通用的通讯平台。本发明通过消息中间件技术实现了不依赖于应用程序服务器平台的业务逻辑运行环境运行机制,并且通过消息中间件技术可以实现分布式业务逻辑运行环境节点间的数据共享。

The invention discloses a method for realizing a service logic operation environment, and relates to the field of telecommunication service operation environment. The method comprises: a communication entity sends a message middleware event message to an event scheduler; , obtain the corresponding service instance in the service type pool, and control the obtained service instance to complete the corresponding operation. In the structure of the distributed business logic running environment, business instances in a session can share the business session context data generated in the session, and the business instances can perform corresponding operations on it. Provide a common communication platform for the business logic operating environment through message middleware technology. The invention realizes the operating mechanism of the service logic operating environment independent of the application program server platform through the message middleware technology, and can realize the data sharing among nodes of the distributed service logic operating environment through the message middleware technology.

Description

一种业务逻辑运行环境实现的方法 A Method for Realizing Business Logic Running Environment

技术领域 technical field

本发明涉及电信业务运行环境领域,特别是指一种业务逻辑运行环境实现的方法。The invention relates to the field of telecommunication service operating environment, in particular to a method for realizing a business logic operating environment.

背景技术 Background technique

JAIN(JAVA API for Intelligent Network)技术致力于提供基于JAVA平台的集成应用程序接口(API)和接口框架,建立或集成一个能跨越各种网络的统一电信业务解决方案。其中,各种网络包括基于网际协议(IP)或异步转移模式(ATM)的分组交换网络、无线网络和传统的公用电话交换网络(PSTN);电信业务解决方案包括业务的可移植性和一致性,外部业务访问该集成网络的安全性等特性。JAIN技术使互联网(Internet)和智能网(Intelligent Network)的协议能够集成在一起,成为新的集成网络(IntegratedNetwork)。JAIN技术组织的众多参与者根据一致定义好的工作过程制定出一系列的API和接口框架,业务开发者遵循这些API和接口框架,能够达到快速开发和部署多样化业务的目的。JAIN (JAVA API for Intelligent Network) technology is committed to providing an integrated application program interface (API) and interface framework based on the JAVA platform to establish or integrate a unified telecom service solution that can span various networks. Among them, various networks include packet-switched networks based on Internet Protocol (IP) or Asynchronous Transfer Mode (ATM), wireless networks and traditional public switched telephone networks (PSTN); telecom service solutions include service portability and consistency , external business access to the security of the integrated network and other features. The JAIN technology enables the protocols of the Internet (Internet) and the Intelligent Network (Intelligent Network) to be integrated to form a new Integrated Network (Integrated Network). Many participants in the JAIN technical organization have developed a series of API and interface frameworks based on a well-defined work process. Business developers follow these API and interface frameworks to achieve the purpose of rapid development and deployment of diverse services.

JAIN技术组织的工作输出包括两个主要的开发领域:API协议规范和API应用规范。API协议规范是制定标准化的接入IP、有线网络和无线网络的信令协议接口规范,信令协议包括:事务处理能力应用部分(TCAP)、综合业务服务网用户部分(ISUP)、智能网应用协议(INAP)、移动应用部分(MAP)、会晤启动协议(SIP)和H.323等。API应用规范是制定网络安全访问(JAIN Parlay)、连接性管理、JAIN会话/呼叫控制(JCC/JCAT)、以及JAIN业务生成/电信级业务逻辑运行环境(JSC/SLEE)等方面的接口框架建议和API规范。The work output of the JAIN technical organization includes two main development areas: API protocol specification and API application specification. The API protocol specification is to formulate a standardized signaling protocol interface specification for accessing IP, wired networks and wireless networks. The signaling protocol includes: transaction processing capability application part (TCAP), integrated service service network user part (ISUP), intelligent network application Protocol (INAP), Mobile Application Part (MAP), Session Initiation Protocol (SIP) and H.323, etc. The API application specification is to formulate interface framework recommendations for network security access (JAIN Parlay), connectivity management, JAIN session/call control (JCC/JCAT), and JAIN service generation/telecom-level business logic operating environment (JSC/SLEE), etc. and API specifications.

图1为JAIN API规范体系结构示意图,如图1所示,JAIN API体系结构可由三层组成:JAIN应用层104、JAIN业务层110和JAIN网络协议层(Protocol Layer)111。Figure 1 is a schematic diagram of the JAIN API specification architecture, as shown in Figure 1, the JAIN API architecture can be composed of three layers: JAIN application layer 104, JAIN business layer 110 and JAIN network protocol layer (Protocol Layer) 111.

JAIN网络协议层111支持TCAP、ISUP、INAP、MAP、SIP、H.323、媒体网关控制协议(MGCP)和Megaco等协议。JAIN网络协议层11l的作用是把来自下面实际网络层的特定网络消息适配成JAIN协议的API调用形式。实际网络层包括IP112、宽带网络(Broadband)113、有线网络(Wireless)114、PSTN115和卫星网络(Satellite)116等。The JAIN network protocol layer 111 supports protocols such as TCAP, ISUP, INAP, MAP, SIP, H.323, Media Gateway Control Protocol (MGCP) and Megaco. The role of the JAIN network protocol layer 111 is to adapt specific network messages from the actual network layer below into the API call form of the JAIN protocol. The actual network layer includes IP112, broadband network (Broadband) 113, wired network (Wireless) 114, PSTN115 and satellite network (Satellite) 116, etc.

JAIN业务层110包括JAIN业务逻辑运行环境(JSLEE,JAIN ServiceLogic Execution Environment)108和JAIN会话/呼叫控制(JCC,JAIN CallControl/JCAT,JAIN Coordination and Transactions)109。业务开发好以后,将业务部署于JSLEE 108,并且业务以JCC/JCAT 109的模式来处理网络事件。JSLEE 108是一系列JAIN API集成的一个重要部分,在JAIN API整个体系结构中处于比较核心的位置。JSLEE是JAIN业务逻辑运行环境,可以视为支撑业务运行的一个虚拟操作系统环境,它的典型功能包括对业务生命周期进行管理,为业务的运行提供各种系统服务等。The JAIN business layer 110 includes a JAIN business logic execution environment (JSLEE, JAIN ServiceLogic Execution Environment) 108 and a JAIN session/call control (JCC, JAIN CallControl/JCAT, JAIN Coordination and Transactions) 109. After the business is developed, the business is deployed in JSLEE 108, and the business handles network events in the mode of JCC/JCAT 109. JSLEE 108 is an important part of a series of JAIN API integrations, and is at the core of the entire JAIN API architecture. JSLEE is the JAIN business logic operating environment, which can be regarded as a virtual operating system environment supporting business operation. Its typical functions include managing the business life cycle and providing various system services for business operation.

JAIN应用层104包括非信任的第三方应用(Untrusted third-partyapplications)101、JAIN业务生成环境(JSCE,JAIN Service CreationEnvironment)102和信任的第三方应用(Trusted third-party applications)103。非信任的第三方应用101通过JAIN业务供应商接口(JSPA,JAIN ServiceProvider Access)105来发现并访问在JSLEE108中部署的业务及各业务的能力。信任的第三方应用103通过标准的安全接口(Security Interface)106来访问JSLEE 108中的业务。JSCE 102属于JAIN规范,可以独立出来,它是一套可以快速开发JSLEE 108业务的API规范。The JAIN application layer 104 includes untrusted third-party applications (Untrusted third-party applications) 101, JAIN service creation environment (JSCE, JAIN Service CreationEnvironment) 102 and trusted third-party applications (Trusted third-party applications) 103. The untrusted third-party application 101 discovers and accesses the services deployed in the JSLEE 108 and the capabilities of each service through the JAIN service provider interface (JSPA, JAIN Service Provider Access) 105 . The trusted third-party application 103 accesses the services in the JSLEE 108 through a standard security interface (Security Interface) 106. JSCE 102 belongs to the JAIN specification and can be independent. It is a set of API specifications that can quickly develop JSLEE 108 services.

JAIN业务层110通过安全的电信空间107与JSPA 105和安全接口106进行通信。The JAIN service layer 110 communicates with the JSPA 105 and the secure interface 106 through the secure telecommunication space 107.

图2为SLEE简化逻辑功能框图,如图2所示,SLEE 201的基本组成部分主要包括业务类型实例池(Service Instance Pool)202、事件调度器(ED,Event Dispatcher)204、系统服务(SLEE Resource)205和数据池206。业务类型实例池202包括多个业务实例203,事件调度器204在业务类型实例池202中查找并获取所需的业务实例203。系统服务205管理业务生命周期、定时器服务、告警服务等。数据池包括存储运行期间各种数据的数据库(DataRepository)207、描述业务的数据—业务描述(Service Description)209,以及描述ED 204可能会调度事件的事件信息(Event Information)208。ED204通过不同的网络适配器(Network Adaptor)210接受来自底层网络协议栈的事件信息(Event Source)211。Fig. 2 is a simplified logical functional block diagram of SLEE. As shown in Fig. 2, the basic components of SLEE 201 mainly include service type instance pool (Service Instance Pool) 202, event dispatcher (ED, Event Dispatcher) 204, system service (SLEE Resource ) 205 and data pool 206. The service type instance pool 202 includes a plurality of service instances 203 , and the event scheduler 204 searches and obtains the required service instance 203 in the service type instance pool 202 . The system service 205 manages the service life cycle, timer service, alarm service and so on. The data pool includes a database (DataRepository) 207 for storing various data during operation, data describing services—service description (Service Description) 209, and event information (Event Information) 208 describing possible scheduling events of the ED 204. ED204 receives event information (Event Source) 211 from the underlying network protocol stack through different network adapters (Network Adapter) 210.

JAIN SLEE API的集成为具体实现SLEE提供了一个接口框架,它的优势包括:以一种标准和可重复使用的方式提供一系列精确定义的API,通过这些API能调用公共功能,业务提供者遵循这些API就能够快速开发新业务和新应用;业务开发者在开发业务的过程中可以只关注于业务的实现逻辑,而不用去关心底层的网络协议和运行业务的技术细节,将业务和底层网络协议的变更屏蔽开来;业务开发者能够快速地生成新业务,也可以利用现存的业务特征组合成新业务;业务开发好以后,新业务可以运行在所有与JSLEE兼容的接口框架上。The integration of JAIN SLEE API provides an interface framework for the specific implementation of SLEE. Its advantages include: providing a series of precisely defined APIs in a standard and reusable manner, through which public functions can be called, and service providers follow These APIs can quickly develop new services and applications; business developers can only focus on the implementation logic of the business in the process of developing the business, and do not need to care about the underlying network protocol and technical details of running the business. Protocol changes are shielded; service developers can quickly generate new services, and can also use existing service features to combine new services; after the service is developed, the new service can run on all interface frameworks compatible with JSLEE.

除了JAIN SLEE API,JAIN技术组织还提供了实现SLEE的规范,规范描述了业务的生命周期模型、业务的部署机制等。业务的部署机制包括业务打包的结构和对业务内容的定义,如何定义用于指导业务部署的部署描述器(Deployment Descriptor),业务部署和订阅接口等。此外,还定义了业务的运行机制,包括操作管理接口定义、业务间异步通信机制等等。In addition to the JAIN SLEE API, the JAIN technical organization also provides the specification for implementing SLEE, which describes the life cycle model of the business, the deployment mechanism of the business, and so on. The service deployment mechanism includes the structure of service packaging and the definition of service content, how to define the deployment descriptor (Deployment Descriptor) used to guide service deployment, service deployment and subscription interface, etc. In addition, it also defines the operation mechanism of the business, including the definition of the operation management interface, the asynchronous communication mechanism between the business and so on.

JSLEE体系结构和API都在随着现有的网络技术和软件实现技术的改进不断演化。JSLEE的优点还体现在它的开放性,它没有规定具体的实现细节,只提供了一个体系结构一级的接口框架和标准的API级接口。这样,不同的开发商可以根据自身的技术特点实现一个具体的SLEE。采用不同的技术,会有性能和成本上的差异,有助于市场上SLEE产品的竞争和发展,同时反过来会促进JSLEE体系结构和API的不断完善。JSLEE architecture and API are constantly evolving with the improvement of existing network technology and software implementation technology. The advantage of JSLEE is also reflected in its openness. It does not specify specific implementation details, but only provides an architecture-level interface framework and a standard API-level interface. In this way, different developers can implement a specific SLEE according to their own technical characteristics. Using different technologies will have differences in performance and cost, which will help the competition and development of SLEE products in the market, and in turn will promote the continuous improvement of JSLEE architecture and API.

实现一个电信级的SLEE,必须考虑到分布式处理、负载平衡、数据库的有效存储、对象和连接业务类型实例池的管理等技术细节。从技术层面上看JAIN SLEE可以用组件技术来实现。EJB(Enterprice JAVA BEAN)组件技术就是一个可行的实现JSLEE的技术,除此之外,JINI、JINI JAVASpace、JES都是可选的能够实现JSLEE的组件技术。JSLEE的一些特性,例如分布式处理、负载均衡、处理能力等,完全依赖于所采用的应用程序服务器平台的性能。To implement a carrier-class SLEE, technical details such as distributed processing, load balancing, effective storage of databases, and management of object and connection service type instance pools must be considered. From a technical point of view, JAIN SLEE can be realized with component technology. EJB (Enterprice JAVA BEAN) component technology is a feasible technology to realize JSLEE. In addition, JINI, JINI JAVASpace, and JES are all optional component technologies that can realize JSLEE. Some features of JSLEE, such as distributed processing, load balancing, processing power, etc., are completely dependent on the performance of the application server platform used.

如果JSLEE采用EJB组件技术来实现,JSLEE的性能完全依赖于所采用的支持EJB的应用程序服务器平台的性能。目前一些常用的应用程序服务器平台虽然宣称能够达到很高的性能指标,但实际测试的效果并不理想。一些应用程序服务器平台对EJB请求的处理能力大概是1600条请求/秒,而且随着客户端数量的增加,响应时间明显加长。虽然应用程序服务器平台可以通过对系统参数的优化来提高性能,但优化参数所提高的性能不会有本质上的改变。另外,一些应用程序服务器平台可以采用群机叠加技术,虽然会对JSLEE的性能有较大改善,但是,却是在增加软件和硬件投资的基础上实现的。使用EJB组件技术实现JSLEE需要完全遵循EJB1.0或2.0规范。采用特定的应用程序服务器平台会对EJB规范作适当的扩展,以此达到特定的性能指标或提供一些EJB规范中没有涉及的特性。If JSLEE is implemented using EJB component technology, the performance of JSLEE depends entirely on the performance of the adopted application server platform that supports EJB. Although some commonly used application server platforms claim to be able to achieve very high performance indicators, the actual test results are not ideal. The processing capacity of some application server platforms for EJB requests is about 1600 requests/second, and as the number of clients increases, the response time increases significantly. Although the performance of the application server platform can be improved by optimizing the system parameters, the performance improved by the optimized parameters will not change substantially. In addition, some application server platforms can use group machine superposition technology, although it will greatly improve the performance of JSLEE, but it is realized on the basis of increasing software and hardware investment. Implementing JSLEE using EJB component technology needs to fully follow the EJB1.0 or 2.0 specification. Using a specific application server platform will make appropriate extensions to the EJB specification, so as to achieve specific performance indicators or provide some features that are not involved in the EJB specification.

基于某些应用程序服务器平台开发JSLEE也需要遵循所采用的应用程序服务器平台的开发规范,在应用程序服务器平台支持的性能特性范围内实现JSLEE。然而,对于有些特性,如异步回调特性,大多数应用程序服务器平台不支持,在设计上只能采取一些变通的方法来实现。The development of JSLEE based on certain application server platforms also needs to follow the development specifications of the adopted application server platform, and implement JSLEE within the range of performance characteristics supported by the application server platform. However, for some features, such as the asynchronous callback feature, most application server platforms do not support it, and only some workarounds can be adopted in the design.

采用EJB组件技术实现JSLEE,在部署JSLEE的时候,过程会比较复杂。首先需要部署应用程序服务器平台,把性能参数先调测到最优化,然后再在应用程序服务器平台上部署JSLEE。如果采用商用的应用程序服务器平台还需要支付昂贵的软件使用费用和维护费用。JSLEE is implemented using EJB component technology. When deploying JSLEE, the process will be more complicated. Firstly, the application server platform needs to be deployed, and the performance parameters are tuned to be optimized first, and then JSLEE is deployed on the application server platform. If you use a commercial application server platform, you need to pay expensive software usage fees and maintenance fees.

发明内容 Contents of the invention

有鉴于此,本发明的目的在于提供一种业务逻辑运行环境实现的方法,实现了不依赖于应用程序服务器平台的业务逻辑运行环境运行机制。In view of this, the object of the present invention is to provide a method for realizing a business logic running environment, which realizes the running mechanism of the business logic running environment independent of the application server platform.

为了达到上述目的,本发明提供了一种业务逻辑运行环境实现的方法,其特征在于,初始化收发消息中间件事件消息的通信实体,给所有需要接收消息中间件事件消息的通信实体分配一个唯一的消息中间件地址,该方法还包含以下步骤:In order to achieve the above object, the present invention provides a method for implementing a business logic operating environment, which is characterized in that the communication entities that send and receive message middleware event messages are initialized, and all communication entities that need to receive message middleware event messages are assigned a unique Message middleware address, the method also includes the following steps:

S、执行用于读取包括事件调度器的消息中间件地址的初始化配置文件的初始化过程;S. Execute the initialization process for reading the initialization configuration file including the message middleware address of the event dispatcher;

A、通信实体利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件事件消息;A. The communication entity uses the acquired message middleware address of the event scheduler to send the message middleware event message to the event scheduler;

B、事件调度器根据收到的消息中间件事件消息,在业务类型池中获取相应的业务实例,并控制所获取的业务实例完成相应操作。B. The event scheduler acquires the corresponding service instance in the service type pool according to the received message middleware event message, and controls the acquired service instance to complete the corresponding operation.

所述通信实体为网络协议栈;所述步骤A为网络协议栈利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件业务会话初始事件消息;所述步骤B为事件调度器根据收到的消息中间件业务会话初始事件消息,在业务类型池中获取空闲的业务实例,并将该业务实例激活,业务逻辑运行环境节点为该业务实例分配业务实例标识,然后控制所获取的业务实例完成相应操作。The communication entity is a network protocol stack; the step A is that the network protocol stack uses the message middleware address of the acquired event scheduler to send the message middleware service session initial event message to the event scheduler; the step B is the event scheduler According to the received message middleware service session initial event message, obtain an idle service instance in the service type pool, and activate the service instance, and the business logic running environment node assigns the service instance ID to the service instance, and then controls the obtained service instance The business instance completes the corresponding operation.

所述通信实体为网络协议栈;所述步骤A为网络协议栈利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件业务会话过程事件消息;所述步骤B为事件调度器根据收到的消息中间件业务会话过程事件消息,在业务类型池中获取相应的激活的业务实例,并控制所获取的业务实例完成相应操作。The communication entity is a network protocol stack; the step A is that the network protocol stack uses the message middleware address of the acquired event scheduler to send the message middleware business session process event message to the event scheduler; the step B is the event scheduler According to the received message middleware business session process event message, obtain the corresponding activated service instance in the service type pool, and control the obtained service instance to complete the corresponding operation.

所述通信实体为业务实例;所述步骤A为业务实例利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件业务实例事件消息;所述步骤B为事件调度器根据收到的消息中间件业务实例事件消息,在业务类型池中获取相应的目标业务实例,事件调度器根据业务实例事件消息向目标业务实例发送事件处理信息,控制目标业务实例完成相应操作。The communication entity is a business instance; the step A is that the business instance sends the message middleware business instance event message to the event scheduler using the message middleware address of the event scheduler obtained; the step B is that the event scheduler receives the The message middleware business instance event message, obtains the corresponding target business instance in the business type pool, and the event scheduler sends event processing information to the target business instance according to the business instance event message, and controls the target business instance to complete the corresponding operation.

对于分布式业务逻辑运行环境结构,所述步骤B进一步包括:事件调度器收到事件消息后,判断相应的业务实例是否位于其所在的业务逻辑运行环境节点上,如果是,在该业务逻辑运行环境节点上的业务类型池中获取相应的业务实例;否则,该事件调度器所在的业务逻辑运行环境节点根据初始化配置文件查找到相应的目标业务实例所在的目标业务逻辑运行环境节点,并获取目标业务逻辑运行环境节点上目标事件调度器的消息中间件地址,该事件调度器向目标事件调度器发送消息中间件格式的消息,目标事件调度器获取相应的业务实例。For the structure of the distributed business logic running environment, the step B further includes: after the event scheduler receives the event message, it judges whether the corresponding business instance is located on the business logic running environment node where it is located, and if so, when the business logic runs Get the corresponding business instance from the business type pool on the environment node; otherwise, the business logic running environment node where the event scheduler is located finds the target business logic running environment node where the corresponding target business instance is located according to the initialization configuration file, and obtains the target The message middleware address of the target event scheduler on the business logic running environment node, the event scheduler sends a message in the message middleware format to the target event scheduler, and the target event scheduler obtains the corresponding business instance.

对于分布式业务逻辑运行环境结构,所述步骤B进一步包括:所获取的业务实例所在逻辑运行环境节点将该业务实例置为主业务实例。For the distributed service logic operating environment structure, the step B further includes: setting the service instance as the main service instance at the logical operating environment node where the obtained service instance is located.

较佳地,对于分布式业务逻辑运行环境结构,将与主业务实例位于同一逻辑运行环境节点的业务实例设置为本地业务实例;该方法进一步包含以下步骤:Preferably, for a distributed business logic runtime environment structure, the business instance located at the same logic runtime environment node as the main business instance is set as a local business instance; the method further includes the following steps:

D、本地业务实例调用数据访问接口;D. The local business instance calls the data access interface;

E、数据访问接口通过调用本地数据访问工具访问业务会话上下文数据,并对业务会话上下文数据进行操作;E. The data access interface accesses the business session context data by calling the local data access tool, and operates the business session context data;

F、本地数据访问工具将对业务会话上下文数据的操作结果返回给本地业务实例。F. The local data access tool returns the operation result on the business session context data to the local business instance.

所述业务会话上下文数据存储于主业务实例所在的业务逻辑运行环境节点。The business session context data is stored in the business logic running environment node where the main business instance is located.

较佳地,对于分布式业务逻辑运行环境结构,将与主业务实例位于不同逻辑运行环境节点的业务实例设置为远程业务实例;该方法进一步包括以下步骤:Preferably, for a distributed business logic operating environment structure, a business instance located at a different logical operating environment node from the main business instance is set as a remote service instance; the method further includes the following steps:

D1、远程业务实例调用数据访问接口;D1. The remote business instance invokes the data access interface;

E1、数据访问接口调用远程数据访问工具,远程数据访问工具向主业务实例所在业务逻辑运行环境节点的远程数据代理发送消息中间件消息,远程数据代理收到消息中间件消息后,调用本地数据访问工具访问业务会话上下文数据,并对业务会话上下文数据进行操作;E1. The data access interface invokes the remote data access tool. The remote data access tool sends a message middleware message to the remote data agent of the business logic operating environment node where the main business instance is located. After receiving the message middleware message, the remote data agent calls the local data access tool Tools access business session context data and operate on business session context data;

F1、本地数据访问工具将对业务会话上下文数据的操作结果返回给所述远程数据代理,所述远程数据代理将对业务会话上下文数据的操作结果返回给所述远程数据访问工具,所述远程数据访问工具将对业务会话上下文数据的操作结果返回给远程业务实例。F1. The local data access tool returns the operation result of the business session context data to the remote data proxy, and the remote data proxy returns the operation result of the business session context data to the remote data access tool, and the remote data The access tool returns the operation result on the context data of the business session to the remote business instance.

在初始化过程中生成所述本地数据访问工具和远程数据访问工具。The local data access tool and the remote data access tool are generated during initialization.

对于分布式业务逻辑运行环境结构,所述步骤A进一步包括:网络协议栈向任意业务逻辑运行环境节点上的事件调度器发送业务会话初始事件消息。For the distributed service logic execution environment structure, the step A further includes: the network protocol stack sends a service session initial event message to the event scheduler on any node of the service logic execution environment.

本发明通过消息中间件技术实现了不依赖于应用程序服务器平台的SLEE运行机制。本发明通过消息中间件技术为SLEE提供通用的通讯平台。并且,在分布式SLEE结构中,业务部署者可以根据负荷均衡、地理位置等条件综合考虑业务部署于哪一个SLEE节点,实现了灵活部署业务的目的,并且通过消息中间件技术可以实现分布式SLEE的数据共享。The invention realizes the SLEE operating mechanism independent of the application program server platform through the message middleware technology. The invention provides a general communication platform for the SLEE through the message middleware technology. Moreover, in the distributed SLEE structure, the service deployer can comprehensively consider which SLEE node the service is deployed on according to load balancing, geographical location and other conditions, achieving the purpose of flexible service deployment, and the distributed SLEE can be realized through message middleware technology data sharing.

附图说明 Description of drawings

图1为JAIN API体系结构示意图;Figure 1 is a schematic diagram of the JAIN API architecture;

图2为SLEE简化逻辑功能框图;Fig. 2 is a simplified logic functional block diagram of SLEE;

图3为非分布式SLEE结构示意图;FIG. 3 is a schematic diagram of a non-distributed SLEE structure;

图4为分布式SLEE结构示意图;FIG. 4 is a schematic diagram of a distributed SLEE structure;

图5为分布式SLEE Session Context数据共享示意图。Figure 5 is a schematic diagram of distributed SLEE Session Context data sharing.

具体实施方式 Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

本发明在SLEE中引入了消息中间件(MOM,Message OrientedMiddleware)技术,通过MOM技术实现通信实体间信息的交互,下面首先对MOM技术进行介绍。The present invention introduces message middleware (MOM, Message Oriented Middleware) technology in SLEE, realizes the interaction of information between communication entities through MOM technology, firstly MOM technology is introduced below.

MOM技术用来在通信对象间提供一个高效通用的通信平台。MOM技术支持同步消息和异步消息。发送同步消息,发送者进程会被阻塞,直到收到了消息返回值,才会继续执行后续工作。发送异步消息不存在阻塞问题,发送者发送消息后,可以处理后续流程。每一个需要接收MOM消息的通信实体对象,都需要分配一对唯一的模块标识(MID)和进程标识(PID)。MID表示物理上独立的模块号;PID表示进程号,可以用来标识应用程序中需要接收MOM消息的特定程序模块。MOM消息发送端要将MOM消息发送至目标通信实体,必须知道目标通信实体的MID和PID。一对唯一的MID和PID构成了MOM消息发送的地址,也可称为MOM地址。MOM technology is used to provide an efficient and general communication platform between communication objects. MOM technology supports both synchronous and asynchronous messages. When sending a synchronous message, the sender process will be blocked until the return value of the message is received before continuing to perform subsequent work. There is no blocking problem in sending asynchronous messages. After the sender sends the message, it can handle the follow-up process. Each communication entity object that needs to receive MOM messages needs to be assigned a pair of unique module identifier (MID) and process identifier (PID). MID represents a physically independent module number; PID represents a process number, which can be used to identify a specific program module in an application program that needs to receive MOM messages. To send the MOM message to the target communication entity, the sender of the MOM message must know the MID and PID of the target communication entity. A pair of unique MID and PID constitutes the address for sending MOM messages, which can also be called MOM address.

MOM消息的接收端通信实体需要实现两个特定JAVA接口的功能,分别用于收到异步消息和同步消息后的处理过程。当MOM接收端通信实体收到MOM消息后,会根据MOM消息类型分别调用这两个接口中的一个,实现MOM消息事件的触发。The communication entity at the receiving end of the MOM message needs to implement the functions of two specific JAVA interfaces, which are respectively used for processing after receiving an asynchronous message and a synchronous message. When the MOM receiver communication entity receives the MOM message, it will call one of the two interfaces according to the type of the MOM message to trigger the MOM message event.

SLEE从其运行环境可分为非分布式SLEE和分布式SLEE。其中,非分布式SLEE只能运行于一个物理节点上,即一个JAVA虚拟机(JVM)。对于业务来说,所有业务都部署在同一个物理节点上,业务间的通信都是在同一个JVM上进行的;分布式SLEE只能运行于不同的物理节点上,即不同的JVM上。SLEE can be divided into non-distributed SLEE and distributed SLEE from its operating environment. Among them, the non-distributed SLEE can only run on one physical node, that is, one JAVA virtual machine (JVM). For services, all services are deployed on the same physical node, and the communication between services is performed on the same JVM; distributed SLEE can only run on different physical nodes, that is, different JVMs.

图3为非分布式SLEE结构示意图,如图3所示,网络协议栈302运行在与SLEE 301不同的物理节点或JVM上。业务管理器307对多个业务类型实例池202进行管理。来自网络协议栈302的网络消息306以MOM消息的格式发送至SLEE 301的ED 204,ED 204根据该事件的类型标识进行后续处理。FIG. 3 is a schematic diagram of a non-distributed SLEE structure. As shown in FIG. 3 , the network protocol stack 302 runs on a physical node or JVM different from the SLEE 301. The service manager 307 manages multiple service type instance pools 202 . The network message 306 from the network protocol stack 302 is sent to the ED 204 of the SLEE 301 in the format of MOM message, and the ED 204 performs subsequent processing according to the type identification of the event.

为获得更好的可扩展性和更高的系统处理能力,SLEE必须支持分布式的运行机制,系统负荷可以由多个物理节点来分担。对于业务来说,业务部署于不同的物理节点上,业务间的通信可能在不同的JVM上进行。In order to obtain better scalability and higher system processing capacity, SLEE must support a distributed operating mechanism, and the system load can be shared by multiple physical nodes. For services, the services are deployed on different physical nodes, and the communication between services may be performed on different JVMs.

图4为分布式SLEE结构示意图,如图4所示,每一个SLEE节点都有一个ED 204。通过ED 204,分布式的SLEE节点间可以相互通信,例如,SLEE节点A 401和SLEE节点B 402。网络协议栈A 403以MOM消息的格式将网络消息306发送至某个SLEE节点的ED 204,例如SLEE节点A 401的ED 204,ED 204根据事件的类型标识进行处理。同时ED 204可以将来自网络协议栈A 403的网络消息306转发至其他SLEE节点的ED 204,例如SLEE节点B 402的ED 204。FIG. 4 is a schematic diagram of a distributed SLEE structure. As shown in FIG. 4, each SLEE node has an ED 204. Through ED 204, distributed SLEE nodes can communicate with each other, for example, SLEE node A 401 and SLEE node B 402. The network protocol stack A 403 sends the network message 306 to the ED 204 of a certain SLEE node in the format of a MOM message, for example, the ED 204 of the SLEE node A 401, and the ED 204 processes it according to the type identification of the event. At the same time, the ED 204 can forward the network message 306 from the network protocol stack A 403 to the ED 204 of other SLEE nodes, such as the ED 204 of the SLEE node B 402.

SLEE节点A 401中的业务实例A203可以通过分布调用406去调用SLEE节点B 402中的业务实例。关于业务实例间的分布调用,下面会作介绍。The service instance A203 in the SLEE node A 401 can call the service instance in the SLEE node B 402 through the distributed call 406. The following will introduce the distributed calls between business instances.

整个分布式SLEE平台可以由运行在不同物理位置的多个SLEE节点组成,业务可以部署在任意一个SLEE节点上。业务具体部署在哪一个SLEE节点上可根据各个SLEE节点的负荷均衡,或地理位置的方便等条件进行综合考虑。The entire distributed SLEE platform can be composed of multiple SLEE nodes running in different physical locations, and services can be deployed on any SLEE node. Which SLEE node the business is specifically deployed on can be comprehensively considered according to the load balancing of each SLEE node, or the convenience of the geographical location.

此外,无论是非分布式SLEE结构还是分布式SLEE结构,所有业务实例均可直接与网络协议栈进行通信,业务实例构造一条MOM消息,通过将MOM消息发送至目标网络协议栈,使目标网络协议栈进行相应操作。In addition, no matter it is a non-distributed SLEE structure or a distributed SLEE structure, all business instances can directly communicate with the network protocol stack. The business instance constructs a MOM message, and sends the MOM message to the target network protocol stack, so that the target network protocol stack Take appropriate action.

所有需要接收MOM消息的通信实体都需要分配一个唯一的地址标识,即一对唯一的MID和PID的组合,作为发送端发送MOM消息的目的地址。对于非分布式SLEE结构,需要分配MID和PID的通信实体是ED。此外,需要进行通信的网络协议栈也需要为其分配MID和PID。All communication entities that need to receive the MOM message need to be assigned a unique address identifier, that is, a combination of a unique pair of MID and PID, as the destination address for the sender to send the MOM message. For the non-distributed SLEE structure, the communication entity that needs to allocate MID and PID is ED. In addition, the network protocol stack that needs to communicate also needs to assign MID and PID to it.

在非分布式SLEE结构中,SLEE会配置一个初始化配置文件,初始化配置文件中包含了分配给其ED的MID和PID,以及分配给网络协议栈的MID和PID。In the non-distributed SLEE structure, SLEE will configure an initialization configuration file, which contains the MID and PID assigned to its ED, and the MID and PID assigned to the network protocol stack.

在非分布式SLEE结构中,如果是业务会话初始事件(Service InitialEvent),ED收到的业务会话初始事件消息中携带业务的类型标识,ED通过业务管理器在相应类型的业务类型实例池中查找并获取一个空闲的业务实例。SLEE激活空闲的业务实例并对其进行初始化配置,配置一些初始参数。同时SLEE为业务实例分配业务实例标识(Instance ID)。如果当前的业务会话还没有分配业务会话标识(Session ID),则SLEE为当前业务会话分配Session ID,接下来的处理过程与下面所述的业务会话过程中的事件基本相同。In the non-distributed SLEE structure, if it is a service session initial event (Service InitialEvent), the service session initial event message received by the ED carries the service type identifier, and the ED searches the service type instance pool of the corresponding type through the service manager And get an idle business instance. SLEE activates idle service instances and initializes them, and configures some initial parameters. At the same time, SLEE assigns a business instance ID (Instance ID) to the business instance. If the current business session has not allocated a business session ID (Session ID), then SLEE allocates a Session ID for the current business session, and the subsequent processing is basically the same as the events in the business session described below.

如果是业务会话过程中的事件,ED根据业务会话过程事件消息中携带的Session ID和Instance ID,通过业务管理器在业务类型实例池中找到相应的激活中的业务实例。业务实例在处理事件的过程中,可能会与同一业务会话过程中的其他业务实例进行通信,或者与底层的网络协议栈进行通信。上述业务实例与其他业务实例进行通信时,业务实例将业务实例事件消息发送至ED。ED根据业务实例事件消息将事件处理信息发送至相应的业务实例,使该业务实例去处理相应的事件。If it is an event during a business session, the ED finds the corresponding activated service instance in the service type instance pool through the service manager according to the Session ID and Instance ID carried in the event message of the business session process. In the process of processing events, a business instance may communicate with other business instances in the same business session, or communicate with the underlying network protocol stack. When the above service instance communicates with other service instances, the service instance sends a service instance event message to the ED. The ED sends the event processing information to the corresponding service instance according to the service instance event message, so that the service instance processes the corresponding event.

在分布式SLEE结构中,MOM技术同样为通信实体提供了一个高效通用的通信平台,通信实体以该通信平台为基础进行相互间的通信,所有分布式SLEE节点中通信实体间的通信都是基于MOM消息进行的。其中ED之间的通信采用同步MOM消息,这样可以简化ED的设计。ED的MOM消息处理采用多线程机制,ED需要维护一个线程资源池,即ED每收到一条MOM消息,就从线程资源池中取出一条空闲线程并激活该线程,通过运行该线程处理MOM消息。ED之间采用同步MOM消息,发送端ED在发送一条MOM消息后,在等待该MOM消息的响应过程中,只是该线程处于阻塞状态,其他线程可以并行处理其他MOM消息。从宏观上看,ED是可以并行处理多条MOM消息的,ED的调度效率和吞吐量只取决于JVM对线程的调度效率和线程资源池的大小。In the distributed SLEE structure, the MOM technology also provides an efficient and general communication platform for the communication entities. The communication entities communicate with each other based on the communication platform. The communication between the communication entities in all distributed SLEE nodes is based on MOM messages are carried out. The communication between EDs uses synchronous MOM messages, which can simplify the design of EDs. ED's MOM message processing adopts a multi-thread mechanism. ED needs to maintain a thread resource pool, that is, every time ED receives a MOM message, it takes out an idle thread from the thread resource pool and activates the thread, and processes the MOM message by running the thread. Synchronous MOM messages are used between EDs. After sending a MOM message, the ED at the sending end waits for the response of the MOM message. Only this thread is blocked, and other threads can process other MOM messages in parallel. From a macro point of view, ED can process multiple MOM messages in parallel, and the scheduling efficiency and throughput of ED only depend on the JVM's scheduling efficiency of threads and the size of the thread resource pool.

在部署分布式SLEE节点的过程中,给每个SLEE节点分配一个唯一的SLEE标识符(SLEE ID)用以标识该SLEE节点。每个网络协议栈也会分配一个唯一的标识符(ID)。In the process of deploying distributed SLEE nodes, a unique SLEE identifier (SLEE ID) is assigned to each SLEE node to identify the SLEE node. Each network protocol stack is also assigned a unique identifier (ID).

所有需要接收MOM消息的通信实体都需要分配一个唯一的地址标识,即一对唯一的MID和PID的组合,作为发送端发送MOM消息的目的地址。对于分布式SLEE节点,需要分配MID和PID的通信实体是每一个SLEE节点的ED。此外,所有需要进行通信的网络协议栈都需要分配MID和PID。All communication entities that need to receive the MOM message need to be assigned a unique address identifier, that is, a combination of a unique pair of MID and PID, as the destination address for the sender to send the MOM message. For distributed SLEE nodes, the communication entity that needs to allocate MID and PID is the ED of each SLEE node. In addition, all network protocol stacks that need to communicate need to allocate MID and PID.

在分布式SLEE结构中,每个SLEE节点都会配置一个初始化配置文件,初始化配置文件中包含了分配给该SLEE节点的SLEE ID及其ED的MID和PID,其他所有SLEE节点的SLEE ID及与其相对应的ED的MID和PID,分配给所有网络协议栈的ID及其MID和PID。In the distributed SLEE structure, each SLEE node will be configured with an initialization configuration file, which contains the SLEE ID assigned to the SLEE node and the MID and PID of its ED, and the SLEE IDs of all other SLEE nodes and their corresponding The MID and PID of the corresponding ED, the IDs assigned to all network protocol stacks and their MIDs and PIDs.

每个SLEE节点启动初始化过程的时候,会去读取初始化配置文件,把自身SLEE节点的SLEE ID、其ED的MID和PID读入内存,初始化收发MOM消息的通信实体,如配置一些初始参数等,并把通信实体自身的MID和PID绑定到MOM通信实体上,这样通信实体才可以接收MOM消息。这样,通信实体就能够接收发自其他通信实体的MOM消息。同时,SLEE初始化过程还把其他SLEE节点的SLEE ID及与之对应的ED的MID和PID、所有网络协议栈的ID及给所有网络协议栈分配的MID和PID读入内存,并分别建立SLEE ID与该SLEE的ED的MID和PID、网络协议栈的ID与为其分配的MID和PID相互之间的对应关系。这样,通过ID就可以查到与相应通信实体进行通信的MOM地址。When each SLEE node starts the initialization process, it will read the initialization configuration file, read the SLEE ID of its own SLEE node, the MID and PID of its ED into the memory, and initialize the communication entity for sending and receiving MOM messages, such as configuring some initial parameters, etc. , and bind the MID and PID of the communication entity to the MOM communication entity, so that the communication entity can receive the MOM message. In this way, communicating entities are able to receive MOM messages sent from other communicating entities. At the same time, the SLEE initialization process also reads the SLEE IDs of other SLEE nodes, the MID and PID of the corresponding ED, the IDs of all network protocol stacks, and the MID and PID allocated to all network protocol stacks into the memory, and respectively establishes the SLEE ID The corresponding relationship between the MID and PID of the ED of the SLEE, the ID of the network protocol stack, and the MID and PID allocated thereto. In this way, the address of the MOM that communicates with the corresponding communication entity can be found through the ID.

建立一个业务会话(Session)过程是从SLEE平台上某个SLEE节点的ED收到网络协议栈发出的一条业务会话初始事件消息开始的,业务会话初始事件消息中携带业务的类型标识。网络协议栈随机地把业务会话初始事件消息发送至任意一个SLEE节点。The process of establishing a business session (Session) starts when the ED of a SLEE node on the SLEE platform receives a business session initial event message sent by the network protocol stack, and the business session initial event message carries the service type identifier. The network protocol stack randomly sends the service session initiation event message to any SLEE node.

SLEE节点收到业务会话初始事件消息后,如果该业务类型部署在接收到业务会话初始事件消息的SLEE节点上,以下的处理过程与前面所述的非分布式SLEE结构中业务会话初始事件建立的过程基本相同,同时需要将该业务实例设置为当前业务会话的主业务实例。After the SLEE node receives the service session initial event message, if the service type is deployed on the SLEE node that receives the service session initial event message, the following processing procedure is the same as that of the service session initial event establishment in the non-distributed SLEE structure described above The process is basically the same, and the business instance needs to be set as the main business instance of the current business session.

如果该业务类型没有部署在接收业务会话初始事件消息的ED所在的SLEE节点上,每个SLEE节点都维护了一个部署所有业务类型时,每个业务类型所在的SLEE节点的SLEE ID关系表,该SLEE节点会找到当前业务类型所在的SLEE节点的SLEE ID,通过SLEE节点的SLEE ID找到其ED的MOM地址,即该ED的MID和PID。接收到业务会话初始事件消息的SLEE节点的ED构造出一条用于ED间通信的MOM消息,将业务会话初始事件消息封装在MOM消息中,发送至部署了该业务类型的目标SLEE节点的ED。目标SLEE节点的ED收到该业务会话初始事件消息后,其处理过程与以上所述过程基本相同。If the service type is not deployed on the SLEE node where the ED that receives the service session initial event message is located, each SLEE node maintains a SLEE ID relationship table of the SLEE node where each service type is located when all service types are deployed. The SLEE node will find the SLEE ID of the SLEE node where the current service type is located, and find the MOM address of its ED through the SLEE ID of the SLEE node, that is, the MID and PID of the ED. The ED of the SLEE node that receives the service session initial event message constructs a MOM message for communication between EDs, encapsulates the service session initial event message in the MOM message, and sends it to the ED of the target SLEE node where the service type is deployed. After the ED of the target SLEE node receives the service session initiation event message, its processing process is basically the same as the above-mentioned process.

Session ID包含SLEE ID和Call ID,其中SLEE ID为发起该业务会话过程的SLEE节点的标识,Call ID为本次呼叫(本次业务实例间的分布调用)的标识,用于组织数据,实现业务会话过程。Session ID includes SLEE ID and Call ID, where SLEE ID is the identification of the SLEE node that initiates the business session process, and Call ID is the identification of this call (distributed call between this business instance), which is used to organize data and realize business session process.

Instance ID包含SLEE ID、Self ID和ServiceKey,SLEE ID为该业务实例所运行的SLEE节点的标识,Self ID为不同业务实例的标识,ServiceKey为该业务实例所属业务类型的标识。Instance ID includes SLEE ID, Self ID and ServiceKey. SLEE ID is the identification of the SLEE node running the business instance, Self ID is the identification of different business instances, and ServiceKey is the identification of the business type to which the business instance belongs.

如果是业务会话过程中的事件,ED根据业务会话过程事件消息中携带的Session ID判断该业务类型是否部署于其所在的SLEE节点上,如果是,ED通过业务管理器在业务类型实例池中找到相应的激活中的业务实例;否则,ED所在的SLEE节点根据Session ID中包含的SLEE ID找到其ED的MOM地址,即该ED的MID和PID。接收到业务会话过程事件消息的SLEE节点的ED构造出一条用于ED间通信的MOM消息,将业务会话过程事件消息封装在MOM消息中,发送至部署了该业务类型的目标SLEE节点的ED。目标SLEE节点的ED收到该业务会话过程事件消息后,其处理过程与以上所述过程基本相同。If it is an event in the process of a business session, the ED judges whether the service type is deployed on the SLEE node where it is located according to the Session ID carried in the event message of the business session process. If so, the ED finds it in the service type instance pool through the service manager The corresponding active service instance; otherwise, the SLEE node where the ED is located finds the MOM address of the ED according to the SLEE ID contained in the Session ID, that is, the MID and PID of the ED. The ED of the SLEE node that receives the service session process event message constructs a MOM message for communication between EDs, encapsulates the service session process event message in the MOM message, and sends it to the ED of the target SLEE node where the service type is deployed. After the ED of the target SLEE node receives the service session process event message, its processing process is basically the same as the above-mentioned process.

业务实例与其他业务类型的业务实例进行通信时,业务实例将业务实例事件消息发送至ED。ED根据业务实例事件消息中携带的Session ID判断该业务类型是否部署于其所在的SLEE节点上,如果是,ED根据业务实例事件消息将事件处理信息发送至相应的业务实例,使该业务实例去处理相应的事件;否则,ED所在的SLEE节点根据Session ID中包含的SLEE ID找到其ED的MOM地址,即该ED的MID和PID。接收到业务实例事件消息的SLEE节点的ED构造出一条用于ED间通信的MOM消息,将业务实例事件消息封装在MOM消息中,发送至部署了该业务类型的目标SLEE节点的ED。目标SLEE节点的ED收到该业务实例事件消息后,其处理过程与以上所述过程基本相同。When a service instance communicates with service instances of other service types, the service instance sends a service instance event message to the ED. ED judges whether the service type is deployed on the SLEE node where it is based on the Session ID carried in the service instance event message. If so, ED sends the event processing information to the corresponding service instance according to the service instance event message, so that the service instance Process the corresponding event; otherwise, the SLEE node where the ED is located finds the MOM address of the ED according to the SLEE ID contained in the Session ID, that is, the MID and PID of the ED. The ED of the SLEE node that receives the service instance event message constructs a MOM message for inter-ED communication, encapsulates the service instance event message in the MOM message, and sends it to the ED of the target SLEE node where the service type is deployed. After the ED of the target SLEE node receives the service instance event message, its processing procedure is basically the same as that described above.

实现分布式SLEE需要考虑的问题有:业务间屏蔽物理位置、网络协议栈屏蔽业务物理位置和数据共享。Issues to be considered in implementing distributed SLEE include: shielding physical locations between services, shielding physical locations of services by network protocol stacks, and data sharing.

业务间屏蔽物理位置是指在业务A调用业务B时,业务A不需要知道业务B具体的物理位置,只需相互调用的接口是统一的即可。The physical location shielding between services means that when service A calls service B, service A does not need to know the specific physical location of service B, and only needs to use the same interface for mutual calls.

网络协议栈屏蔽业务物理位置是指网络协议栈通过向SLEE节点发送业务会话初始事件消息启动一个业务实例,网络协议栈不需要知道该业务实例具体的物理位置,只需将业务会话初始事件消息发送至任意一个SLEE节点,由ED转发业务会话初始事件消息即可。The shielding of the physical location of the service by the network protocol stack means that the network protocol stack starts a service instance by sending a service session initial event message to the SLEE node. The network protocol stack does not need to know the specific physical location of the service instance, but only needs to send the service session initial event message to To any SLEE node, the ED forwards the service session initial event message.

一个业务会话过程除了主业务实例外,可以包含多个其他业务类型的业务实例,在业务会话过程中会出现业务实例间相互调用的情况,这就是业务实例间的分布调用。业务实例间的分布调用是通过分布式的SLEE节点的ED转发MOM消息来实现的。发起调用的业务实例将业务实例事件消息发送至其所在节点的ED。ED根据业务实例事件消息将事件处理信息发送至目标业务实例,使该业务实例进行相关操作。In addition to the main business instance, a business session process can contain multiple business instances of other business types. In the process of a business session, business instances may call each other, which is the distributed call between business instances. Distributed invocation among service instances is realized by forwarding MOM messages through EDs of distributed SLEE nodes. The calling service instance sends the service instance event message to the ED of the node where it is located. The ED sends the event processing information to the target service instance according to the service instance event message, so that the service instance performs related operations.

发起调用的业务实例所在的SLEE节点为此次调用分配Event ID,被调用的业务实例通过Event ID获知相关操作。在消息的前端有Event ID、Session ID、发起调用方业务实例标识(Source Instance ID)和被调用目标业务实例标识(Destination Instance ID)。Source Instance ID为发起业务实例间调用的业务实例标识,Destination Instance ID为被调用的目标业务实例标识。Session ID和Instance ID都是可序列化的类,即可在网络上进行传输。The SLEE node where the calling business instance is located allocates an Event ID for this calling, and the called business instance learns about related operations through the Event ID. At the front end of the message, there are Event ID, Session ID, the business instance ID of the calling party (Source Instance ID) and the ID of the called target business instance (Destination Instance ID). Source Instance ID is the ID of the business instance that initiates the call between business instances, and Destination Instance ID is the ID of the target business instance being called. Both Session ID and Instance ID are serializable classes that can be transmitted on the network.

当ED处理业务实例间的分布调用时,ED根据Destination Instance ID中的SLEE ID处理业务实例间分布调用的MOM消息时,如果SLEE ID就是自身的SLEE ID,则被调用的业务实例就运行在该SLEE节点上,ED只需找到相应的业务实例,调用该业务实例的事件处理接口即可;如果SLEEID不是自身的SLEE ID,ED能够根据其所在SLEE节点的初始化配置文件查找到相应业务实例所在的SLEE节点的SLEE ID。ED构造一条用于ED间通信的MOM消息,把业务实例间的分布调用消息封装在该MOM消息中,通过同步MOM消息发送至目标SLEE ID的ED,实现业务实例间的分布调用。目标SLEE ID的ED收到该MOM消息后,处理步骤与上述同一SLEE节点间的业务实例调用过程基本相同。When the ED handles the distributed call between business instances, and when the ED processes the MOM message of the distributed call between the business instances according to the SLEE ID in the Destination Instance ID, if the SLEE ID is its own SLEE ID, the called business instance will run on the On the SLEE node, the ED only needs to find the corresponding service instance and call the event processing interface of the service instance; if the SLEEID is not its own SLEE ID, the ED can find the corresponding service instance according to the initialization configuration file of the SLEE node where it is located. The SLEE ID of the SLEE node. The ED constructs a MOM message for communication between EDs, encapsulates the distributed invocation message between service instances in the MOM message, and sends the synchronous MOM message to the ED of the target SLEE ID to realize the distributed invocation among service instances. After the ED of the target SLEE ID receives the MOM message, the processing steps are basically the same as the above-mentioned service instance calling process between the same SLEE nodes.

一次业务会话(呼叫)过程会生成大量的数据,统称这些数据为业务会话上下文(Session Context)数据,用于集中存储业务会话过程中有关属性和参数的数据,参与该次业务会话的业务实例会访问和修改这些SessionContext数据。由于业务实例对Session Context数据的访问和修改会比较频繁,为保证访问效率和Session Context数据的安全性及完整性,采用集中方式对Session Context数据进行存储和管理。存储的位置为发起一次业务会话过程的主业务实例(Main Instance)所运行的SLEE节点。对于参与一次业务会话的多个业务实例来说,它们在物理位置上可以是分布的,因此它们访问相应的Session Context数据的方式也是分布的。但是Session Context数据存放的物理位置应该对所有的业务实例都是透明的,也就是说,业务实例访问Session Context数据的接口应该是统一的,即Session Context数据的物理位置对业务实例来说是被屏蔽的,以此来实现Session Context数据的共享。A business session (call) process will generate a large amount of data, which is collectively referred to as business session context (Session Context) data, which is used to centrally store data related to attributes and parameters in the business session process, and the business instances participating in the business session will Access and modify these SessionContext data. Since business instances will frequently access and modify Session Context data, in order to ensure access efficiency and the security and integrity of Session Context data, Session Context data is stored and managed in a centralized manner. The storage location is the SLEE node running by the main service instance (Main Instance) that initiates a business session process. For multiple business instances participating in a business session, they can be distributed in physical locations, so the way they access the corresponding Session Context data is also distributed. However, the physical location of the Session Context data should be transparent to all business instances. That is to say, the interface for the business instance to access the Session Context data should be unified, that is, the physical location of the Session Context data should be the same for the business instance. Shielded, in order to realize the sharing of Session Context data.

对于一次业务会话过程中生成的大量Session Context数据,参与该业务会话的业务实例会在业务会话过程中进行频繁访问和修改。为了保证数据的完整性和安全性,采用集中方式对这些Session Context数据进行管理和存储,存储的位置是发起一次业务会话过程的主业务实例所运行的SLEE节点,即在Session ID中包含的SLEE ID所标识的SLEE节点。因为参与一次业务会话过程的多个业务实例可能分布在不同的SLEE节点上,必须为所有业务实例提供一个访问Session Context数据的统一接口,使Session Context数据存储位置在业务实例访问Session Context数据时是被屏蔽的。For a large amount of Session Context data generated during a business session, the business instances participating in the business session will frequently access and modify it during the business session. In order to ensure the integrity and security of the data, these Session Context data are managed and stored in a centralized manner. The storage location is the SLEE node running on the main business instance that initiates a business session process, that is, the SLEE contained in the Session ID The SLEE node identified by the ID. Because multiple business instances participating in a business session process may be distributed on different SLEE nodes, a unified interface for accessing Session Context data must be provided for all business instances, so that the storage location of Session Context data is the same when the business instance accesses Session Context data blocked.

在业务实例访问Session Context数据时,业务实例会与主业务实例位于不同的SLEE节点上,因此将与主业务实例位于同一SLEE节点的业务实例称为本地业务实例,相对应地,与主业务实例位于不同SLEE节点的业务实例称为远程业务实例。When a business instance accesses Session Context data, the business instance will be located on a different SLEE node from the main business instance, so the business instance located on the same SLEE node as the main business instance is called a local service instance, correspondingly, the same as the main business instance Service instances located on different SLEE nodes are called remote service instances.

图5为分布式SLEE Session Context数据共享示意图,如图5所示,如果业务实例A501为主业务实例,则Session Context数据存储于主业务实例501所在的分布式SLEE节点A401。业务实例A501与业务实例B502为同属于一个会话过程的不同业务实例。针对所有业务实例访问SessionContext数据的需求,提供一个统一的Session Context数据访问接口(DataAccess)503,数据访问接口503中定义了业务实例访问Session Context数据的所有操作,例如访问、修改等操作。数据访问接口503提供两个不同的类来实现数据访问,一个是用于访问本地Session Context数据的本地数据访问工具(LocalDataAccessImp1)类504,另一个是用于访问远程SessionContext数据的远程数据访问工具(RemoteDataAccessImp1)类505。SLEE节点A401还需要实现一个远程数据代理(RemoteDataAgent)类506,该类作为位于SLEE节点B 402上的远程业务实例B502访问SLEE节点A 401的Session Context数据的代理,它能够接收远程数据访问的同步MOM消息,并解析MOM消息,把每个远程数据访问的MOM消息转换成不同的调用。只有LocalDataAccessImp1类504能够访问本地Session Context数据中心,因此RemoteDataAgent类506在初始化过程会生成一个LocalDataAccessImp1类508的引用,通过调用相应的LocalDataAccessImp1类508中的操作访问本地Session Context数据,并通过同步MOM消息的返回结果至发起SessionContext数据访问调用的远程业务实例。Figure 5 is a schematic diagram of distributed SLEE Session Context data sharing, as shown in Figure 5, if the business instance A501 is the main business instance, then the Session Context data is stored in the distributed SLEE node A401 where the main business instance 501 is located. Service instance A501 and service instance B502 are different service instances belonging to the same session process. A unified Session Context data access interface (DataAccess) 503 is provided for all business instances to access SessionContext data. The data access interface 503 defines all operations for business instances to access Session Context data, such as access and modification. The data access interface 503 provides two different classes to realize data access, one is a local data access tool (LocalDataAccessImp1) class 504 for accessing local Session Context data, and the other is a remote data access tool (LocalDataAccessImp1) for accessing remote SessionContext data RemoteDataAccessImp1) class 505. SLEE node A401 also needs to realize a remote data agent (RemoteDataAgent) class 506, this class visits the agent of the Session Context data of SLEE node A 401 as remote service instance B502 on the SLEE node B 402, and it can receive the synchronization of remote data access MOM message, and parse the MOM message, and convert each remote data access MOM message into a different call. Only the LocalDataAccessImp1 class 504 can access the local Session Context data center, so the RemoteDataAgent class 506 will generate a reference to the LocalDataAccessImp1 class 508 in the initialization process, access the local Session Context data by calling the operation in the corresponding LocalDataAccessImp1 class 508, and synchronize the MOM message Return the result to the remote business instance that initiated the SessionContext data access call.

每个SLEE节点中的RemoteDataAgent类都需要接收MOM消息,因此也需要为RemoteDataAgent类分配MOM地址,即一对唯一的MID和PID。该MOM地址也是在SLEE节点初始化过程中在初始配置文件中进行配置的,每个RemoteDataAgent类的MOM地址与其所属的SLEE ID进行关联。SLEE节点在启动的时候从初始配置文件中读出并存储所有SLEE节点的RemoteDataAgent类的MOM地址。The RemoteDataAgent class in each SLEE node needs to receive MOM messages, so it is also necessary to assign a MOM address to the RemoteDataAgent class, that is, a pair of unique MID and PID. The MOM address is also configured in the initial configuration file during the SLEE node initialization process, and the MOM address of each RemoteDataAgent class is associated with the SLEE ID to which it belongs. The SLEE node reads and stores the MOM address of the RemoteDataAgent class of all SLEE nodes from the initial configuration file when starting.

LocalDataAccessImp1类的实现可以通过调用本地API的方式直接去访问Session Context数据中心。The implementation of the LocalDataAccessImp1 class can directly access the Session Context data center by calling the local API.

对于RemoteDataAgent类的实现可以通过对每个需要实现的数据访问接口构造不同的MOM消息,把操作类型及所携带的参数封装到MOM消息中。RemoteDataAccessImp1类根据调用数据访问接口的业务实例Instance ID,能够获知业务实例所属的Session ID,通过Session ID可以获知SessionContext数据所在的SLEE节点的SLEE ID,通过该SLEE节点的SLEE ID可以获知RemoteDataAgent类的MOM地址,向该MOM地址发送同步MOM消息,解析同步MOM消息的返回结果就是本次访问Session Context数据获得的结果。For the realization of the RemoteDataAgent class, different MOM messages can be constructed for each data access interface that needs to be implemented, and the operation type and the parameters carried can be encapsulated into the MOM message. The RemoteDataAccessImp1 class can know the Session ID of the business instance according to the Instance ID of the business instance calling the data access interface. Through the Session ID, the SLEE ID of the SLEE node where the SessionContext data is located can be known, and the MOM of the RemoteDataAgent class can be known through the SLEE ID of the SLEE node. Address, send a synchronous MOM message to the MOM address, and the returned result of parsing the synchronous MOM message is the result obtained by accessing the Session Context data this time.

在初始化过程中,将DataAccess与相应的类对应,如果该DataAccess与主业务实例在同一个SLEE节点上,则将DataAccess与本地类相对应;如果DataAccess与主业务实例不在同一个SLEE节点上,则将DataAccess与远程类相对应。DataAccess为业务实例访问Session Context数据提供统一接口,使Session Context数据的存储位置对于访问其的业务实例而言是透明的。During the initialization process, associate DataAccess with the corresponding class. If the DataAccess is on the same SLEE node as the main business instance, then associate DataAccess with the local class; if the DataAccess is not on the same SLEE node as the main business instance, then Map DataAccess to the remote class. DataAccess provides a unified interface for business instances to access Session Context data, making the storage location of Session Context data transparent to the business instances accessing it.

本地业务实例访问Session Context数据时,因为DataAccess与本地类相对应,所以DataAccess自动调用LocalDataAccessImp1类,LocalDataAccessImp1类访问Session Context数据并对其进行相关操作,然后将操作结果返回给该本地业务实例。When the local business instance accesses the Session Context data, because DataAccess corresponds to the local class, DataAccess automatically calls the LocalDataAccessImp1 class, and the LocalDataAccessImp1 class accesses the Session Context data and performs related operations on it, and then returns the operation result to the local business instance.

远程业务实例访问Session Context数据时,因为DataAccess与远程类相对应,所以DataAccess自动调用RemoteDataAccessImp1类,该RemoteDataAccessImp1类根据初始化配置文件向主业务实例所在SLEE节点的RemoteDataAgent类发送同步MOM消息,该MOM消息中携带对SessionContext数据的操作类型及该操作类型所对应的参数,RemoteDataAgent类收到MOM消息后,对MOM消息进行解析,然后调用其初始化过程中生成的LocalDataAccessImp1类,该LocalDataAccessImp1类访问Session Context数据并对其进行相关操作,然后将操作结果返回给RemoteDataAgent类,RemoteDataAgent类将操作结果通过同步MOM消息返回给远程业务实例所在SLEE节点的RemoteDataAccessImp1类,最后RemoteDataAccessImp1类将操作结果返回给远程业务实例。When a remote business instance accesses Session Context data, because DataAccess corresponds to the remote class, DataAccess automatically invokes the RemoteDataAccessImp1 class, and the RemoteDataAccessImp1 class sends a synchronous MOM message to the RemoteDataAgent class of the SLEE node where the main business instance is located according to the initialization configuration file. In the MOM message Carry the operation type of the SessionContext data and the parameters corresponding to the operation type. After the RemoteDataAgent class receives the MOM message, it parses the MOM message, and then calls the LocalDataAccessImp1 class generated during its initialization process. The LocalDataAccessImp1 class accesses the Session Context data and It performs related operations, and then returns the operation results to the RemoteDataAgent class. The RemoteDataAgent class returns the operation results to the RemoteDataAccessImp1 class of the SLEE node where the remote business instance is located through a synchronous MOM message. Finally, the RemoteDataAccessImp1 class returns the operation results to the remote business instance.

总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。In a word, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (11)

1、一种业务逻辑运行环境实现的方法,其特征在于,初始化收发消息中间件事件消息的通信实体,给所有需要接收消息中间件事件消息的通信实体分配一个唯一的消息中间件地址,该方法还包含以下步骤:1. A method for implementing a business logic operating environment, characterized in that, initializing the communication entity sending and receiving the message middleware event message, and distributing a unique message middleware address to all communication entities that need to receive the message middleware event message, the method Also includes the following steps: S、执行用于读取包括事件调度器的消息中间件地址的初始化配置文件的初始化过程;S. Execute the initialization process for reading the initialization configuration file including the message middleware address of the event dispatcher; A、通信实体利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件事件消息;A. The communication entity uses the acquired message middleware address of the event scheduler to send the message middleware event message to the event scheduler; B、事件调度器根据收到的消息中间件事件消息,在业务类型池中获取相应的业务实例,并控制所获取的业务实例完成相应操作。B. The event scheduler acquires the corresponding service instance in the service type pool according to the received message middleware event message, and controls the acquired service instance to complete the corresponding operation. 2、根据权利要求1所述的方法,其特征在于:所述通信实体为网络协议栈;2. The method according to claim 1, characterized in that: the communication entity is a network protocol stack; 所述步骤A为网络协议栈利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件业务会话初始事件消息;Said step A is that the network protocol stack utilizes the message middleware address of the acquired event scheduler to send the message middleware business session initial event message to the event scheduler; 所述步骤B为事件调度器根据收到的消息中间件业务会话初始事件消息,在业务类型池中获取空闲的业务实例,并将该业务实例激活,业务逻辑运行环境节点为该业务实例分配业务实例标识,然后控制所获取的业务实例完成相应操作。The step B is that the event scheduler obtains an idle service instance in the service type pool according to the received initial event message of the message middleware service session, and activates the service instance, and the business logic operating environment node allocates services for the service instance Instance identification, and then control the obtained business instance to complete the corresponding operation. 3、根据权利要求1所述的方法,其特征在于:所述通信实体为网络协议栈;3. The method according to claim 1, characterized in that: the communication entity is a network protocol stack; 所述步骤A为网络协议栈利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件业务会话过程事件消息;The step A is that the network protocol stack uses the message middleware address of the acquired event scheduler to send the message middleware business session process event message to the event scheduler; 所述步骤B为事件调度器根据收到的消息中间件业务会话过程事件消息,在业务类型池中获取相应的激活的业务实例,并控制所获取的业务实例完成相应操作。The step B is that the event scheduler obtains the corresponding activated service instance in the service type pool according to the received message middleware service session process event message, and controls the obtained service instance to complete the corresponding operation. 4、根据权利要求1所述的方法,其特征在于:所述通信实体为业务实例;4. The method according to claim 1, characterized in that: the communication entity is a business instance; 所述步骤A为业务实例利用获取的事件调度器的消息中间件地址向事件调度器发送消息中间件业务实例事件消息;Said step A is that the service instance sends a message middleware business instance event message to the event scheduler by using the message middleware address of the acquired event scheduler; 所述步骤B为事件调度器根据收到的消息中间件业务实例事件消息,在业务类型池中获取相应的目标业务实例,事件调度器根据业务实例事件消息向目标业务实例发送事件处理信息,控制目标业务实例完成相应操作。Said step B is that the event scheduler obtains the corresponding target service instance in the service type pool according to the received message middleware service instance event message, and the event scheduler sends event processing information to the target service instance according to the service instance event message, and controls The target business instance completes the corresponding operation. 5、根据权利要求1所述的方法,其特征在于:对于分布式业务逻辑运行环境结构,所述步骤B进一步包括:事件调度器收到事件消息后,判断相应的业务实例是否位于其所在的业务逻辑运行环境节点上,如果是,在该业务逻辑运行环境节点上的业务类型池中获取相应的业务实例;否则,该事件调度器所在的业务逻辑运行环境节点根据初始化配置文件查找到相应的目标业务实例所在的目标业务逻辑运行环境节点,并获取目标业务逻辑运行环境节点上目标事件调度器的消息中间件地址,该事件调度器向目标事件调度器发送消息中间件格式的消息,目标事件调度器获取相应的业务实例。5. The method according to claim 1, characterized in that: for the distributed business logic operating environment structure, the step B further comprises: after the event scheduler receives the event message, it judges whether the corresponding business instance is located in the On the business logic running environment node, if yes, obtain the corresponding business instance from the business type pool on the business logic running environment node; otherwise, the business logic running environment node where the event scheduler is located finds the corresponding service instance according to the initialization configuration file The target business logic running environment node where the target business instance is located, and obtains the message middleware address of the target event scheduler on the target business logic running environment node, and the event scheduler sends a message in the middleware format to the target event scheduler, and the target event The scheduler obtains the corresponding business instance. 6、根据权利要求2所述的方法,其特征在于,对于分布式业务逻辑运行环境结构,所述步骤B进一步包括:所获取的业务实例所在逻辑运行环境节点将该业务实例置为主业务实例。6. The method according to claim 2, characterized in that, for the distributed business logic operating environment structure, the step B further comprises: setting the business instance as the main business instance at the logical operating environment node where the acquired business instance is located . 7、根据权利要求6所述的方法,其特征在于,对于分布式业务逻辑运行环境结构,将与主业务实例位于同一逻辑运行环境节点的业务实例设置为本地业务实例;7. The method according to claim 6, characterized in that, for the distributed business logic operating environment structure, the business instance located at the same logical operating environment node as the main business instance is set as a local business instance; 该方法进一步包含以下步骤:The method further comprises the steps of: D、本地业务实例调用数据访问接口;D. The local business instance calls the data access interface; E、数据访问接口通过调用本地数据访问工具访问业务会话上下文数据,并对业务会话上下文数据进行操作;E. The data access interface accesses the business session context data by calling the local data access tool, and operates the business session context data; F、本地数据访问工具将对业务会话上下文数据的操作结果返回给本地业务实例。F. The local data access tool returns the operation result on the business session context data to the local business instance. 8、根据权利要求7所述的方法,其特征在于,8. The method of claim 7, wherein: 所述业务会话上下文数据存储于主业务实例所在的业务逻辑运行环境节点。The business session context data is stored in the business logic running environment node where the main business instance is located. 9、根据权利要求6所述的方法,其特征在于,对于分布式业务逻辑运行环境结构,将与主业务实例位于不同逻辑运行环境节点的业务实例设置为远程业务实例;9. The method according to claim 6, characterized in that, for the distributed business logic operating environment structure, the service instance located at a different logical operating environment node from the main service instance is set as a remote service instance; 该方法进一步包括以下步骤:The method further comprises the steps of: D1、远程业务实例调用数据访问接口;D1. The remote business instance invokes the data access interface; E1、数据访问接口调用远程数据访问工具,远程数据访问工具向主业务实例所在业务逻辑运行环境节点的远程数据代理发送消息中间件消息,远程数据代理收到消息中间件消息后,调用本地数据访问工具访问业务会话上下文数据,并对业务会话上下文数据进行操作;E1. The data access interface invokes the remote data access tool, and the remote data access tool sends a message middleware message to the remote data agent of the business logic operating environment node where the main business instance is located. After receiving the message middleware message, the remote data agent calls the local data access Tools access business session context data and operate on business session context data; F1、本地数据访问工具将对业务会话上下文数据的操作结果返回给所述远程数据代理,所述远程数据代理将对业务会话上下文数据的操作结果返回给所述远程数据访问工具,所述远程数据访问工具将对业务会话上下文数据的操作结果返回给远程业务实例。F1. The local data access tool returns the operation result of the business session context data to the remote data proxy, and the remote data proxy returns the operation result of the business session context data to the remote data access tool, and the remote data The access tool returns the operation result on the context data of the business session to the remote business instance. 10、根据权利要求9所述的方法,其特征在于,在初始化过程中生成所述本地数据访问工具和远程数据访问工具。10. The method according to claim 9, characterized in that the local data access tool and the remote data access tool are generated during initialization. 11、根据权利要求2所述的方法,其特征在于,对于分布式业务逻辑运行环境结构,所述步骤A进一步包括:网络协议栈向任意业务逻辑运行环境节点上的事件调度器发送业务会话初始事件消息。11. The method according to claim 2, wherein, for the structure of the distributed business logic running environment, the step A further comprises: the network protocol stack sends the service session initial event message.
CNB031094937A 2003-04-10 2003-04-10 Method for implementing service logic operation environment Expired - Fee Related CN100512132C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031094937A CN100512132C (en) 2003-04-10 2003-04-10 Method for implementing service logic operation environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031094937A CN100512132C (en) 2003-04-10 2003-04-10 Method for implementing service logic operation environment

Publications (2)

Publication Number Publication Date
CN1536818A CN1536818A (en) 2004-10-13
CN100512132C true CN100512132C (en) 2009-07-08

Family

ID=34319370

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031094937A Expired - Fee Related CN100512132C (en) 2003-04-10 2003-04-10 Method for implementing service logic operation environment

Country Status (1)

Country Link
CN (1) CN100512132C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050251758A1 (en) * 2004-04-26 2005-11-10 Microsoft Corporation Indicating file type on thumbnail preview icon
CN1967572B (en) * 2005-11-18 2011-03-16 无锡中科方德软件有限公司 Method and system of business process management applied to business-intensive fields
EP2360871B1 (en) * 2010-02-15 2016-04-06 Accenture Global Services Limited Machine to machine architecture
CN101977165A (en) * 2010-11-08 2011-02-16 北京中科院软件中心有限公司 Message transmission method and message bus system in cloud mode
CN108123974B (en) * 2016-11-29 2021-04-06 中兴通讯股份有限公司 Network calling method and device
CN109460269B (en) * 2017-08-31 2020-07-10 武汉斗鱼网络科技有限公司 Method and device for sharing horizontal and vertical screen service logic in Android system
CN110309002A (en) * 2019-05-29 2019-10-08 北京达佳互联信息技术有限公司 Message treatment method, device, electronic equipment and storage medium
CN112035190B (en) * 2019-06-03 2025-02-25 中兴通讯股份有限公司 Business data management method, device, equipment and storage medium for business SBB
CN113342520B (en) * 2021-05-31 2024-03-08 中国工商银行股份有限公司 Cross-cluster remote continuous release method and system based on federal implementation
CN114050986B (en) * 2021-10-08 2023-08-04 中科南京移动通信与计算创新研究院 Signaling tracking method, device, equipment and storage medium
CN115543270B (en) * 2022-10-08 2023-06-16 睿珀智能科技有限公司 Software architecture method, system and equipment based on message drive

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于DTP模型的消息中间件的设计与实现. 陈和平,严宇峰,方红萍.计算机系统应用,第2003年第1期. 2003 *
面向消息中间件的设计与实现. 胡雅庆.计算机与现代化,第2001年第3期总第73期. 2001 *

Also Published As

Publication number Publication date
CN1536818A (en) 2004-10-13

Similar Documents

Publication Publication Date Title
US11108653B2 (en) Network service management method, related apparatus, and system
CN101969391B (en) Cloud platform supporting fusion network service and operating method thereof
US7272133B2 (en) Method and system for implementing standard applications on an intelligent network service control point through an open services gateway
WO2022143653A1 (en) Multi-cloud interface adaptation method and system based on micro-service, and storage medium
US7831724B2 (en) Services layer model for providing standards-based communications
CN115622904A (en) Management and scheduling method, device, node and storage medium
CN101207568B (en) Multi-protocol adapter and method for implementing adaptation processing for various services
JP5726991B2 (en) Communication network
CN100512132C (en) Method for implementing service logic operation environment
CN106790084A (en) A kind of heterogeneous resource integrated framework and its integrated approach based on ICE middlewares
US8924988B2 (en) Collocation in a Java virtual machine of JSLEE and Java EE
CN1972276A (en) A management method and system for protocol access
WO2012119340A1 (en) Method and apparatus for implementing north interface
CN114500589A (en) Public service supporting platform for industrial internet identification analysis
JP3924279B2 (en) Service application architecture for integrated network service providers
CN100544369C (en) A message-based distributed system and method of communicating therein
WO2024067148A1 (en) Edge interconnection service execution method, apparatus and system, electronic device, and medium
CN116743880A (en) Service engine interface adapting method, adapting device and adapting system
US6914969B2 (en) Service logic execution environment for telecommunications service components
CN100345141C (en) Method and device for business integration system
CN101346008B (en) A service-oriented joint scheduling method of optical network resources and application resources
CN115567616A (en) Service protocol conversion method and device
CN116319983B (en) A middleware for service communication
CN113157251B (en) A resource service and customization method for human-machine-material integration applications
WO2024197822A1 (en) Systems and methods for mission management in a communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090708

Termination date: 20170410