[go: up one dir, main page]

CN101419550B - Dynamic collocation method and device for interface and action of set-top box multimedia interface - Google Patents

Dynamic collocation method and device for interface and action of set-top box multimedia interface Download PDF

Info

Publication number
CN101419550B
CN101419550B CN2008102030932A CN200810203093A CN101419550B CN 101419550 B CN101419550 B CN 101419550B CN 2008102030932 A CN2008102030932 A CN 2008102030932A CN 200810203093 A CN200810203093 A CN 200810203093A CN 101419550 B CN101419550 B CN 101419550B
Authority
CN
China
Prior art keywords
script
multimedia interface
engine
interface
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008102030932A
Other languages
Chinese (zh)
Other versions
CN101419550A (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.)
Shanghai Digivision Technology Co., Ltd.
Shanghai Information Pipeline Co., Ltd.
Original Assignee
SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
SHANGHAI INFORMATION PIPELINE CO Ltd
SHANGHAI DIGIVISION 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 SHANGHAI DIGIVISION TECHNOLOGY Co Ltd, SHANGHAI INFORMATION PIPELINE CO Ltd, SHANGHAI DIGIVISION CO Ltd filed Critical SHANGHAI DIGIVISION TECHNOLOGY Co Ltd
Priority to CN2008102030932A priority Critical patent/CN101419550B/en
Publication of CN101419550A publication Critical patent/CN101419550A/en
Application granted granted Critical
Publication of CN101419550B publication Critical patent/CN101419550B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a dynamic configuration method of interface and behavior of a set-top box multimedia interface and a device thereof, meets ever changing demands of digital TV distributors, and greatly reduces work of compiling new interfaces. The technical proposal is characterized in that the method comprises the following steps: a multimedia interface engine loads an XML file after receiving a message, and finds out information of a script function which is corresponding to the description of the current page and responds to the message in the XML file; the multimedia interface engine sends the information of the script function and parameters of the message to a script engine; the script engine calls a corresponding script function which is defined in a script file to execute according to the information of the script function; the script engine calls an atomicity operation which is provided by the multimedia interface engine; and the multimedia interface engine loads the XML file again, finds out display representation of an appointed window in the script function of the XML file, and finishes the final display according to multimedia interface resources which represent loading storage in a resource file. The method and the device are applicable to digital TVs.

Description

