[go: up one dir, main page]

CN100502563C - Construction method of unified business terminal system and deployment method of business application - Google Patents

Construction method of unified business terminal system and deployment method of business application Download PDF

Info

Publication number
CN100502563C
CN100502563C CNB2004100950689A CN200410095068A CN100502563C CN 100502563 C CN100502563 C CN 100502563C CN B2004100950689 A CNB2004100950689 A CN B2004100950689A CN 200410095068 A CN200410095068 A CN 200410095068A CN 100502563 C CN100502563 C CN 100502563C
Authority
CN
China
Prior art keywords
terminal system
equipment
main control
execution environment
control device
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 - Lifetime
Application number
CNB2004100950689A
Other languages
Chinese (zh)
Other versions
CN1610444A (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.)
Spreadtrum Communications Shanghai Co Ltd
Beijing University of Posts and Telecommunications
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Beijing University of Posts and Telecommunications
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 Spreadtrum Communications Shanghai Co Ltd, Beijing University of Posts and Telecommunications filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CNB2004100950689A priority Critical patent/CN100502563C/en
Publication of CN1610444A publication Critical patent/CN1610444A/en
Application granted granted Critical
Publication of CN100502563C publication Critical patent/CN100502563C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The method of constituting united service terminal in network includes the following steps: 1) the user selects one class-I equipment and operates its frame functional module and execution environment module to make the class-I equipment become the main control equipment of the constituted united service terminal system; 2) the main equipment sends broadcasting message; the peripheral class-I equipment or class-II equipment, after receiving the broadcasting message, sends polymerization request message to the frame functional module of the main control equipment; 4) the main control equipment identifies the authority of these equipment to select the equipment capable of being polymerized with the main control equipment as the functional module of the united service terminal system; and 5) the successfully authority identified equipment registers its information to the frame functional module, so as to constitute the united service terminal system.

Description

统一业务终端系统的构建方法以及业务应用的部署方法 Construction method of unified business terminal system and deployment method of business application

技术领域 technical field

本发明涉及一种构建统一业务终端系统的方法,使得所构建的统一业务终端系统对于业务应用呈现为一个整体终端。此外,本发明还涉及一种在所构建的统一业务终端系统中部署业务应用的方法。The invention relates to a method for constructing a unified service terminal system, so that the constructed unified service terminal system appears as a whole terminal for service applications. In addition, the present invention also relates to a method for deploying service applications in the constructed unified service terminal system.

背景技术 Background technique

在移动通信领域,随着技术和应用的发展,开放的业务接口技术使得下一代网络是一个能够提供丰富的个性化业务的网络,未来的移动终端也就必须具备开放的体系结构。但是从目前看来,终端的各项功能比较集中,如摄像头、显示屏、音响、麦克、耳机都集成到一个设备上,且终端的接入、处理、显示等能力也非常有限。当某项业务要求更高的终端显示能力和不同的接入能力时,这种终端必然对该项业务的开展存在很大的局限性。因此终端技术的相对滞后,已经成为业务发展的瓶颈:能力单一,结构体系封闭,可扩展性不强,不适合多媒体数据业务的提供。In the field of mobile communication, with the development of technology and applications, the open service interface technology makes the next generation network a network that can provide rich personalized services, and future mobile terminals must have an open architecture. However, from the current point of view, various functions of the terminal are relatively concentrated, such as camera, display, audio, microphone, and earphones are all integrated into one device, and the terminal's access, processing, and display capabilities are also very limited. When a certain service requires higher terminal display capabilities and different access capabilities, such terminals must have great limitations on the development of this service. Therefore, the relative lag of terminal technology has become the bottleneck of business development: the capability is single, the structural system is closed, the scalability is not strong, and it is not suitable for the provision of multimedia data services.

未来的终端应当是功能组件化,接口标准化,协议分层化,且具有开放的体系结构。功能组件化是把终端按照业务支撑能力分为网络接入、终端输入、显示输出、数据处理等功能组件,各个功能组件按照标准接口和分层协议的规定,依据动态、智能化的调度控制策略,组合或者分离构成整体终端。我们把这种终端体系结构称为统一业务终端。这样统一业务终端于业务应用来说是一个整体,是由通过网络连接起来的不同设备聚合而成。Future terminals should be functionally componentized, interface standardized, protocol layered, and have an open architecture. Functional componentization is to divide the terminal into functional components such as network access, terminal input, display output, and data processing according to its business support capabilities. Each functional component is based on a dynamic and intelligent scheduling control strategy in accordance with the provisions of standard interfaces and layered protocols. , combined or separated to form a whole terminal. We call this terminal architecture a unified service terminal. In this way, the unified service terminal is a whole for service applications, which is formed by aggregation of different devices connected through the network.

发明内容 Contents of the invention

本发明提供了一种统一业务终端系统的构建方法以及在所构建的统一业务终端系统中部署业务应用的方法,使得所构建的统一业务终端系统对于业务应用呈现一体化。The invention provides a method for constructing a unified service terminal system and a method for deploying service applications in the constructed unified service terminal system, so that the constructed unified service terminal system is integrated with service applications.

根据本发明的一个方面,提供了一种用于在网络中构建统一业务终端系统的方法,所述网络包括多个一类设备以及多个二类设备,所述将被构建的统一业务终端系统包括框架功能模块以及执行环境,According to one aspect of the present invention, a method for constructing a unified service terminal system in a network is provided, the network includes multiple first-class devices and multiple second-type devices, and the unified service terminal system to be built Including framework function modules and execution environment,

所述方法包括步骤:The method comprises the steps of:

