CN101924865A - Method for quickly obtaining data of set top box - Google Patents
Method for quickly obtaining data of set top box Download PDFInfo
- Publication number
- CN101924865A CN101924865A CN 201010248995 CN201010248995A CN101924865A CN 101924865 A CN101924865 A CN 101924865A CN 201010248995 CN201010248995 CN 201010248995 CN 201010248995 A CN201010248995 A CN 201010248995A CN 101924865 A CN101924865 A CN 101924865A
- Authority
- CN
- China
- Prior art keywords
- data
- top box
- demultiplexing module
- internal memory
- receive
- 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
Landscapes
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method for quickly obtaining data of a set top box, which comprises the following steps of: starting up a demultiplexing module of the set top box to receive a control block of data; dynamically distributing the internal memory which is 1.5-2.5 times as the size as the date from the system; configuring the distributed internal memory to be a buffer receiving zone of the demultiplexing module for receiving the data; writing the date with a plurality of bytes into the place which is far away from the end of the dynamically distributed internal memory to be taken as the mark of a buffer zone; arranging the demultiplexing module to receive all portioning data, wherein a receiving mode is an uninterrupted receiving mode; and directly sending the received data into the corresponding buffer zone of the module before stopping the demultiplexing module, etc. The method receives the data with a cascade receiving principle, and receives a plurality of parallel unreceived data, thereby improving the whole receiving speed.
Description
[technical field]
The present invention relates to the method that a kind of data of set top box obtains fast.
[background technology]
Develop rapidly along with digital television techniques, digital TV set-top box is as more and more entering into common people house, except TV reception, operator provides increasing new function, and wherein a lot of functions all need to transmit lot of data to set-top box.How to receive the theme that these data become each big set-top box research fast.
Because the data of operator are to use wheel to broadcast mechanism when transmitting, and promptly adopt and play from the beginning to the end one time, play again then, constantly the mode of circulation.Therefore need receive one by one in order when the conventional digital TV set-top box need receive the feature documentation that operator provides, or carry out the whole reception of data.If according to receiving one by one, after receiving data, need to handle accordingly, then receive next data then, because data need the cause in processing time, can cause the program of the data correspondence that needs reception to play, can only wait for when next round is play and to receive; And if the whole reception of data, owing to need the data that receive be analyzed, operations such as arrangements can cause receiving identical data in a large number, cause whole receiving course slower.
Because the mode that most big data generally use controll block to add data block in the function that provides of operator transmits, controll block has been described situations such as the size that transmits data, piecemeal.The present invention is according to these characteristics, the method that provides a kind of data of set top box to obtain fast.
[summary of the invention]
The method that provides a kind of data of set top box to obtain fast is provided the technical problem to be solved in the present invention, adopts waterfall to receive principle and comes data are received, and then the data that also do not receive is carried out the mode of a plurality of parallel receives, has improved whole inbound pacing.
The present invention is achieved in that the method that a kind of data of set top box obtains fast, and it comprises the steps:
Step 10, set-top box program be the controll block of the demultiplexing module reception data of starter motor top box at first, and described controll block is to describe the size and the piecemeal situation of big data (referring to the data that data volume is bigger);
The size of the data that the needs that step 20, set-top box program are come out according to the controll block information analysis are accepted, dynamic assignment goes out size of data 1.5-2.5 internal memory doubly from system, is the memory configurations that distributes to accept the reception buffering area of the demultiplexing module of data;
Step 30, write the data of some bytes as buffer tag in the place of the terminal segment distance of the internal memory that obtains from dynamic assignment;
Step 40, demultiplexing module is set receives all block datas, receiving mode is uninterrupted receiving mode, and before demultiplexing module stops, the data that receive is directly sent in the corresponding buffering area of module;
Step 50, set-top box program real time monitoring buffer tag if find that buffer tag is rewritten, think that then the data that receive have surpassed the scope that needs reception, then stop the Data Receiving of demultiplexing module by the set-top box program;
Step 60, the dynamic assignment of set-top box routine call at this moment function are used for storing final data to be assigned to and will to receive the corresponding internal memory of size of data; Data in the analysis buffers simultaneously after each section data analyzed, are placed on data on the relevant position of internal memory of final storage data; After all being received section data in buffering areas and all having analyzed, add up and also have which section not to be received, perhaps data are damaged, carry out record to these section numbers, set up one need reception the section segment table;
Step 70, release receive the internal memory of buffering area, the size that the reception buffer of each demultiplexing module is set simultaneously is the size of a section, being configured to receive section data just stops to receive automatically, and call call back function analysis, the section segment table of Jie Shouing as required, a plurality of demultiplexing module of parallel starting;
Step 80, etc. the reception of pending data; When receiving data, analyzing the back inserts it on the relevant position of internal memory of final storage data, discharge its shared demultiplexing module simultaneously, demultiplexing module is set starts obtaining the section that describes in the next section segment table, all receive up to all data, be filled on the relevant position of internal memory of final storage data, the data of at this moment finally storing in the internal memory of data are exactly the big data that provide of needed certain function.
Wherein, in the described step 30, the place that is used to write buffer tag is greater than more than 1 times and less than 70% the place of removing remaining space beyond 1 times of space of received data size, prevent that the buffer tag position from excessively before causing the data of reception incomplete, after the buffer tag position, close the time delays between the demultiplexing module owing to certification mark is destroyed, the data that cause reception are overflowed whole buffering area and are caused destruction to the set-top box program.
The present invention has following advantage: this mode has been utilized data use wheel broadcast mode broadcast in DVB (digital video broadcasting) transfer of data, the characteristics of the general continuous broadcast of homogeneous data of the same race, and the principle of having used waterfall to receive receives most data.Signal can not be interfered when maximum conditions and in the process of the data of reception, in the time of at this moment can realizing receiving data and surpass buffer tag, reception be exactly whole data, only need to analyze, filling can obtain desired final data.In the ordinary course of things, the process signal that transmits might be interfered, cause when receiving data above buffer tag, some data is not received, the 1.5-2.5 that the perhaps situation of corrupted data, the buffering area that is provided with among the present invention are generally real data doubly allows receive data repeatability is arranged exactly, guarantee can reduce as far as possible that twinkling signal disturbs and the data that cause are not received, perhaps the situation of corrupted data.Even finally data are not received or along bad, used parallel mode to carry out special reception according to the data of data of not receiving or damage more in addition, reached the purpose of complete reception data.
[embodiment]
Because the mode that most big data (referring to the data that data volume is bigger) generally use controll block to add data block in the function that provides of operator transmits, wherein controll block has been described situations such as the size that transmits data, piecemeal.The present invention is according to these characteristics, the method that provides a kind of data of set top box to obtain fast, and this method comprises the steps:
Step 10, set-top box program be the controll block of the demultiplexing module reception data of starter motor top box at first;
The size of the data that the needs that step 20, set-top box program are come out according to the controll block information analysis are accepted, dynamic assignment goes out size of data 1.5-2.5 internal memory (concrete multiple is according to the size decision of system's free memory) doubly from system, is the memory configurations that distributes to accept the reception buffering area of the demultiplexing module of data;
Step 30, write the data of some bytes as buffer tag in the place of the terminal segment distance of the internal memory that obtains from dynamic assignment; Wherein, the place that is used to write buffer tag is greater than more than 1 times and less than 70% the place of removing remaining space beyond 1 times of space of received data size, prevent that the buffer tag position from excessively before causing the data of reception incomplete, after the buffer tag position, close the time delays between the demultiplexing module owing to certification mark is destroyed, the data that cause reception are overflowed whole buffering area and are caused destruction to the set-top box program.
Step 40, demultiplexing module is set receives all block datas, receiving mode is uninterrupted receiving mode, and before demultiplexing module stops, the data that receive are directly sent in the corresponding buffering area of module, rather than resemble of the prior artly when receiving section data, just call the call back function deal with data;
Step 50, set-top box program real time monitoring buffer tag if find that buffer tag is rewritten, think that then the data that receive have surpassed the scope that needs reception, then stop the Data Receiving of demultiplexing module by the set-top box program;
Step 60, the dynamic assignment of set-top box routine call at this moment function are used for storing final data to be assigned to and will to receive the corresponding internal memory of size of data; Data in the analysis buffers simultaneously after each section data analyzed, are placed on data on the relevant position of internal memory of final storage data; After all being received section data in buffering areas and all having analyzed, add up and also have which section not to be received, perhaps data are damaged, carry out record to these section numbers, set up one need reception the section segment table;
Step 70, release receive the internal memory of buffering area, the size that the reception buffer of each demultiplexing module is set simultaneously is the size of a section, being configured to receive section data just stops to receive automatically, and call call back function analysis, according to the described section segment table that needs reception, a plurality of demultiplexing module of parallel starting (number of enabling demultiplexing module is by the assignable resource decision of system);
Step 80, etc. the reception of pending data; When receiving data, analyzing the back inserts it on the relevant position of internal memory of final storage data, discharge its shared demultiplexing module simultaneously, demultiplexing module is set starts obtaining the section that describes in the next section segment table, all receive up to all data, be filled on the relevant position of internal memory of final storage data, the data of at this moment finally storing in the internal memory of data are exactly the big data that provide of needed certain function.
In sum, the inventive method has been utilized data use wheel broadcast mode broadcast in the DVB transfer of data, the characteristics of the general continuous broadcast of homogeneous data of the same race, and the principle of having used waterfall to receive receives most data. Signal can not be interfered when maximum conditions and in the process of the data of reception, in the time of at this moment can realizing that receive data surpasses buffer tag, reception be exactly whole data, only need to analyze, filling can obtain desired final data. In the ordinary course of things, the process signal that transmits might be interfered, cause when receive data surpasses buffer tag, some data is not received, the 1.5-2.5 that the perhaps situation of corrupted data, the buffering area that arranges among the present invention are generally real data doubly allows receive data that repeatability is arranged exactly, guarantee can reduce as far as possible that twinkling signal disturbs and the data that cause are not received, perhaps the situation of corrupted data. Even finally data are not received or along bad, used parallel mode to carry out special reception according to the data of the data of not receiving or damage more in addition, reached the purpose of complete receive data.
Claims (2)
1. the method that data of set top box obtains fast is characterized in that: comprise the steps:
Step 10, set-top box program be the controll block of the demultiplexing module reception data of starter motor top box at first;
The size of the data that the needs that step 20, set-top box program are come out according to the controll block information analysis are accepted, dynamic assignment goes out size of data 1.5-2.5 internal memory doubly from system, is the memory configurations that distributes to accept the reception buffering area of the demultiplexing module of data;
Step 30, write the data of some bytes as buffer tag in the place of the terminal segment distance of the internal memory that obtains from dynamic assignment;
Step 40, demultiplexing module is set receives all block datas, receiving mode is uninterrupted receiving mode, and before demultiplexing module stops, the data that receive is directly sent in the corresponding buffering area of module;
Step 50, set-top box program real time monitoring buffer tag if find that buffer tag is rewritten, think that then the data that receive have surpassed the scope that needs reception, then stop the Data Receiving of demultiplexing module by the set-top box program;
Step 60, the dynamic assignment of set-top box routine call at this moment function are used for storing final data to be assigned to and will to receive the corresponding internal memory of size of data; Data in the analysis buffers simultaneously after each section data analyzed, are placed on data on the relevant position of internal memory of final storage data; After all being received section data in buffering areas and all having analyzed, add up and also have which section not to be received, perhaps data are damaged, carry out record to these section numbers, set up one need reception the section segment table;
Step 70, release receive the internal memory of buffering area, the size that the reception buffer of each demultiplexing module is set simultaneously is the size of a section, being configured to receive section data just stops to receive automatically, and call call back function analysis, the section segment table of Jie Shouing as required, a plurality of demultiplexing module of parallel starting;
Step 80, etc. the reception of pending data; When receiving data, analyzing the back inserts it on the relevant position of internal memory of final storage data, discharge its shared demultiplexing module simultaneously, demultiplexing module is set starts obtaining the section that describes in the next section segment table, all receive up to all data, be filled on the relevant position of internal memory of final storage data, the data of at this moment finally storing in the internal memory of data are exactly the big data that provide of needed certain function.
2. the method that data of set top box according to claim 1 obtains fast is characterized in that:
In the described step 30, the place that is used to write buffer tag is greater than more than 1 times and less than 70% the place of removing remaining space beyond 1 times of space of received data size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102489955A CN101924865B (en) | 2010-08-10 | 2010-08-10 | Method for quickly obtaining data of set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102489955A CN101924865B (en) | 2010-08-10 | 2010-08-10 | Method for quickly obtaining data of set top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101924865A true CN101924865A (en) | 2010-12-22 |
CN101924865B CN101924865B (en) | 2012-01-25 |
Family
ID=43339485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102489955A Expired - Fee Related CN101924865B (en) | 2010-08-10 | 2010-08-10 | Method for quickly obtaining data of set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101924865B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244815A (en) * | 2011-06-30 | 2011-11-16 | 南京熊猫信息产业有限公司 | Method for accelerating data reception of low-end digital set-top box chip by adopting parity channel filter |
CN102710981A (en) * | 2012-05-08 | 2012-10-03 | 深圳市九洲电器有限公司 | Set top box-based method and device for receiving and processing data |
CN113225508A (en) * | 2021-04-29 | 2021-08-06 | 中山亿联智能科技有限公司 | Section acquisition method based on recording mode |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1368681A (en) * | 2001-02-07 | 2002-09-11 | 北京算通数字技术研究中心有限公司 | Date receiving method based on CPU able to receive basic data stream |
US20050036453A1 (en) * | 2003-08-15 | 2005-02-17 | Kevin Lin | Controlling method and device for data transmission |
CN1988656A (en) * | 2005-12-23 | 2007-06-27 | 上海全景数字技术有限公司 | Soft multiplexing method and device for multiple path transmission flow |
US20090125697A1 (en) * | 2007-11-14 | 2009-05-14 | Samsung Electronics Co., Ltd. | Method and apparatus for allocation of buffer |
CN101702676A (en) * | 2009-11-23 | 2010-05-05 | 深圳华为通信技术有限公司 | Data buffering process and device |
CN101729421A (en) * | 2009-12-11 | 2010-06-09 | 杭州华三通信技术有限公司 | Storage method and device based on time division multiplex |
-
2010
- 2010-08-10 CN CN2010102489955A patent/CN101924865B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1368681A (en) * | 2001-02-07 | 2002-09-11 | 北京算通数字技术研究中心有限公司 | Date receiving method based on CPU able to receive basic data stream |
US20050036453A1 (en) * | 2003-08-15 | 2005-02-17 | Kevin Lin | Controlling method and device for data transmission |
CN1988656A (en) * | 2005-12-23 | 2007-06-27 | 上海全景数字技术有限公司 | Soft multiplexing method and device for multiple path transmission flow |
US20090125697A1 (en) * | 2007-11-14 | 2009-05-14 | Samsung Electronics Co., Ltd. | Method and apparatus for allocation of buffer |
CN101702676A (en) * | 2009-11-23 | 2010-05-05 | 深圳华为通信技术有限公司 | Data buffering process and device |
CN101729421A (en) * | 2009-12-11 | 2010-06-09 | 杭州华三通信技术有限公司 | Storage method and device based on time division multiplex |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244815A (en) * | 2011-06-30 | 2011-11-16 | 南京熊猫信息产业有限公司 | Method for accelerating data reception of low-end digital set-top box chip by adopting parity channel filter |
CN102710981A (en) * | 2012-05-08 | 2012-10-03 | 深圳市九洲电器有限公司 | Set top box-based method and device for receiving and processing data |
CN102710981B (en) * | 2012-05-08 | 2015-12-16 | 深圳市九洲电器有限公司 | A kind of method for receiving and processing data based on Set Top Box and device |
CN113225508A (en) * | 2021-04-29 | 2021-08-06 | 中山亿联智能科技有限公司 | Section acquisition method based on recording mode |
Also Published As
Publication number | Publication date |
---|---|
CN101924865B (en) | 2012-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6575831B2 (en) | Transmission device, transmission method, and program | |
CN1095272C (en) | Method and apparatus for processing an audio video interactive signal | |
KR100670418B1 (en) | Methods and apparatus for selecting multicast ip data transmitted in broadcast streams | |
CN101978691B (en) | System, method and apparatus for pausing multi-channel broadcasts | |
CN1112333A (en) | A method for controlling execution of an audio video interactive program | |
CN1929590A (en) | Method and apparatus for updating program guide information of digital TV | |
CN103888832A (en) | Processing method and device for switching of data sources to which to player terminal has access | |
CN105025345A (en) | Method and device for recording live program | |
CN101520792A (en) | Method and system for automatically mounting and recognizing system file | |
EP1703733B1 (en) | System for processing of television data streams and method for processing of television data streams | |
EP3190794A1 (en) | System, device and method for implementing hls channel playback service, and storage medium | |
US9736529B2 (en) | USB sharing method for combo TV set, combo TV set and computer readable storage medium | |
CN103702235A (en) | Data processing method and system for content delivery network | |
CN101924865B (en) | Method for quickly obtaining data of set top box | |
CN109257641A (en) | Wireless screen transmission sound intermediate frequency and video synchronization method and system | |
CN103685303A (en) | Method and system for processing connection content delivery network | |
CN101047813A (en) | Method of controlling data broadcast application and broadcast receiver receiving the same | |
CN1825902A (en) | Image reproducing apparatus for channel map updating and method thereof | |
CN103957446B (en) | Set top box and its control method that support multi-user based on linux uses | |
CN101267571B (en) | A reuse device and method | |
CN103685302A (en) | Method and system for processing connection content delivery network | |
CN202587205U (en) | Wireless high-definition video seamless splicing and decoding equipment | |
CN108289240A (en) | Method, terminal and the computer-readable medium of DTV fast channel switching | |
CN103338413A (en) | Local time shifting method and apparatus | |
US7062779B1 (en) | Methods and apparatus for accessing synchronized broadcast data |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120125 Termination date: 20190810 |