The interface of set-top box multimedia interface and the Dynamic Configuration of behavior and device
Technical field
The present invention relates to the Dynamic Configuration and the device of a kind of connection interface and behavior, relate in particular to the interface of a kind of set-top box multimedia interface (Multi-Media Interface, the below unified MMI that abbreviates as) and the Dynamic Configuration and the device of behavior.
Background technology
According to the requirement of digital-TV operator, set-top box interface and behavior often change, and different operators is also nearly all inequality to the requirement at interface.Existing set-top box MMI median surface logic and behavior logic mostly are built in the set-top box with C or the hard code of C++.Interface logic and behavior logic can not in time change as required, even require very little variation takes place, set-top box software can not adapt to.If change a lot, the work of MMI will be done basically again, and workload is very big.
Summary of the invention
The objective of the invention is to address the above problem, a kind of interface of set-top box multimedia interface and the Dynamic Configuration of behavior are provided, satisfy the demand that the Digital Television publisher constantly changes, the work at new interface is write in a large amount of minimizings.
Another object of the present invention is to provide a kind of interface of set-top box multimedia interface and the dynamic-configuration device of behavior, corresponding to above-mentioned method, satisfied the demand that the Digital Television publisher constantly changes, the work at new interface is write in a large amount of minimizings.
Technical scheme of the present invention is: the present invention has disclosed a kind of interface of set-top box multimedia interface and the Dynamic Configuration of behavior, comprising:
(1) after multimedia interface engine is received message, loads the XML file, in this XML file, find the information of the script function of this message of response that corresponding current page describes;
(2) this multimedia interface engine sends to script engine with the information of this script function and the parameter of this message;
(3) script function of the correspondence that defines in the information invoke script file of this script engine according to this script function is carried out;
(4) atomic operation that provides of this multimedia interface engine of this script engine invokes;
(5) this multimedia interface engine loads this XML file once more, finds the expression of the demonstration of the window of appointment in the script function of this XML file, according to the multimedia interface resource of this expression load store in resource file, finishes final demonstration.
The interface of above-mentioned set-top box multimedia interface and the Dynamic Configuration of behavior, wherein, this atomic operation is a function of finishing single digital television business or display unit.
The interface of above-mentioned set-top box multimedia interface and the Dynamic Configuration of behavior, wherein, step (1)~(5) are that circulation repeats.
The interface of above-mentioned set-top box multimedia interface and the Dynamic Configuration of behavior, wherein, this XML file, this script file and this resource file are sent by digital storage media control and command server.
The present invention has also disclosed a kind of interface of set-top box multimedia interface and the dynamic-configuration device of behavior, comprising:
Multimedia interface engine is carried out Message Processing, window management and control and is realized;
The XML file, the version information of display logic, the call relation between the script and the file at description interface;
Script engine and script file are described the realization of the behavior logic at interface;
Resource file, storage multimedia interface resource;
After wherein this multimedia interface engine is received message, load this XML file, in this XML file, find the information of the script function of this message of response that corresponding current page describes; This multimedia interface engine sends to this script engine with the information of this script function and the parameter of this message; This script engine calls the script function that defines in this script file according to the information of this script function and carries out; The atomic operation that this multimedia interface engine of this script engine invokes provides; This multimedia interface engine loads this XML file once more, finds the expression of the demonstration of the window of appointment in the script function of this XML file, according to the multimedia interface resource of this expression load store in resource file, finishes final demonstration.
The dynamic-configuration device of the interface of above-mentioned set-top box multimedia interface and behavior, wherein, the atomic operation that this multimedia interface engine provided is a function of finishing single digital television business or display unit.
The dynamic-configuration device of the interface of above-mentioned set-top box multimedia interface and behavior, wherein, this device also comprises digital storage media control and command server, is used to send this XML file, this script file and this resource file.
The present invention contrasts prior art following beneficial effect: the present invention passes through the executive mode of MMI engine in conjunction with XML and script, determined the interface of MMI to represent and other parts of interface logic and set-top box software have realized separating, rather than the interface represented and the interface logic hard coded, mix together closely.If digital-TV operator need be revised interface or behavior logic, needn't write hard code again as prior art brushes in the set-top box, and only need revise XML file or script (Script) file or resource file, again by digital storage media control and command server (Digital Storage Media Command and Control, hereinafter to be referred as the DSM-CC server) send to set-top box, set-top box just can be upgraded interface or behavior logic dynamically.
Description of drawings
Fig. 1 is the process flow diagram of preferred embodiment of the Dynamic Configuration of the interface of set-top box multimedia interface of the present invention and behavior.
Fig. 2 is the schematic diagram of preferred embodiment of the dynamic-configuration device of the interface of set-top box multimedia interface of the present invention and behavior.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
The embodiment of Dynamic Configuration
Fig. 1 shows the preferred embodiment of the Dynamic Configuration of the interface of set-top box multimedia interface of the present invention and behavior.See also Fig. 1, the step to the Dynamic Configuration of the interface of the set-top box multimedia interface of present embodiment and behavior is described in detail below.
Step S10:DSM-CC server sends to set-top box to upgrade interface and/or behavior logic dynamically with amended XML file or script file or resource file.
After step S11:MMI engine receives message, load the XML file, in the XML file, find the information of the script function of this message of response that corresponding current page describes.
Step S12:MMI engine sends to script engine with the information of script function and the parameter of message.
Step S13: the script function of the correspondence that defines in the information invoke script file of script engine according to script function is carried out.
Step S14: the atomic operation that script engine invokes MMI engine provides, atomic operation are the functions of finishing single digital television business or display unit.
Step S15:MMI engine loads the XML file once more, finds the expression of the demonstration of the window of appointment in the script function of XML file, according to the MMI resource of this expression load store in resource file, finishes final demonstration.
As long as there is operator need revise interface or behavior logic, based on this demand, these above-mentioned steps are that circulation repeats.
The embodiment of dynamic-configuration device
Fig. 2 shows the preferred embodiment of the dynamic-configuration device of the interface of set-top box multimedia interface of the present invention and behavior.See also Fig. 1, the principle to the dynamic-configuration device of the interface of the set-top box multimedia interface of present embodiment and behavior is described in detail below.
The device of present embodiment comprises multimedia interface engine (MMI Engine) 60, XML file (XML File) 61, script engine (Script Engine) 62, script file (Script File) 63, resource file (ResourcesFile) 64.
Multimedia interface engine 60 carries out Message Processing, window management and control is realized, and atomic operation, atomic operation are provided is the function of finishing single digital television business or display unit.XML file 61 is described the version information of display logic, the call relation between the script and the file at interface.And script engine 62 and script file 63 are described the realization of the behavior logic at interface.Resource file 64 storage multimedia interface resources.Device can also comprise DSM-CC server (not shown), is used to send XML file, script file and resource file.
The operation logic of device is as follows: after multimedia interface engine 60 is received message, load XML file 61, find information (the illustrated step 1) of the script function of this message of response that corresponding current page describes in XML file 61.Multimedia interface engine 60 sends to script engine 62 (illustrated step 2) with the information of script function and the parameter of message.Script engine 62 is carried out (illustrated step 3) according to the script function of definition in the information invoke script file 63 of script function.Script engine 62 calls atomic operation (the illustrated step 4) that multimedia interface engine 60 provides.Multimedia interface engine 60 loads XML file 61 once more, find the expression of the demonstration of the window of appointment in the script function of XML file 61, according to the multimedia interface resource of this expression load store in resource file 64, finish final demonstration (illustrated step 5).
An actual example of the present invention
Set-top box is received the volume plus-minus button of telepilot, and press key message sends to the MMI engine, below is the important process process of device, in order to make statement more clear, in the description process for the describing mode of pith service routine code.The MMI engine finds corresponding response script function DesktopPage_onVolUp in the XML file, the description fragment of XML file is as follows:
<desktop?x=″0″y=″0″w=″720″h=″576″>
<action?name=″onPplus″script=″DesktopPage_onPplus()″/>
<action?name=″onPminus″script=″DesktopPage_onPminus()″/>
<action?name=″onVolUp″script=″DesktopPage_onVolUp()″/>
<action?name=″onVolDown″script=″DesktopPage_onVolDown()″/>
/>
Then start script engine and come invoke script function DesktopPage_onVolUp ().
The function example of DesktopPage_onVolUp is as follows in script file:
function?DesktopPage_onVolUp()
local?IsMute=LuaGui.c_AV_IsMute()
if?IsMute==true?then
LuaGui.c_AV_ToggleMute()
LuaGui.c_RemovePage(’DesktopPage’,’MutePage’)
end
LuaGui.c_GUI_Volume_Up()
DisplayVolumePage()
End
In DesktopPage_onVolUp, called the atomic operation that defines in the MMI engine, finished the operation that actual volume increases such as c_GUI_Volume_Up ().Show the volume bar page such as calling DisplayVolume ().
The MMI engine shows the volume bar page according to the representation of the volume bar page that defines in the XML file.Volume bar page-describing fragment is as follows:
<pagename=″VolumePage″?id=″30″?style=″FF_NONE|AF_TRANSPARENT″surface=″true″?focus=″FALSE″?status=″PSF_ALWAYS_ON_TOP″rmstatus=″PSF_ACCEPTS_FOCUS″?x=″66″?y=″506″?w=″504″?h=″25″cur_ctrl_id=″2″?PciNormal=″TRANSPARENCY″?PciSelected=″0x016299″PciNtext=″0x0″PciStext=″0x0″>
<action?name=″onCtrlReshow″?script=″VolumePage_SetContent()″/>
<bar?name=″scroll1″?id=″1″?style=″FF_NONE″?x=″130″?y=″508″?w=″400″h=″21″?style2=″FF2_ROUND|FF2_HSCROLL″?min=″0″?max=″32″?cur=″11″PciNormal=″0xC5C7C6″PciSelected=″0x53C438″/>
</page>
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.

