CN102186116A - Method for ensuring continuous playing of program by set-top box and set-top box - Google Patents
Method for ensuring continuous playing of program by set-top box and set-top box Download PDFInfo
- Publication number
- CN102186116A CN102186116A CN201110109004XA CN201110109004A CN102186116A CN 102186116 A CN102186116 A CN 102186116A CN 201110109004X A CN201110109004X A CN 201110109004XA CN 201110109004 A CN201110109004 A CN 201110109004A CN 102186116 A CN102186116 A CN 102186116A
- Authority
- CN
- China
- Prior art keywords
- top box
- buffer memory
- play
- program
- memory equipment
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to the related technical field of set-top boxes, in particular to a method for ensuring the continuous playing of a program by the set-top box and the set-top box. The method comprises that: the set-top box stores the television program received from a program source into cache equipment, and then extracts the television program for play from the cache equipment; when receiving a program playing halting command, the set-top box stops extracting the television program from the cache equipment, and simultaneously stores the television program received from the program source into the cache equipment; and when receiving a program playing continuing command, the set-top box plays the television program according to a playing continuing strategy. By the method and the set-top box, a memory of the set-top box is fully utilized, and the additional overhead of a hard disk, a server or the like is not required to be increased; and simultaneously, the continuity of the program is ensured by adopting an accelerating playing method.
Description
Technical field
The present invention relates to the set-top box correlative technology field, particularly set-top box guarantees method and the set-top box thereof that program is play continuously.
Background technology
Present band personal video record (personal video recoder, set-top box PVR) can realize the playback of program; Bi-directional set-top box has time-shifting function, also can realize the playback of program.The set-top box of band PVR need increase a hard disk could be used, and cost is higher.The set-top box that another realization is recorded is a bi-directional set-top box, needs front end to have the webserver, and the preservation of recording of data all is arranged on the webserver.But because its front end need be built server, so cost is higher.
And its maximum shortcoming of existing one-way set-top box is: can only play the program that front end is sent here continuously, can't playback, and just missed and again can't see.
Summary of the invention
First goal of the invention of the present invention is to provide a kind of set-top box to guarantee the method that program is play continuously, records the required cost technical problems of high of set-top box to solve in the prior art.
In order to realize first goal of the invention of the present invention, the technical scheme of employing is as follows:
A kind of set-top box guarantees the method that program is play continuously, and described method comprises:
Set-top box is stored in the TV programme that receives from program source the buffer memory equipment, takes out TV programme then and play from buffer memory equipment;
Suspend play command when set-top box receives program, stop to take out TV programme from buffer memory equipment, simultaneously, the TV programme that receives from program source still is stored in the buffer memory equipment;
Continue play command when set-top box receives program, play TV programme according to continuing broadcast strategy.
As a kind of preferred version, described continuation broadcast strategy is:
Adopt N times of speed of normal tv playing programs speed to play, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, and described N is the natural number greater than 1.
Preferably, described N is 4 or 8.
As a kind of preferred version, described pre-set threshold is determined according to following mode:
The set-top box statistics is when playing TV programme, and the mean value of the TV Festival destination data of storing in buffer memory equipment is as threshold value.
Further, when receiving program, set-top box suspends play command, then stop to add up the TV Festival destination data of storing in the buffer memory equipment, when receiving program, set-top box continues play command, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, then adds up the TV Festival destination data of storing in the buffer memory equipment again.
As a kind of preferred version, described buffer memory equipment is the internal memory of set-top box.
Second goal of the invention of the present invention is to provide a kind of set-top box that guarantees that program is play continuously, to use the continuous method of playing of assurance program that first goal of the invention of the present invention is provided.
In order to realize second goal of the invention of the present invention, the technical scheme of employing is as follows:
A kind of set-top box that guarantees that program is play continuously, described set-top box comprises: buffer memory equipment, receiver module and playing module;
Receiver module is from the program source received television program;
Buffer memory equipment is used for the stored television program storage;
Playing module is used for taking out TV programme from buffer memory equipment and plays;
Described playing module comprises suspending to be play submodule and continues to play submodule;
Described time-out is play submodule when receiving program time-out play command, stops to take out TV programme from buffer memory equipment;
Described continuation is play submodule receiving program continuation play command, plays TV programme according to continuing broadcast strategy.
As a kind of preferred version, described continuation broadcast strategy is:
Adopt N times of speed of normal tv playing programs speed to play, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, and described N is the natural number greater than 1.
Further, described playing module also comprises:
Threshold calculation module, be used for calculating mean value in the TV Festival destination data that buffer memory equipment is stored as described threshold value, play submodule when receiving program time-out play command when suspending, threshold calculation module stops to add up the TV Festival destination data of storing in the buffer memory equipment, continue to play submodule when receiving program continuation play command, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, then adds up the TV Festival destination data of storing in the buffer memory equipment again.
Method and set-top box that assurance program provided by the invention is play continuously have the following advantages:
1. make full use of the internal memory of set-top box, need not to increase the outer expense of hard disk or server single-candidate;
2. because the internal memory of set-top box is less, therefore, the data of general storage are all few, only as interim storage, and in fact, when the client watches TV programme, the little meeting of many times just leaving, and the TV programme that will store in the so short time is less, therefore is well suited for adopting internal memory to store.Data just because of storage are few, therefore adopt the method for quickening broadcast, guarantee the continuity of program.
Description of drawings
Fig. 1 is a workflow diagram of the present invention.
Embodiment
The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
Be illustrated in figure 1 as workflow diagram of the present invention.
Step 1: set-top box is stored in the TV programme that receives from program source the internal memory, takes out TV programme then and play from internal memory;
Step 2: in the time of when the user televiews by set-top box, need midway leaving, in order not miss the highlight that leaves during this period of time, can press the Pause key of remote controller, then set-top box receives program time-out play command, stop to take out from internal memory TV programme, simultaneously, the TV programme that continues to receive from program source still is stored in the internal memory, be that set-top box begins recording TV program, and data recording is kept in the internal memory;
Step 3: after the user returns, by determining that key continues to play, then set-top box receives program continuation play command, for the progress that falls behind during catching up with, then adopt 4 times of speed or 8 times of speed of normal tv playing programs speed to play, the TV Festival destination data of storing in internal memory drops to pre-set threshold.
Existing set-top box with recording function all be to adopt whole TV programme storage normal speed to play then, but such broadcast mode needs bigger memory space, stores while could play like this.If restart but the user repeatedly suspends, the then data increase that can not stop, this needs bigger memory space just can realize.
But the method that the present invention adopts, owing to just be stored in internal memory, the space of internal memory is less, can not the too many data of storage.Therefore adopt the method for quickening broadcast, prevent the redundancy of data on the one hand, on the other hand,, therefore quicken broadcast and can't watch program to cause bigger influence the user because the data that will play again are few.
Threshold value can be determined according to following mode:
Set-top box is when the normal play TV programme, and the mean value of the TV Festival destination data that statistics is stored in internal memory is as threshold value.
Because after set-top box receives program time-out play command, the TV Festival destination data of storing in the internal memory can sharply increase, in order to get rid of interference to the threshold value accuracy, therefore when receiving program, set-top box suspends play command, then stop to add up the TV Festival destination data of storing in the internal memory, continue play command when set-top box receives program, the TV Festival destination data of storing in internal memory drops to pre-set threshold, then adds up the TV Festival destination data of storing in the internal memory again.
Certainly, this threshold value also can preestablish by experience.Also can be set at the percentage of internal memory.
For example, in save as 256M, when normal play, because continuous received television program and playing, the data of depositing in internal memory can be float value, but by calculating mean value, such as one hour, can draw a mean value, as 30M, can be threshold setting 30M then.
Suspend play command when set-top box receives program, then threshold value still is set at 30M, need not to change.When set-top box receives after program continues play command, owing to adopt doubly speed to play, so the data in the internal memory can reduce, and when reducing to 30M, then adopt original normal speed forward.With this is basic point constantly, adds up the storage data of internal memory in hour once more, and calculating mean value, obtains a new threshold value, as 29M, then with 29M as a new threshold value.
Claims (9)
1. a set-top box guarantees the method that program is play continuously, it is characterized in that described method comprises:
Set-top box is stored in the TV programme that receives from program source the buffer memory equipment, takes out TV programme then and play from buffer memory equipment;
Suspend play command when set-top box receives program, stop to take out TV programme from buffer memory equipment, simultaneously, the TV programme that receives from program source still is stored in the buffer memory equipment;
Continue play command when set-top box receives program, play TV programme according to continuing broadcast strategy.
2. method according to claim 1 is characterized in that, described continuation broadcast strategy is:
Adopt N times of speed of normal tv playing programs speed to play, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, and described N is the natural number greater than 1.
3. method according to claim 2 is characterized in that, described N is 4 or 8.
4. method according to claim 2 is characterized in that, described pre-set threshold is determined according to following mode:
The set-top box statistics is when playing TV programme, and the mean value of the TV Festival destination data of storing in buffer memory equipment is as threshold value.
5. method according to claim 4, it is characterized in that, when receiving program, set-top box suspends play command, then stop to add up the TV Festival destination data of storing in the buffer memory equipment, when receiving program, set-top box continues play command, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, then adds up the TV Festival destination data of storing in the buffer memory equipment again.
6. method according to claim 1 is characterized in that, described buffer memory equipment is the internal memory of set-top box.
7. a set-top box that guarantees that program is play continuously is characterized in that described set-top box comprises: buffer memory equipment, receiver module and playing module;
Receiver module is from the program source received television program;
Buffer memory equipment is used for the stored television program storage;
Playing module is used for taking out TV programme from buffer memory equipment and plays;
Described playing module comprises suspending to be play submodule and continues to play submodule;
Described time-out is play submodule when receiving program time-out play command, stops to take out TV programme from buffer memory equipment;
Described continuation is play submodule receiving program continuation play command, plays TV programme according to continuing broadcast strategy.
8. set-top box according to claim 7 is characterized in that, described continuation broadcast strategy is:
Adopt N times of speed of normal tv playing programs speed to play, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, and described N is the natural number greater than 1.
9. set-top box according to claim 8 is characterized in that, described playing module also comprises:
Threshold calculation module, be used for calculating mean value in the TV Festival destination data that buffer memory equipment is stored as described threshold value, play submodule when receiving program time-out play command when suspending, threshold calculation module stops to add up the TV Festival destination data of storing in the buffer memory equipment, continue to play submodule when receiving program continuation play command, the TV Festival destination data of storing in buffer memory equipment drops to pre-set threshold, then adds up the TV Festival destination data of storing in the buffer memory equipment again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110109004XA CN102186116A (en) | 2011-06-14 | 2011-06-14 | Method for ensuring continuous playing of program by set-top box and set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110109004XA CN102186116A (en) | 2011-06-14 | 2011-06-14 | Method for ensuring continuous playing of program by set-top box and set-top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102186116A true CN102186116A (en) | 2011-09-14 |
Family
ID=44572175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110109004XA Pending CN102186116A (en) | 2011-06-14 | 2011-06-14 | Method for ensuring continuous playing of program by set-top box and set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102186116A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363411A (en) * | 2014-10-20 | 2015-02-18 | 福建星网锐捷安防科技有限公司 | Video playing method and video playing device in video monitoring system |
CN104796758A (en) * | 2015-03-26 | 2015-07-22 | 成都市斯达鑫辉视讯科技有限公司 | Program caching method of set top box |
CN104796757A (en) * | 2015-03-26 | 2015-07-22 | 成都市斯达鑫辉视讯科技有限公司 | Program continuous playing method of set top box |
CN111294634A (en) * | 2020-02-27 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Live broadcast method, device, system, equipment and computer readable storage medium |
-
2011
- 2011-06-14 CN CN201110109004XA patent/CN102186116A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363411A (en) * | 2014-10-20 | 2015-02-18 | 福建星网锐捷安防科技有限公司 | Video playing method and video playing device in video monitoring system |
CN104796758A (en) * | 2015-03-26 | 2015-07-22 | 成都市斯达鑫辉视讯科技有限公司 | Program caching method of set top box |
CN104796757A (en) * | 2015-03-26 | 2015-07-22 | 成都市斯达鑫辉视讯科技有限公司 | Program continuous playing method of set top box |
CN111294634A (en) * | 2020-02-27 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Live broadcast method, device, system, equipment and computer readable storage medium |
CN111294634B (en) * | 2020-02-27 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Live broadcast method, device, system, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2757779B1 (en) | Method and terminal for video processing | |
US7502545B2 (en) | Picture-in-picture window for video replay | |
US7574580B2 (en) | Intelligent caching scheme for streaming file systems | |
EP1982265B1 (en) | Fast switching of channels based on the automatic buffering of the previously displayed channel and predicted channels | |
CN102456376B (en) | Recording and play method for monitoring device | |
CN106231348B (en) | A kind of back method of GOP data, device and system | |
TW200822736A (en) | Method and apparatus for receiving, storing, and presenting multimedia programming without indexing prior to storage | |
US20140093223A1 (en) | Systems and methods of transitioning from buffering video to recording video | |
CN102547444B (en) | Method for optimizing play of real-time video monitoring record | |
EP2635025B1 (en) | Video processing method and video appliance implementing the method | |
CN101257600B (en) | Real time digital television program replaying method | |
CN102186116A (en) | Method for ensuring continuous playing of program by set-top box and set-top box | |
CN105872722A (en) | Online video start playing caching system and method | |
CN101505391A (en) | Method for implementing program time shifting and replaying | |
EP2381680B1 (en) | A method of presenting video frames at a non-standard speed and a video content device | |
CN103716573A (en) | Video playback method and device | |
CN104780420A (en) | Program playing method of set top box | |
CN102223511A (en) | Television program recording and broadcasting method and system, and television device | |
CN102025953A (en) | Control method and device for recording TV program | |
US9015409B2 (en) | Apparatus and methods for prolonging service life of solid-state memory device in a digital video recorder | |
US20040018005A1 (en) | Clock-slaving in a programmable video recorder | |
US20170127121A1 (en) | Dvr live pause and recording in referenced chunks | |
CN101742071B (en) | Method for recording various formats of video by optical disk type video record-replay set top box | |
CN105007519A (en) | PVR playing method and set-top box | |
CN201690514U (en) | Time-shifted digital TV set top box based on SD card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110914 |