(1)用户选择其中一个一类设备,并且运行所述一类设备上的框架功能模块以及执行环境模块,从而所述一类设备成为将被构建的统一业务终端系统的主控设备;(1) The user selects one of the first-class devices, and runs the framework function module and the execution environment module on the first-class device, so that the first-class device becomes the main control device of the unified service terminal system to be constructed;

(2)所述统一业务终端系统的主控设备发送广播信息,其中所述广播消息是一个对所述统一业务终端系统的自描述信息,包含所述主控设备的标识符以及设备类型;(2) The main control device of the unified service terminal system sends broadcast information, wherein the broadcast message is a self-describing information for the unified service terminal system, including the identifier and device type of the main control device;

(3)周围的一类设备或二类设备接收到广播消息后,判断自身是否已经加入到其他的统一业务终端系统中,如果没有加入,则向所述主控设备发送聚合请求消息,并保存所述广播消息中的所述统一业务终端系统的自描述信息,表明所述设备请求加入所述统一业务终端系统中;(3) After receiving the broadcast message, the surrounding first-class equipment or second-class equipment judges whether itself has joined in other unified service terminal systems, if not, then sends an aggregation request message to the main control equipment, and saves The self-description information of the unified service terminal system in the broadcast message indicates that the device requests to join the unified service terminal system;

(4)所述主控设备对请求聚合的这些设备进行鉴权,从这些设备中鉴权出能够与所述主控设备相聚合的设备作为统一业务终端系统的功能组件;(4) The master control device authenticates the devices that request aggregation, and authenticates devices that can be aggregated with the master control device from these devices as functional components of the unified service terminal system;

(5)被鉴权成功的设备将自身信息注册到所述主控设备的框架功能模块,从而构成所述统一业务终端系统。(5) The successfully authenticated device registers its own information to the framework function module of the main control device, thereby forming the unified service terminal system.

根据本发明的另一个方面,提供了一种在统一业务终端系统中部署业务应用的方法,其中所述统一业务终端系统构建在包括多个一级设备以及多个二级设备的网络中,所述统一业务终端系统包括框架功能模块以及执行环境,According to another aspect of the present invention, a method for deploying service applications in a unified service terminal system is provided, wherein the unified service terminal system is built in a network including multiple first-level devices and multiple second-level devices, so The unified business terminal system described above includes framework function modules and execution environment,

所述方法包括步骤:The method comprises the steps of:

(1)用户选择其中一个一类设备,并且运行所述一类设备上的框架功能模块以及执行环境模块,从而所述一类设备成为将被构建的统一业务终端系统的主控设备;(1) The user selects one of the first-class devices, and runs the framework function module and the execution environment module on the first-class device, so that the first-class device becomes the main control device of the unified service terminal system to be constructed;

(2)所述统一业务终端系统的主控设备发送广播信息,其中所述广播消息是一个对所述统一业务终端系统的自描述信息,包含所述主控设备的标识符以及设备类型;(2) The main control device of the unified service terminal system sends broadcast information, wherein the broadcast message is a self-describing information for the unified service terminal system, including the identifier and device type of the main control device;

(3)周围的一类设备或二类设备接收到广播消息后,判断自身是否已经加入到其他的统一业务终端系统中,如果没有加入,则向所述主控设备发送聚合请求消息,并保存所述广播消息中的所述统一业务终端系统的自描述信息,表明所述设备请求加入所述统一业务终端系统中;(3) After receiving the broadcast message, the surrounding first-class equipment or second-class equipment judges whether itself has joined in other unified service terminal systems, if not, then sends an aggregation request message to the main control equipment, and saves The self-description information of the unified service terminal system in the broadcast message indicates that the device requests to join the unified service terminal system;

(4)所述主控设备对请求聚合的这些设备进行鉴权,从这些设备中鉴权出能够与所述主控设备相聚合的设备作为统一业务终端系统的功能组件;(4) The master control device authenticates the devices that request aggregation, and authenticates devices that can be aggregated with the master control device from these devices as functional components of the unified service terminal system;

(5)被鉴权成功的设备将自身信息注册到所述主控设备的框架功能模块,从而构成所述统一业务终端系统;(5) The successfully authenticated device registers its own information to the framework function module of the main control device, thereby forming the unified service terminal system;

(6)当业务应用启动时,向所述主控设备的框架功能模块发送业务应用消息,所述框架功能模块对所述业务应用进行鉴权;(6) When the service application is started, send a service application message to the framework function module of the main control device, and the framework function module authenticates the service application;

(7)所述业务应用通过鉴权后,向所述框架功能模块注册,并且提出业务能力需求;(7) After the business application passes the authentication, it registers with the framework function module, and proposes a business capability requirement;

(8)所述框架功能模块根据所述业务能力需求为所述业务应用提供相对应的能力提供方案,并且将所述能力提供方案发送给所述业务应用;(8) The framework function module provides a corresponding capability provision solution for the service application according to the service capability requirement, and sends the capability provision solution to the service application;

(9)所述业务应用接收所述能力提供方案,并判断其提出的业务能力需求是否能够基于所述能力提供方案而被执行,当能够被执行时,向所述统一业务终端系统返回能力调用确认信息;(9) The service application receives the capability provision plan, and judges whether the service capability demand proposed by it can be executed based on the capability provision plan, and returns a capability call to the unified service terminal system when it can be executed confirmation information;

(10)所述统一业务终端系统接收到所述能力调用确认时,配置所述执行环境,并且向所述业务应用发送相应的能力调用命令;(10) When the unified service terminal system receives the capability call confirmation, configure the execution environment, and send a corresponding capability call command to the service application;

(11)所述业务应用通过向所述执行环境发送所述能力调用命令,来调用所述统一业务终端系统中的能力服务器。(11) The service application calls the capability server in the unified service terminal system by sending the capability call command to the execution environment.