Claims (6)

1. the Dynamic Configuration of the interface of a set-top box multimedia interface and behavior comprises:
(1) after multimedia interface engine is received message, loads the XML file, in this XML file, find the information of the script function of this message of response that corresponding current page describes;
(2) this multimedia interface engine sends to script engine with the information of this script function and the parameter of this message;
(3) script function of the correspondence that defines in the information invoke script file of this script engine according to this script function is carried out;
(4) atomic operation that provides of this multimedia interface engine of this script engine invokes;
(5) this multimedia interface engine loads this XML file once more, finds the expression of the demonstration of the window of appointment in the script function of this XML file, according to the multimedia interface resource of this expression load store in resource file, finishes final demonstration.
2. the Dynamic Configuration of the interface of set-top box multimedia interface according to claim 1 and behavior is characterized in that, this atomic operation is a function of finishing single digital television business or display unit.
3. the Dynamic Configuration of the interface of set-top box multimedia interface according to claim 1 and behavior is characterized in that, step (1)~(5) are that circulation repeats.
4. the Dynamic Configuration of the interface of set-top box multimedia interface according to claim 1 and behavior is characterized in that, this XML file, this script file and this resource file are sent by digital storage media control and command server.
5. the dynamic-configuration device of the interface of a set-top box multimedia interface and behavior comprises:
After being used for multimedia interface engine and receiving message, load the XML file, in this XML file, find the module of information of the script function of this message of response that corresponding current page describes;
Be used for the module that this multimedia interface engine sends to the parameter of the information of this script function and this message script engine;
Be used for the module that the script function of the correspondence that this script engine defines according to the information invoke script file of this script function is carried out;
The module that is used for the atomic operation that this multimedia interface engine of this script engine invokes provides;
Be used for this multimedia interface engine and load this XML file once more, find the expression of the demonstration of the window of appointment in the script function of this XML file,, finish the module of final demonstration according to the multimedia interface resource of this expression load store in resource file.
6. the dynamic-configuration device of the interface of set-top box multimedia interface according to claim 5 and behavior, it is characterized in that, in this module that is used for the atomic operation that this multimedia interface engine of this script engine invokes provides, this atomic operation is a function of finishing single digital television business or display unit.
CN2008102030932A 2008-11-21 2008-11-21 Dynamic collocation method and device for interface and action of set-top box multimedia interface Expired - Fee Related CN101419550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102030932A CN101419550B (en) 2008-11-21 2008-11-21 Dynamic collocation method and device for interface and action of set-top box multimedia interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102030932A CN101419550B (en) 2008-11-21 2008-11-21 Dynamic collocation method and device for interface and action of set-top box multimedia interface

