CN102014302A - Method for high-performance module scheduling of set-top box - Google Patents
Method for high-performance module scheduling of set-top box Download PDFInfo
- Publication number
- CN102014302A CN102014302A CN 201010567837 CN201010567837A CN102014302A CN 102014302 A CN102014302 A CN 102014302A CN 201010567837 CN201010567837 CN 201010567837 CN 201010567837 A CN201010567837 A CN 201010567837A CN 102014302 A CN102014302 A CN 102014302A
- Authority
- CN
- China
- Prior art keywords
- module
- agreement
- quasi
- data
- top box
- 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
Landscapes
- Computer And Data Communications (AREA)
- Multi Processors (AREA)
Abstract
The invention provides a method for the high-performance module scheduling of a set-top box. In the method, a class protocol processing mechanism is designed, interaction of using the data and functions of each module is finished by a class protocol processor engine of the set-top box, the data and functions of each module and the class protocol processor engine are processed in a protocol way, all modules are directly complementarily called and are uniformly called by the engine, and simultaneously, the engine has good module access interfaces so as to conveniently expand various functions. The method solves problems on the conventional development of the functional modules on the set-top box of a digital television, realizes the calling of the functions by using a great number of functional application programming interfaces (api), greatly increases the module writing speed, and improves the performance of the set-top box as the modules are directly complementarily called.
Description
[technical field]
The present invention relates to a kind of field of embedded technology, especially a kind of method of set-top box high-performance module schedules particularly belongs to the field of set-top technology.
[background technology]
Current set-top box functionality develops towards the direction of diversification, USB wherein, network, video request program, senior functions such as video record playback more and more appear in the set-top box, this makes the software of set-top box become and becomes increasingly complex, particularly after the integration of three networks, the function of set-top box has extended to the Internet and telecommunications network from field of broadcast televisions originally quickly, video telephone, home gateway, new functions such as family's security protection become increasingly complex, this makes the original software architecture that comes based on microcontroller embedded system development can't satisfy the current and following software requirement far away, and what this was just very urgent requires us to seek the demand that a kind of new software architecture satisfies growing set-top box software.
The exploitation of functional module on traditional digital TV set-top box, a large amount of use api function interfaces are realized calling of function, cause each module to need other modules that a large amount of api function interfaces is provided, must understand the effect of other modules api function interface simultaneously in advance, and method of calling, after module is more and more, cause the developer need send out a large amount of time of expense and remove to understand the function interface and the method for calling of other modules as possible, greatly reduce the speed that module is write, module is directly called mutually and is caused module can't determine the invoked situation of synchronization simultaneously, may cause the deadlock or the other problems of inside modules program.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of method of set-top box high-performance module schedules, has overcome the deficiency of conventional art, has improved the speed that module is write.
The present invention is achieved in that a kind of method of set-top box high-performance module schedules, may further comprise the steps:
A kind of method of set-top box high-performance module schedules is characterized in that: may further comprise the steps:
The present invention has following advantage: the present invention has designed the mechanism that quasi-protocol is handled, use the data and the mutual of function of each module all to finish by the quasi-protocol processor engine of set-top box, and the mode of the data of each module and quasi-protocol processor engine and function use agreement is handled, the direct complementation of each module is called, by the unified scheduling of engine, engine has good module access interface simultaneously, can expand various functions easily.The present invention has overcome the exploitation of functional module on traditional digital TV set-top box, and a large amount of use api function interfaces are realized calling of function, have improved the speed that module is write greatly, and the performance that has improved set-top box is called in the direct complementation of each module simultaneously.
[description of drawings]
Fig. 1 is the inventive method schematic flow sheet.
[embodiment]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings:
A kind of method of set-top box high-performance module schedules may further comprise the steps:
Finish the function of oneself when first module after, when data after handling are returned to the described request module, first module at first sends respective request to the quasi-protocol processor engine, notice for this agreement complete operation need return data, at this moment the size of data after the quasi-protocol processor engine respective request judgment processing of sending according to module, whether the time of judge transmitting described data is greater than set-top box cpu running time, not, then give the described request module data passes by described master agreement processor, be that then the quasi-protocol processor engine distributes a functional module protocol processing unit, two modules are associated temporarily, carry out the mutual of data, after finishing data interaction, the quasi-protocol processor engine reclaims the functional module protocol processing unit;
Wherein when the required data of the request module of set-top box want second module to provide, data after second resume module are sent to the quasi-protocol processor engine in the mode of described agreement, the request module that needs data by the inquiry of quasi-protocol processor engine, described agreement is sent to request module, if this request module is not before to carrying out the location registration process mistake to this agreement, the quasi-protocol processor engine will be according to the priority of each module registration, this agreement is mass-sended all modules, when module can be handled this agreement, to return an information notice quasi-protocol processor engine, the agreement that the quasi-protocol processor engine can be handled dynamic registration.
The invention will be further described to lift a specific embodiment below.
Therefore in the postulated mechanism top box a module, b module, c module, d module, x agreement are arranged, the b module has been registered its x agreement that can handle, and c module and d module have been registered the x agreement that result is received; It can the handled x agreement of a module be " a pat table Data Receiving agreement ", and a module is " a pat monitoring module ", and the b module is " a pat receiver module ", and the c module is " Conditional Access Module ", and the d module is " a data broadcasting module ";
A module (pat monitoring module, i.e. request module) regularly to quasi-protocol processor engine request x agreement (pat table Data Receiving agreement), is used for analyzing pat table data and judges whether program has renewal; The quasi-protocol processor engine monitors b module (pat receiver module) and has registered processing to x agreement (pat table Data Receiving agreement), the quasi-protocol processor engine sends to b module (pat receiver module) to the x agreement and handles, after b module (pat receiver module) receives the x agreement of quasi-protocol processor engine request, acquire the pat data by the top-set hardware driving, and result fed back to the quasi-protocol processor engine, the quasi-protocol processor engine is given a resume module (pat monitoring module) data of b resume module; It is after b module (pat receiver module) is finished the function of oneself, when data after handling are returned to a resume module (pat monitoring module), b module (pat receiver module) at first sends respective request to the quasi-protocol processor engine, notice x agreement (pat table Data Receiving agreement) complete operation needs return data, at this moment the size of data after the quasi-protocol processor engine respective request judgment processing of sending according to b module (pat receiver module), whether the time of judge transmitting described data is greater than set-top box cpu running time, not, then give the described request module data passes by described master agreement processor, be that then the quasi-protocol processor engine distributes a functional module protocol processing unit, a module and b module are associated temporarily, carry out the mutual of data, after finishing data interaction, the quasi-protocol processor engine reclaims the functional module protocol processing unit;
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 method for a set-top box high-performance module schedules is characterized in that: may further comprise the steps:
Step 10, in set-top box the design quasi-protocol processor engine, described quasi-protocol processor engine comprises a master agreement processor, described master agreement processor is used to finish the scheduling to institute's protocols having on the set-top box;
Step 20, in set-top box the agreement of definition set-top box each functional module, the agreement of described each functional module is a character string or a data sequence, the form of described agreement is: protocol type, protocol parameter, the attached option of agreement; During set-top-box opening, in the quasi-protocol processor engine, first module has been registered its agreement that can handle to all functional modules with its protocol registration that can handle of correspondence, and second module and three module have been registered this agreement that result is received;
Step 30, one request module is when the described agreement of set-top box quasi-protocol processor engine request, set-top box quasi-protocol processor engine monitors first module and has registered its described agreement that can handle, then the quasi-protocol processor engine sends to first resume module with this agreement, after first module receives this agreement of quasi-protocol processor engine request, obtain the required data of described request module by the top-set hardware driving, and data are transferred to first resume module, result after first resume module feeds back to the quasi-protocol processor engine, and the quasi-protocol processor engine is given the described request resume module data of first resume module;
Step 40, after the intact required data of described request resume module, described quasi-protocol processor engine judges whether that according to the attached option of described agreement the data result after the described request resume module is sent to second module and three module is handled.
2. the method for a kind of set-top box high-performance module schedules according to claim 1, it is characterized in that: when the required data of the request module of set-top box want second module to provide, data after second resume module are sent to the quasi-protocol processor engine in the mode of described agreement, the request module that needs data by the inquiry of quasi-protocol processor engine, described agreement is sent to request module, if this request module is not before to carrying out the location registration process mistake to this agreement, the quasi-protocol processor engine will be according to the priority of each module registration, this agreement is mass-sended all modules, when module can be handled this agreement, to return an information notice quasi-protocol processor engine, the agreement that the quasi-protocol processor engine can be handled dynamic registration.
3. the method for a kind of set-top box high-performance module schedules according to claim 1, it is characterized in that: described quasi-protocol is handled and is comprised a plurality of functional module protocol processing unit, described functional module protocol processing unit be the data time that transmits between data processing module of request msg module and finishing greater than set-top box cpu during running time, the direct treatment channel that provides.
4. the method for a kind of set-top box high-performance module schedules according to claim 3, it is characterized in that: step 30 further comprises: finish the function of oneself when first module after, when data after handling are returned to the described request module, first module at first sends respective request to the quasi-protocol processor engine, notice for this agreement complete operation need return data, at this moment the size of data after the quasi-protocol processor engine respective request judgment processing of sending according to module, whether the time of judge transmitting described data is greater than set-top box cpu running time, not, then give the described request module data passes by described master agreement processor, be that then the quasi-protocol processor engine distributes a functional module protocol processing unit, two modules are associated temporarily, carry out the mutual of data, after finishing data interaction, the quasi-protocol processor engine reclaims the functional module protocol processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010567837A CN102014302B (en) | 2010-12-01 | 2010-12-01 | Method for high-performance module scheduling of set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010567837A CN102014302B (en) | 2010-12-01 | 2010-12-01 | Method for high-performance module scheduling of set-top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102014302A true CN102014302A (en) | 2011-04-13 |
CN102014302B CN102014302B (en) | 2012-10-03 |
Family
ID=43844287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010567837A Expired - Fee Related CN102014302B (en) | 2010-12-01 | 2010-12-01 | Method for high-performance module scheduling of set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102014302B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131881A (en) * | 2019-12-30 | 2020-05-08 | 深圳Tcl数字技术有限公司 | PVR (personal video recorder) recording method, smart television and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5546584A (en) * | 1992-07-01 | 1996-08-13 | Lundin; Kenneth | System and method for establishing communication protocols between application programs |
US5946487A (en) * | 1996-06-10 | 1999-08-31 | Lsi Logic Corporation | Object-oriented multi-media architecture |
CN101135889A (en) * | 2007-09-30 | 2008-03-05 | 重庆邮电大学 | A EPA Field Controller Based on SOPC |
CN101604259A (en) * | 2009-06-10 | 2009-12-16 | 深圳市共进电子有限公司 | A kind of method of the multi-process synchronous scheduling based on embedded system |
-
2010
- 2010-12-01 CN CN201010567837A patent/CN102014302B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5546584A (en) * | 1992-07-01 | 1996-08-13 | Lundin; Kenneth | System and method for establishing communication protocols between application programs |
US5946487A (en) * | 1996-06-10 | 1999-08-31 | Lsi Logic Corporation | Object-oriented multi-media architecture |
CN101135889A (en) * | 2007-09-30 | 2008-03-05 | 重庆邮电大学 | A EPA Field Controller Based on SOPC |
CN101604259A (en) * | 2009-06-10 | 2009-12-16 | 深圳市共进电子有限公司 | A kind of method of the multi-process synchronous scheduling based on embedded system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131881A (en) * | 2019-12-30 | 2020-05-08 | 深圳Tcl数字技术有限公司 | PVR (personal video recorder) recording method, smart television and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102014302B (en) | 2012-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2546598C (en) | Methods and apparatus for hardware registration in a network device | |
US8572645B2 (en) | IPTV and method for controlling emergency alert system widget in IPTV | |
CN104904230B (en) | Apparatus and method for processing interactive service | |
JP5323919B2 (en) | Method and apparatus for communication of notifications | |
US20110302274A1 (en) | Architecture of a network device for processing applications, and control method for the network device | |
CN102098575B (en) | Migration method compatible with multiple conditional access (CA) systems and CA method | |
CN1430838A (en) | Apparatus and method for improved device interoperability | |
Bae et al. | Home server for home digital service environments | |
US20130182192A1 (en) | Method for moving pointer in video display apparatus and video display apparatus thereof | |
CN102362506A (en) | Request signal of an image program according to specific input sources based on the received list to the external display devices | |
CN101720036A (en) | System for distributing DVB data to multiple users | |
CN101202919B (en) | Digital television receiver and intermediate part | |
CN103269450B (en) | A kind of multimedia system towards Android intelligent television | |
CN110737519A (en) | theme switching method and device | |
US8176343B2 (en) | Method for providing information for power management of devices on a network | |
CN102014302B (en) | Method for high-performance module scheduling of set-top box | |
CN101201755A (en) | Method, system and equipment for managing software module of digital receiving terminal | |
CN101453654A (en) | Method for executing application program in service | |
CN106534889A (en) | Real-time streaming media multipath forwarding control method based on loop buffer | |
CN100538622C (en) | A kind of method that improves incident transmission and processing in the apparatus of digital television receiving | |
CN110602558A (en) | High-performance DVB program sharing method for terminal | |
US8923319B1 (en) | Method and system for prioritizing initial maintenance of cable modems | |
CN101931787A (en) | Method, device and system for controlling multicast programs | |
CN101304473B (en) | A method for maintaining session information of two-way set-top boxes based on hash table | |
CN102244822A (en) | Remote broadcast control method in IPTV (Internet Protocol Television) system, device and system thereof |
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: 20121003 Termination date: 20191201 |
|
CF01 | Termination of patent right due to non-payment of annual fee |