根据本发明的方法,使得分布式的各个设备作为一个统一的整体终端为业务提供各种能力服务,所构建的统一业务终端系统对于业务呈现为一个整体的终端,即业务实现无需考虑其所需的能力服务器在网络中的具体位置和功能实现的具体方式,从而实现业务的快速开发和统一部署。According to the method of the present invention, each distributed device is used as a unified whole terminal to provide various capability services for the business, and the unified business terminal system constructed is presented as a whole terminal for the business, that is, the business realization does not need to consider its required The specific location of the capability server in the network and the specific method of function realization, so as to realize the rapid development and unified deployment of services.

附图说明 Description of drawings

图1是根据本发明的统一业务终端系统的功能逻辑体系架构;Fig. 1 is the functional logic architecture of the unified service terminal system according to the present invention;

图2是根据本发明的统一业务终端系统的设备聚合过程;Fig. 2 is the device aggregation process of the unified service terminal system according to the present invention;

图3是根据本发明的统一业务终端系统中业务部署及执行的流程图。Fig. 3 is a flowchart of service deployment and execution in the unified service terminal system according to the present invention.

具体实施方式 Detailed ways

本发明所述的统一业务终端系统是根据用户要求,利用无线或有线的个人域连接技术,将具有一种或多种能力的设备聚合在一起而形成的一个虚拟终端。所构建的统一业务终端系统是一种分布式的终端系统。The unified service terminal system of the present invention is a virtual terminal formed by aggregating devices with one or more capabilities by using wireless or wired personal domain connection technology according to user requirements. The unified business terminal system constructed is a distributed terminal system.

本发明中将统一业务终端从功能角度抽象成一个逻辑上的体系结构,如附图1所示,所述统一业务终端系统包括框架功能模块、执行环境功能模块、聚合控制功能模块和多个能力服务器功能模块。In the present invention, the unified service terminal is abstracted into a logical system structure from a functional point of view. As shown in Figure 1, the unified service terminal system includes a framework function module, an execution environment function module, an aggregation control function module and multiple capabilities Server function module.

所述框架功能模块用于实现统一业务终端的中央管理控制功能,它负责控制统一业务终端系统中各个设备的聚合和分离,管理统一业务终端系统中所有分布式设备的信息、用户信息及业务信息,根据业务需求对统一业务终端的能力资源进行评估,为业务提供最佳的能力提供方案,并对执行环境进行配置。The framework function module is used to realize the central management and control function of the unified service terminal, which is responsible for controlling the aggregation and separation of each device in the unified service terminal system, and managing the information, user information and business information of all distributed devices in the unified service terminal system , evaluate the capability resources of the unified service terminal according to the business requirements, provide the best capability provision scheme for the business, and configure the execution environment.

所述执行环境功能模块对统一业务终端系统的能力服务器的具体调度和协同工作进行管理和协调,并为业务提供统一的终端运行接口。The execution environment function module manages and coordinates the specific scheduling and collaborative work of the capability servers of the unified service terminal system, and provides a unified terminal operation interface for services.

所述聚合控制功能模块负责管理各个分布式设备的能力收集以及设备状态,并主要控制统一业务终端中各个分布式设备的聚合和分离过程。The aggregation control function module is responsible for managing the capability collection and device status of each distributed device, and mainly controls the aggregation and separation process of each distributed device in the unified service terminal.

所述能力服务器封装了统一业务终端系统的各个能力特征,能够方便的为业务提供能力服务,在本发明中一个能力服务器只封装一种能力特征。The capability server encapsulates various capability features of the unified service terminal system, and can conveniently provide capability services for services. In the present invention, one capability server only encapsulates one capability feature.

本发明所涉及的构建统一业务终端的方法需要在设备上安装一系列软件,这些软件包括框架功能软件、聚合控制功能软件、执行环境软件及能力服务器软件。框架功能软件实现所述框架功能模块的功能,聚合控制功能软件实现聚合控制功能模块的功能,执行环境软件实现执行环境功能模块的功能,能力服务器软件实现能力服务器功能模块的功能;The method for building a unified service terminal involved in the present invention needs to install a series of software on the device, and these software include framework function software, aggregation control function software, execution environment software and capability server software. The framework function software realizes the function of the framework function module, the aggregation control function software realizes the function of the aggregation control function module, the execution environment software realizes the function of the execution environment function module, and the capability server software realizes the function of the capability server function module;

安装了包括框架功能软件、聚合控制功能软件、执行环境软件及能力服务器软件的设备具备了框架功能、执行环境、聚合控制功能、能力服务器,成为一类设备。也就是说,本发明所述的一类设备是具有框架功能、执行环境、聚合控制功能、能力服务器的设备。一类设备在统一业务终端系统中可以作为主控设备。Equipment installed with framework function software, aggregation control function software, execution environment software, and capability server software has framework functions, execution environment, aggregation control function, and capability server, and becomes a class of equipment. That is to say, a type of device described in the present invention is a device having a framework function, an execution environment, an aggregation control function, and a capability server. A type of device can be used as the main control device in the unified service terminal system.

安装了聚合控制功能软件和能力服务器的设备,只具备聚合控制功能和能力服务器,为二类设备。也就是说,本发明所述的二类设备是指只具有聚合控制功能和能力服务器的设备。二类设备不能作为统一业务终端的主控设备。Devices installed with aggregated control function software and capability servers only have aggregated control functions and capability servers, and are Class II devices. That is to say, the second-type device mentioned in the present invention refers to a device that only has an aggregation control function and a capability server. Class II equipment cannot be used as the main control equipment of the unified service terminal.

本发明所涉及的主控设备是统一业务终端系统中的中央控制设备,只有一类设备可以充当主控设备,并且每个统一业务终端系统中只有一个主控设备。The master control device involved in the present invention is the central control device in the unified service terminal system, only one type of device can serve as the master control device, and there is only one master control device in each unified service terminal system.

