CN102014302B - 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
- CN102014302B CN102014302B CN201010567837A CN201010567837A CN102014302B CN 102014302 B CN102014302 B CN 102014302B CN 201010567837 A CN201010567837 A CN 201010567837A CN 201010567837 A CN201010567837 A CN 201010567837A CN 102014302 B CN102014302 B CN 102014302B
- Authority
- CN
- China
- Prior art keywords
- module
- agreement
- quasi
- data
- processor engine
- 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
Images
Landscapes
- Multi Processors (AREA)
- Computer And Data Communications (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 STB 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; Premium Features are increasing appears in the STB in video record playback etc., and this makes the software of STB become and becomes increasingly complex, particularly after the integration of three networks; The function of STB has extended to internet and telecommunications network from field of broadcast televisions originally quickly; Videophone, 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 DTV STB; 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, and 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 function interface and method of calling that the expense great amount of time goes to understand other modules as possible, greatly reduce the speed that module is write; Module is directly called each other and is caused module can't confirm the invoked situation of synchronization simultaneously, possibly cause the deadlock or the other problems of inside modules program.
[summary of the invention]
The technical matters that the present invention will solve is to provide a kind of method of STB 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 STB high-performance module schedules, may further comprise the steps:
A kind of method of STB 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 accomplish through the quasi-protocol processor engine of STB; And the mode of the data of each module and quasi-protocol processor engine and function use agreement is handled, and the direct complementation of each module is called, by the engine uniform dispatching; Engine has good module access interface simultaneously, can expand various functions easily.The present invention has overcome the exploitation of functional module on traditional DTV STB, 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 STB is called in the direct complementation of each module simultaneously.
[description of drawings]
Fig. 1 is the inventive method schematic flow sheet.
[embodiment]
Combine embodiment that the present invention is further described with reference to the accompanying drawings:
A kind of method of STB high-performance module schedules may further comprise the steps:
Accomplish the function of oneself when first module after, when returning to the described request module to data after handling, first module is at first sent 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 judges that the time of transmitting said data is whether greater than STB cpu working time, not; Then give the described request module data transfer through said master agreement processor; Be that then the quasi-protocol processor engine distributes a functional module protocol processing unit, associate two modules temporarily, carry out the mutual of data; After accomplishing data interaction, the quasi-protocol processor engine reclaims the functional module protocol processing unit;
Wherein when the required data of the request module of STB want second module to provide; Send to the quasi-protocol processor engine to the data after second resume module with the mode of said agreement, need the request module of data, send to request module to said agreement by the inquiry of quasi-protocol processor engine; 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 mass-sended all modules to this agreement, when module can be handled this agreement according to the priority of each module registration; To return an information notice quasi-protocol processor engine, the agreement that the quasi-protocol processor engine can be handled dynamic registration.
Lifting a specific embodiment below is described further the present invention.
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 the 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 through the top-set hardware driving; And feeding back to the quasi-protocol processor engine to result, the quasi-protocol processor engine is given a resume module (pat monitoring module) data of b resume module; After it accomplishes the function of oneself when b module (pat receiver module); When returning to a resume module (pat monitoring module) to data after handling; B module (pat receiver module) is at first sent respective request to the quasi-protocol processor engine, and 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 said data is greater than STB cpu working time; Not, then giving the described request module data transfer through said master agreement processor, is that then the quasi-protocol processor engine distributes a functional module protocol processing unit; Associate a module and b module temporarily; Carry out the mutual of data, after accomplishing data interaction, the quasi-protocol processor engine reclaims the functional module protocol processing unit;
The above is merely preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.
Claims (4)
1. the method for a STB high-performance module schedules is characterized in that: may further comprise the steps:
Step 10, in STB the design quasi-protocol processor engine, described quasi-protocol processor engine comprises a master agreement processor, said master agreement processor is used to accomplish the scheduling of STB being attend institute's protocols having;
Step 20, in STB the agreement of definition STB each functional module, the agreement of said each functional module is a character string or a data sequence, the form of said 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, a request module are when the agreement of STB quasi-protocol processor engine request first module registration; STB quasi-protocol processor engine monitors first module and has registered its said 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 through 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, said quasi-protocol processor engine judges whether the data result after the described request resume module is sent to second module and three module is handled according to the attached option of the agreement of first module registration.
2. the method for a kind of STB high-performance module schedules according to claim 1; It is characterized in that: when the required data of the request module of STB want second module to provide; Send to the quasi-protocol processor engine to the data after second resume module with the mode of the agreement of first module registration, need the request module of data by the inquiry of quasi-protocol processor engine, the agreement of registering first module sends to request module; If this request module was not before carried out the location registration process mistake to this agreement; The quasi-protocol processor engine will be mass-sended all modules to this agreement, when module can be handled this agreement according to the priority of each module registration; 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 STB high-performance module schedules according to claim 1; It is characterized in that: described quasi-protocol processor engine comprises a plurality of functional module protocol processing unit; Said functional module protocol processing unit be the data time that transmits between data processing module of request msg module and accomplish greater than STB cpu during working time, the direct treatment channel that provides.
4. the method for a kind of STB high-performance module schedules according to claim 3; It is characterized in that: step 30 further comprises: accomplish the function of oneself when first module after, when returning to the described request module to data after handling, first module is at first sent 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 judges that the time of transmitting said data is whether greater than STB cpu working time, not; Then give the described request module data transfer through said master agreement processor; Be that then the quasi-protocol processor engine distributes a functional module protocol processing unit, associate two modules temporarily, carry out the mutual of data; After accomplishing 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 CN102014302A (en) | 2011-04-13 |
CN102014302B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131881B (en) * | 2019-12-30 | 2022-09-02 | 深圳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 |
Also Published As
Publication number | Publication date |
---|---|
CN102014302A (en) | 2011-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104412603B (en) | It handles the method for interactive service and receives the device of interactive service | |
KR101874142B1 (en) | Apparatus and method for providing an application service in a broadcast system | |
US20100186029A1 (en) | IPTV and method for controlling emergency alert system widget in IPTV | |
US20150082367A1 (en) | Reception apparatus, reception method, program, and information processing system | |
US20130182192A1 (en) | Method for moving pointer in video display apparatus and video display apparatus thereof | |
CN101505405A (en) | Digital media content playing method and system based on content indexing | |
CN104410917A (en) | Realization method for cable interactive television cross-domain video service connection system | |
CN103269450B (en) | A kind of multimedia system towards Android intelligent television | |
CN102014302B (en) | Method for high-performance module scheduling of set-top box | |
CN102149013B (en) | Data processing system and method for digital television as well as digital television receiving terminal | |
CN103685303A (en) | Method and system for processing connection content delivery network | |
CN101765005A (en) | Method for realizing data transmission by utilizing TS-packet continuous null bytes in DVB | |
KR20110070550A (en) | Video stream transmission device and method | |
CN101453654A (en) | Method for executing application program in service | |
CN1572074A (en) | Control multiple nodes divided into groups to execute messages only once, or use SNMP or a combination thereof | |
CN101277426A (en) | Method and system for transmitting message based on network television system | |
CN100538622C (en) | A kind of method that improves incident transmission and processing in the apparatus of digital television receiving | |
CN106534889A (en) | Real-time streaming media multipath forwarding control method based on loop buffer | |
CN110602558A (en) | High-performance DVB program sharing method for terminal | |
US8923319B1 (en) | Method and system for prioritizing initial maintenance of cable modems | |
KR20120039980A (en) | Apparatus and method for distributing intrgrated broadcast | |
CN101931787B (en) | Method, device and system for controlling multicast programs | |
CN101217661A (en) | Inter-network packet modifier and related method thereof | |
CN1175838A (en) | Method and system for extracting control information from packet data received by communication interface device | |
CN107770131A (en) | Stream media recording method based on nginx servers |
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 |