CN101252547A - Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof - Google Patents

Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof Download PDF

Info

Publication number
CN101252547A
CN101252547A CNA2008100273906A CN200810027390A CN101252547A CN 101252547 A CN101252547 A CN 101252547A CN A2008100273906 A CNA2008100273906 A CN A2008100273906A CN 200810027390 A CN200810027390 A CN 200810027390A CN 101252547 A CN101252547 A CN 101252547A
Authority
CN
China
Prior art keywords
application
service
message
interface
development layer
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.)
Granted
Application number
CNA2008100273906A
Other languages
Chinese (zh)
Other versions
CN101252547B (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.)
GUANGZHOU ASTRO COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU ASTRO COMMUNICATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU ASTRO COMMUNICATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU ASTRO COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN2008100273906A priority Critical patent/CN101252547B/en
Publication of CN101252547A publication Critical patent/CN101252547A/en
Application granted granted Critical
Publication of CN101252547B publication Critical patent/CN101252547B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a middleware system for interactive value-added service based on an IP set-top box. A first application layer comprises a signaling service control module and an apolegamic functional module; the signaling service control module provides reversible transmission protocols for information transmission and communication service, and the apolegamic functional module provides functional support for application service. A second application layer builds and processes the messages of the interactive application service; the messages include a message head and a message body; the message head contains message type information, session attribute information and at least one of the following information: equipment attribute information, capacity description information and auxiliary parameter information; the message body includes service logic and/or service content of the application service. A dynamic scalable interface description layer comprises an interface for the second application layer to access to the first application layer. The second application layer acquires corresponding functional supports of the application service from the signaling service control module and the functional module. The invention in addition provides a relevant method.

Description

