CN1968134B - Method and system for realizing multimedia convergence service based on middleware - Google Patents
Method and system for realizing multimedia convergence service based on middleware Download PDFInfo
- Publication number
- CN1968134B CN1968134B CN200610075090A CN200610075090A CN1968134B CN 1968134 B CN1968134 B CN 1968134B CN 200610075090 A CN200610075090 A CN 200610075090A CN 200610075090 A CN200610075090 A CN 200610075090A CN 1968134 B CN1968134 B CN 1968134B
- Authority
- CN
- China
- Prior art keywords
- application
- service
- business
- unit
- execution
- 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明涉及一种基于中间件实现多媒体融合业务的方法及系统,该方法包括:A、应用注册:获取并存储用户通过应用服务器注册的应用描述文件及设定该应用描述文件的调用策略;B、业务生成:选择需要调用的应用并确定其调用关系、各应用服务器之间信息的传递和异常状况的处理,并以业务描述文件的格式进行存储所生成的业务;C、业务执行:通过读取业务执行引擎中的业务描述文件,解析业务描述文件中定义的业务逻辑,读取满足执行条件的第一个应用,传递应用的接口参数并调用应用服务器执行,根据执行结果确定下一个执行的应用直到业务执行完成。所述系统包括:应用注册装置、业务生成装置和业务执行装置。
The present invention relates to a method and system for realizing multimedia fusion services based on middleware. The method includes: A. Application registration: obtaining and storing the application description file registered by the user through the application server and setting the calling strategy of the application description file; B. . Business generation: select the application to be called and determine its calling relationship, information transfer between application servers and exception handling, and store the generated business in the format of a business description file; C. Business execution: by reading Get the business description file in the business execution engine, analyze the business logic defined in the business description file, read the first application that meets the execution conditions, pass the interface parameters of the application and call the application server for execution, and determine the next execution based on the execution result Apply until business execution is complete. The system includes: an application registration device, a service generation device and a service execution device.
Description
技术领域technical field
本发明涉及计算机通信技术,特别是涉及一种基于中间件实现多媒体融合业务的方法及系统。The invention relates to computer communication technology, in particular to a method and system for realizing multimedia fusion services based on middleware.
背景技术Background technique
随着计算机通信技术的迅速发展,从硬件技术看,CPU的速度越来越高,处理能力越来越强;从软件技术看,应用程序的规模不断扩大,特别是因特网(Internet)及万维网(WWW,World Wide Web)的出现,使计算机的应用范围更为广阔,许多应用程序需在网络环境的异构平台上运行。这一切都对新一代的软件开发提出了新的需求。在这种分布异构环境中,通常存在多种硬件系统平台(如PC,工作站,小型机等),在这些硬件平台上又存在各种各样的系统软件(如不同的操作系统、数据库、语言编译器等),以及多种风格各异的用户界面,这些硬件系统平台还可能采用不同的网络协议和网络体系结构连接。如何把这些系统集成起来并开发新的应用是一个非常现实而困难的问题。With the rapid development of computer communication technology, from the perspective of hardware technology, the speed of CPU is getting higher and higher, and the processing capacity is getting stronger; from the perspective of software technology, the scale of application programs is constantly expanding, especially the Internet (Internet) and World Wide Web ( The emergence of WWW (World Wide Web) has broadened the scope of computer applications, and many applications need to run on heterogeneous platforms in the network environment. All these put forward new requirements for the new generation of software development. In this distributed heterogeneous environment, there are usually a variety of hardware system platforms (such as PCs, workstations, minicomputers, etc.), and there are various system software (such as different operating systems, databases, etc.) on these hardware platforms. Language compilers, etc.), and a variety of user interfaces with different styles, these hardware system platforms may also be connected using different network protocols and network architectures. How to integrate these systems and develop new applications is a very real and difficult problem.
目前,在因特网多媒体子网系统(IMS,Internet Multiedia Subsystem)架构中,包括:用户设备UE1、代理呼叫2、服务呼叫3、归属用户服务器4和应用服务器5(AS,Application Service),比如包括AS1、AS2和AS3。由服务呼叫/会话控制功能模块(S-CSCF,Serving Call Session Control Function)来触发应用服务器实现的业务的方式如图1所示。如图所示,每个应用服务器(比如AS1、AS2和AS3)提供一个相对独立的业务能力单元,各应用服务器之间没有关联和彼此的调用,应用服务器之间的关联关系是根据用户对业务的签约信息,映射为初始过滤标准(IFC,Initial Filter Criterion)表达式,存储在归属用户服务器(HSS,Home Subscriber Server)中。用户UE在使用业务时,先触发到代理呼叫/会话控制功能模块(P-CSCF,Proxy Call Session ControlFunction),所述P-CSCF与S-CSCF相连,而S-CSCF会根据HSS中存储的用户签约信息,触发到对应的应用服务器(比如AS1、AS2和AS3)。At present, in the Internet Multimedia Subnet System (IMS, Internet Multiedia Subsystem) architecture, it includes: user equipment UE1, agent call 2, service call 3, home user server 4 and application server 5 (AS, Application Service), such as including AS1 , AS2 and AS3. The manner in which the service implemented by the application server is triggered by the Serving Call Session Control Function module (S-CSCF, Serving Call Session Control Function) is shown in Figure 1. As shown in the figure, each application server (such as AS1, AS2, and AS3) provides a relatively independent business capability unit, and there is no association between application servers and calls to each other. The contracting information of is mapped to an expression of Initial Filter Criterion (IFC, Initial Filter Criterion) and stored in the Home Subscriber Server (HSS, Home Subscriber Server). When the user UE uses the service, it first triggers the proxy call/session control function module (P-CSCF, Proxy Call Session Control Function), the P-CSCF is connected to the S-CSCF, and the S-CSCF will The subscription information is triggered to the corresponding application server (such as AS1, AS2 and AS3).
上述方案是根据用户对业务的签约信息,生成IFC表达式,来实现对业务的管理与控制。而在IFC表达式中,只可以设定AS触发的优先级和触发顺序,不能支持更多的业务组合方面的需求。比如,多个AS根据一定的条件组合成一个新的业务(Service),所述AS之间有一定的交互,为保障同一个服务等级承诺(SLA,Service Level Agreement)的而各自进行服务质量(QoS,Quality of Service)控制等等。因此,上述方案中所述S-CSCF只能直接触发IMS的AS,对于非IMS的AS(例如企业已有的IT系统、电信网中已有的IN业务等),由于控制信令的差异不能直接触发AS。The above solution is to generate an IFC expression according to the subscription information of the user for the service, so as to realize the management and control of the service. In the IFC expression, only the priority and trigger sequence of AS triggers can be set, and it cannot support more business combination requirements. For example, multiple ASs are combined into a new service (Service) according to certain conditions, and there is certain interaction between the ASs, in order to guarantee the same Service Level Agreement (SLA, Service Level Agreement), each performs service quality ( QoS, Quality of Service) control and so on. Therefore, the S-CSCF in the above solution can only directly trigger the AS of the IMS. For the AS of non-IMS (such as the existing IT system of the enterprise, the existing IN service in the telecommunication network, etc.), due to the difference in control signaling, it cannot Trigger AS directly.
另外,在上述IMS系统架构中,由S-CSCF来触发应用服务器(AS)实现的业务的方式也可以如图2所示,即在图1的基础上增加服务-应用服务器6(Service-AS),比如Service-AS1和Service-AS2.也就是说,部分应用服务器(AS)提供相对独立的业务能力单元,各应用服务器之间没有关联和彼此的调用.对于需要组合新业务的需求,是由Service-AS(比如图中的Service-AS1和Service-AS2)应用服务器来实施,在所述Service-AS中调用相关的其它AS,也就是把所有的业务控制逻辑集成在一个Service-AS中实施.这样,在实施的过程中,用户UE对业务的签约就只需要签约一个Service-AS,用户在使用业务时先触发到P-CSCF,所述P-CSCF与S-CSCF相连,S-CSCF根据用户的签约信息触发到Service-AS,由Service-AS调用其他相关的AS.In addition, in the above-mentioned IMS system architecture, the manner in which the S-CSCF triggers the services implemented by the application server (AS) can also be shown in Figure 2, that is, on the basis of Figure 1, the service-application server 6 (Service-AS ), such as Service-AS1 and Service-AS2. That is to say, some application servers (AS) provide relatively independent business capability units, and there is no association between application servers and calls to each other. For the need to combine new services, it is It is implemented by the application server of Service-AS (such as Service-AS1 and Service-AS2 in the figure), and calls related other ASs in the Service-AS, that is, integrates all business control logic in one Service-AS Implementation. In this way, in the implementation process, the user UE only needs to sign a Service-AS for service subscription, and the user first triggers the P-CSCF when using the service, and the P-CSCF is connected to the S-CSCF, and the S-CSCF CSCF triggers the Service-AS according to the user's subscription information, and the Service-AS invokes other related ASs.
由上述方案可知,所述Service-AS的业务逻辑复杂,开发和部署业务的周期较长,不适合新业务快速响应市场需求的要求。另外,该方案是把用户使用的业务(Service)和提供业务的应用(Application)都在AS中实施,业务的逻辑部分和业务的控制部分没有充分分离,对已开发业务的修改要求直接修改AS,对于新业务的组合也要求开发新的AS。这样对业务的维护和创新很不方便,也不利于业务能力的开放。It can be seen from the above solution that the service logic of the Service-AS is complex, and the development and deployment period of the service is long, which is not suitable for the requirement of fast response to market demand for new services. In addition, this solution is to implement both the service used by the user and the application that provides the service in the AS. The logic part of the service is not fully separated from the control part of the service. The modification of the developed service requires the direct modification of the AS. , the combination of new services also requires the development of new AS. This is very inconvenient for business maintenance and innovation, and is not conducive to the opening of business capabilities.
发明内容Contents of the invention
本发明解决的技术问题是提供一种基于中间件实现多媒体融合业务的方法及系统,以解决目前中间件技术不能组合和管理电信领域的话音业务、数据业务、多媒体业务等多种业务,以及对新的多媒体融合业务的执行控制和路由的适配。The technical problem solved by the present invention is to provide a method and system for realizing multimedia fusion services based on middleware, so as to solve the problem that the current middleware technology cannot combine and manage multiple services such as voice services, data services, and multimedia services in the telecommunications field, and to solve the problem of Execution control and routing adaptation of new multimedia convergence services.
为解决上述问题,本发明提供一种基于中间件实现多媒体融合业务的方法,所述方法包括:In order to solve the above problems, the present invention provides a method for realizing multimedia fusion services based on middleware, the method comprising:
A、获取并存储用户通过应用服务器注册的应用描述文件及设定该应用描述文件的调用策略;A. Obtain and store the application description file registered by the user through the application server and set the calling strategy of the application description file;
B、选择需要调用的应用描述文件并确定其调用关系、各应用之间信息的传递和异常状况的处理,并以业务描述文件的格式进行存储所生成的业务;B. Select the application description file that needs to be called and determine its call relationship, the transfer of information between applications and the handling of abnormal conditions, and store the generated business in the format of the business description file;
C、通过解析所述业务描述文件,读取满足执行条件的第一个应用,传递应用的接口参数并调用应用服务器执行,根据执行结果确定下一个执行的应用。C. By parsing the business description file, reading the first application that meets the execution conditions, passing the interface parameters of the application and calling the application server for execution, and determining the application to be executed next according to the execution result.
步骤A的具体实现过程包括:The specific implementation process of step A includes:
A1)应用服务器通过描述文件申请注册;A1) The application server applies for registration through the description file;
A2)解析应用服务器注册的应用描述文件,得到注册信息;A2) Analyzing the application description file registered by the application server to obtain the registration information;
A3)根据所述应用描述文件设定相应的调用策略;A3) setting a corresponding invocation strategy according to the application description file;
A4)存储所述应用服务器的注册信息及其调用策略。A4) Store the registration information of the application server and its calling strategy.
步骤B中通过选择已经注册的应用,读取并解析其应用描述文件。In step B, by selecting a registered application, its application description file is read and parsed.
步骤B中选择在业务中需要包括的应用,设定所述应用的调用关系、应用之间的参数传递关系和应用执行异常情况下的处理流程。In step B, select the applications that need to be included in the business, set the invocation relationship of the applications, the parameter transfer relationship between the applications, and the processing flow in case of abnormal execution of the applications.
步骤C的具体实现过程包括:The specific implementation process of step C includes:
C1)业务执行时,根据业务的标识读取对应的业务描述文件;C1) When the business is executed, read the corresponding business description file according to the identification of the business;
C2)解析该业务描述文件为系统内部所识别的对象;C2) Analyzing the business description file into an object identified within the system;
C3)触发业务描述文件中的执行策略,确定一个应用的触发;C3) Trigger the execution strategy in the service description file to determine the trigger of an application;
C4)适配其调用参数,进行触发调用;C4) Adapting its calling parameters to trigger calling;
C5)判断触发调用是否成功,若否,执行预先预定的异常处理流程;若是,执行步骤C6);C5) judging whether the trigger call is successful, if not, execute the pre-scheduled exception handling process; if so, execute step C6);
C6)判断是否还有未执行的应用;若有,返回步骤C3);否则,结束。C6) Determine whether there are unexecuted applications; if yes, return to step C3); otherwise, end.
另外,本发明还提供一种基于中间件实现多媒体融合业务的系统,所述系统为电信业务中间件,包括:In addition, the present invention also provides a system for realizing multimedia convergence services based on middleware. The system is middleware for telecommunication services, including:
应用注册装置,用于应用服务器的注册,并设定应用服务器的调用策略,生成应用描述文件,以及对已经注册的应用进行管理;The application registration device is used for registering the application server, setting the calling strategy of the application server, generating the application description file, and managing the registered application;
业务生成装置,与应用注册装置相连,选择需要调用的应用并确定其调用关系,以及应用之间信息的传递和执行异常状况的处理,并以业务描述文件的格式进行存储所生成的业务;The service generation device is connected with the application registration device, selects the application to be called and determines its call relationship, and transfers information between applications and handles execution exceptions, and stores the generated service in the format of a service description file;
业务执行装置,与应用注册装置和业务生成装置分别相连,通过读取业务生成装置中的业务描述文件,并对其进行解析,读取满足执行条件的第一个应用,传递应用之间的接口参数并调用应用服务器执行,根据执行结果确定下一个执行的应用。The service execution device is connected to the application registration device and the service generation device respectively, reads the service description file in the service generation device and parses it, reads the first application that meets the execution conditions, and transfers the interface between the applications parameters and call the application server for execution, and determine the application to be executed next according to the execution result.
所述应用注册装置包括:The application registration device includes:
应用识别适配单元,用于识别和解析应用描述文件,并发送解析后的结果;The application identification adaptation unit is used to identify and analyze the application description file, and send the analyzed result;
策略设定单元,与应用识别适配单元相连,根据接收到的解析结果设定每个应用服务器被调用的策略描述,以及解决应用服务器之间业务冲突的约束条件;The policy setting unit is connected to the application identification and adaptation unit, and sets the policy description for each application server to be invoked according to the received analysis result, and the constraint conditions for resolving business conflicts between application servers;
应用属性存储单元,与应用识别适配单元和策略设定单元分别相连,用于存储应用的注册描述信息和设定的策略信息;The application attribute storage unit is connected to the application identification adaptation unit and the policy setting unit respectively, and is used for storing application registration description information and set policy information;
应用管理单元,与策略设定单元和应用属性存储单元分别相连,用于对注册应用服务器的管理。The application management unit is connected to the policy setting unit and the application attribute storage unit respectively, and is used for managing the registered application server.
所述应用描述文件包括:应用服务器的统一资源标识符、触发接口参数、服务质量接口参数、应用的有效期、应用执行的平台类型、接口协议和应用提供商;The application description file includes: the uniform resource identifier of the application server, the trigger interface parameters, the service quality interface parameters, the validity period of the application, the platform type of the application execution, the interface protocol and the application provider;
所述对注册应用服务器的管理包括:对服务器的新增应用、删除应用、修改应用和查询应用。The management of the registered application server includes: adding new application, deleting application, modifying application and querying application to the server.
所述业务生成装置包括:The service generating device includes:
业务逻辑定义单元,用于定义服务的业务逻辑,所述业务逻辑包括服务中的应用部件以及应用部件的触发条件和相互关系,以及服务对外的业务等级承诺定义;The business logic definition unit is used to define the business logic of the service, and the business logic includes the application components in the service and the trigger conditions and interrelationships of the application components, as well as the external business level commitment definition of the service;
业务管理单元,与业务逻辑定义单元相连,用于管理对已经定义业务的修改、删除和查询操作;The business management unit is connected with the business logic definition unit, and is used to manage the modification, deletion and query operations of the defined business;
业务属性存储单元,与业务管理单元和业务逻辑定义单元分别相连,用于存储服务的业务逻辑和执行服务时的策略定义。The business attribute storage unit is respectively connected with the business management unit and the business logic definition unit, and is used for storing the business logic of the service and the policy definition when executing the service.
所述业务生成装置还包括:The service generating device also includes:
执行策略定义单元:与业务逻辑定义单元和业务属性存储单元分别相连,用于描述业务在执行时的策略定义,并将该策略定义发送到业务属性存储单元保存。Execution policy definition unit: connected to the business logic definition unit and the business attribute storage unit respectively, used to describe the policy definition when the business is executed, and send the policy definition to the business attribute storage unit for storage.
所述策略定义包括:业务互斥的策略和不同用户等级的执行策略。The policy definition includes: business mutually exclusive policies and execution policies of different user levels.
所述业务执行装置包括:The business execution device includes:
第一存储单元,用于存储业务属性存储单元发送的业务描述文件;The first storage unit is used to store the service description file sent by the service attribute storage unit;
第二存储单元,与业务逻辑定义单元、执行策略定义单元和应用属性存储单元分别相连,用于存储应用属性存储单元发送应用描述文件;The second storage unit is connected to the business logic definition unit, the execution policy definition unit and the application attribute storage unit respectively, and is used to store the application description file sent by the application attribute storage unit;
业务逻辑解析单元,与第一存储单元相连,用于读取业务描述文件,并将其解析为系统内部所识别的对象;A business logic parsing unit, connected to the first storage unit, for reading the business description file and parsing it into objects identified within the system;
执行逻辑控制单元,与业务逻辑解析单元和第二存储单元分别相连,根据业务描述文件,通过读取并解析应用描述文件,调用适配的应用服务器的逻辑操作要求;The execution logic control unit is respectively connected to the business logic analysis unit and the second storage unit, reads and parses the application description file according to the business description file, and invokes the logical operation requirements of the adapted application server;
应用执行适配单元,与执行逻辑控制单元相连,根据所述逻辑操作要求,选择已经注册正常合适的应用服务器,并传递合适的执行参数。The application execution adaptation unit is connected with the execution logic control unit, and according to the logic operation requirements, selects a properly registered application server and transmits appropriate execution parameters.
所述业务执行装置还包括:执行策略匹配单元,与执行逻辑控制单元相连,用于执行业务描述文件中所定义的执行策略。The service execution device further includes: an execution strategy matching unit, connected to the execution logic control unit, for executing the execution strategy defined in the service description file.
由上述公开的技术方案可知,本发明所述技术方案就是把传统IT系统中的中间件技术与IMS体系架构相结合,为电信业务的组件化提供了一种总体架构。通过中间件技术对融合的多媒体业务进行管理应用(Application)、组合新的业务(Service)和执行管理,以便于对已有的应用系统和未来的应用系统进行管理。其中,所述的应用系统可以是IMS应用、智能网(IN)应用和其他的非IMS应用等;本发明所述中间件技术可以基于所管理的应用,快速定制和组合出新的业务,并对新业务的执行进行控制、路由和适配。以方便业务的维护和创新,同时也便于业务能力的开放。It can be seen from the technical solution disclosed above that the technical solution of the present invention combines the middleware technology in the traditional IT system with the IMS system architecture to provide an overall framework for the componentization of telecommunication services. Through the middleware technology, the merged multimedia services are managed and applied (Application), combined with new services (Service) and executed, so as to facilitate the management of existing application systems and future application systems. Wherein, the application system may be an IMS application, an intelligent network (IN) application, and other non-IMS applications; the middleware technology of the present invention can quickly customize and combine new services based on the managed applications, and Control, route and adapt the execution of new services. In order to facilitate business maintenance and innovation, it is also convenient for the opening of business capabilities.
附图说明Description of drawings
图1是在IMS体系架构中由服务呼叫实现业务的一种结构示意图;Fig. 1 is a kind of structure schematic diagram that realizes business by service call in IMS architecture;
图2是在IMS体系架构中由服务呼叫实现业务的另一种结构示意图;Fig. 2 is another structural schematic diagram of implementing services by service calls in the IMS architecture;
图3是本发明所述基于中间件实现多媒体融合业务的系统的结构示意图;Fig. 3 is a schematic structural diagram of a system for realizing multimedia fusion services based on middleware according to the present invention;
图4是图3所述系统中应用注册装置的结构示意图;FIG. 4 is a schematic structural diagram of an application registration device in the system described in FIG. 3;
图5是图3所述系统中业务生成装置的结构示意图;Fig. 5 is a schematic structural diagram of a service generating device in the system described in Fig. 3;
图6是图3所述系统中业务执行装置的结构示意图;Fig. 6 is a schematic structural diagram of a service execution device in the system described in Fig. 3;
图7是本发明所述基于中间件实现多媒体融合业务的方法的流程图;Fig. 7 is the flow chart of the method for realizing multimedia fusion service based on middleware according to the present invention;
图8是图7所述方法中步骤S11的具体流程图;Fig. 8 is the specific flowchart of step S11 in the method described in Fig. 7;
图9是图7所述方法中步骤S12的具体流程图;Fig. 9 is the specific flowchart of step S12 in the method described in Fig. 7;
图10是图7所述方法中步骤S13的具体流程图。FIG. 10 is a specific flowchart of step S13 in the method shown in FIG. 7 .
具体实施方式Detailed ways
本发明的核心是将电信业务中间件技术引入到因特网多媒体子系统(IMS,Internet Multimedia Subsystem)体系架构中,并在该领域中确定电信业务中间件技术的架构,通过该电信业务中间件管理应用(Application)、组合新的业务(Service)和对业务执行管理。另外,本发明所述的电信业务中间件可以管理已有的应用系统和未来的应用系统,比如本发明所述的应用系统可以是IMS应用、理想化的IT应用、智能网(IN)应用和/或其他的非IMS应用等;该电信业务中间件可以对融合或组合的多媒体业务执行管理的应用,快速定制和组合出新的业务,并对新业务的执行进行控制、路由和适配,以方便业务的维护和创新,同时也便于业务能力的开放。The core of the present invention is to introduce the telecommunication service middleware technology into the Internet Multimedia Subsystem (IMS, Internet Multimedia Subsystem) architecture, and determine the framework of the telecommunication service middleware technology in this field, and manage the application through the telecommunication service middleware (Application), combine new business (Service) and execute management on the business. In addition, the telecommunications service middleware described in the present invention can manage existing application systems and future application systems. For example, the application systems described in the present invention can be IMS applications, idealized IT applications, intelligent network (IN) applications and /or other non-IMS applications, etc.; the telecommunication service middleware can implement management applications for converged or combined multimedia services, quickly customize and combine new services, and control, route and adapt the execution of new services, In order to facilitate business maintenance and innovation, it is also convenient for the opening of business capabilities.
为了便于本领域技术人员的理解,在说明本发明之前先说明本发明所涉及到的两个概念:业务(Service)和应用(Application)。In order to facilitate the understanding of those skilled in the art, two concepts involved in the present invention are explained before describing the present invention: service (Service) and application (Application).
所述业务是指用户可以直接签约的,并可以带给用户整体体验的服务。The business refers to the service that the user can directly sign and can bring the user an overall experience.
所述应用是指提供特定业务能力的功能部件。该业务是在应用的基础上根据一定的场景和使用逻辑组合而成的。The application refers to a functional component that provides a specific service capability. The service is combined on the basis of the application according to certain scenarios and usage logic.
下面结合附图对本发明作详细的说明。The present invention will be described in detail below in conjunction with the accompanying drawings.
请参阅图3,为本发明所述基于中间件实现多媒体融合业务的系统的结构示意图。所述系统为电信业务中间件,该中间件可以与多个应用服务器(A至N)相连,比如应用服务器A为IMS应用,应用服务器B为IN应用等;并处理多种业务(1至N种),比如IMS业务、IN业务等。其中所述电信业务中间件包括:应用注册装置11、业务生成装置12和业务执行装置13。其中,所述应用注册装置11,用于用户注册应用服务器的功能,并设定应用服务器的调用策略,生成应用描述文件;以及对已经注册的应用进行管理;所述业务生成装置12,与应用注册装置11相连,选择需要调用的应用并确定其调用关系,以及应用之间信息的传递和执行异常的处理,并对需要服务等级承诺等其他属性的业务设定相应的属性,然后以业务描述文件的格式进行存储所生成的业务;所述业务执行装置13,与应用注册装置11、业务生成装置12分别相连,通过读取业务生成装置中的业务描述文件,并对其进行解析,读取满足执行条件的第一个应用,传递应用的接口参数并调用应用服务器执行,根据执行结果确定下一个执行的应用。Please refer to FIG. 3 , which is a schematic structural diagram of a system for implementing multimedia converged services based on middleware according to the present invention. The system is middleware for telecommunication services, which can be connected with multiple application servers (A to N), for example, application server A is an IMS application, application server B is an IN application, etc.; and handles multiple services (1 to N types), such as IMS services, IN services, etc. The telecommunications service middleware includes: an
在本发明所述的电信业务中间件中,所述应用注册装置11具体包括:应用识别适配单元111、策略设定单元112、应用属性存储单元113和应用管理单元114,其结构示意图详见图4。其中,所述应用识别适配单元111,用于识别和解析应用描述文件,并发送解析后的结果展示给策略设定单元112;所述策略设定单元112,与应用识别适配单元111相连,根据接收到的解析结果设定每个应用服务器被调用的策略描述,例如,该应用对手机终端的能力要求、应用的提供范围等,又如入口参数的约定、用于解决业务冲突的该应用服务器间约束条件等。也就是说,选择在业务中需要包含的应用,设定这些应用的调用关系(例如调用的先后顺序、调用的分支合并等)、设定应用之间的参数传递关系、设定应用执行异常情况下的处理流程。所述应用属性存储单元113,与应用识别适配单元111和策略设定单元112分别相连,用于存储应用的注册描述信息和设定的策略信息;所述应用管理单元114,与策略设定单元112和应用属性存储单元113分别相连,用于对注册应用服务器的管理。所述管理包括:新增应用、删除应用、修改应用、查询应用等管理操作。In the telecommunications service middleware of the present invention, the
在本发明所述的技术方案中,各种应用服务器通过描述文件把自己注册到所述电信业务中间件的应用注册装置上,使得自己可以被该电信业务中间件识别和调用;所述应用注册装置可以对注册的各种应用进行管理,比如,IMS应用业务,IN应用业务等。其中每个应用描述文件可以描述为一个可扩展标记语言(XML,Extensible Markup Language)文件,所述XML文件是一种描述型的标记语言文件,包括该应用服务器的统一资源标识符(URI,UniformResource Identifier)、触发接口参数、服务质量(QoS,Quality of Service)接口参数、应用的有效期、应用执行的平台类型、接口协议、应用提供商等。In the technical solution of the present invention, various application servers register themselves on the application registration device of the telecommunication service middleware through description files, so that they can be identified and invoked by the telecommunication service middleware; The device can manage various registered applications, such as IMS application services, IN application services, and so on. Each application description file can be described as an Extensible Markup Language (XML, Extensible Markup Language) file, and the XML file is a descriptive markup language file, including the Uniform Resource Identifier (URI, UniformResource Identifier), trigger interface parameters, quality of service (QoS, Quality of Service) interface parameters, application validity period, platform type for application execution, interface protocol, application provider, etc.
所述业务生成装置12具体包括:业务逻辑定义单元121、业务管理单元122、业务属性存储单元123和/或执行策略定义单元124,其具体的结构示意图详见图5。其中,所述业务逻辑定义单元121,用于定义服务的业务逻辑,所述业务逻辑包括服务中的应用部件以及应用部件的触发条件和相互关系、服务对外的业务等级承诺(SLA,Service Level Agreement)定义;所述业务管理单元121,与业务逻辑定义单元121相连,用于管理对已经定义业务的修改、删除和查询操作;所述业务属性存储单元123,与业务管理单元121和业务逻辑定义单元122分别相连,用于存储服务的业务逻辑和执行服务时的策略定义;所述执行策略定义单元124,与业务逻辑定义单元121和业务属性存储单元123分别相连,用于描述服务在执行时的策略定义,并将该策略定义发送到业务属性存储单元保存.例如业务互斥的策略、不同用户等级的执行策略等.The service generation device 12 specifically includes: a service logic definition unit 121 , a service management unit 122 , a service attribute storage unit 123 and/or an execution policy definition unit 124 , and its specific structural diagram is shown in FIG. 5 . Wherein, the business logic definition unit 121 is used to define the business logic of the service, and the business logic includes the application components in the service, the trigger conditions and mutual relations of the application components, and the external service level commitment (SLA, Service Level Agreement) of the service. ) definition; the business management unit 121 is connected with the business logic definition unit 121, and is used to manage modification, deletion and query operations to the defined business; the business attribute storage unit 123 is connected with the business management unit 121 and the business logic definition The units 122 are respectively connected to store the business logic of the service and the policy definition when the service is executed; the execution policy definition unit 124 is connected to the business logic definition unit 121 and the business attribute storage unit 123 respectively, and is used to describe the service when it is executed. and send the policy definition to the business attribute storage unit for storage. For example, business mutually exclusive policies, execution policies of different user levels, etc.
本发明在业务生成环境中,选择需要调用的应用并确定应用的调用关系,应用之间的信息传递以及执行异常的处理。如果业务有服务等级承诺SLA的要求,则要把SLA分解到相关应用的服务质量QoS要求,生成的业务以可扩展标记语言XML的格式存储在业务生成装置中的业务属性存储单元中。In the service generation environment, the invention selects the application that needs to be called and determines the calling relationship of the application, the information transmission between the applications and the processing of the abnormal execution. If the service has a service level commitment SLA requirement, the SLA should be decomposed into the service quality QoS requirements of related applications, and the generated service is stored in the service attribute storage unit in the service generating device in the form of extensible markup language XML.
所述业务执行装置13包括:第一存储单元131,第二存储单元132,业务逻辑解析单元133,执行逻辑控制单元134,应用执行适配单元135和/或执行策略匹配单元136,其具体的结构示意图详见图6。其中,所述第一存储单元131,与业务属性存储单元123相连,用于存储业务属性存储单元发送的业务描述文件(Service Profile);所述第二存储单元132,与业务逻辑定义单元121、执行策略定义单元124和应用属性存储单元113分别相连,用于存储应用属性存储单元发送的应用描述文件(Application Profile);另外,所述业务逻辑定义单元和执行策略定义单元通过读取第二存储单元中的应用描述文件来定义服务的业务逻辑和描述该服务在执行时的策略定义。其中,在本发明所述的装置中,第二存储单元中存储的应用描述文件(Application Profile)和第一存储单元中存储的业务描述文件(Service Profile)是与应用注册装置和业务生成装置共用的,所述业务逻辑解析单元133,与第一存储单元131相连,用于读取业务描述文件,并将其解析为系统内部所识别的对象;所述执行逻辑控制单元134,与业务逻辑解析单元133和第二存储单元132分别相连,根据业务描述文件,通过读取并解析应用描述文件,调用适配的应用服务器的逻辑操作要求;也就是说,根据业务描述文件,采用适当的策略控制,调用适当的应用服务器,在调用应用服务器的时候,需要读取应用业务的描述文件(Application Profile)并进行解析,然后适配到合适的应用服务器。所述应用执行适配单元135,与执行逻辑控制单元134相连,根据所述逻辑操作要求,选择已经注册正常合适的应用服务器,并传递合适的执行参数;所述执行策略匹配单元136,与执行逻辑控制单元134相连,用于执行业务描述文件中所定义的执行策略;其本质是一个策略引擎,采用匹配的方式根据当前的执行环境,确定执行的操作。The service execution device 13 includes: a first storage unit 131, a second storage unit 132, a business logic analysis unit 133, an execution logic control unit 134, an application execution adaptation unit 135 and/or an execution strategy matching unit 136, specifically The schematic diagram of the structure is shown in Figure 6. Wherein, the first storage unit 131 is connected with the service attribute storage unit 123, and is used to store the service description file (Service Profile) sent by the service attribute storage unit; the second storage unit 132 is connected with the service logic definition unit 121, The execution policy definition unit 124 is connected to the application
本发明在服务执行时,首先读取业务描述文件(Service Profile)中业务的描述文件,进行解析执行,当读取满足执行条件的第一个应用时,传递应用的接口参数并调用应用服务器进行执行,根据执行的结果确定下一个执行的应用。在上述过程中,如果有应用的执行冲突,则由业务执行装置根据预先设定的策略进行冲突处理。When the service is executed, the present invention first reads the description file of the service in the service profile (Service Profile), and performs parsing and execution. When the first application that meets the execution conditions is read, the interface parameters of the application are passed and the application server is called to perform the execution. Execute, and determine the application to be executed next according to the execution result. In the above process, if there is an application execution conflict, the service execution device will handle the conflict according to a preset policy.
另外,本发明还提供一种基于中间件实现多媒体融合业务的方法,所述方法的流程图详见图7。所述方法包括步骤:In addition, the present invention also provides a method for realizing multimedia convergence services based on middleware, and the flow chart of the method is shown in FIG. 7 . The method comprises the steps of:
步骤S11:获取并存储用户通过应用服务器注册的应用描述文件及设定该应用描述文件的调用策略;Step S11: Obtain and store the application description file registered by the user through the application server and set the invocation strategy of the application description file;
步骤S12:选择需要调用的应用描述文件并确定其调用关系、各应用服务器之间信息的传递和异常状况的处理,并以业务描述文件的格式进行存储所生成的业务;Step S12: Select the application description file that needs to be called and determine its call relationship, information transfer between application servers and handling of abnormal conditions, and store the generated business in the format of the business description file;
步骤S13:通过解析所述业务描述文件,读取满足执行条件的第一个应用,传递应用的接口参数并调用应用服务器执行,根据执行结果确定下一个执行的应用。Step S13: By parsing the business description file, reading the first application that meets the execution conditions, passing the interface parameters of the application and calling the application server for execution, and determining the application to be executed next according to the execution result.
所述步骤S11的具体实现流程图详见图8,包括步骤:The specific implementation flowchart of the step S11 is shown in Figure 8, including steps:
步骤S111:应用服务器通过描述文件申请注册;Step S111: the application server applies for registration through the description file;
步骤S112:解析应用服务器注册的应用描述文件,得到注册信息;Step S112: Analyzing the application description file registered by the application server to obtain the registration information;
步骤S113:根据所述应用描述文件设定相应的调用策略;Step S113: setting a corresponding invocation strategy according to the application description file;
步骤S114:存储所述应用服务器的注册信息及其调用策略。Step S114: storing the registration information of the application server and its calling strategy.
在该上述步骤的实现过程中,本发明以IMS为例来说明。During the implementation of the above steps, the present invention uses IMS as an example to illustrate.
用户通过IMS应用服务器向应用注册装置申请注册,应用服务器将该用户注册的描述文件作为一个可扩展标记语言(XML)文件,该应用注册装置中的应用识别适配单元通过识别和解析所述注册的应用XML描述文件,并把解析的结果展示给该装置的策略设定单元,所述策略设定单元设定该描述文件相应的应用调用策略;而所注册的应用描述信息和设定的调用策略由应用属性存储单元共同保存。The user applies for registration to the application registration device through the IMS application server, and the application server regards the description file registered by the user as an Extensible Markup Language (XML) file, and the application identification adaptation unit in the application registration device recognizes and parses the registration application XML description file, and present the analysis result to the policy setting unit of the device, and the policy setting unit sets the corresponding application invocation strategy of the description file; and the registered application description information and the set invocation Policies are jointly saved by the application attribute storage unit.
所述步骤S12的具体实现流程图详见图9,包括步骤:The specific implementation flowchart of the step S12 is shown in Figure 9, including steps:
步骤S121:选择本服务所包括的应用;Step S121: Select an application included in the service;
即选择已经注册的应用,读取并解析其应用描述文件。That is, select a registered application, read and parse its application description file.
步骤S122:设定各应用之间的调用关系,并传递各应用之间的参数,以及异常状况的处理;Step S122: setting the calling relationship between the applications, and passing the parameters between the applications, and handling of abnormal situations;
选择在业务中需要包含的应用,设定这些应用的调用关系(例如调用的先后顺序、调用的分支合并等)、设定应用之间的参数传递关系、设定应用执行异常情况下的处理流程。Select the applications that need to be included in the business, set the call relationship of these applications (such as the order of calls, the branch merge of calls, etc.), set the parameter transfer relationship between applications, and set the processing flow in case of abnormal application execution .
步骤S123:对需要服务等级承诺等其他属性的业务设定相应的属性;Step S123: setting corresponding attributes for services that require service level commitments and other attributes;
步骤S124:以业务描述文件的格式进行存储所生成的业务。Step S124: Store the generated service in the format of a service description file.
所述步骤S13的具体实现流程图详见图10,包括步骤:The specific implementation flowchart of the step S13 is shown in Figure 10, including steps:
步骤S131:业务执行时,根据业务的标识读取对应的业务描述文件;Step S131: when the service is executed, read the corresponding service description file according to the service identifier;
步骤S132:解析该业务描述文件为系统内部所识别的对象;Step S132: Parse the business description file into an object identified within the system;
步骤S133:触发业务描述文件中的执行策略,确定一个应用的触发;Step S133: Trigger the execution policy in the service description file to determine the trigger of an application;
步骤S134:适配其调用参数,进行触发调用;Step S134: adapting its invocation parameters, and making a trigger invocation;
步骤S135:判断触发调用是否成功,若否,执行预先预定的异常处理流程后(步骤S136),执行步骤S137;若是,执行步骤S137;Step S135: Determine whether the trigger call is successful, if not, execute the pre-determined exception handling process (step S136), execute step S137; if yes, execute step S137;
步骤S137:判断是否还有未执行的应用,若有,返回步骤S133,否则,结束(步骤S138)。Step S137: Determine whether there are unexecuted applications, if yes, return to step S133, otherwise, end (step S138).
以上所述装置的各个单元的实现功能请参见上述方法的实现过程,在此不再赘述。Please refer to the implementation process of the above-mentioned method for the implementation functions of each unit of the above-mentioned device, and details will not be repeated here.
此外,本发明对电信业务中间件的实现方式,除了上述的采用基于描述文件(脚本)的实现方案,还可以采用图形化的实现方式。所述图形化的实现方式为:对于应用注册装置和业务生成装置,可以开发出图形化界面,在界面上提供管理应用、管理服务的菜单,以及提供各输入参数的文本框,并对该参数的有效性检查,进一步提供用户操作导航的模式,方便用户的使用。但是,所述图形化界面操作的结果,也会生成一种描述文件(或者脚本),服务业务执行装置对其解析执行。其余的实现过程与本发明相同,详见上述,在此不再赘述。In addition, in addition to the implementation scheme based on description files (scripts) mentioned above, the implementation of the telecommunications service middleware in the present invention can also be implemented in a graphical manner. The graphical implementation method is as follows: for the application registration device and the service generation device, a graphical interface can be developed, and a menu for managing applications and management services and a text box for each input parameter can be provided on the interface, and the parameter Validity check, further provide user operation navigation mode, convenient for users to use. However, as a result of the graphical interface operation, a description file (or script) will also be generated, which the service execution device analyzes and executes. The rest of the implementation process is the same as that of the present invention, see the above for details, and will not be repeated here.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200610075090A CN1968134B (en) | 2006-04-03 | 2006-04-03 | Method and system for realizing multimedia convergence service based on middleware |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200610075090A CN1968134B (en) | 2006-04-03 | 2006-04-03 | Method and system for realizing multimedia convergence service based on middleware |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1968134A CN1968134A (en) | 2007-05-23 |
| CN1968134B true CN1968134B (en) | 2010-05-12 |
Family
ID=38076700
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200610075090A Expired - Fee Related CN1968134B (en) | 2006-04-03 | 2006-04-03 | Method and system for realizing multimedia convergence service based on middleware |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1968134B (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008106885A1 (en) * | 2007-03-07 | 2008-09-12 | Huawei Technologies Co., Ltd. | Method and system for the service compatibility |
| CN101330449B (en) * | 2007-07-02 | 2011-07-13 | 中兴通讯股份有限公司 | Method for implementing service interaction of IP multimedia subsystem |
| CN100591020C (en) | 2007-08-22 | 2010-02-17 | 华为技术有限公司 | System, method and related equipment for realizing multimedia service |
| CN101127743B (en) * | 2007-09-29 | 2010-06-09 | 中国电信股份有限公司 | Media push service method and system based on home gateway middleware |
| CN101964938A (en) * | 2009-07-21 | 2011-02-02 | 中兴通讯股份有限公司 | Service generation system and its realization method |
| CN101800762B (en) * | 2009-12-30 | 2014-03-19 | 中兴通讯股份有限公司 | Service cloud system for fusing multiple services and service implementation method |
| CN101951604A (en) * | 2010-08-16 | 2011-01-19 | 中兴通讯股份有限公司 | Value added service processing method and device |
| CN103067906B (en) * | 2012-12-07 | 2015-08-12 | 大唐移动通信设备有限公司 | In IMS architecture, S-CSCF is to the store method of user signing contract information |
| CN103905521B (en) * | 2012-12-31 | 2018-05-18 | 中国移动通信集团公司 | A kind of information processing system and method for network service |
| CN104168133B (en) * | 2014-07-11 | 2017-07-18 | 广州联智信息科技有限公司 | The method and gateway and system of a kind of dynamic configuration API Access amount |
| CN105827671A (en) * | 2015-01-04 | 2016-08-03 | 深圳市领耀东方科技股份有限公司 | System platform characterized by distributed use and centralized management and portal server |
| CN110750530B (en) * | 2019-09-11 | 2022-08-02 | 口碑(上海)信息技术有限公司 | Service system and data checking method thereof |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004034273A2 (en) * | 2002-10-09 | 2004-04-22 | Personeta Ltd. | Method and apparatus for a service integration system |
| CN1700685A (en) * | 2005-05-13 | 2005-11-23 | 中国联合通信有限公司 | A business middleware and a method for developing business by using the business middleware |
| CN1731781A (en) * | 2004-08-04 | 2006-02-08 | 中兴通讯股份有限公司 | Service realization method in Parlay/OSA environment |
-
2006
- 2006-04-03 CN CN200610075090A patent/CN1968134B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004034273A2 (en) * | 2002-10-09 | 2004-04-22 | Personeta Ltd. | Method and apparatus for a service integration system |
| CN1731781A (en) * | 2004-08-04 | 2006-02-08 | 中兴通讯股份有限公司 | Service realization method in Parlay/OSA environment |
| CN1700685A (en) * | 2005-05-13 | 2005-11-23 | 中国联合通信有限公司 | A business middleware and a method for developing business by using the business middleware |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1968134A (en) | 2007-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109246251B (en) | Micro-service calling method, device, system, equipment and readable storage medium | |
| US9736009B2 (en) | Web services and telecom network management unification | |
| US9251211B2 (en) | Generation of a query plan for accessing a database | |
| EP1978758B1 (en) | Technique for controlling a service composition process in a telecommunication network | |
| US20090300199A1 (en) | Methods and Media for a Protocol Abstraction Layer for Information Handling Systems | |
| CN1968134B (en) | Method and system for realizing multimedia convergence service based on middleware | |
| US7069260B2 (en) | QOS framework system | |
| EP2219337B1 (en) | Method and system for content categorization | |
| US8365189B2 (en) | Method and apparatus for a service control layer | |
| EP2377046A1 (en) | Method in a database server | |
| CN114675945A (en) | A service invocation method, apparatus, computer equipment and storage medium | |
| US7805485B2 (en) | Web services interface extension channel | |
| CN101364295A (en) | Telecom product information processing method and service management subsystem | |
| RU2604983C2 (en) | Service parsing method flexibly adapted to ims system service tag | |
| US9756129B2 (en) | WSDL/WADL reference definition integration | |
| Tarkoma et al. | Spice: A service platform for future mobile ims services | |
| KR20040105588A (en) | Method with management of an opaque user identifier for checking complete delivery of a service using a set of servers | |
| Bessler et al. | An orchestrated execution environment for hybrid services | |
| CN101800733B (en) | Method, system and device for processing business interaction | |
| WO2008052389A1 (en) | A method and system for realizing universal interfaces in the network management system | |
| Bakker et al. | Evolving service creation: new developments in network intelligence | |
| CN103369012B (en) | A kind of service logic performs device and method | |
| WO2006101397A1 (en) | Method and arrangement for services running on service execution platform | |
| Femminella et al. | Enhancing java call control with media server control functions | |
| CN121125861A (en) | Formalized language conversion method, network system, device and electronic equipment |
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: 20100512 |