CN101924865B - Method for quickly obtaining data of set top box - Google Patents

Method for quickly obtaining data of set top box Download PDF

Info

Publication number
CN101924865B
CN101924865B CN2010102489955A CN201010248995A CN101924865B CN 101924865 B CN101924865 B CN 101924865B CN 2010102489955 A CN2010102489955 A CN 2010102489955A CN 201010248995 A CN201010248995 A CN 201010248995A CN 101924865 B CN101924865 B CN 101924865B
Authority
CN
China
Prior art keywords
data
demultiplexing module
internal memory
receive
section
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
Application number
CN2010102489955A
Other languages
Chinese (zh)
Other versions
CN101924865A (en
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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN2010102489955A priority Critical patent/CN101924865B/en
Publication of CN101924865A publication Critical patent/CN101924865A/en
Application granted granted Critical
Publication of CN101924865B publication Critical patent/CN101924865B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

The method that data of set top box obtains fast
[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; DTV STB is as the increasing common people family that enters into; Except TV reception, operator provides increasing new function, and wherein a lot of functions all need transmit lot of data to STB.How receiving these data fast becomes the theme of each big STB research.
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 STB 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 handle accordingly, then receive next data then, because data need the cause in processing time; Can cause the corresponding program of data that needs to receive 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 situation 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 technical problem that the present invention will solve is the method that provides a kind of data of set top box to obtain fast, 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, STB program be the controll block of the demultiplexing module reception data of starter motor top box at first, and said 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, STB 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 some bytes in the place of the terminal segment distance of the internal memory that obtains from dynamic assignment data as buffer tag;
Step 40, demultiplexing module is set receives all block datas, receiving mode is uninterrupted receiving mode, and before demultiplexing module stops, directly sending into the data that receive in the corresponding buffering area of module;
Step 50, STB 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 through the STB program;
Step 60, the dynamic assignment of STB 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 receiving all 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 that receives 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 of the section that describes in the section segment table that the next one is received, all receive up to all data and finish; 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 said 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 reception size of data, prevents that the buffer tag position from excessively before causing the data of reception incomplete, after the buffer tag position; Owing to certification mark is destroyed the time delays of closing between the demultiplexing module, cause the data of reception to overflow whole buffering area and cause destruction to the STB program.
The present invention has following advantage: this mode has been utilized data use wheel broadcast mode broadcast in DVB (DVB) transfer of data, the characteristics that homogeneous data general continuous of the same race is play, and the principle of having used waterfall to receive receives the overwhelming majority's 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 of transmission might be interfered, and causes 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 lets 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 situation 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, STB 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, STB 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 some bytes in the place of the terminal segment distance of the internal memory that obtains from dynamic assignment data as buffer tag; 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 reception size of data; Prevent that the buffer tag position from excessively before causing the data of reception incomplete; After the buffer tag position,, cause the data of reception to overflow whole buffering area and cause destruction to the STB program owing to certification mark is destroyed the time delays of closing between the demultiplexing module.
Step 40, demultiplexing module is set receives all block datas; Receiving mode is uninterrupted receiving mode; And before demultiplexing module stops; Directly send into the data that receive 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, STB 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 through the STB program;
Step 60, the dynamic assignment of STB 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 receiving all 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, and according to the said section segment table that needs reception, a plurality of demultiplexing module of parallel starting (number of launching 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 of the section that describes in the section segment table that the next one is received, all receive up to all data and finish; 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 that homogeneous data general continuous of the same race is play, and the principle of having used waterfall to receive receives the overwhelming majority's 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 of transmission might be interfered, and causes 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 lets 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.

Claims (2)

1. the method that data of set top box obtains fast is characterized in that: comprise the steps:
Step 10, STB 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, STB 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 some bytes in the place of the terminal segment distance of the internal memory that obtains from dynamic assignment data as buffer tag;
Step 40, demultiplexing module is set receives all block datas, receiving mode is uninterrupted receiving mode, and before demultiplexing module stops, directly sending into the data that receive in the corresponding buffering area of module;
Step 50, STB 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 through the STB program;
Step 60, the dynamic assignment of STB 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 receiving all 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 that receives 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 of the section that describes in the section segment table that the next one is received, all receive up to all data and finish; 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 said 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 reception size of data.
CN2010102489955A 2010-08-10 2010-08-10 Method for quickly obtaining data of set top box Expired - Fee Related CN101924865B (en)

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 CN101924865A (en) 2010-12-22
CN101924865B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244815B (en) * 2011-06-30 2013-04-24 南京熊猫信息产业有限公司 Method for accelerating data reception of low-end digital set-top box chip by adopting parity channel filter
CN102710981B (en) * 2012-05-08 2015-12-16 深圳市九洲电器有限公司 A kind of method for receiving and processing data based on Set Top Box and device
CN113225508B (en) * 2021-04-29 2022-09-23 中山亿联智能科技有限公司 Section acquisition method based on recording mode

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1172243C (en) * 2001-02-07 2004-10-20 北京算通数字技术研究中心有限公司 Date receiving method based on CPU able to receive basic data stream
TWI227894B (en) * 2003-08-15 2005-02-11 Via Tech Inc A method for detecting flash card
CN100579219C (en) * 2005-12-23 2010-01-06 上海全景数字技术有限公司 Soft multiplexing method and device for multiple path transmission flow
KR101439844B1 (en) * 2007-11-14 2014-09-17 삼성전자주식회사 Method and apparatus for allocation of buffer
CN101702676B (en) * 2009-11-23 2012-01-25 华为终端有限公司 Data buffering process and device
CN101729421B (en) * 2009-12-11 2013-03-20 杭州华三通信技术有限公司 Storage method and device based on time division multiplex

Also Published As

Publication number Publication date
CN101924865A (en) 2010-12-22

Similar Documents

Publication Publication Date Title
CN1097386C (en) A method for controlling execution of an audio video interactive program
CN1095272C (en) Method and apparatus for processing an audio video interactive signal
CN101520792B (en) Method and system for automatically mounting and recognizing system file
CN103888832B (en) A kind of playback terminal accesses the treating method and apparatus of data source switching
CN101702676B (en) Data buffering process and device
EP1703733B1 (en) System for processing of television data streams and method for processing of television data streams
CN101924865B (en) Method for quickly obtaining data of set top box
US20160127768A1 (en) Usb sharing method for combo tv set, combo tv set and computer readable storage medium
CN101047813A (en) Method of controlling data broadcast application and broadcast receiver receiving the same
US8509254B2 (en) Direct memory access engine physical memory descriptors for multi-media demultiplexing operations
CN107896341B (en) Method for playing scrambled program and television equipment
CN102547410A (en) Digital television (TV) terminal as well as upgrading method and device thereof
US20090225768A1 (en) Centralized ts packet buffer management in multiple transport stream mpeg-2 demux
US10547904B2 (en) Set-top box for changing channels and system and method for use of same
CN105376647B (en) A kind of method of set-top box insertion Android system framework
CN108289240A (en) Method, terminal and the computer-readable medium of DTV fast channel switching
US7062779B1 (en) Methods and apparatus for accessing synchronized broadcast data
US11089382B2 (en) Multimedia streaming and network apparatus and operation method of the same
WO2010000628A1 (en) Method and device to perform direct memory access
US8015588B2 (en) Method of managing auxiliary programs and a corresponding receiver and system
US7953019B2 (en) Channel switching
CN1917405A (en) Digital audio broadcasting modem interface system for receiving multi-channel and its working method
CN104936006A (en) Method, device and system for transmitting program information table
WO2017198185A1 (en) Method and apparatus for receiving electronic program guide information
CN1784005B (en) Method for access rotational broadcast data through file system

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