CN103309663A - Developing method and device of set top box user interface - Google Patents

Developing method and device of set top box user interface Download PDF

Info

Publication number
CN103309663A
CN103309663A CN2013102137860A CN201310213786A CN103309663A CN 103309663 A CN103309663 A CN 103309663A CN 2013102137860 A CN2013102137860 A CN 2013102137860A CN 201310213786 A CN201310213786 A CN 201310213786A CN 103309663 A CN103309663 A CN 103309663A
Authority
CN
China
Prior art keywords
module
telepilot
program
layer
interface
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.)
Pending
Application number
CN2013102137860A
Other languages
Chinese (zh)
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN2013102137860A priority Critical patent/CN103309663A/en
Publication of CN103309663A publication Critical patent/CN103309663A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention is applicable to the technical field of set top boxes, and provides a developing method and a developing device of a set top box user interface. The method comprises the following steps: a PC (Personal Computer) generates a remote control interface of a PC terminal; the PC respectively compiles a presentation layer, a service logic layer and a tool layer of a set top box system which is transferred to a PC compiler, so as to generate a PL program, a libbll.a library file and a libutils.a library file; the PC respectively carries out simulation realization on an operation system layer and a hardware abstract layer, after the simulation realization is accomplished, the operation system layer and the hardware abstract layer are respectively transferred to the PC compiler to be compiled so as to generate a libosal.a library file and a libhal.a library file; the PC transmits a button value received through the remote control interface to a user interface UI (User Interface) program in the PL program through the libhal.a library file; and the PC generates a set top box user interface according to the UI program. By utilizing the developing device and the developing method, the software development period is shortened, and the labor resource expense of companies is lowered.

Description

