CN101937352B - Realization method of set-top box application program system - Google Patents
Realization method of set-top box application program system Download PDFInfo
- Publication number
- CN101937352B CN101937352B CN 201010287866 CN201010287866A CN101937352B CN 101937352 B CN101937352 B CN 101937352B CN 201010287866 CN201010287866 CN 201010287866 CN 201010287866 A CN201010287866 A CN 201010287866A CN 101937352 B CN101937352 B CN 101937352B
- Authority
- CN
- China
- Prior art keywords
- top box
- interface
- application program
- event
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
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 complexity 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 event 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 to 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 large, 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 event and service logic binds together, it is difficult to revise, portable poor shortcoming, and reduced development cost, 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 certainly paint control, and each control inputted to external world corresponding the linking to each other of interface of the event 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 arrange 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 GUI configuration file and the LUA script of acquiescence, carries out corresponding system interface according to the GUI file and draws, and waits for simultaneously extraneous input;
Step 50, when extraneous input request, corresponding event by the control in the corresponding interface trigger unit of the set-top box application program top box dialog box, this moment, LUA script analytics engine was resolved LUA script corresponding to dialog box, 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 corresponding event action.
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 set-top box interface event 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 for part GUI configuration file and LUA script and just can realize the demand of operator, portable strong, reduced development cost.
[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 certainly paint control, and each control inputted to external world corresponding the linking to each other of interface of the event 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 arrange 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 GUI configuration file and the LUA script of acquiescence, carries out corresponding system interface according to the GUI file and draws, and waits for simultaneously extraneous input.
Step 50, when extraneous input request, corresponding event by the control in the corresponding interface trigger unit of the set-top box application program top box dialog box, integrated LUA script analytics engine is resolved LUA script corresponding to dialog box in the set-top box application program at this moment, 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 corresponding event action, when the set-top-box system interface switches, as long as call the GUI configuration file of the dialog box that need to 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 selecting choices from menus of self choosing, and by the event functions of corresponding set-top box application program interface call to menu setecting;
Described list control is finished the operation to various table datas, the selection work of complete paired data, input by the external world changes list items and the non-list items of choosing of self choosing, and passes through to occur when corresponding set-top box application program interface call changes tabulation event functions;
Described scroll bar control is finished the drafting operation to the drafting that comprises scroll bar and progress bar, change simultaneously the state of self scroll bar or progress bar by extraneous input, and event functions occurs when by corresponding set-top box application program interface call scroll bar or progress bar being changed;
Described video frame control is finished zoom operations and the drafting to video, passes through corresponding set-top box application program interface call corresponding event function when zoom operations occurs;
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 from painting control itself, the set-top box application routine interface by correspondence calls when the drafting event occurs to be drawn event functions and finishes drafting to the set-top box defined interface.
It is worth mentioning that: 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 arranges, described system arranges the function that module has language setting, audio frequency and video setting, standard setting, 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 doing 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 certainly paint control, and each control inputted to external world corresponding the linking to each other of interface of the event 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 arrange 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 GUI configuration file and the LUA script of acquiescence, carries out corresponding system interface according to the GUI file and draws, and waits for simultaneously extraneous input;
Step 50, when extraneous input request, corresponding event by the control in the corresponding interface trigger unit of the set-top box application program top box dialog box, this moment, LUA script analytics engine was resolved LUA script corresponding to dialog box, 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 corresponding event action.
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 selecting choices from menus of self choosing, and by the event functions of corresponding set-top box application program interface call to menu setecting;
Described list control is finished the operation to various table datas, the selection work of complete paired data, input by the external world changes list items and the non-list items of choosing of self choosing, and passes through to occur when corresponding set-top box application program interface call changes tabulation event functions;
Described scroll bar control is finished the drafting operation to the drafting that comprises scroll bar and progress bar, change simultaneously the state of self scroll bar or progress bar by extraneous input, and event functions occurs when by corresponding set-top box application program interface call scroll bar or progress bar being changed;
Described video frame control is finished zoom operations and the drafting to video, passes through corresponding set-top box application program interface call corresponding event function when zoom operations occurs;
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 from painting control itself, the set-top box application routine interface by correspondence calls when the drafting event occurs to be drawn event functions and finishes drafting to the set-top box defined interface.
3. the implementation method of a kind of set-top box application procedure system according to claim 1, it 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 to 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 CN101937352A (en) | 2011-01-05 |
CN101937352B true 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) |
Families Citing this family (4)
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 |
JP6026399B2 (en) * | 2013-12-26 | 2016-11-16 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus and display operation method of application screen of image forming apparatus |
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 |
CN105578284B (en) * | 2015-12-24 | 2019-01-08 | 四川迪佳通电子有限公司 | A kind of set top box interface management method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
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 |
-
2010
- 2010-09-20 CN CN 201010287866 patent/CN101937352B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 (2)
Title |
---|
付永红.机顶盒的脚本语言应用平台的研究.《中国优秀硕士学位论文全文数据库》.2007,第24页第3段-26页第1段,第34页倒数第3段-第38页第4段. |
机顶盒的脚本语言应用平台的研究;付永红;《中国优秀硕士学位论文全文数据库》;20070430;第24页第3段-26页第1段,第34页倒数第3段-第38页第4段 * |
Also Published As
Publication number | Publication date |
---|---|
CN101937352A (en) | 2011-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2555537B1 (en) | Electronic apparatus and method for providing user interface thereof | |
CN101770399B (en) | Electronic equipment, method and device for switching operating system desktop | |
CN104135684B (en) | A kind of interface display method and device based on Firefox OS | |
EP3754997B1 (en) | Method for controlling electronic apparatus based on voice recognition and motion recognition, and electronic apparatus applying the same | |
CN102520788B (en) | Voice identification control method | |
AU2012293060B2 (en) | Electronic apparatus and method for providing user interface thereof | |
CN101937352B (en) | Realization method of set-top box application program system | |
EP2555535A1 (en) | Method for controlling electronic apparatus based on motion recognition, and electronic apparatus applying the same | |
EP2555538A1 (en) | Method for controlling electronic apparatus based on voice recognition and motion recognition, and electronic apparatus applying the same | |
CN101179673A (en) | Method of customizing common function interface of television | |
CN103927028B (en) | The method for realizing electromagnetic touch side key function | |
CN103139623A (en) | Method for controlling intelligent television by using voice | |
CN106101767A (en) | A kind of screen recording method and mobile terminal | |
KR20150079807A (en) | Desktop display method and device | |
US20120110451A1 (en) | Providing help information | |
CN102841712A (en) | Method and system for identifying and editing gestures | |
CN105808063A (en) | Application program starting method and terminal | |
CN103544298A (en) | Log analysis method and analysis device for component | |
CN104636152A (en) | Floating-layer-based application program calling method and device | |
CN103152641A (en) | Method and system for manipulating set top box through webpage interface | |
CN101968739A (en) | Method for implementing set top box architecture based on flash technology | |
CN104469466A (en) | Television data management method based on linux system | |
CN101710277B (en) | Script processing method, device of embedded browser | |
CN101753906A (en) | Method and device for editing television menu | |
CN104077384A (en) | Mobile terminal as well as method and device for realizing video indexing by using screen splitting function |
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 |