Publications (2)

Publication Number Publication Date
CN101419550A CN101419550A (en) 2009-04-29
CN101419550B true CN101419550B (en) 2011-04-06

Family

ID=40630345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102030932A Expired - Fee Related CN101419550B (en) 2008-11-21 2008-11-21 Dynamic collocation method and device for interface and action of set-top box multimedia interface

Country Status (1)

Country Link
CN (1) CN101419550B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933969A (en) * 2018-07-25 2018-12-04 深圳市茁壮网络股份有限公司 A kind of method and system for realizing digital TV video frequency animation

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742068B (en) * 2009-12-22 2011-09-21 上海全景数字技术有限公司 Method for downloading and updating terminal interface
CN101937352B (en) * 2010-09-20 2013-05-01 福建新大陆通信科技股份有限公司 Realization method of set-top box application program system
CN101980155A (en) * 2010-11-04 2011-02-23 青岛海信电器股份有限公司 Method and system for realizing user interface of television, and television
CN102118650A (en) * 2011-01-25 2011-07-06 深圳市酷开网络科技有限公司 Method and device for displaying television menu, and television
CN102724591B (en) * 2012-03-30 2014-11-19 深圳创维数字技术股份有限公司 Set top box page displaying method and set top box device
CN103152631B (en) * 2012-12-30 2016-05-04 广东九联科技股份有限公司 A kind of method of Set Top Box dynamic-configuration parameter
CN106162342A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 Interface processing method, Apparatus and system
CN107046650A (en) * 2017-02-07 2017-08-15 北京吉视汇通科技有限责任公司 The control method for playing back and device at interface
CN108563477B (en) * 2018-03-02 2022-04-26 北京奇艺世纪科技有限公司 Page event response method and device
CN109240620A (en) * 2018-09-21 2019-01-18 郑州云海信息技术有限公司 A kind of method, system and equipment that system disk divides
CN116166251A (en) * 2023-02-17 2023-05-26 北京有竹居网络技术有限公司 Media file display method and device, media and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815444A (en) * 2006-02-28 2006-08-09 杭州微元科技有限公司 Portable multimedia player interface customizing method using script file configuration

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815444A (en) * 2006-02-28 2006-08-09 杭州微元科技有限公司 Portable multimedia player interface customizing method using script file configuration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108933969A (en) * 2018-07-25 2018-12-04 深圳市茁壮网络股份有限公司 A kind of method and system for realizing digital TV video frequency animation
CN108933969B (en) * 2018-07-25 2021-02-09 深圳市茁壮网络股份有限公司 Method and system for realizing digital television video animation