Development approach, the device at a kind of set-top box users interface
Technical field
The invention belongs to TV domain, relate in particular to development approach, the device at a kind of set-top box users interface.
Background technology
Current, set-top box (Set Top Box, STB) user interface development, the exploitation of normally under the set-top-box system environment, carrying out.Code Design also is to finish under the STB system platform, after application code is finished, needs application programs to compile, and also need to carry out emulation, the burning of application program and restarts for machine.Generally can spend time a few minutes, yet user interface (User Interface, the UI) effect that application program is presented does not reach the set goal, the work that need to repeat above-mentioned compiling, emulation, burning and restart is until the UI effect reaches the set goal.Like this development time of cost long, cause UI development efficiency low, and need replication tool extra beyond the set-top box such as emulator etc., increased the expense of research and development.In addition, hardware do not develop complete in, if machine can not normally start, can not accomplish the synchronous exploitation of software and hardware, cause the construction cycle to increase, the R﹠D cycle increases.
Summary of the invention
The embodiment of the invention provides development approach, the device at a kind of set-top box users interface, is intended to solve the development approach at the set-top box users interface that prior art provides, the problem that development efficiency is low.
On the one hand, provide the development approach at a kind of set-top box users interface, described method comprises:
PC PC generates the telepilot interface of PC end;
Described PC compiles respectively presentation layer PL, Business Logic BLL, the tool layer UTILS that migrates to the set-top-box system on the PC compiler, generates PL program, libbll.a library file and libutils.a library file;
Described PC simulates respectively realization to operating system layer OSAL and hardware abstraction layer HAL, after simulation realizes finishing, migrates to respectively on the PC compiler and compiles generation libosal.a library file and libhal.a library file;
The button key assignments that described PC will receive by the telepilot interface passes to user interface UI program in the described PL program by described libhal.a library file;
Described PC generates the set-top box users interface according to described UI program.
Further, the telepilot interface of described PC PC generation PC end comprises:
At a plurality of button buttons of the zone at described telepilot interface application Windows application programming interfaces winapi establishment with the true the same quantity of telepilot, the respectively corresponding truly button key assignments of telepilot.
Further, described PC simulates operating system layer OSAL and realizes comprising:
Adopt window system of systems function to carry out respectively internal memory memory module, thread thread module, semaphore semphore module and simulate realization.
Further, described PC simulates hardware abstraction layer HAL and realizes comprising:
The header file of all modules among the described HAL remains unchanged;
Realize the inside of the OSG of mimic diagram system module, infrared IR module, flash memory flash module;
The inside of revising tuner tuner module, descrambling demultiplexing demux module and audio frequency and video av module is embodied as return0.
Further, the inside of the described mimic diagram OSG of system module realizes comprising:
Adopt the inside of window system of systems functional simulation OSG module to realize;
The inside of the infrared IR module of described simulation realizes comprising:
The button key assignments that the telepilot key assignments that the PL layer of set-top-box system is received and described telepilot interface receive is bound;
When pressing the button at described telepilot interface, make described IR module return the telepilot key assignments corresponding with described button key assignments to the PL layer that migrates to the set-top-box system on the described PC compiler;
The inside of described simulation flash memory flash module realizes comprising:
Define a bin file;
The data such as preset value character string or program names are kept in the bin file, and deposit according to the deposit data position of the upper flash of STB its deposit data position;
When program start, open bin file, carry out reading and preserving of data by the address.
On the other hand, provide the development device at a kind of set-top box users interface, described device comprises:
Telepilot interface generation unit is used for generating the telepilot interface that PC holds;
The first compilation unit is used for presentation layer PL, Business Logic BLL, the tool layer UTILS that migrates to the set-top-box system on the PC compiler compiled respectively, generates PL program, libbll.a library file and libutils.a library file;
The second compilation unit is used for operating system layer OSAL and hardware abstraction layer HAL are simulated respectively realization, after simulation realizes finishing, migrates to respectively on the PC compiler and compiles generation libosal.a library file and libhal.a library file;
The key assignments transfer unit is used for passing to by the button key assignments that the telepilot interface receives the user interface UI program of described PL program by described libhal.a library file;
The UI generation unit is used for generating the set-top box users interface according to described UI program.
Further, described telepilot interface generation unit is at a plurality of button buttons of the zone at described telepilot interface application Windows application programming interfaces winapi establishment with the true the same quantity of telepilot, the respectively corresponding truly button key assignments of telepilot.
Further, described PC simulates operating system layer OSAL and realizes comprising:
Adopt window system of systems function to carry out respectively internal memory memory module, thread thread module, semaphore semphore module and simulate realization.
Further, described the second compilation unit comprises:
The header file processing module is used for making the header file of all modules of described HAL to remain unchanged;
The first analog module, realize the inside that is used for the OSG of mimic diagram system module, infrared IR module, flash memory flash module;
The second analog module, the inside that is used for modification tuner tuner module, descrambling demultiplexing demux module and audio frequency and video av module is embodied as return0.
Further, described the first analog module comprises:
OSG module simulation submodule is used for adopting the inside of window system of systems functional simulation OSG module to realize;
IR module simulation submodule, being used for the button key assignments that telepilot key assignments that the PL layer with set-top-box system receives and described telepilot interface receive binds, when pressing the button at described telepilot interface, make described IR module return the telepilot key assignments corresponding with described button key assignments to the PL layer that migrates to the set-top-box system on the described PC compiler;
Flash module simulation submodule, be used for bin file of definition, the data such as preset value character string or program names are kept in the bin file, deposit according to the deposit data position of the upper flash of STB its deposit data position, when program start, open bin file, carry out reading and preserving of data by the address.
In the embodiment of the invention, can use on the PC with STB on the interface of the same function name realized the picture point, setting-out, the UI effects such as image scaling demonstration, and the program after PC has carried out the UI exploitation is directly taken in the STB operation and also can be reached duplicate effect.So that can develop software in the situation that STB hardware does not have to complete, realize the synchronous exploitation of software and hardware, shortened software development cycle, reduce the human resources expense of company.The upper compiling of this external PC, the time that starts operation only needs the several seconds, far below the burning of the program of STB and the work of restarting of machine, has improved the development efficiency of software, reduces the maintenance cost of software.
Description of drawings
Fig. 1 is the realization flow figure of the development approach at the set-top box users interface that provides of the embodiment of the invention one;
Fig. 2 is that the PC that the embodiment of the invention one provides holds the schematic layout pattern at interface;
Fig. 3 is the STB system layer schematic diagram that the embodiment of the invention one provides;
Fig. 4 is the structured flowchart of the development device at the set-top box users interface that provides of the embodiment of the invention two.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, compile by four layers in the STB whole system are migrated to respectively on the PC compiler, generation is suitable for the library file of PC, follow-up can use on the PC with STB on the interface of the same function name realized the picture point, setting-out, the UI effects such as image scaling demonstration, and the program after PC has carried out the UI exploitation is directly taken in the STB operation and also can be reached duplicate effect.So that can develop software in the situation that STB hardware does not have to complete, realize the synchronous exploitation of software and hardware, shortened software development cycle, reduce the human resources expense of company.The upper compiling of this external PC, the time that starts operation only needs the several seconds, far below the burning of the program of STB and the work of restarting of machine, has improved the development efficiency of software, reduces the maintenance cost of software.
Below in conjunction with specific embodiment realization of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow of the development approach at the set-top box users interface that the embodiment of the invention one provides, and details are as follows:
In step S101, PC PC generates the telepilot interface of PC end.
In the present embodiment, owing to need in the UI program of PC (Personal Computer, PC) exploitation STB, need the telepilot interface of exploitation PC end.
The layout at PC end interface comprises front panel front panel, UI interface and telepilot interface as shown in Figure 2.
Wherein, need to be at zone application Windows application programming interfaces (Windows API, the winapi) establishment at telepilot interface and a plurality of button button of the true the same quantity of telepilot, such as button1, button2......, the button key assignments of the corresponding true telepilot of difference.Like this when the user clicks a button with mouse, during such as directionkeys UP, in the IR module of PC end hardware abstraction layer HAL, can transmit to the UI program key assignments information of a UP, like this UI program just the logic by inside to self carrying out redirect and the operation at interface.
In step S102, PC compiles respectively presentation layer PL, Business Logic BLL, the tool layer UTILS that migrates to the set-top-box system on the PC compiler, generates PL program, libbll.a library file and libutils.a library file.
As shown in Figure 3, the STB whole system is divided into four layers.Wherein ground floor is the PL layer, and the PL layer here is presentation layer one class, mainly comprises the realization of UI and the logic function of function, and is irrelevant with system platform, can be grafted directly on the PC compiler to compile, and generates the PL program.
The second layer is BLL, is Business Logic, is the specific implementation of logic function in the PL layer, also is the concrete assembling of the 3rd layer interface.With platform independence, can be grafted directly on the PC compiler and compile the libbll.a library file that generation is corresponding.
The 3rd layer comprises UTILS, HAL and OSAL.
Wherein UTILS is tool layer, comprises printing and basic character string function translation interface, and is irrelevant with system platform, can be grafted directly on the PC compiler to compile, and generates the libutils.a library file.
OSAL is operating system layer, mainly comprise the modules such as internal memory memory module, thread thread module, semaphore semphore module, message module, timer module, mutual exclusion module, these modules are relevant with system platform, can not be grafted directly on the PC compiler and compile generation libosal.a file.
HAL is hardware abstraction layer, comprise graphics system (On Screen Graphic, OSG) module, infrared IR module, tuner tuner module, flash memory flash module, descrambling demultiplexing demux module, audio frequency and video av module, play module, record module etc., these modules are also relevant with system platform, can not be grafted directly to compile on the PC compiler to produce the libhal.a library file.
The 4th layer is system platform layer, generally comprises ST/BCM/MSTAR etc.Its effect mainly is to support the 3rd layer OSAL and the specific implementation of HAL in the STB system.
In step S103, PC simulates respectively realization to operating system layer OSAL and hardware abstraction layer HAL, after simulation realizes finishing, migrates to respectively on the PC compiler and compiles generation libosal.a library file and libhal.a library file.
The application program of normal STB=PL program+libbll.a+libutils.a+libosal.a+libhal.a.
Need to prove, each file that compiling generates or the name of program are not limited in the present embodiment, also can use other title, do not limit in the present embodiment.
As described in step S102, the part that can not directly transplant in the application program of normal STB is OSAL and HAL.Need first these two parts are simulated realization, wait simulation just can migrate on the PC compiler after finishing and compile, generate libosal.a library file and libhal.a library file.
For the OSAL part.OSAL=thread+semphore+memory etc.
Simulation for OSAL is embodied as:
The simulation of Memory module realizes: memory allocation function malloc and the internal memory release function that can use the window system function are simulated realization, eliminate the memory of bottom OSAL and the otherness of other platform.
The simulation realization of semphore module: adopt window system function CreateSemaphore(), WaitForSingleObject(), ReleaseSemaphore() simulate realization, the semphore of elimination bottom OSAL and the otherness of other platform.
The simulation of thread module realizes: adopt window system function CreateThread(), WaitForSingleObject(), CloseHandle() etc. simulate realization, eliminate the thread of bottom OSAL and the otherness of other platform.
The simulation of other parts realizes not repeating them here with upper similar.
After all modules among the OSAL are all finished the simulation realization, can be transplanted to and generate the libosal.a library file on the PC compiler.
For HAL part, HAL=OSG+IR+demux+tuner+flash+av.
For the realization of interface UI, the part that HAL must contain is OSG+IR+flash.
Wherein the OSG module plays the function that shows image etc., and the IR module plays the function of telepilot control UI operation, and the flash module plays the storage of database data and the function that reads.
For other nonessential module that contains, such as demux, tuner, av module, play because need to not simulate ASCII stream file ASCII, semaphore lock and program at PC.Do not carry out any variation for demux, tuner, external interface function definition and the naming method of av.Header file remains unchanged, and revises its inner realization.Directly get final product with statement return0 for its inside specific implementation, these modules just can compile and pass through like this.
Simulation realizes for needs part such as flash module, the simulation implementation is: header file remains unchanged, and simulates its inner realization.
The inner realization realized in the mode of reading file, detailed process is: define a bin file, the data such as preset value character string or program names are kept in the bin file, deposit according to the deposit data position of the upper flash of STB its deposit data position, when program start, open this bin file, carry out reading and preserving of data by the address.After simulation realized finishing, the flash module just can compile by and can normally use.
Simulation realizes for needs part such as IR module, the simulation implementation is: header file remains unchanged, and simulates its inner realization.
Inner performing step is:
The button key assignments that step 1, the telepilot key assignments that the PL layer of set-top-box system is received and described telepilot interface receive is bound;
Step 2, when pressing the button at described telepilot interface, make described IR module return the telepilot key assignments corresponding with described button key assignments to the PL layer that migrates to the set-top-box system on the described PC compiler.
Be exemplified below:
As described in step S101, use the window system function at the telepilot interface zone and draw a lot of button, button1, button2, button3......, the respectively key assignments of corresponding true telepilot.The telepilot key assignments that receives such as the PL layer in the true STB system is respectively stb_key1, stb_key2, and stb_key3 ... represent respectively numerical key 1,2,3....Button1, button2, button3...... and stb_key1, stb_key2, stb_key3 ... bind.During button on pressing the telepilot interface, the IR module is directly returned stb_key value corresponding to this button.As, the user clicks button3 with mouse, and then the IR module is returned the stb_key3 key assignments and is given the upper strata PL program migrate to PC, and upper strata PL program receives will press the mode that receives numerical key " 3 " behind the stb_key3 key assignments and process.After simulation realizes finishing, the IR module can compile by with normal use.
Simulation realizes for needs part such as OSG module, the simulation implementation is: header file remains unchanged, and simulates its inner realization.
The operations such as line drawing frame that stipple are adopted respectively windows system function SetPixel, MoveToEx, RoundRect etc.
OSG simulation can be carried out normal drawing function after realizing finishing, can compile after being transplanted on the compiler of PC end by with normal use.
When the simulation of all modules of HAL realize complete after.Whole HAL compiling just can produce the libhal.a library file.
After the compiling, the PC of generation application program=PL program+libbll.a+libutils.a+Libosal_pc+Libhal_pc.Because the application program of normal STB=PL program+libbll.a+libutils.a+libosal.a+libhal.a, so, after the simulation realization of HAL and OSAL is complete, Libosal_pc==libosal.a, Libhal_pc==libhal.a, so the application program of PC application program=normal STB just both can and be moved in the PC compiling for the PL program of work, also can be in STB compiling and operation.Because the PL program is to comprise the realization of UI and the logic function of function, therefore under window, the part (UI program) by UI in the coding PL program realizes can realize the exploitation at set-top box users interface under the windows.
In step S104, the button key assignments that PC will receive by the telepilot interface passes to user interface UI program in the described PL program by described libhal.a library file.
In step S105, PC generates the set-top box users interface according to described UI program.
In the present embodiment, the user can in PC end coding UI program, generate the set-top box users interface according to this UI program.Because the complete and set-top box end of the development environment simulation of PC end is identical, therefore, the UI program after the PC end is debugged successfully can be carried out normal compilation and operation by directly transplanting to set-top box end.
The present embodiment, can use on the PC with STB on the interface of the same function name realized the picture point, setting-out, UI effects such as image scaling demonstration, and the program after PC has carried out the UI exploitation is directly taken in the STB operation and also can be reached duplicate effect.So that can develop software in the situation that STB hardware does not have to complete, realize the synchronous exploitation of software and hardware, shortened software development cycle, reduce the human resources expense of company.The upper compiling of this external PC, the time that starts operation only needs the several seconds, far below the burning of the program of STB and the work of restarting of machine, has improved the development efficiency of software, reduces the maintenance cost of software.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the various embodiments described above method is to come the relevant hardware of instruction to finish by program, corresponding program can be stored in the computer read/write memory medium, described storage medium is such as ROM/RAM, disk or CD etc.
Embodiment two
Fig. 4 shows the concrete structure block diagram of the development device at the set-top box users interface that the embodiment of the invention two provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.The development device at this set-top box users interface can be the unit that is built in software unit, hardware cell or software and hardware combining among the PC, and this device 4 comprises: telepilot interface generation unit 41, the first compilation unit 42, the second compilation unit 43, key assignments transfer unit 44 and UI generation unit 45.
Wherein, telepilot interface generation unit 41 is used for generating the telepilot interface that PC holds;
The first compilation unit 42 is used for presentation layer PL, Business Logic BLL, the tool layer UTILS that migrates to the set-top-box system on the PC compiler compiled respectively, generates PL program, libbll.a library file and libutils.a library file;
The second compilation unit 43 is used for operating system layer OSAL and hardware abstraction layer HAL are simulated respectively realization, after simulation realizes finishing, migrates to respectively on the PC compiler and compiles generation libosal.a library file and libhal.a library file;
Key assignments transfer unit 44 is used for passing to by the button key assignments that the telepilot interface receives the user interface UI program of described PL program by described libhal.a library file;
UI generation unit 45 is used for generating the set-top box users interface according to described UI program.
Concrete, described telepilot interface generation unit 41 is at a plurality of button buttons of the zone at described telepilot interface application Windows application programming interfaces winapi establishment with the true the same quantity of telepilot, the respectively corresponding truly button key assignments of telepilot.
Concrete, described PC simulates operating system layer OSAL and realizes comprising: adopt window system of systems function to carry out respectively internal memory memory module, thread thread module, semaphore semphore module and simulate realization.
Concrete, described the second compilation unit 43 comprises:
The header file processing module is used for making the header file of all modules of described HAL to remain unchanged;
The first analog module, realize the inside that is used for the OSG of mimic diagram system module, infrared IR module, flash memory flash module;
The second analog module, the inside that is used for modification tuner tuner module, descrambling demultiplexing demux module and audio frequency and video av module is embodied as return0.
Concrete, described the first analog module comprises:
OSG module simulation submodule is used for adopting the inside of window system of systems functional simulation OSG module to realize;
IR module simulation submodule, being used for the button key assignments that telepilot key assignments that the PL layer with set-top-box system receives and described telepilot interface receive binds, when pressing the button at described telepilot interface, make described IR module return the telepilot key assignments corresponding with described button key assignments to the PL layer that migrates to the set-top-box system on the described PC compiler;
Flash module simulation submodule, be used for bin file of definition, the data such as preset value character string or program names are kept in the bin file, deposit according to the deposit data position of the upper flash of STB its deposit data position, when program start, open this bin file, carry out reading and preserving of data by the address.
The development device at the set-top box users interface that the embodiment of the invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details do not repeat them here referring to the description of above-described embodiment one.
The present embodiment, can use on the PC with STB on the interface of the same function name realized the picture point, setting-out, UI effects such as image scaling demonstration, and the program after PC has carried out the UI exploitation is directly taken in the STB operation and also can be reached duplicate effect.So that can develop software in the situation that STB hardware does not have to complete, realize the synchronous exploitation of software and hardware, shortened software development cycle, reduce the human resources expense of company.The upper compiling of this external PC, the time that starts operation only needs the several seconds, far below the burning of the program of STB and the work of restarting of machine, has improved the development efficiency of software, reduces the maintenance cost of software.
It should be noted that among the said system embodiment, included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the development approach at a set-top box users interface is characterized in that, described method comprises:
PC PC generates the telepilot interface of PC end;
Described PC compiles respectively presentation layer PL, Business Logic BLL, the tool layer UTILS that migrates to the set-top-box system on the PC compiler, generates PL program, libbll.a library file and libutils.a library file;
Described PC simulates respectively realization to operating system layer OSAL and hardware abstraction layer HAL, after simulation realizes finishing, migrates to respectively on the PC compiler and compiles generation libosal.a library file and libhal.a library file;
The button key assignments that described PC will receive by the telepilot interface passes to user interface UI program in the described PL program by described libhal.a library file;
Described PC generates the set-top box users interface according to described UI program.
2. the method for claim 1 is characterized in that, the telepilot interface that described PC PC generates the PC end comprises:
At a plurality of button buttons of the zone at described telepilot interface application Windows application programming interfaces winapi establishment with the true the same quantity of telepilot, the respectively corresponding truly button key assignments of telepilot.
3. method as claimed in claim 1 or 2 is characterized in that, described PC simulates operating system layer OSAL and realizes comprising:
Adopt window system of systems function to carry out respectively internal memory memory module, thread thread module, semaphore semphore module and simulate realization.
4. method as claimed in claim 1 or 2 is characterized in that, described PC simulates hardware abstraction layer HAL and realizes comprising:
The header file of all modules among the described HAL remains unchanged;
Realize the inside of the OSG of mimic diagram system module, infrared IR module, flash memory flash module;
The inside of revising tuner tuner module, descrambling demultiplexing demux module and audio frequency and video av module is embodied as return0.
5. method as claimed in claim 4 is characterized in that, the inside of the described mimic diagram OSG of system module realizes comprising:
Adopt the inside of window system of systems functional simulation OSG module to realize;
The inside of the infrared IR module of described simulation realizes comprising:
The button key assignments that the telepilot key assignments that the PL layer of set-top-box system is received and described telepilot interface receive is bound;
When pressing the button at described telepilot interface, make described IR module return the telepilot key assignments corresponding with described button key assignments to the PL layer that migrates to the set-top-box system on the described PC compiler;
The inside of described simulation flash memory flash module realizes comprising:
Define a bin file;
The data such as preset value character string or program names are kept in the bin file, and deposit according to the deposit data position of the upper flash of STB its deposit data position;
When program start, open bin file, carry out reading and preserving of data by the address.
6. the development device at a set-top box users interface is characterized in that, described device comprises:
Telepilot interface generation unit is used for generating the telepilot interface that PC holds;
The first compilation unit is used for presentation layer PL, Business Logic BLL, the tool layer UTILS that migrates to the set-top-box system on the PC compiler compiled respectively, generates PL program, libbll.a library file and libutils.a library file;
The second compilation unit is used for operating system layer OSAL and hardware abstraction layer HAL are simulated respectively realization, after simulation realizes finishing, migrates to respectively on the PC compiler and compiles generation libosal.a library file and libhal.a library file;
The key assignments transfer unit is used for passing to by the button key assignments that the telepilot interface receives the user interface UI program of described PL program by described libhal.a library file;
The UI generation unit is used for generating the set-top box users interface according to described UI program.
7. device as claimed in claim 6, it is characterized in that, described telepilot interface generation unit is at a plurality of button buttons of the zone at described telepilot interface application Windows application programming interfaces winapi establishment with the true the same quantity of telepilot, the respectively corresponding truly button key assignments of telepilot.
8. such as claim 6 or 7 described devices, it is characterized in that, described PC simulates operating system layer OSAL and realizes comprising:
Adopt window system of systems function to carry out respectively internal memory memory module, thread thread module, semaphore semphore module and simulate realization.
9. such as claim 6 or 7 described devices, it is characterized in that, described the second compilation unit comprises:
The header file processing module is used for making the header file of all modules of described HAL to remain unchanged;
The first analog module, realize the inside that is used for the OSG of mimic diagram system module, infrared IR module, flash memory flash module;
The second analog module, the inside that is used for modification tuner tuner module, descrambling demultiplexing demux module and audio frequency and video av module is embodied as return0.
10. device as claimed in claim 9 is characterized in that, described the first analog module comprises:
OSG module simulation submodule is used for adopting the inside of window system of systems functional simulation OSG module to realize;
IR module simulation submodule, being used for the button key assignments that telepilot key assignments that the PL layer with set-top-box system receives and described telepilot interface receive binds, when pressing the button at described telepilot interface, make described IR module return the telepilot key assignments corresponding with described button key assignments to the PL layer that migrates to the set-top-box system on the described PC compiler;
Flash module simulation submodule, be used for bin file of definition, the data such as preset value character string or program names are kept in the bin file, deposit according to the deposit data position of the upper flash of STB its deposit data position, when program start, open bin file, carry out reading and preserving of data by the address.
CN2013102137860A 2013-05-31 2013-05-31 Developing method and device of set top box user interface Pending CN103309663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102137860A CN103309663A (en) 2013-05-31 2013-05-31 Developing method and device of set top box user interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102137860A CN103309663A (en) 2013-05-31 2013-05-31 Developing method and device of set top box user interface