下面结合附图2描述根据本发明的构建统一业务终端系统的方法。The method for constructing a unified service terminal system according to the present invention will be described below with reference to FIG. 2 .

在本发明中,统一业务终端系统将具有若干种能力的设备聚合在一起而形成一个虚拟终端,选择其中一个一类设备作为主控设备,构建统一业务终端系统。该一类设备可以是手持设备或位置固定的计算能力比较强的设备,由用户来选择。所述方法包括以下具体步骤:In the present invention, the unified service terminal system aggregates devices with several kinds of capabilities together to form a virtual terminal, selects one type of device as the main control device, and constructs a unified service terminal system. This type of device may be a handheld device or a fixed-position device with relatively strong computing capabilities, which is selected by the user. The method comprises the following specific steps:

(1)用户选择其中一个一类设备,并且运行所述一类设备上的框架功能模块以及执行环境模块,从而所述一类设备成为将被构建的统一业务终端系统的主控设备。(1) The user selects one of the first-class devices, and runs the framework function module and the execution environment module on the first-class device, so that the first-class device becomes the main control device of the unified service terminal system to be constructed.

其中在运行所述一类设备上的框架功能模块以及执行环境模块时,所述一类设备自身所包含的若干个能力服务器首先被聚合到所述一类设备上,从而成为将被构建的统一业务终端系统的主控设备。When running the framework function modules and execution environment modules on the type of equipment, several capability servers contained in the type of equipment are first aggregated on the type of equipment, thus becoming a unified The main control device of the business terminal system.

(2)该统一业务终端系统的主控设备发送广播消息通知周围环境本统一业务终端系统的存在以及自身的描述信息。。(2) The main control device of the unified service terminal system sends a broadcast message to notify the surrounding environment of the existence of the unified service terminal system and its own description information. .

所述广播消息是一个对该统一业务终端系统的自描述信息,其目的是为了让周围环境中接收到该广播消息的设备了解到该统一业务终端系统的存在,并能够从信息中获知该统一业务终端系统的位置、访问方式等。其内容可以包括主控设备的ID和设备类型等。其中,设备类型标明该设备是一类设备还是二类设备。The broadcast message is a self-describing information of the unified service terminal system, the purpose of which is to let the equipment receiving the broadcast message in the surrounding environment know the existence of the unified service terminal system and know the unified service terminal system from the information. The location and access method of the business terminal system, etc. Its content may include the ID and device type of the master device, etc. Wherein, the device type indicates whether the device is a first-class device or a second-class device.

(3)周围的一类设备或二类设备收到广播消息后,向主控设备的框架功能模块发送聚合请求消息。(3) After receiving the broadcast message, the surrounding Class I or Class II devices send an aggregation request message to the frame function module of the master device.

一类设备或二类设备收到广播消息后,判断自身是否已经加入到其他的统一业务终端系统。如果没有,则向主控设备发送聚合请求消息,并保存主控设备的ID和类型等信息,表明设备请求加入该广播消息所标明的统一业务终端系统。如果设备已经加入其他的统一业务终端系统,不能再加入将被构建的统一业务终端系统,则设备对主控设备的广播消息不做出响应。After receiving the broadcast message, the first-class equipment or second-class equipment judges whether it has joined other unified service terminal systems. If not, send an aggregation request message to the main control device, and save information such as the ID and type of the main control device, indicating that the device requests to join the unified service terminal system indicated by the broadcast message. If the device has already joined other unified service terminal systems and cannot join the unified service terminal system to be built, the device will not respond to the broadcast message of the master control device.

(4)主控设备对请求聚合的设备进行鉴权,并向所述请求聚合的设备返回鉴权结果。然后,鉴权成功的聚合设备和主控设备在鉴权过程中生成能力服务密钥,用于能力服务器调用时的加解密。(4) The main control device authenticates the device requesting aggregation, and returns an authentication result to the device requesting aggregation. Then, the aggregation device and the main control device that have successfully authenticated generate a capability service key during the authentication process, which is used for encryption and decryption when the capability server calls.

该步骤所述的鉴权过程包括以下步骤:The authentication process described in this step includes the following steps:

a.主控设备的框架功能模块随机生成一个鉴权码,将该鉴权码发送给请求聚合的设备,并通过鉴权算法生成对应于该鉴权码的密钥;a. The framework function module of the main control device randomly generates an authentication code, sends the authentication code to the device requesting aggregation, and generates a key corresponding to the authentication code through an authentication algorithm;

b.请求聚合的设备收到该鉴权码以后,通过相同的鉴权算法生成应答密钥,并将该应答密钥发送给主控设备;b. After receiving the authentication code, the device requesting aggregation generates a response key through the same authentication algorithm, and sends the response key to the master device;

c.主控设备根据接收到该应答密钥之后,比较密钥和应答密钥,如果两者相同,则向请求聚合的设备返回鉴权成功消息;如果两者不相同,则向请求聚合的设备返回鉴权失败消息;c. After receiving the response key, the master device compares the key with the response key, and if the two are the same, it returns an authentication success message to the device requesting aggregation; The device returns an authentication failure message;

d.鉴权成功的主控设备和请求聚合设备利用鉴权码,通过相同的加密算法生成能力服务密钥,用于调用设备能力服务器时的加解密。d. The master control device and the request aggregation device that have successfully authenticated use the authentication code to generate a capability service key through the same encryption algorithm, which is used for encryption and decryption when calling the device capability server.

