CN101937352A - Realization method of set-top box application program system - Google Patents
Realization method of set-top box application program system Download PDFInfo
- Publication number
- CN101937352A CN101937352A CN2010102878667A CN201010287866A CN101937352A CN 101937352 A CN101937352 A CN 101937352A CN 2010102878667 A CN2010102878667 A CN 2010102878667A CN 201010287866 A CN201010287866 A CN 201010287866A CN 101937352 A CN101937352 A CN 101937352A
- Authority
- CN
- China
- Prior art keywords
- top box
- interface
- control
- drafting
- box application
- 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
Links
Images
Abstract
The invention provides a realization method of an application program system, which comprises the following steps of: when a set-top box is started and displays a system interface, carrying out corresponding system interface drawing according to a GUI (Graphical User Interface) file, simultaneously waiting for external input, triggering the corresponding event of a control element in a set-top box dialog box by an interface corresponding to a set-top box application program when a request is input externally, analyzing an LUA (Least User Access) script corresponding to the dialog box by an LUA script analytical engine, running a corresponding event function in the LUA script, and calling a set-top box bottom layer function to complete corresponding event operation by a module interface defined by the set-top box. By the invention, the defect of the conventional set-top boxes that the interface event and the service logic are bound together with difficult modification and poor transportability is overcome, the development cost is decreased, and the requirements of operators can be well met.
Description
[technical field]
The present invention relates to a kind of embedded technology, especially a kind of implementation method of set-top box application procedure system particularly belongs to the field of set-top technology.
[background technology]
Along with the extensive of national digital TV popularized, as the function of the digital TV set-top box of digital TV terminal product also from strength to strength, using the relevant function of maximum human-computer interaction interfaces to write with the user especially becomes increasingly complex, especially because the complicacy and the regionality in China Digital TV market, various operators has proposed various customization requirements, amplifies out different set-top box interface systems.This needs to drop into a large amount of manpowers for set-top box producer develops, and the cycle is long, is not easy to safeguard.Traditional set-top box interface incident and service logic bind together, and in the face of various operators has proposed various customization requirements, amplify out different set-top box interface systems, need remodify code, and compiling downloads in the set-top box.This construction cycle is long, revises loaded down with trivial detailsly, and the cost of input is also big, can't satisfy the fast-changing market demand.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of implementation method of set-top box application procedure system, having overcome traditional set-top box interface incident and service logic binds together, it is difficult to revise, the shortcoming of portable difference, and reduced cost of development, be well positioned to meet the demand of operator.
The present invention is achieved in that a kind of implementation method of set-top box application procedure system, it is characterized in that, may further comprise the steps:
Step 10, in the GUI of set-top box configuration file the definition set-top box the interface be a dialog box, various graphic operations on the set-top box interface are represented with control, comprise menu, tabulation, scroll bar, video frame, static images literal and paint control certainly, and each control imported to external world corresponding the linking to each other of interface of the incident of making operation response and set-top box application program;
Step 20, with the corresponding event function of each control in the dialog box of various set-top box interfaces, be defined in the different LUA scripts;
Step 30, design one set of modules comprise that program module, program searching module, system are provided with module, safety management module, and these modules are defined as interface in the set-top box application programs;
Step 40, when set-top-box opening display system interface, the set-top box application program is searched the GUI configuration file and the LUA script of acquiescence, carries out corresponding system interface according to the GUI file and draws, and waits for extraneous input simultaneously;
Step 50, when external world when request input, trigger the corresponding event of the control in the set-top box dialog box by set-top box application program corresponding interface, this moment, LUA script analytics engine was resolved the LUA script of dialog box correspondence, corresponding event function in the operation LUA script, and call set-top box bottom function by the module interface that set-top box defines and finish the events corresponding operation.
The advantage that the present invention has is: introduced the LUA script, utilize the characteristic that it can dynamic operation, cooperate the module interface of GUI configuration file and set-top box definition to realize to set-top box interface incident and service logic dynamic design, like this can be effectively separated with the set-top box application program, independently write debugging, simultaneously under the condition of not upgrading whole set-top box application program, only make amendment and just can realize the demand of operator at part GUI configuration file and LUA script, portable strong, reduced cost of development.
[description of drawings]
Fig. 1 is the inventive method schematic flow sheet.
[embodiment]
The present invention is further illustrated in conjunction with the embodiments below with reference to Fig. 1:
A kind of implementation method of set-top box application procedure system may further comprise the steps:
Step 10, in the GUI of set-top box configuration file the definition set-top box the interface be a dialog box, various graphic operations on the set-top box interface are represented with control, comprise menu, tabulation, scroll bar, video frame, static images literal and paint control certainly, and each control imported to external world corresponding the linking to each other of interface of the incident of making operation response and set-top box application program.
Step 20, with the corresponding event function of each control in the dialog box of various set-top box interfaces, be defined in the different LUA scripts.
Step 30, design one set of modules comprise that program module, program searching module, system are provided with module, safety management module, and these modules are defined as interface in the set-top box application programs.
Step 40, when set-top-box opening display system interface, the set-top box application program is searched the GUI configuration file and the LUA script of acquiescence, carries out corresponding system interface according to the GUI file and draws, and waits for extraneous input simultaneously.
Step 50, when external world's input request, trigger the corresponding event of the control in the set-top box dialog box by set-top box application program corresponding interface, integrated LUA script analytics engine is resolved the LUA script of dialog box correspondence in this moment set-top box application program, corresponding event function in the operation LUA script, and call set-top box bottom function by the module interface that set-top box defines and finish the events corresponding operation, when the set-top-box system interface switches, as long as call the GUI configuration file of the dialog box that need switch to, and move the switching that corresponding LUA script just can be finished the interface.
Wherein said menu control is finished the drafting to various style menus, and the input by the external world changes menu item and the non-item of self choosing of selecting choices from menus, and calls the incident function that menu is selected by the corresponding set-top box application programming interfaces;
Described list control is finished the operation to various table datas, finish selection work to data, input by the external world changes list items and the non-list items of self choosing of choosing, and calls by the corresponding set-top box application programming interfaces incident function takes place when tabulation changed;
Described scroll bar control is finished the drafting operation to drafting that comprises scroll bar and progress bar, change the state of self scroll bar or progress bar simultaneously by extraneous input, and call by the corresponding set-top box application programming interfaces incident function takes place when scroll bar or progress bar changed;
Described video frame control is finished zoom operations and the drafting to video, calls the corresponding event function by the corresponding set-top box application programming interfaces when zoom operations takes place;
Described static images literal control is finished the drafting to static images on the set-top box interface or literal;
Describedly do not provide any drafting operation, when the drafting incident takes place, call drafting incident function by the corresponding set-top box application programming interfaces and finish drafting the set-top box defined interface from painting control itself.
What deserves to be mentioned is: a described set of modules, further comprise other modules (as: plus-minus module of volume, change the module of platform operation), described program module has the function of the rendition list, electronic program guides, editing saving, described program searching module has the function that search parameter is provided with, and described system is provided with the function that module has language setting, audio frequency and video setting, standard setting, and described safety management module has father and mother's lock, cryptographic function, the function of adult's restriction.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.
Claims (4)
1. the implementation method of a set-top box application procedure system is characterized in that, may further comprise the steps:
Step 10, in the GUI of set-top box configuration file the definition set-top box the interface be a dialog box, various graphic operations on the set-top box interface are represented with control, comprise menu, tabulation, scroll bar, video frame, static images literal and paint control certainly, and each control imported to external world corresponding the linking to each other of interface of the incident of making operation response and set-top box application program;
Step 20, with the corresponding event function of each control in the dialog box of various set-top box interfaces, be defined in the different LUA scripts;
Step 30, design one set of modules comprise that program module, program searching module, system are provided with module, safety management module, and these modules are defined as interface in the set-top box application programs;
Step 40, when set-top-box opening display system interface, the set-top box application program is searched the GUI configuration file and the LUA script of acquiescence, carries out corresponding system interface according to the GUI file and draws, and waits for extraneous input simultaneously;
Step 50, when external world when request input, trigger the corresponding event of the control in the set-top box dialog box by set-top box application program corresponding interface, this moment, LUA script analytics engine was resolved the LUA script of dialog box correspondence, corresponding event function in the operation LUA script, and call set-top box bottom function by the module interface that set-top box defines and finish the events corresponding operation.
2. the implementation method of a kind of set-top box application procedure system according to claim 1 is characterized in that:
Described menu control is finished the drafting to various style menus, and the input by the external world changes menu item and the non-item of self choosing of selecting choices from menus, and calls the incident function that menu is selected by the corresponding set-top box application programming interfaces;
Described list control is finished the operation to various table datas, finish selection work to data, input by the external world changes list items and the non-list items of self choosing of choosing, and calls by the corresponding set-top box application programming interfaces incident function takes place when tabulation changed;
Described scroll bar control is finished the drafting operation to drafting that comprises scroll bar and progress bar, change the state of self scroll bar or progress bar simultaneously by extraneous input, and call by the corresponding set-top box application programming interfaces incident function takes place when scroll bar or progress bar changed;
Described video frame control is finished zoom operations and the drafting to video, calls the corresponding event function by the corresponding set-top box application programming interfaces when zoom operations takes place;
Described static images literal control is finished the drafting to static images on the set-top box interface or literal;
Describedly do not provide any drafting operation, when the drafting incident takes place, call drafting incident function by the corresponding set-top box application programming interfaces and finish drafting the set-top box defined interface from painting control itself.
3. the implementation method of a kind of set-top box application procedure system according to claim 1 is characterized in that: described LUA script analytics engine is integrated in the set-top box application program.
4. the implementation method of a kind of set-top box application procedure system according to claim 1, it is characterized in that: in the described step 50 when the set-top-box system interface switches, call the GUI configuration file of the dialog box that need switch to, and move corresponding LUA script and finish the switching at interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010287866 CN101937352B (en) | 2010-09-20 | 2010-09-20 | Realization method of set-top box application program system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010287866 CN101937352B (en) | 2010-09-20 | 2010-09-20 | Realization method of set-top box application program system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101937352A true CN101937352A (en) | 2011-01-05 |
CN101937352B CN101937352B (en) | 2013-05-01 |
Family
ID=43390699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010287866 Expired - Fee Related CN101937352B (en) | 2010-09-20 | 2010-09-20 | Realization method of set-top box application program system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101937352B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317578A (en) * | 2014-10-13 | 2015-01-28 | 无锡梵天信息技术股份有限公司 | Engine Lua script application and engine and Lua script mutual calling-based method and device |
CN104679489A (en) * | 2013-12-02 | 2015-06-03 | 厦门极致互动网络技术有限公司 | System and method for internally setting web browser in online game client side |
CN104754159A (en) * | 2013-12-26 | 2015-07-01 | 京瓷办公信息系统株式会社 | Image Forming Apparatus |
CN105578284A (en) * | 2015-12-24 | 2016-05-11 | 四川迪佳通电子有限公司 | Method and system for managing interfaces of set top box |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007083534A1 (en) * | 2006-01-19 | 2007-07-26 | Konica Minolta Holdings, Inc. | Control program, program provision system, and program providing method |
CN101276275A (en) * | 2008-04-22 | 2008-10-01 | 罗笑南 | Software development visualizing editing method aiming at set top box |
CN101419550A (en) * | 2008-11-21 | 2009-04-29 | 上海全景数字技术有限公司 | Dynamic collocation method and device for interface and action of set-top box multimedia interface |
-
2010
- 2010-09-20 CN CN 201010287866 patent/CN101937352B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007083534A1 (en) * | 2006-01-19 | 2007-07-26 | Konica Minolta Holdings, Inc. | Control program, program provision system, and program providing method |
CN101276275A (en) * | 2008-04-22 | 2008-10-01 | 罗笑南 | Software development visualizing editing method aiming at set top box |
CN101419550A (en) * | 2008-11-21 | 2009-04-29 | 上海全景数字技术有限公司 | Dynamic collocation method and device for interface and action of set-top box multimedia interface |
Non-Patent Citations (1)
Title |
---|
付永红: "机顶盒的脚本语言应用平台的研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679489A (en) * | 2013-12-02 | 2015-06-03 | 厦门极致互动网络技术有限公司 | System and method for internally setting web browser in online game client side |
CN104754159A (en) * | 2013-12-26 | 2015-07-01 | 京瓷办公信息系统株式会社 | Image Forming Apparatus |
CN104317578A (en) * | 2014-10-13 | 2015-01-28 | 无锡梵天信息技术股份有限公司 | Engine Lua script application and engine and Lua script mutual calling-based method and device |
CN104317578B (en) * | 2014-10-13 | 2017-12-05 | 无锡梵天信息技术股份有限公司 | Based on engine Lua script applications and engine and the mutual call method of Lua scripts and device |
CN105578284A (en) * | 2015-12-24 | 2016-05-11 | 四川迪佳通电子有限公司 | Method and system for managing interfaces of set top box |
CN105578284B (en) * | 2015-12-24 | 2019-01-08 | 四川迪佳通电子有限公司 | A kind of set top box interface management method and system |
Also Published As
Publication number | Publication date |
---|---|
CN101937352B (en) | 2013-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101770399B (en) | Electronic equipment, method and device for switching operating system desktop | |
EP2555537B1 (en) | Electronic apparatus and method for providing user interface thereof | |
CN102520788B (en) | Voice identification control method | |
CN102132243B (en) | User interface generation device | |
WO2015035908A1 (en) | Smart television operation system | |
CN101937352B (en) | Realization method of set-top box application program system | |
CN101179673A (en) | Method of customizing common function interface of television | |
CN110286978B (en) | Window hierarchy switching method, device, equipment and storage medium | |
CN103648048B (en) | Intelligent television video resource searching method and system | |
CN102331934B (en) | Method for implementing desktop component based on GO desktop system | |
CN106210860A (en) | system and method for video-rich navigation | |
CN103927028B (en) | The method for realizing electromagnetic touch side key function | |
CN103139623A (en) | Method for controlling intelligent television by using voice | |
US20120110451A1 (en) | Providing help information | |
CN102081532A (en) | Method for dynamically upgrading functions of set top box | |
CN102663003A (en) | Page switching method and system for application of mobile terminal in environment with multiple web pages | |
CN104375911A (en) | Fast android whole machine function detection method based on android platform engineering mode | |
CN103294451A (en) | Method and system for implementing applied multiple tasks and multiple windows in rich page | |
CN103116503A (en) | Implement method and implement device of multiple windows | |
CN104636152A (en) | Floating-layer-based application program calling method and device | |
CN101968739A (en) | Method for implementing set top box architecture based on flash technology | |
CN103152641A (en) | Method and system for manipulating set top box through webpage interface | |
CN103019546B (en) | A kind of slideshow method, system and apparatus for demonstrating | |
US8917356B2 (en) | Play control system and method | |
CN104469466A (en) | Television data management method based on linux system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130501 Termination date: 20180920 |
|
CF01 | Termination of patent right due to non-payment of annual fee |