Publications (1)

Publication Number Publication Date
CN103309663A true CN103309663A (en) 2013-09-18

Family

ID=49134924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102137860A Pending CN103309663A (en) 2013-05-31 2013-05-31 Developing method and device of set top box user interface

Country Status (1)

Country Link
CN (1) CN103309663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669643A (en) * 2020-06-08 2020-09-15 深圳市天威视讯股份有限公司 IP type intelligent set top box and video playing method thereof
CN114528027A (en) * 2022-01-25 2022-05-24 深圳市优易控软件有限公司 Intelligent equipment response time improving method based on PC platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826012A (en) * 2010-01-18 2010-09-08 福建新大陆通信科技有限公司 Method for simulating set top box interface on PC
US20120105724A1 (en) * 2010-10-27 2012-05-03 Candelore Brant L TV Use Simulation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826012A (en) * 2010-01-18 2010-09-08 福建新大陆通信科技有限公司 Method for simulating set top box interface on PC
US20120105724A1 (en) * 2010-10-27 2012-05-03 Candelore Brant L TV Use Simulation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胡明辅: "Windows环境下数字电视机顶盒软件开发平台", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
范梅仙: "机顶盒软件开发仿真平台的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669643A (en) * 2020-06-08 2020-09-15 深圳市天威视讯股份有限公司 IP type intelligent set top box and video playing method thereof
CN114528027A (en) * 2022-01-25 2022-05-24 深圳市优易控软件有限公司 Intelligent equipment response time improving method based on PC platform