(5)请求聚合的设备判断鉴权结果。若鉴权成功,请求聚合的设备将设备的自描述信息发送给主控设备,将设备信息注册到主控设备的框架功能模块,同时将能力服务密钥告诉本设备的各个能力服务器。主控设备向请求聚合的设备返回聚合成功消息。若鉴权失败,则该请求聚合的设备不能加入到该统一业务终端系统,该设备清除之前保存的发出广播消息的统一业务终端系统的自描述信息。(5) The device requesting aggregation judges the authentication result. If the authentication is successful, the device requesting aggregation sends the self-description information of the device to the main control device, registers the device information to the framework function module of the main control device, and at the same time informs the capability service key of the device to each capability server. The master device returns an aggregation success message to the device requesting aggregation. If the authentication fails, the device requesting aggregation cannot join the unified service terminal system, and the device clears the previously stored self-description information of the unified service terminal system that sends the broadcast message.

所述设备的自描述信息包括:设备ID、设备类型、框架功能信息、执行环境信息、能力信息等。主控设备将设备的自描述信息保存在框架功能模块,由框架功能模块对统一业务终端中的设备的自描述信息进行统一管理。The self-describing information of the device includes: device ID, device type, framework function information, execution environment information, capability information, and the like. The main control device saves the self-description information of the device in the framework function module, and the framework function module manages the self-description information of the devices in the unified service terminal in a unified manner.

(6)其他设备均通过上述相同的聚合过程将自身加入到主控设备所在的统一业务终端系统中,从而丰富统一业务终端系统的能力。(6) Other devices add themselves to the unified service terminal system where the main control device is located through the same aggregation process as above, thereby enriching the capabilities of the unified service terminal system.

通过上述方法,构建和丰富了一个分布式的统一业务终端系统,它对业务应用以及外部环境呈现为一个整体,并通过其主控设备的框架功能模块以及执行环境模块与业务应用直接交互,通过向业务应用提供开放的统一接口来支持业务应用对统一业务终端系统的能力的调用,从而提供相应的服务效果以及用户体验。Through the above method, a distributed unified business terminal system is constructed and enriched, which presents business applications and the external environment as a whole, and directly interacts with business applications through the frame function modules of its main control equipment and execution environment modules, through Provide business applications with an open unified interface to support business applications calling the capabilities of the unified business terminal system, thereby providing corresponding service effects and user experience.

根据本发明,还提供了一种在统一业务终端系统通过框架功能模块和执行环境对业务进行部署和执行的方法,屏蔽各个分布的能力服务器,从而向业务应用提供统一的服务能力支持。所述方法除了包含上述构建统一业务终端系统的步骤之外,还包括以下步骤:According to the present invention, a method for deploying and executing services through framework function modules and execution environments in the unified service terminal system is also provided, shielding each distributed capability server, thereby providing unified service capability support for service applications. In addition to comprising the above-mentioned steps of building a unified service terminal system, the method also includes the following steps:

(1)业务启动后发布广播消息,统一业务终端系统主控设备的框架功能模块收到该业务消息后,向业务返回确认消息,发起业务鉴权流程;(1) After the service is started, a broadcast message is released, and after receiving the service message, the framework function module of the main control device of the unified service terminal system returns a confirmation message to the service and initiates a service authentication process;

(2)业务通过鉴权后,向鉴权成功的主控设备的框架功能模块注册自身信息,并提出业务能力需求;(2) After the business has passed the authentication, register its own information with the framework function module of the master control device that has successfully authenticated, and propose business capability requirements;

(3)统一业务终端系统的框架功能模块根据业务能力需求为业务适配出最佳的能力提供方案发送给业务。(3) The frame function module of the unified service terminal system adapts the best capability provision plan for the service according to the service capability requirement and sends it to the service.

(4)业务接收统一业务终端系统的主控设备的框架功能模块发出的能力提供方案,并进行判断,如果发现自身的能力需求能够基于该能力方案执行,就返回能力调用确认信息,。如果不能,则业务应用可选择终止应用程序,或者挂起并等待统一业务终端系统的能力更新以满足业务应用的能力需求;(4) The service receives the capability provision plan issued by the framework function module of the main control device of the unified service terminal system, and makes a judgment. If it finds that its own capability requirements can be implemented based on the capability solution, it returns the capability call confirmation information. If not, the business application can choose to terminate the application program, or suspend and wait for the capability update of the unified service terminal system to meet the capability requirements of the business application;

(5)统一业务终端系统接收到能力调用确认消息后,配置执行环境,向业务应用发送执行环境配置成功信息,并将相应的能力调用命令发过去。(5) After receiving the capability invocation confirmation message, the unified service terminal system configures the execution environment, sends execution environment configuration success information to the service application, and sends the corresponding capability invocation command.

(6)业务通过该能力调用命令实现对能力服务器的调用;业务向执行环境发送能力调用命令,执行环境解析能力调用命令,通过执行环境中的能力服务器代理实现对分布式能力服务器的调用,从而向业务屏蔽了能力服务器的分布性和异构性。(6) The service calls the capability server through the capability call command; the service sends the capability call command to the execution environment, executes the environment analysis capability call command, and implements the call to the distributed capability server through the capability server agent in the execution environment, thereby The distribution and heterogeneity of the capability server is shielded from the business.

(7)业务应用结束时,向执行环境提交业务结束请求,根据该请求,执行环境通过能力服务器代理向各能力服务器发出调用结束命令,各能力服务器根据该命令结束调用操作。同时,执行环境自动释放相关能力服务器代理,删除对应的能力调用与代理映射表,通知框架该业务结束消息,框架清除该业务相应信息。最后由框架向业务应用发出确认信息。业务应用正常退出。(7) When the service application ends, submit a service end request to the execution environment. According to the request, the execution environment sends a call end command to each capability server through the capability server agent, and each capability server ends the call operation according to the command. At the same time, the execution environment automatically releases the relevant capability server proxy, deletes the corresponding capability call and proxy mapping table, notifies the framework of the business end message, and the framework clears the corresponding information of the business. Finally, the framework sends a confirmation message to the business application. The business application exits normally.