Realize the middleware system and the method thereof of interactive increase value traffic based on the IP set-top box
Technical field
The present invention relates to the embedded system field, relate in particular to middleware Technology that is used for set-top box and the method that realizes interactive increase value traffic.
Background technology
IPTV and Digital Television are swift and violent in global evolution.In China, each big operation commercial city is utilizing their self networks pushing forward family digitalization.Though the present IPTV or the product of Digital Television be comparative maturity all, they still relatively have a limitation.Present digital television business is based on the broadcast television signal network, and this unilateral network only can provide more channel, broadcast (broadcast mode) and limited interactive service on schedule, lacks good profit model.Present IPTV product is then still providing simple real-time VOD service, yet the program request needs that satisfy a large number of users on IP network are extremely difficult, and profit model is single.Therefore as seen, the broadcast television signal network lacks enough powerful two-way interactive value-added service support at present.Value-added service is the key factor of IPTV or Digital Television development, develop value-added service on IPTV or Digital Television, and the enthusiasm that needs the performance service provider to participate in could allow this emerging industry prosperity.
Present this field one of middleware Technology the most widely is based on the assembly development mode of (or claiming member), comprises based on binary code mechanism (as adopting C/C++) with based on virtual machine intermediate code mechanism (as adopting JAVA).The powerful adaptability of this mode capabilities is strong, but the complexity of the exploitation of application service and distribution and difficulty are bigger.A kind of common technique in addition is based on the development mode of WEB, because based on interpretative data, the development difficulty of application service is lower, but functional limitation, the expansion difficulty, be difficult to adapt to the application service demand that interface pattern and interface logic is had complexity or specific (special) requirements, also be difficult to the terminal equipment that makes application service compatible different simultaneously.Though the middleware product of supporting these two kinds of patterns is simultaneously also arranged at present, separate fully, can't provide more diversified or use the realization means more flexibly by mutual supplement with each other's advantages, also can't bring into play the effect of interpretative data in the application service exploitation effectively.
Summary of the invention
The object of the present invention is to provide a kind of middleware system and method thereof, help satisfying simultaneously the service provider's of two different field participation demand, help having complementary advantages based on IP set-top box realization interactive increase value traffic.
The invention provides and a kind ofly realize comprising the middleware system of interactive increase value traffic: based on the first application and development layer of component development paradigm, dynamically extensive interface is described layer and based on the second application and development layer of the development mode of interpretative data based on the IP set-top box;
The described first application and development layer comprises signaling service control module and the functional module that can match, and described signaling service control module is used to message transmission and Communications service that the support of transmitted in both directions agreement is provided; The described functional module of matching is used to application service that the function support is provided;
The described second application and development layer is used to generate and handle the message that interactive application is served; Described message comprises message header and message body; Described message header comprises message type information and session attribute information, and following at least a information: device attribute information, ability description information, and secondary parameter information; Described message body comprises the service logic and/or the business tine of described application service;
Described dynamic extensive interface is described layer, be included as the described second application and development layer and visit the interface that the described first application and development layer is provided, the described second application and development layer obtains the function support of corresponding application service from described signaling service control module and functional module by described interface.
The present invention also provides a kind of method that realizes interactive increase value traffic based on the IP set-top box, receive the user when asking the instruction of application service, the second application and development layer of middleware system generates session attribute information, and according to the device attribute information structuring message of terminal equipment, by the communication of the realization of transmitted in both directions agreement and terminal equipment and server; Described message comprises message header and message body, described message header is used for bearer messages type information and session attribute information, and following at least a information: device attribute information, ability description information, and secondary parameter information session attribute information, device attribute information; Described message body is used to carry the service logic and/or the business tine of application service; Communication process comprises at least with next procedure:
The described second application and development layer generates session attribute information, and together with described device attribute information structuring message, this message is sent to described server, and request is set up service conversation with the application service that described server is provided and is connected with maintain sessions;
After setting up session, the described second application and development layer obtains pairing service logic of described application service and/or business tine according to described user instruction structure message from described server; Described business tine is shown according to described service logic;
When receiving next step instruction of user, the described second application and development layer is handled according to described service logic.
Combine in the middleware of the present invention based on the first application and development layer of component development paradigm with based on the second application and development layer of the development mode of interpretative data, satisfy the service provider's of two different field participation demand simultaneously, and fully carry out complementation in conjunction with their advantage, optimize the development mode of value-added service, avoided the too big or too high drawback of technical threshold of prior art function restriction, also can improve development efficiency and attract more participant, thereby can provide various diversified value-added services for the user.In addition, the present invention adopts transmitted in both directions agreement carrying interaction message so that client and server end between can carry out two-way interactive, the platform of abundant interactive value-added service is provided for the user.
Description of drawings
Fig. 1 is a structured flowchart of realizing the middleware system of interactive increase value traffic based on the IP set-top box of the present invention;
Fig. 2 is the structure chart of the message of second application and development layer generation of the present invention;
Fig. 3 is a flow chart of realizing the method for interactive increase value traffic based on the IP set-top box of the present invention.
Embodiment
Technical scheme provided by the present invention can be used for interactive TV (comprising bi-directional digital television, IPTV etc.) and has the embedded system set-top box of IP network access capability, provide a value-added service support platform by middleware of the present invention, make the technology provider and the service provider of different field participate in providing value-added service together, and respectively execute its duty.Because IP multimedia subsystem, IMS (IP Multimedia Subsystem is called for short IMS) is the international standard towards NGN system, has thorough consideration and powerful autgmentability, and unified communication architecture is provided.Adopt terminal equipment of the present invention can insert the IMS system, and utilize the excellent characteristic of IMS and the communication flow of standard to be applied to interactive television system, to simplify development difficulty and to strengthen versatility.
The FTP client FTP of terminal equipment of the present invention is divided into following level: resource layer, middleware layer, application layer.
Wherein, resource layer comprises the driving support of operating system and the intrinsic peripheral hardware of terminal.
Wherein, middleware layer is a middleware system of the present invention, comprises three related sublayers: based on the first application and development layer of component development paradigm, dynamically extensive interface is described layer and based on the second application and development layer of the development mode of interpretative data.Middleware layer is served application layer, for application layer provides interface, for the expansion of application layer provides the basis and supports.
Wherein, application layer is by utilizing the various abilities of middleware layer, according to service provider's the customized application that requires, for the end user provides various value-added services.
Powerful based on component development paradigm, usefulness is high, but do not rely on platform and embedded environment based on the interpretative data development mode, the characteristics that also do not rely on specific senior development language still have has very big attraction, the mode of this WEB of being similar to Website development the easier ISP of allowing participate in, and makes it be absorbed in the service logic of application and need not drop into too many energy and resource in professional skill field (as embedded technology and mechanics of communication etc.).Though it is but the limitation that development mode manifested of traditional WEB technology alleviated in pc domain, just obvious especially in built-in field.Wherein realize that by interpreted language the complexity of interfacial effect is very high to the usefulness influence of terminal on the one hand, especially for the high embedded set top box of resource-constrained performance requirement; On the other hand, it is limited in one's ability that browser is supported, the function beyond the standard realizes by browser plug-in usually, but the exploitation of plug-in unit relies on particular browser usually, and resource uses and also to be limited by browser, so complicated technology realization, loaded down with trivial details and performance is lower.This shows, adopt that to have more the lower mode of elasticity and coupling extremely important for provide expansion to support based on the interpretative data development mode, and the interpreted language of application-oriented exploitation need be broken away from the constraint of WEB pattern conventional thought.
As shown in Figure 1, middleware system of the present invention comprises based on the first application and development layer of component development paradigm with based on the second application and development layer of the development mode of interpretative data; The two all can serve interactive increase value traffic exploitation (promptly serving the application layer of FTP client FTP), but support mode difference, describe layer in conjunction with two kinds of patterns by dynamic extensive interface, utilize the division of labor and principle of complementarity to break away from the restriction of traditional mode, strengthen adaptive capacity and extended capability.Especially at application and development mode, compare, be more suitable in the interactive TV service with existing WEB technology based on descriptive data.Below set forth and realize details.
The first application and development layer based on component development paradigm is similar to traditional middleware, for application and development provides routine interface based on high-level language (as C/C++, JAVA etc.).Can obtain the strong functions support based on this traditional middleware form, but technical threshold is higher.
Insert the IMS system in order to make the terminal equipment that adopts middleware system of the present invention can be used as standard I MS client, and provide standard SIP service, usually comprise the signaling service control module in the first application and development layer, for message transmission and Communications service provide the support of transmitted in both directions agreement.In one embodiment, this module can be standard compliant SIP signaling service control module (comprising signaling communication control module and basic Communications service module), can finish by Session Initiation Protocol with the getting in touch of service platform that with IMS is core, the communication architecture unified by service platform carries out authentication, control of authority, route, charging, safety guarantee etc.
The signaling communication control module is responsible for maintenance and management SIP communication flow, but can not be related to the Communications service logic;
Basic Communications service module, some basic Communications services that utilize the SIP communication standard to set up for middleware provides necessary or commonly used function support, present as VOIP, state etc.;
In addition, can also comprise other functional modules according to the actual requirements in the first application and development layer, could provide enough service ability for application layer.
Dynamically extensive interface is described layer in order to describe the functional interface of terminal equipment, comprises that the first application and development layer offers the interface of second application and development layer visit.How the function that these interfaces are described terminal equipment is used, and is used (comprising title, parameter of method or incident etc.) in which way.The second application and development layer obtains the function support of corresponding application service from signaling service control module and functional module by this interface.
The second application and development layer mentioned above need be by calling the routine interface that the described first application and development layer is provided, with thinking that the application and development based on interpretative data provides the function support, that is to say that the terminal local function is abundant more, carry out application and development institute by the second application and development layer and can use ability and support just abundant more and flexible.Yet the function that different terminal equipment is supported is inequality, and the function of terminal equipment also can be expanded increase.In the WEB technology, the expansion tenability that client browser does not provide is easy, dynamic, elasticity is high, coupling is lower, this has greatly limited to WEB The Application of Technology tenability.On the other hand, because can't be by the directly visit of interpreted language institute based on the interface that component development paradigm provided, so need by two kinds of development mode of an interface conversion layer in conjunction with two development layers, therefore add dynamic extensive interface in the present invention and describe layer, realize interface conversion.
Middleware of the present invention provides dynamic extensive interface to describe layer and relies on and use interface description document declaring terminal functional interface, content in this file can be passed through interpretative data (for example XML) definition, to realize dynamic autgmentability, also be convenient to be used by the second application and development layer.Simultaneously, dynamically extensive interface is described layer and is also comprised interface conversion usually and realize module, is packaged into the interface shape that can adapt with the interface description document again in order to the routine interface that the first application and development layer is provided.Each file is responsible for describing one group of interface (for example interface of same module) that the particular association relation is arranged, and bibliographic structure and filename by file can navigate to this group interface.The description of each interface can comprise detailed operation instructions such as the title, I/O parameter of interface, and these descriptions can be discerned by interface modular converter and explain.
Dynamically extensive interface is described the described interface of layer and is comprised built-in function interface and extendable functions interface, and built-in function refers to not rely on the difference of client device and platform and different fixed functions, but other promptly belongs to expansion.Terminal function of statement is when calling in the second application and development layer, but category under the interface statement, for example, when default for calling built-in function, otherwise for calling extendable functions.
Interface description document recited above is by presetting or downloading to terminal equipment this locality together with AKU (the function storehouse and the corresponding interface description document that comprise upgrading).Describe layer by dynamic extensive interface, just can visit and use these interfaces, both can support and adapt to different terminal equipments, also support and adapt to the expansion and the upgrading of client functionality by the logic flow of second application and development layer definition.
The second application and development layer is supported the long-range issue of service based on the developing mechanism of interpretative data, and server exchanges with terminal equipment by interpretative data (XML), realizes the application service flow process and the application service content is provided with this.Interpretative data is not limited by hardware and software platform and embedded environment, is not limited to the specific development language yet, so application and development has the very big degree of freedom.
The application that is realized based on the second application and development layer is by providing professional with the message that this interpretative data was constituted.The second application and development layer is responsible for generating and handling the message of interactive application service; As shown in Figure 2, these message comprise message header and two parts of message body; Message header provides the information that with different application services the demand general character is arranged but do not have direct relation, and message header usually can not be default and fixing part is arranged, and message body is made up of the message flow control data; Message body is carried and the direct relevant information of application service, may carry different contents according to different demands, and message body presents data by service logic control data and business tine usually and constitutes; Because presenting of business tine needs by the service logic decision, therefore when comprising business tine and present data, message body need comprise the service logic control data simultaneously usually; In order to satisfy the expanded application demand, can also comprise the data content of other types in the message body.In conjunction with Fig. 2, referring to Fig. 1, the second application and development layer comprises with lower module: message header processing module, logic processing module, data present module, template management module and resource packet administration module.
This message is divided into request message and replys message two major types, and request message is used for initiatively initiating specific operation, replys the then result (success or failure, and more information) in order to respond request message of message.This message (comprise request and reply) by the Session Initiation Protocol carrying, promptly is responsible for realizing communication transfer function and relevant function (for example authentication, route, safety etc.) by Session Initiation Protocol.Therefore, adopt this interpretative data to realize that application service only needs to be absorbed in service logic, and do not need directly to relate to the communication logic, thereby dwindle developer's concern face, reduce technical difficulty by division of labor principle.Among the embodiment, interpretative data of the present invention adopts extend markup language (eXtensible MarkupLanguage, be called for short XML) define (for ease of explanation, Ding Yi this data format called after information navigation agreement---Information Navigation Protocol in the present invention, be called for short the INP agreement), comprise three kinds of main data content type: message flow control data, service logic control data, business tine present data.
The message flow control data is in order to the major function of definition message, and these functions are applicable to all application services, have general versatility.These functions with different data field performances, comprising: Device Domain, method territory, session territory, areas of capacity and parameter field in message.Wherein method territory and session territory be can not be default data field.
Device Domain in order to the load bearing equipment attribute information, is described the software and hardware information of terminal equipment, comprising unit type information and software systems version, and optional manufacturer's information etc.
The method territory, in order to message type information, the type of describing message and function; Comprising message type information, message function information, and in order to the coupling of finishing message and other supplementarys of illustration.Message type information, promptly identifying current message bag is request message or answer message.Message function information comprises that for the function of request message request connects (beginning is professional), disconnects and connect (winding-up), obtain data, propelling movement/transmission data etc.; Comprise at the various successes of different request message functions and the response of failure for the function of replying message.Reply the message request message corresponding in order to mate one,, therefore also need in the method territory, comprise the information of describing this corresponding relation so that finish relevant processing procedure with it.Between a client and server end, the message that may have a plurality of identical functions is transmitted simultaneously or not simultaneously, therefore also needs to have comprised the information of differentiation effect in the method territory.In addition, also may comprise to the function declaration of message and at the information such as auxiliary parameter of this function.
The meaning of request function above-mentioned is as follows:
Request connects, and be client in order to setting up the session of some application services to server requests, and this application service is carried out in request;
Disconnect connection,, promptly finish corresponding application service in order to finish a certain service conversation;
Obtain data, be client in order to initiatively to server requests, and will cause that server sends next step service logic and business tine, thereby cause the interface of client to be changed;
Send data, be server end receive obtain request of data after, be delivered to client in order to service logic and business tine with next step;
Propelling data is client or server end, is not causing under the situation about changing at the current business interface, in order to other side's Data transmission, continues the business datum exchange under the situation that does not influence current interface thereby be implemented in;
In order to allow two ends in the session can both monitor the validity of session, can also keep request (Keep-Alive) guarantee two ends by the session that regularly sends, otherwise promptly represent the session accidental interruption all at effective status; In order to satisfy later functional requirement, can define and add new request type.
A special services session in order to carrying session attribute information, is described in the session territory.A service conversation is represented the whole process that application service of terminal execution (disconnects and connecting) from (successful connection) to end, server can must be set up independently service conversation between therefore different terminals and the server simultaneously for a plurality of terminals provide same application service.In order to identify specific session and to be convenient to distinguish different sessions, carry session attribute information in each message.In addition, all have uniqueness in client and server end, therefore generate complete session attribute informational needs two ends fellowship in order to guarantee session attribute information.
Areas of capacity, in order to the bearing capacity descriptor,, the ability of server end application service to demanding terminal described perhaps in order to describe the ability that terminal is supported, so that the opposing party can judge whether to proceed the current application service, ability wherein mainly comprises functional interface and interface template.
Parameter field in order to the carrying secondary parameter information, cooperates the functional requirement of particular message that extra data are provided, and specific definition is determined on a case-by-case basis.
The message flow control data, can be realized by increase new data field in message header in order to satisfy following expansion demand as the message header of INP message.Other data directly related with concrete application service are then as message content, so may comprise also in the message that the content territory is in order to comprise message content.Message content may comprise that service logic control data and/or business tine present data, also may comprise other data content at the expansion demand simultaneously.The message header processing module that comprises in the second application and development layer is in order to generate or processing messages flow process control data.
The service logic control data is in order to the definition service logic, comprising movement content and resultant content.Service logic is definition when design and Application and Development service, determines when application service is disposed.This sets of data formal definition is similar to a kind of script, yet it not only comprises the handling process that is sent to client and carries out at client terminal local from server end, it is movement content, comprise that also client sends back the client executing result data that server end is further handled, i.e. resultant content.In a service logic control data, can only comprise movement content or resultant content is wherein a kind of.Be different from general script (as JavaScript, Python etc.), this sets of data form does not comprise complicated programmed logic function, for example condition judgment, circulation, function definition etc., mainly provide and how to call terminal local function, the demonstration of control business tine, obtain some basic functions such as user's operation and return results, purpose is to avoid creating again the new complexity of a cover and the program language of telotism, and wishes to realize how organizing local function to satisfy the demand of service logic by the simple grammer of trying one's best.Simultaneously, can provide necessary complicated process logic (being foregoing condition judgment, circulation, function definition or the like) by embedding other scripts (as JavaScript etc.) with complete routine characteristic of speech sounds.
The movement content main portions is an action element, and each action element is in order to the calling sequence of one group of local function that calls terminal (i.e. the first application and development layer provided functional interface) to be provided, and function wherein comprises event subscription and function call etc.Calling in each calling sequence should order and link up to carry out, and these call the interface (title and parameter, return value etc.) stated should be consistent with the description that dynamic extensive interface is described in the interface description document of layer.Also comprise the overall situation and local variable element in the movement content, storage and transmission between calling in order to realization kinetic energy.Can interrelatedly carry out between the action element, also can carry out, also need to state one of them action element (at first being performed) simultaneously as " entrance " by Event triggered.Also may comprise in each action element needing use parameter, in order to state current action element be finished the back the parameter that must collect, in order to the generation resultant content.May at once or delay generation after each action element is carried out and send resultant content, so need to state concrete sending mode in the action element to server end.In order to satisfy of the realization of complicated program language characteristic, can also comprise a script element in the movement content, in order to embed other scripts (as JavaScript etc.) with the auxiliary activities logic.
Resultant content as the result of movement content, is dynamically to generate according to user's operation and service logic in client, and sends back server end, in order to determine and to obtain next step service logic and/or business tine.Comprise one or several result elements in the resultant content, the corresponding action element of each result element; Comprise one or several return values in each result element, a need parameter in each return value respective action element.After resultant content was sent to server end, server end can be handled according to the service logic of application service, with logic and the content of determining relevant next step and be sent to client, thereby caused the subsequent treatment of client.
The logic processing module that comprises in the second application and development layer is responsible for the parsing to the service logic control data, carries out movement content according to rule, also generates resultant content automatically and sends back server end according to the description in the movement content simultaneously.In the implementation of movement content, need special order and the concurrency management of handling between a plurality of action sequences.
Business tine presents data in order to define professional interfacial effect and business tine is provided.Different with the WEB technology, business tine presents the defined interfacial effect of data and does not comprise the realization of complete detailed interface, but the second application and development layer is by calling the interface template that is stored in client, and, also may comprise the pattern effect of adjusting interface template to a certain extent simultaneously to its insertion business tine data.This method characteristics are, the interface is realized that the most complicated part (comprises the interface main functionality, layout and logic etc.) adopt development mode based on assembly, and business tine presents and only carries pattern effect definition of data and business tine data in the data, therefore with to adopt the html language definition interfaces to compare data compaction a lot, processing and display efficiency also improve a lot, realize to have complicated function (for example layout of cartoon interface effect or complexity or the like) based on the interface of component development paradigm exploitation simultaneously, be not limited by the tenability of HMTL grammer and browser.
Interface template is divided into two classes: page framework and control.Integral layout, function and the form of expression of page framework definition interfaces, different page frameworks meet the different needs, and for example the navigate page and the detailed content page are just very different with demand on the function in layout; The different on the other hand forms of expression also influences interfacial effect, for example static and dynamic form of expression, form of expression of tabulation formula and rotating disc type or the like.Control is answered involved and is used in the page framework, and a page framework can comprise several controls, and every kind of control all has specific function and effect, as multiselect list control, button control, picture and text control or the like.Same control can be adopted by a plurality of page frameworks, and also can comprise a plurality of identical controls in a page framework.The function of page framework and control is defined by the designer, has the very high degree of freedom.Interface template all can be supported customizable attribute to a certain degree, as Background attribute, wide high attribute etc., the concrete attribute of supporting is decided on concrete template, enabling provides certain adjustable range and adaptability according to the demand of reality to expression effect, presents the data that are provided with that may comprise in the data the template attribute in business tine.Interface template promptly comprises some page frameworks and control in an ATL with the form tissue of ATL, and each page framework and control in the ATL all must have unique title, is convenient to distinguish and distinguish.ATL can be by presetting or the mode of dynamic load is loaded into client.After a certain ATL has preset or has been downloaded to client, can increase the support of a series of page frameworks and control, simultaneously also the title by ATL and version are determined tenability for the application service interface to client.In addition, the page framework in ATL can use the control in another ATL, but must support two ATLs just effective simultaneously.Areas of capacity in the described in front message flow control data can be stated the ATL (comprising version information) of supporting or requiring.
Simultaneously, interface template also is divided into common template and dedicated templates.Common template promptly has the interface template of versatility effect, can satisfy the needs of multiple application service, and can offer all application services and use.But it is evident that there are contradiction to a certain degree in versatility and specific (special) requirements, versatility template purpose is to satisfy general requirements generally, can not ensure to satisfy all, especially personalized, high complexity or special demand.Common template presets or upgrades in the mode of ATL and downloads to client, and the processing logic of its detection and upgrading is irrelevant with concrete application service.Dedicated templates promptly not necessarily has the versatility effect, mainly meets individual requirements, and only can use for the particular application services that is associated.By dedicated templates, but specific aim satisfies the complicated demand of particular application services, for example the interface of this class specific (special) requirements of the dynamic trend graph of stock.The download of dedicated templates is directly relevant with related application service, is comprised in and downloads (the Service Source bag will be introduced later) in the corresponding Service Source bag.
Dedicated templates only needs the special exploitation of the demand of the concrete application service of basis to get final product, but the development amount is relative with difficulty big, but the energy personalized requirements; And corresponding, common template will satisfy certain common requirement, therefore must be by groping to collect out certain interface demand model, thus the template of some tool versatility meanings summarized, to satisfy the needs (or needs to a certain degree) of a plurality of different application services.
Business tine presents data owner will comprise framework element and control element.Corresponding to the specific webpage framework template, analyzing and the content of managing business when presenting data by the second application and development layer by template name for the framework element, calls or mate the corresponding page framework template by this title.Control element corresponding to the control template, how to be used this control template in order to describe by template name.Because which control template page framework template has determined to have comprised when design, and the incidence relation between these control templates, therefore the control element that presents in the data to be enumerated in business tine need be corresponding one by one with the control template that affiliated framework element corresponding page framework template comprises.Also may need to state the associated incident and the action element of triggering in the control element.Framework element and control element all have three class important attribute: built-in attribute, extended attribute and invisible data attribute.Built-in attribute refers to framework element or control element customizable attribute the most frequently used or that most probable uses, the tool versatility, wide high attribute of background attribute, control etc. for example, and this generic attribute adopts independently label explicit declaration.Extended attribute refers to that this generic attribute does not have special-purpose separately label by the personalization attributes of concrete page framework template or the special definition of control template, need indicate Property Name when statement.Invisible data attribute is used for presenting data in business tine and is carried on framework element or the related data of control element, and these data are not presented on the interface automatically, only uses for the service logic control data.
The data that the second application and development layer comprises present module, the business tine data are carried out analyzing and processing and are presented in order to realizing; The template management module that the second application and development layer comprises is carried at the dedicated templates that loads in the resource packet in order to be in charge of that preset and ATL dynamic load, also to be in charge of and to visit.The second application and development layer is being analyzed and the content of managing business when presenting data, can call the page framework template that needs by template management module, then by data present module will be wherein each attribute of an element data be set to respectively in corresponding page framework and the control, and generate the interface.
The resource packet administration module that the second application and development layer also comprises is responsible for the resource packet of the service of using is managed.Each application service all can have a corresponding unique resource packet, in order to satisfy some non-versatility functional requirements of this application service, also can be used for being provided at data content commonly used in this application service, the burden when reducing real-time the download.Resource packet comprises two class data usually: static resource with can carry out resource.Static resource mainly refers to picture, the literal (big text) downloaded in advance, even data resource such as audio frequency.Common static resource mainly is a picture, and picture files such as the background of for example reusing, icon can reduce and download the time take to improve the interface content display efficiency of application service.Can carry out resource, the some dynamic library files that adopt component development paradigm to provide are provided, these resources mainly comprise: dedicated templates (being that the special interface effect realizes) and other specific functions realize.A certain application service can adopt dedicated templates to realize service interface fully, also can partial dependency or do not rely on dedicated templates (realizing the interface) fully by common template, the concrete ability situation of selecting to look the common template that can provide and this application service are to the requirement (for example playing all needs the stand-alone development interfacial effect usually, can't adopt the General Purpose Interface template) at interface.Provide the dynamic library file of dedicated templates that the interface that meets the ATL uniform rules must be provided.Other specific functions refer to that mainly some are in order to satisfy the expanded function of certain purpose of particular application services or demand, for example encryption of this application service special use or check algorithm.In resource packet, need comprise the interface description document corresponding, otherwise the service logic control data can't use these expanded functions with the dynamic library file that this type of expanded function is provided.The descriptor and the supplementary that can also comprise in addition, corresponding application service in the resource packet.
Various resources in the resource packet especially can be carried out resource, only can be used by the application service of resource packet correspondence, and can not open main consideration for fail safe to other application services.This restriction scheme has ensured that the special function of some application services can be by his usefulness, and the while not limited to the painstakingly issuable or non-painstakingly dangerous acting surface of special function yet.And for resource packet and wherein legitimacy of resource own and fail safe, then can supervise by external management mechanism and means, for example serve release management system, verification system, digital signature or the like.
The resource packet administration module need be responsible for the download and the life cycle of resource packet and safeguard.Before entering application service, needs download to client with the resource packet of correspondence in advance.After application service is finished, can determine the subsequent treatment of this resource packet according to the local policy of client.Under the condition of client stores space anxiety, can't the long preservation application service resource, can consider to adopt the mode of promptly removing after the use to handle so, save memory space.And allow when the client stores space, can consider to adopt the mode of the resource packet of preserving the application service that some users use always, be convenient to improve the execution efficient of application service.Under latter event, need by in the areas of capacity of the message flow control data of asking connection message, adding the negotiation that the resource packet version information is realized client and server end, whether the resource packet that detects current preservation is up-to-date, otherwise downloads again.Concrete execution mode is taken into account the target of user friendly simultaneously by physical condition and demand decision.
The INP agreement that the second application and development layer is provided provides for each application service and carries out all and must set up corresponding service conversation (hereinafter to be referred as the INP session), and passes through the implementation and the life cycle of this session maintenance application service.In Session Initiation Protocol, there is session concept (hereinafter to be referred as the SIP session) equally, can and makes full use of this mechanism in conjunction with both and provide maintenance support for the INP session.Specifically, when client is prepared application service of beginning (operating triggering by the user usually), the user end to server end sends a Session Initiation Protocol INVITE request, in this request except carrying SDP (Session Description Protocol, Session Description Protocol) protocol data (SDP Offer, concrete implication sees also RFC3261 and RFC3264) outside, also comprise INP protocol data (request connects); Server end also carries SDP data (SDP Answer, concrete implication sees also RFC3261 and RFC3264) and INP data (INP replys message) simultaneously in the INVITE that successfully sets up the SIP session replys, successfully set up SIP session and INP session thus.When the needs end session, wherein an end sends a Session Initiation Protocol BYE request to the other end, comprises the disconnection connection message of INP agreement in this request, thereby finishes this SIP session and INP session simultaneously.In conversation procedure, the transmission of INP agreement can selectivity adopt SIP passage or other protocol channels to carry out, and is specifically determined by the implementer.If adopt other protocol channels, this passage must be set up by the SDP protocol negotiation when setting up the SIP session.No matter adopt which kind of passage, service all has effective management control ability to SIP communication platform (IMS) to INP.For the detection and the maintenance of INP session status, both can independently adopt the session maintenance mechanism of INP agreement to realize, also can be in conjunction with realizing with the session maintenance mechanism that relies on the Session Initiation Protocol script.
The middleware system based on IP set-top box realization interactive increase value traffic corresponding to mentioned above the invention provides the method that realizes interactive increase value traffic based on the IP set-top box.Because the SIP means of communication have standard criterion, specifically consult standard document, at this only at the means of communication based on the described second application and development layer.Below be described in detail.
As shown in Figure 3, terminal equipment and server use above-mentioned middleware system interaction message, when the IP set-top box receives the user when triggering the instruction of certain application service, client executing application service (step 1), construct various interaction messages by the second application and development layer, realize that terminal equipment and server carry out alternately.
At first, the second application and development layer is sent to described server (step 2) according to described session attribute information and device attribute information structuring connection request message with this message, connects with described server; Simultaneously, can provide acquired Service Source bag version information (if client is stored resource packet in the last back of once using), whether upgrade in order to detect resource packet in the areas of capacity in this request message; Server carries out Treatment Analysis (step 3) to the message that receives, and send to client then and successfully reply (step 4), in this replys, the latest edition this shop that may carry the Service Source bag; After client receives the successful answer that server sends, the second application and development layer analysis and handle this message, and set up service conversation (step 5) between the server section; Simultaneously, client can be carried out resource packet version detection (step 6), if the resource packet version number of carrying in replying is than local stored resource Bao Xin, client is carried out the download of resource packet immediately by the resource packet administration module, and the subsequent flows journey is continued in the back that finishes to be downloaded.Usually, after setting up session and confirming up-to-date resource packet, client can initiate to obtain the request message of data, obtains movement content and business tine (step 7) the service logic from server; Client executing service logic (step 8), and show the business tine of appointment according to the definition of service logic; Client is carried out analyzing and processing to business tine, call corresponding page framework interface template according to the definition in the business tine, and content-data is set in page framework template and wherein the control template to generate professional interface, present and waits for that subsequent user instructs (step 9) to the user by display device at last.To trigger various flow processs (step 10) afterwards by the service logic decision, for example, when receiving the instruction of user's triggering, the second application and development layer is handled according to service logic, wherein may comprise and cause that describing layer by dynamic extensive interface obtains terminal resource or call termination function (comprising the service that is encapsulated as functional form, as function of network phone/service) from the first application and development layer.Service logic wherein is included in the resultant content that will handle generation under opportune moment or the condition and issues server, so that server produces next time service logic and/or business tine.At last, according to user instruction, client generates and sends and disconnects message to server (step 8), finishes the current service session and withdraws from service, and server is replied to confirm that service conversation finishes (step 9).When the set-top box client is initiated to trigger the application service request, the second application and development layer of middleware system generates session attribute information, and according to the device attribute information structuring message of terminal equipment, and the communication by the realization of transmitted in both directions agreement and terminal equipment and server; Subsequent message after session is set up all must be carried the session attribute information of determining when setting up session, connects and related resource in order to differentiating sessions; Communication process can comprise the process of process, session maintenance and the disconnection of setting up session connection and the implementation procedure of application service.
Below enumerate the interaction flow of an application service.Usually the set-top box flow process that enters application service and withdraw from application service is fixed.When set-top box is carried out a certain application service, the second application and development layer of middleware system generates session attribute information, and together with device attribute information structuring message, this message is sent to described server, this message is routed to the server that this service is provided through service platform (is core with the IMS system), and IMS can test to the access rights of client in route detects.After server receives connection request, can pass through certain Treatment Analysis process, as check the current client of server inserts whether load too high, the device type (providing different data content or methods of service) of client or the like according to device type, if no problem then sends successfully answer.Promptly finish the flow process that enters this service, between set-top box and application server, set up a service conversation.Television services all needs the interface usually, so after successful connection, set-top box initiates to obtain the request of business tines (being that service logic control data and business tine present data) such as the script of control service logic and interface description data.After entering service procedure, may relate to a lot of multi-form communication flows,, determine by service logic because the communication flow during this section is uncertain.Common flow process has the business tine of obtaining the next one or next class boundary face, business tine between set-top box and the server end mutual (not having the interface to switch), and by other SIP service procedures that trigger in the service logic, as in service, having initiated the call flow of a VOIP.With these uncertain communication flows simultaneously and deposit, promptly in the service conversation process, long-standing is to connect to keep function.Connecting the communication flow that keeps can be that timing automatic triggers, the change with service logic does not change, and does not influence service logic yet, is mainly the validity that keeps this service conversation, wherein a side is unexpected out of touch to avoid, and causes an other side can't discharge related resource.At last, when service finishes, when perhaps the user withdraws from service by force, set-top box will initiate to disconnect connection requests, after server is replied, and this service conversation end.Process ends also is a fixing communication flow, and the situation of exception is before correct end session, and connection keeps function to detect the wherein unexpected disconnection of a side, promptly declares the unexpected end of service conversation, and an other side takes local policy to carry out aftermath.
Middleware communication method provided by the invention and message structure, demand and characteristics at field of interactive television, avoided the data of traditional WEB technology too fat to move, performance is low and the big shortcoming of expansion difficulty, the described second application and development layer provides the general implementation method of a cover service-oriented logic and business tine, is convenient to the service provider and customizes and develop all kinds of value-added services according to demand rapidly.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (14)

1, a kind of middleware system of realizing interactive increase value traffic based on the IP set-top box, it is characterized in that, comprising: based on the first application and development layer of component development paradigm, dynamically extensive interface is described layer and based on the second application and development layer of the development mode of interpretative data;
The described first application and development layer comprises signaling service control module and the functional module that can match, and described signaling service control module is used to message transmission and Communications service that the support of transmitted in both directions agreement is provided; The described functional module of matching is used to application service that the function support is provided;
The described second application and development layer is used to generate and handle the message that interactive application is served; Described message comprises message header and message body; Described message header comprises message type information and session attribute information, and following at least a information: device attribute information, ability description information, and secondary parameter information; Described message body comprises the service logic and/or the business tine of described application service;
Described dynamic extensive interface is described layer, be included as the described second application and development layer and visit the interface that the described first application and development layer is provided, the described second application and development layer obtains the function support of corresponding application service from described signaling service control module and functional module by described interface.
2, the middleware system of realizing interactive increase value traffic based on the IP set-top box according to claim 1, it is characterized in that: the described second application and development layer comprises that also data present module, be used to handle described business tine, and call the interface template generation graphical interfaces of appointment.
3, the middleware system based on IP set-top box realization interactive increase value traffic according to claim 2, it is characterized in that: described interface template comprises page framework template and control template; Described page framework template is in order to the layout and the relation of each control template in the setting page, and main functionality and the operator scheme of setting the described page; Described control template has the units of pages of specific function and task in order to setting.
4, the middleware system based on IP set-top box realization interactive increase value traffic according to claim 2 is characterized in that: described interface template is divided into common template that uses for all application services and the dedicated templates that uses for particular application services.
5, according to claim 2 or the 3 or 4 described middleware systems of realizing interactive increase value traffic based on the IP set-top box, it is characterized in that: the described second application and development layer also comprises template management module, be in charge of described interface template, described data present module and call corresponding interface template by described template management module when handling described business tine.
6, the middleware system of realizing interactive increase value traffic based on the IP set-top box according to claim 5, it is characterized in that: the described second application and development layer also comprises the resource packet administration module of application service, is used to manage the pairing resource packet of each application service; Comprise at least one resource file of downloading in advance in the described resource packet.
7, the middleware system based on IP set-top box realization interactive increase value traffic according to claim 6, it is characterized in that: described resource file comprises described dedicated templates.
8, the middleware system based on IP set-top box realization interactive increase value traffic according to claim 1, it is characterized in that: described transmitted in both directions agreement is a Session Initiation Protocol.
9, the middleware system based on IP set-top box realization interactive increase value traffic according to claim 1, it is characterized in that: the interface that described dynamic extensive interface is described layer comprises built-in function interface and extendable functions interface; Described built-in function is not for relying on the fixed function of terminal equipment and platform.
10, a kind of method that realizes interactive increase value traffic based on the IP set-top box, it is characterized in that, receive the user when asking the instruction of application service, the second application and development layer of middleware system generates session attribute information, and according to the device attribute information structuring message of terminal equipment, by the communication of the realization of transmitted in both directions agreement and terminal equipment and server; Described message comprises message header and message body, and described message header is used for bearer messages type information and session attribute information, and following at least a information: device attribute information, ability description information, and secondary parameter information; Described message body is used to carry the service logic and/or the business tine of application service; Communication process comprises at least with next procedure:
The described second application and development layer generates session attribute information, and together with described device attribute information structuring message, this message is sent to described server, and request is set up service conversation with the application service that described server is provided and is connected with maintain sessions;
After setting up session, the described second application and development layer obtains pairing service logic of described application service and/or business tine according to described user instruction structure message from described server; Described business tine is shown according to described service logic;
When receiving next step instruction of user, the described second application and development layer is handled according to described service logic.
11, the method based on IP set-top box realization interactive increase value traffic according to claim 10 is characterized in that, the described second application and development layer obtains described business tine and also comprises step afterwards:
Described business tine is carried out analyzing and processing, call the corresponding page framework template, and content-data is set in the control template in page framework template and the described page framework template, to generate professional interface according to the definition in the business tine.
12, the method based on IP set-top box realization interactive increase value traffic according to claim 10 is characterized in that described transmitted in both directions agreement is a Session Initiation Protocol.
13, the method based on IP set-top box realization interactive increase value traffic according to claim 10 is characterized in that, described service logic comprises the movement content of described server generation and the resultant content that described terminal equipment generates.
14, the method based on IP set-top box realization interactive increase value traffic according to claim 10 is characterized in that:
The process that the described second application and development layer is handled according to service logic comprises following one of them step at least:
The described second application and development layer calls the functional interface of appointment by dynamic extensive interface description layer from the described first application and development layer according to described user's further instruction and service logic, and produces the corresponding results content;
The described second application and development layer is sent to described server, with service logic and/or the business tine of obtaining next step with user instruction and described movement content and described session attribute information structuring message;
The described second application and development layer is constructed message according to user's exit instruction, and is sent to server, finishes the current service session, withdraws from the current application service.
CN2008100273906A 2008-04-14 2008-04-14 Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof Expired - Fee Related CN101252547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100273906A CN101252547B (en) 2008-04-14 2008-04-14 Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100273906A CN101252547B (en) 2008-04-14 2008-04-14 Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof

Publications (2)

Publication Number Publication Date
CN101252547A true CN101252547A (en) 2008-08-27
CN101252547B CN101252547B (en) 2010-12-08

Family

ID=39955741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100273906A Expired - Fee Related CN101252547B (en) 2008-04-14 2008-04-14 Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof

Country Status (1)

Country Link
CN (1) CN101252547B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938582A (en) * 2010-08-26 2011-01-05 广州杰赛科技股份有限公司 Digital audio monitor, monitoring method and monitoring system
CN101729843B (en) * 2008-10-23 2011-09-28 国家图书馆 System and method for realizing digital resource broadcasting on digital television broadcasting system
CN103455332A (en) * 2013-08-28 2013-12-18 四川长虹电器股份有限公司 Method for implementing smart television middleware
CN104333806A (en) * 2014-09-26 2015-02-04 青岛海信宽带多媒体技术有限公司 Set top box parameter operation method and device
CN105187929A (en) * 2015-08-19 2015-12-23 浪潮软件集团有限公司 Method for realizing global response message on set-top box
CN105450656A (en) * 2015-12-15 2016-03-30 努比亚技术有限公司 APP data configuration method, device, server and system
CN105721940A (en) * 2014-12-05 2016-06-29 中国移动通信集团公司 Business processing method, set top box, network device and system
CN108090219A (en) * 2014-12-24 2018-05-29 北京奇虎科技有限公司 The processing method and processing device of database onboard data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001031885A2 (en) * 1999-10-22 2001-05-03 Nomadix, Inc. Gateway device having an xml interface and associated method
CN100525431C (en) * 2006-08-30 2009-08-05 航天新世界(中国)科技有限公司 System of platform for supporting interactive value added service in use for digital TV
CN101146175A (en) * 2007-10-25 2008-03-19 中兴通讯股份有限公司 STB integrated middleware general system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729843B (en) * 2008-10-23 2011-09-28 国家图书馆 System and method for realizing digital resource broadcasting on digital television broadcasting system
CN101938582A (en) * 2010-08-26 2011-01-05 广州杰赛科技股份有限公司 Digital audio monitor, monitoring method and monitoring system
CN101938582B (en) * 2010-08-26 2013-04-10 广州杰赛科技股份有限公司 Digital audio monitor, monitoring method and monitoring system
CN103455332A (en) * 2013-08-28 2013-12-18 四川长虹电器股份有限公司 Method for implementing smart television middleware
CN103455332B (en) * 2013-08-28 2016-12-28 四川长虹电器股份有限公司 The implementation method of smart television middleware
CN104333806A (en) * 2014-09-26 2015-02-04 青岛海信宽带多媒体技术有限公司 Set top box parameter operation method and device
CN108600841A (en) * 2014-09-26 2018-09-28 青岛海信宽带多媒体技术有限公司 A kind of parameter operation method of set-top box
CN108600841B (en) * 2014-09-26 2020-05-15 青岛海信宽带多媒体技术有限公司 Parameter operation method of set top box
CN105721940A (en) * 2014-12-05 2016-06-29 中国移动通信集团公司 Business processing method, set top box, network device and system
CN108090219A (en) * 2014-12-24 2018-05-29 北京奇虎科技有限公司 The processing method and processing device of database onboard data
CN105187929A (en) * 2015-08-19 2015-12-23 浪潮软件集团有限公司 Method for realizing global response message on set-top box
CN105450656A (en) * 2015-12-15 2016-03-30 努比亚技术有限公司 APP data configuration method, device, server and system

Also Published As

Publication number Publication date
CN101252547B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
CN101252547B (en) Middleware system for realizing interactive increase value traffic based on IP set top box and method thereof
CN101388837B (en) Route selection method, service network, network appliance and terminal
CN102859965B (en) Method and the electronic installation of content of multimedia are provided
CN101710934B (en) Set-top box edition upgrading method and system
CN110120931B (en) Information interaction method and device and storage medium
CN101247344B (en) Access method supporting multiple IPTV services platform and IPTV terminal unit
US9065666B2 (en) System and method of multi-media conferencing between universal plug and play (UPnP) enabled telephony devices and wireless area network (WAN) devices
KR101287322B1 (en) Managing associated sessions in a network
CN1968134B (en) Middleware-based multimedia consolidation service realizing method and system
CN101540784B (en) File download method, download response server and file sever
CN101237451B (en) Middleware system of IP STB and its communication method
CN105339892A (en) Local network and method of updating a device in a local network
CN101877719B (en) Method, system and B2BUA for realizing television interaction at mobile terminal
CN107347053A (en) Management based on Internet video streaming computational methods structure performs platform
CN101951381A (en) Digital television receiving terminal and method thereof for realizing multimedia instant messaging
EP2219330B1 (en) Method for enhancing service, proxy server and communications system
Islam et al. Converged access of IMS and web services: A virtual client model
CN109104472B (en) Block chain network networking method, device, equipment and computer readable storage medium
CN102685113A (en) Self-configuration method for IMS terminal based on UPnP
CN114401428B (en) Method for implementing remote multi-screen interaction under public network based on short link signaling channel
US20150208447A1 (en) Composite ars service providing method and apparatus
EP2876864A1 (en) Program source data processing method and device
CN106028150B (en) More application switching management methods of TV for linux system
CN102970185A (en) Operation state monitoring method of network application, client equipment and communication system
CN100527717C (en) Information display in accordance with inserting family gateway and interactive method

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101208

Termination date: 20110414