Similar Documents

Publication Publication Date Title
CN103383645B (en) Code generating method and system
CN110825362A (en) Low-code application software development system and method
CN104426967B (en) A kind of cross-platform and striding equipment mobile application development system
CN103761132B (en) Intelligent terminal starting-up animation play control method
CN110262818A (en) The hot update method of Java code, device, electronic equipment and storage medium
CN105824900A (en) Page display system based on react-native
CN103309659A (en) User interface dynamic generation method and device based on rich client platform
CN104516738A (en) Integrated implementing method for development and release of APP
CN101887464B (en) Method and device for displaying data in database
CN103544100A (en) Method, system and client side for testing APP of portable data processing equipment
CN104798036A (en) User interface control framework for stamping out controls using a declarative template
CN102880664A (en) Page editing method, device and system
Lincke et al. The Lively PartsBin--A Cloud-Based Repository for Collaborative Development of Active Web Content
Umuhoza et al. Automatic code generation for cross-platform, multi-device mobile apps: Some reflections from an industrial experience
CN102541561B (en) Method for developing configuration type software and device
CN102333246A (en) User interface system based on Flash middleware of set top box
CN103327080A (en) Method and device for establishing control system of internet of things
CN101951529A (en) Method and system for testing functions of set top box
CN103793219A (en) Mobile terminal application development system and method
Gebizli et al. Model-based software product line testing by coupling feature models with hierarchical markov chain usage models
CN108776592A (en) A kind of method, apparatus of page makeup, equipment and storage medium
CN107452069A (en) A kind of virtual house ornamentation system based on mobile Internet and cloud platform
CN103309663A (en) Developing method and device of set top box user interface
CN102081547A (en) Method for enhancing hardware universality of embedded type intelligent equipment
CN104133706B (en) Firmware modification method and firmware modification device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130918

RJ01 Rejection of invention patent application after publication