所述业务鉴权步骤包括:The business authentication steps include:

a.主控设备的框架功能模块随机生成一个鉴权码,将该鉴权码发送给业务,并通过鉴权算法生成对应于该鉴权码的密钥;a. The framework function module of the main control device randomly generates an authentication code, sends the authentication code to the service, and generates a key corresponding to the authentication code through an authentication algorithm;

b.业务收到鉴权码以后通过相同的鉴权算法生成应答密钥,并将该应答密钥发送给框架功能模块;b. After receiving the authentication code, the service generates a response key through the same authentication algorithm, and sends the response key to the framework function module;

c.该框架功能模块根据接收到的应答密钥,比较密钥和应答密钥,如果两者相同,则向业务返回鉴权成功消息;如果两者不相同,则向业务返回鉴权失败消息;c. The framework function module compares the key and the response key according to the received response key. If the two are the same, the authentication success message will be returned to the service; if the two are not the same, the authentication failure message will be returned to the service ;

在所述步骤(5)中,涉及到在业务应用和分布式能力服务器之间配置执行环境,其目的是为业务应用调用分布式系统提供统一的执行平台,屏蔽统一业务终端系统中能力服务器的分布性和异构性。In the step (5), it involves configuring the execution environment between the business application and the distributed capability server. distribution and heterogeneity.

配置执行环境的步骤包括:框架收到业务应用对能力提供方案的确认信息后,将所述能力提供方案中的各个能力服务器信息以及对应的能力服务密钥提交给统一业务终端系统中的执行环境模块,执行环境模块收到这些信息后,为能力提供方案对应的各个能力服务器生成能力服务器代理,并在执行环境中保存能力调用命令及代理映射表,以明确执行环境中能力调用命令、能力服务器代理、能力服务器以及能力服务密钥之间的映射关系,执行环境根据该映射关系解析能力调用命令。The step of configuring the execution environment includes: after the framework receives the confirmation information of the capability provision scheme from the business application, submits the information of each capability server in the capability provision scheme and the corresponding capability service key to the execution environment in the unified business terminal system module, the execution environment module generates the capability server agent for each capability server corresponding to the capability provision scheme after receiving the information, and saves the capability call command and proxy mapping table in the execution environment to clarify the capability call command and capability server in the execution environment. The mapping relationship between the agent, the capability server and the capability service key, and the execution environment parses the capability invoking command according to the mapping relationship.

下图举例说明了所述执行环境中能力调用命令、能力服务器代理、能力服务器及能力服务密钥之间的映射关系The following figure illustrates the mapping relationship among the capability call command, capability server agent, capability server and capability service key in the execution environment

  能力调用命令 UI Video 能力服务器 UICS VideoCS 能力服务器代理 UICS proxy VideoCSproxy 能力服务密钥 Key1 Key2 Ability to invoke commands UI video capability server UICS VideoCS Capability Server Proxy UICS proxy VideoCSproxy Capability service key Key1 Key2

在所述的步骤(6)中,业务向执行环境发送能力调用命令,执行环境收到能力调用命令后,将通过查找能力调用命令及代理映射表得知需要调用的能力服务器的能力服务器代理的标识,并向该标识的代理发送相应的调用命令。能力服务器代理能够自动寻找到其代理的能力服务器的地址,并将相应的命令及其配置参数传递到能力服务器上,并与该能力服务器建立双向通信联系,时时传递双方的信息。In the step (6), the business sends a capability call command to the execution environment. After the execution environment receives the capability call command, it will know the capability server proxy of the capability server that needs to be called by searching the capability call command and the proxy mapping table. ID, and send the corresponding invocation command to the identified agent. The capability server agent can automatically find the address of the capability server it acts as agent, and pass the corresponding commands and configuration parameters to the capability server, and establish a two-way communication relationship with the capability server, and constantly transmit the information of both parties.

在从执行环境的能力服务器代理到各个对应能力服务器的双向数据流的传输中,需要根据在配置执行环境的过程中获取的对应各个能力服务器的能力服务密钥进行加密。而接收方(能力服务器或者能力服务器代理)利用相同的能力服务密钥对业务数据流进行解密,从而从数据流的传输角度上提供相应的安全性保证。During the transmission of the bidirectional data flow from the capability server agent of the execution environment to each corresponding capability server, it needs to be encrypted according to the capability service key corresponding to each capability server acquired during the process of configuring the execution environment. The receiver (capability server or capability server proxy) uses the same capability service key to decrypt the service data flow, thereby providing corresponding security guarantees from the perspective of data flow transmission.

Claims (15)