Also Published As

Publication number Publication date
CN101419550A (en) 2009-04-29

Similar Documents

Publication Publication Date Title
CN101419550B (en) Dynamic collocation method and device for interface and action of set-top box multimedia interface
EP1986369B1 (en) End user control configuration system with dynamic user interface
US9588865B2 (en) System and method for displaying usage history of applications executed between devices
US20080098085A1 (en) Service enabled tagged user interfaces
CN101727648B (en) Overtime control method in service system and service system
CA2451164A1 (en) Customizable components
CN101699395A (en) Multi-window management method and multi-window browser
US8156137B2 (en) Data processing systems and methods
US20090171897A1 (en) Method and system for case management
CN110569096A (en) System, method, medium, and apparatus for decoding human-computer interaction interface
CN101115180A (en) Electronic program menu system and functional module dynamic load operating method
US20080155431A1 (en) User interface supporting processes with alternative paths
EP1763787B1 (en) A computer system, method and program for the uniform access to configurable objects derived from disparate sources
CN101944133B (en) XML metadata objectification analysis method and system
US20080216050A1 (en) Method and System for Accessing a Resource Implemented in a Computer Network
Ghaddar et al. Variability as a service: outsourcing variability management in multi-tenant saas applications
CN104081381B (en) Method and apparatus for implementing concept service
WO2025040123A1 (en) Service processing method and apparatus
CN110990000B (en) Data request processing method, device and equipment of MVC pattern design model layer
US20130173671A1 (en) Extended tagging method and system
CN102457552B (en) System, device, and method used for acquiring service of provider
US8028274B2 (en) Integrating loosely coupled tools using contracts and references
CN101206574A (en) Development tool for creating converged applications that include sip and web components
CN114217877A (en) Operation processing method, device, equipment and medium based on page interaction component
CN113190306B (en) Display hierarchy switching method, device, equipment and storage medium

Legal Events

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

Owner name: SHANGHAI INFORMATION INVESTMENT CO., LTD.

Free format text: FORMER OWNER: SHANGHAI DIGIVISON TECHNOLOGY CO., LTD.

Effective date: 20091218

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

Effective date of registration: 20091218

Address after: Postal code of Shanghai office, 1318 West Beijing Road, Shanghai, zip code: 200040

Applicant after: Shanghai information investment Limited by Share Ltd

Co-applicant after: Shanghai Digivision Technology Co., Ltd.

Co-applicant after: Shanghai Information Pipeline Co., Ltd.

Address before: Shanghai, 333 Guang Ji Road, zip code: 200083

Applicant before: Shanghai Digivision Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110406

Termination date: 20171121

CF01 Termination of patent right due to non-payment of annual fee