1, a kind of method that is used for making up unified business terminal system at network, described network comprises a plurality of kind equipments and a plurality of two kind equipments, the described unified business terminal system that will be fabricated comprises framework functions module and execution environment,
Described method comprises step:
(1) user selects one of them kind equipment, and moves framework functions module and execution environment module on the described kind equipment, thereby a described kind equipment becomes the main control device of the unified business terminal system that will be fabricated;
(2) main control device of described unified business terminal system sends broadcast message, and wherein said broadcast is the self-described information to described unified business terminal system, comprises the identifier and the device type of described main control device;
(3) after a kind equipment on every side or two kind equipments receive broadcast, judge self whether to have joined in other the unified business terminal system, if do not add, then send aggregate request mes-sages to described main control device, and the self-described information of preserving the described unified business terminal system in the described broadcast, show that described device request adds in the described unified business terminal system;
(4) described main control device carries out authentication to these equipment of request polymerization, from these equipment authentication go out can with the equipment of described main control device phase-polymerization functional unit as unified business terminal system;
(5) by the equipment of authentication success self information is registered to the framework functions module of described main control device, thereby constitutes described unified business terminal system.
2, method according to claim 1, wherein said step (1) also comprises step:
When framework functions module on the described kind equipment of operation and execution environment module, several capable servers that a described kind equipment is comprised self are aggregated on the described kind equipment, thereby become the main control device of the unified business terminal system that will be fabricated.
3, method according to claim 1, wherein said step (3) also comprises step:
After a described kind equipment or two kind equipments are received described broadcast, if judge in the unified business terminal system that self has joined other, then can not join described unified business terminal system again, thereby described equipment is not made response to the broadcast of described main control device.
4, method according to claim 1, wherein the authentication step in the step (4) also comprises:
The framework functions module of described main control device generates an authentication code at random, and described authentication code is sent to the equipment of asking polymerization, and by the key of authentication arithmetic generation corresponding to described authentication code;
After the equipment of request polymerization is received described authentication code, reply key by identical authentication arithmetic generation, and the described key of replying is sent to described main control device;
Described main control device is according to the received key of replying, and more described key and the described key of replying if both are identical, then return the authentication success message to the equipment of asking polymerization; If both are inequality, then the equipment to the request polymerization returns failed authentication message;
The described authentication code of equipment utilization of the request polymerization of described main control device and authentication success by identical cryptographic algorithm generative capacity service key, is used for carrying out encryption and decryption when the capacity of equipment server that calls corresponding to described capability service key.
The self-described information of the unified business terminal system in the described broadcast of preserving before the device clear of the request polymerization of failed authentication.
5, method according to claim 1, wherein said step (5) also comprises step:
The equipment of the request polymerization of described authentication success sends to described main control device with the self-described information of equipment, and facility information is registered to the framework functions module of described main control device,
Tell each capable server of this equipment with described capability service key,
Described main control device returns the polymerization success message to the equipment of request polymerization.
6, method according to claim 5, the self-described information of wherein said equipment comprises: device id, device type, framework functions information, execution environment information, ability information.
7, a kind of method of in unified business terminal system, disposing service application, wherein said unified business terminal system is structured in the network that comprises a plurality of one-level equipment and a plurality of secondary equipment, described unified business terminal system comprises framework functions module and execution environment
Described method comprises step:
(1) user selects one of them kind equipment, and moves framework functions module and execution environment module on the described kind equipment, thereby a described kind equipment becomes the main control device of the unified business terminal system that will be fabricated;
(2) main control device of described unified business terminal system sends broadcast message, and wherein said broadcast is the self-described information to described unified business terminal system, comprises the identifier and the device type of described main control device;
(3) after a kind equipment on every side or two kind equipments receive broadcast, judge self whether to have joined in other the unified business terminal system, if do not add, then send aggregate request mes-sages to described main control device, and the self-described information of preserving the described unified business terminal system in the described broadcast, show that described device request adds in the described unified business terminal system;
(4) described main control device carries out authentication to these equipment of request polymerization, from these equipment authentication go out can with the equipment of described main control device phase-polymerization functional unit as unified business terminal system;
(5) by the equipment of authentication success self information is registered to the framework functions module of described main control device, thereby constitutes described unified business terminal system;
(6) when service application starts, to the framework functions module transmission service application message of described main control device, described framework functions module is carried out authentication to described service application;
(7) described service application to described framework functions module registration, and proposes the professional ability demand by after the authentication;
(8) described framework functions module provides scheme according to described professional ability demand for described service application provides corresponding ability, and described ability provider's case is sent to described service application;
(9) described service application receives described ability scheme is provided, and whether the professional ability demand of judging its proposition can provide scheme and be performed based on described ability, in the time can being performed, calls confirmation to described unified business terminal system resettability;
(10) described unified business terminal system receives described ability and calls when confirming, disposes described execution environment, and sends corresponding ability call instruction to described service application;
(11) described service application is called the capable server in the described unified business terminal system by send described ability call instruction to described execution environment.
8, method according to claim 7, wherein said method also comprises step:
When described service application finishes, submit the service ending request to described execution environment,
According to described service ending request, described execution environment sends to corresponding capable server by described capable server agency and calls the finish command, and each capable server finishes call operation according to the described the finish command that calls,
Described execution environment discharges relevant ability server agent automatically, and delete corresponding ability call instruction and act on behalf of mapping table, and notify described framework functions module described service ending message,
Described framework functions module is removed the corresponding information of described service application,
Send confirmation by described framework functions module to described service application at last,
Described service application normally withdraws from.
9, method according to claim 7, wherein the step that business is carried out authentication of step (6) also comprises:
Described framework functions module generates an authentication code at random, and described authentication code is sent to described business, and by the key of authentication arithmetic generation corresponding to described authentication code;
Described business is received after the described authentication code, generates by identical authentication arithmetic and replys key, and the described key of replying is sent to described framework functions module;
Described framework functions module according to described receive reply key, the key of more described authentication code and the described key of replying if both are identical, then return the authentication success message to described business; If both are inequality, then return failed authentication message to described business.
10, method according to claim 7, wherein said step (9) also comprises step:
The professional ability demand of judging its proposition when described service application can not provide scheme and when being performed based on described ability, described service application is selected to stop, perhaps hang up, wait for that the ability update of described unified business terminal system satisfies described professional ability demand.
11, method according to claim 7, wherein said step (10) also comprises step:
Described unified business terminal system also sends execution environment configuration successful message to described service application.
12, method according to claim 11, the configuration execution environment of wherein said step (10) also comprises step:
Described framework functions module receives that the ability that described service application sends calls after the confirmation, the execution environment module that provides each capable server information in the scheme and corresponding capability service key to submit to described unified business terminal system described ability
After described execution environment module is received these information, each capable server that provides scheme to relate to for described ability generates corresponding capable server agency, and hold capacity call instruction and act on behalf of mapping table in described execution environment, with the mapping relations between ability call instruction in the clear and definite execution environment, capable server agency, capable server and the capability service key, thereby make that described execution environment can be according to the call instruction of described mapping relations analytic ability.
13, method according to claim 7, wherein said step (11) also comprises step:
Described service application sends described ability call instruction to described execution environment, described execution environment is resolved described ability call instruction, realizes calling the capable server in the described unified business terminal system by the capable server agency who disposes in described execution environment.
14, method according to claim 13, wherein said step (11) also comprises step:
After described execution environment is received described ability call instruction, to and act on behalf of the sign that mapping table is learnt the capable server agency of the capable server that need call by the search capacity call instruction, and send corresponding call instruction to capable server agency with described sign;
Described capable server agency can search out the address of its agency's capable server automatically, and will order accordingly and configuration parameter is delivered on the capable server, and sets up two-way communication with described capable server and get in touch, and transmits both sides' information constantly.
15, method according to claim 10, wherein in described step (11), the step that described execution environment calls the capable server in the described unified business terminal system also comprises:
The corresponding capability service key of described execution environment utilization is encrypted the data flow of described business, and the business data flow after the handling capacity server agent will be encrypted is forwarded to corresponding capable server,
Corresponding capable server utilizes identical capability service key that described business data flow is decrypted, thereby realizes described business calling capable server.
CNB2004100950689A 2004-11-23 2004-11-23 Construction method of unified business terminal system and deployment method of business application Expired - Lifetime CN100502563C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100950689A CN100502563C (en) 2004-11-23 2004-11-23 Construction method of unified business terminal system and deployment method of business application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100950689A CN100502563C (en) 2004-11-23 2004-11-23 Construction method of unified business terminal system and deployment method of business application

Publications (2)

Publication Number Publication Date
CN1610444A CN1610444A (en) 2005-04-27
CN100502563C true CN100502563C (en) 2009-06-17

Family

ID=34766465

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100950689A Expired - Lifetime CN100502563C (en) 2004-11-23 2004-11-23 Construction method of unified business terminal system and deployment method of business application

Country Status (1)

Country Link
CN (1) CN100502563C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626363B (en) * 2008-07-07 2013-03-27 华为技术有限公司 Convergence service device and system, and convergence service establishing and using methods
CN101640667B (en) * 2008-07-30 2012-11-21 国际商业机器公司 Process execution method, process execution system and configuration equipment and configuration method of process execution system
CN102098211B (en) * 2009-12-11 2012-08-08 华为技术有限公司 Service Mashup method for dynamic cooperation of client and server, server and client
CN108848029A (en) * 2018-06-12 2018-11-20 迈普通信技术股份有限公司 Link aggregation method, apparatus and readable storage medium storing program for executing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288344A (en) * 1999-06-30 2001-03-21 上海贝尔有限公司 Multifunction subscriber network terminal of comprehensive business digital net
CN1457615A (en) * 2001-02-27 2003-11-19 摩托罗拉公司 Method and apparatus for peer to peer communication over inherently master slave interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288344A (en) * 1999-06-30 2001-03-21 上海贝尔有限公司 Multifunction subscriber network terminal of comprehensive business digital net
CN1457615A (en) * 2001-02-27 2003-11-19 摩托罗拉公司 Method and apparatus for peer to peer communication over inherently master slave interface

Also Published As

Publication number Publication date
CN1610444A (en) 2005-04-27

Similar Documents

Publication Publication Date Title
CN111309374B (en) Micro-service system and service calling method in micro-service system
CN105354076B (en) Application deployment method and device
US8341715B2 (en) System and method for shared resource owner based access control
CN106534107B (en) An Internet of Things message service system
EP0759591A1 (en) Event management service
CN101499995B (en) A business scheduling method, system and device for business scheduling
CN114327827B (en) A task processing method, device and storage medium
CN111414381A (en) Data processing method and device, electronic equipment and storage medium
WO2016184178A1 (en) Resource control method and apparatus
WO2020259081A1 (en) Task scheduling method, apparatus, and device, and computer-readable storage medium
US7584510B2 (en) Network service processing method and system
CN108920111A (en) Data sharing method and Distributed data share system
CN103685535A (en) Interface design of cloud database system for large-scale distributed heterogeneous data treatment
CA2654740C (en) System and method for shared resource owner based access control
CA2397114A1 (en) Communications network
US20020138575A1 (en) Multicast system
WO2022067831A1 (en) Method and apparatus for establishing secure communication
CN114025005B (en) Data communication method, system, electronic equipment and storage medium
CN115883669A (en) Data distribution method, system, equipment and medium
CN100502563C (en) Construction method of unified business terminal system and deployment method of business application
CN104753774B (en) A kind of distributed enterprise comprehensive access gate
CN111970162B (en) Heterogeneous GIS platform service central control system under super-integration framework
CN104065612B (en) A kind of user management method, device and Union user management system
CN114124508B (en) Application login method and system
CN116939043B (en) Data processing system, method and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING UNIV. OF POST AND TELECOMMUNICATION; APPL

Free format text: FORMER OWNER: BEIJING UNIV. OF POST AND TELECOMMUNICATION

Effective date: 20060217

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20060217

Address after: 100876 Beijing city Haidian District Xitucheng Road No. 10

Applicant after: Beijing University of Posts and Telecommunications

Co-applicant after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 100876 Beijing city Haidian District Xitucheng Road No. 10

Applicant before: Beijing University of Posts and Telecommunications

C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20090617

CX01 Expiry of patent term