CN105227992A - The automatic recording method of Set Top Box TS file - Google Patents
The automatic recording method of Set Top Box TS file Download PDFInfo
- Publication number
- CN105227992A CN105227992A CN201510621380.5A CN201510621380A CN105227992A CN 105227992 A CN105227992 A CN 105227992A CN 201510621380 A CN201510621380 A CN 201510621380A CN 105227992 A CN105227992 A CN 105227992A
- Authority
- CN
- China
- Prior art keywords
- set top
- top box
- box
- file
- code stream
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4425—Monitoring of client processing errors or hardware failure
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The present invention relates to Set Top Box and code stream box technical field, a kind of automatic recording method of Set Top Box TS file is provided, the more difficult problem of TS file is recorded when irregular problem appears in Set Top Box to solve, the method comprises: Set Top Box be connected with code stream box, starts code stream box and starts TS document recording; According to state information, the state information of code stream box Real-time Obtaining Set Top Box also judges whether Set Top Box goes wrong and the type that goes wrong, the basis obtaining Set Top Box state information determines whether record TS file.The technical scheme that the present invention proposes saves memory space and human cost.
Description
Technical field
The present invention relates to Set Top Box and code stream box technical field, particularly a kind of automatic recording method of Set Top Box TS file.
Background technology
Along with the development of digital television techniques, digital-TV operator is on the increase, corresponding digital TV network also gets more and more, because the migration efficiency of each operator is different with the headend equipment of use, therefore the digital TV network of each operator there are differences.Usually, digital television system is divided into front end and terminal two parts, and the circuit connecting front end and terminal is referred to as network.Headend equipment is generally made up of equipment such as code stream machine, encoder, multiplexer, scrambling machine, modulators, and digital television signal is encoded as TS form, is transferred in network through the step such as multiplexing, scrambling, modulation.Terminal equipment in digital TV network is Set Top Box, be used for receiving the data of TS form, because the data in network are at any time in change, and headend equipment also may have problems, and (these problems may be the design problems of headend equipment, also be likely the aging problem caused of headend equipment), therefore may there is corresponding problem in Set Top Box, such as restarts, the problem such as deadlock.
When there are the problems referred to above, need locate fast and deal with problems, the TS file being recorded Set Top Box by code stream box is generally needed to analyze, code stream box can record one section of TS file (such as recording the TS file of 200MByte size) by arranging the size recording TS file, also can by arranging recording time to record one section of TS file (such as recording the TS file of 1 minute), the TS file recorded leaves in computer hard disc.Because the amount of information of TS is huge, the TS file recorded also can be very huge, and the general TS file recording 1 minute, its size just can reach hundreds of M.For regular problem, usually only one section of TS file need be recorded on the time point determined, front end environment when going wrong with regard to reproducible, at this moment records the TS file got off and also can not take too many memory space, the time and efforts that also can not cost a lot of money.But for random problem, due to the time that problem occurs cannot be learnt, therefore cannot get at the time point determined to record TS file, if keep recording TS file always, TS file will become very huge, and the hard disk of computer is completely not enough, and the appearance that needs are kept at Set Top Box side Holding Problem, to intercept TS file when ging wrong, a large amount of time and efforts can be spent like this.
Summary of the invention
[technical problem that will solve]
The object of this invention is to provide one, record the more difficult problem of TS file to solve when irregular problem appears in Set Top Box.
[technical scheme]
The present invention is achieved by the following technical solutions.
The present invention relates to a kind of automatic recording method of Set Top Box TS file, comprising:
Set Top Box is connected with code stream box, starts code stream box and start TS document recording;
Arrange the time interval sending state information, when Set Top Box is normally run, Set Top Box sends first state information every one period of this time interval to code stream box, and code stream box is normal after receiving the first state information records Set Top Box TS file;
When the normal program operation of Set Top Box but application function breaks down time, Set Top Box sends second state information to code stream box, and code stream box stops recording Set Top Box TS file after receiving the second state information;
When Set Top Box normal program operation but when occurring restarting fault, Set Top Box sends a third state information to code stream box, code stream box receives after third state information and stops recording Set Top Box TS file;
Do not receive when the time interval that code stream box exceedes the transmission state information of setting the state information that Set Top Box sends yet, then stop recording Set Top Box TS file,
Described first state information, the second state information and third state information are different.
As one preferred embodiment, the Set Top Box TS file of current recording, when recording Set Top Box TS file, is covered the Set Top Box TS file recorded by described code stream box at set intervals.
As another preferred embodiment, the time interval of the transmission state information of described setting is 6 ~ 10 seconds.
As another preferred embodiment, described code stream box is provided with buzzer, this buzzer warning after code stream box stops recording Set Top Box TS file.
As another preferred embodiment, described Set Top Box and code stream box are by RS232 protocol communication.
[beneficial effect]
The technical scheme that the present invention proposes has following beneficial effect:
(1) Set Top Box in the present invention can send state information to code stream box in real time, therefore, it is possible to ensure the state information of code stream box Real-time Obtaining Set Top Box and judge whether Set Top Box goes wrong and the type that goes wrong according to state information, the basis obtaining Set Top Box state information determines whether record TS file, therefore without the need to manual intervention, the present invention can ensure that code stream box determines to record or stop to record Set Top Box TS file according to the state information of Set Top Box, has saved human cost.
(2) the present invention is by arranging the cover time, and code stream box covers according to the cover time of setting the TS file recorded, and has saved memory space.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, carry out clear, complete description by the specific embodiment of the present invention below, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiment, neither limitation of the present invention.Based on embodiments of the invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to protection scope of the present invention.
Embodiment
The embodiment of the present invention relates to a kind of automatic recording method of Set Top Box TS file, and the method comprises the following steps:
(1) Set Top Box is connected with code stream box, starts code stream box and start TS document recording.Particularly, Set Top Box and code stream box are by RS232 protocol communication.In the present embodiment, in order to save memory space, code stream box is when recording Set Top Box TS file, at set intervals the Set Top Box TS file of current recording is covered the Set Top Box TS file recorded, particularly, arranging the cover time is t, then first record the TS file in 0 ~ 2t time interval, then the TS file recorded in 2t ~ 3t time interval covers the TS file in 0 ~ t time interval of having recorded, the TS file recorded in 3t ~ 4t time interval covers the TS file recorded in t ~ 2t time interval, principle Record and Save TS file according to this.Be described in detail below, by arranging the cover time, code stream box can cover previous TS file according to the time of setting, the present embodiment setting cover time is 10 minutes, so first, the TS file of 20 minutes can be recorded, then the TS file recorded after 20 ~ 30 minutes can cover 1 ~ 10 minute TS file recorded, the TS file recorded for 30 ~ 40 minutes can cover 10 ~ 20 minutes TS files recorded, principle preserves TS file according to this, the TS file of each preservation is the TS file of 20 minutes length, such one side can ensure have up-to-date TS file to exist all the time, too much computer hard disc space can not be taken again simultaneously.
(2) time interval sending state information is set, the time interval that the present embodiment is arranged was 10 seconds, when Set Top Box is normally run, Set Top Box sends " normal " character string every 10 seconds to code stream box, and code stream box is normal after receiving " normal " character string records Set Top Box TS file; When the normal program operation of Set Top Box but application function breaks down time, such as video has occurred that a large amount of mosaics, volume exception or program such as cannot to decipher at the problem, when there is this type of fault, Set Top Box sends " error " character string to code stream box, and code stream box stops recording Set Top Box TS file after receiving " error " character string; When Set Top Box normal program operation but when occurring restarting fault, Set Top Box sends " reset " character string to code stream box, code stream box receives after " reset " character string and stops recording Set Top Box TS file; When code stream box is more than the state information not receiving Set Top Box transmission 10 seconds yet, now can crash or occurred restarting by deteminate machine top box, then having stopped recording Set Top Box TS file.From above step, when code stream box because when the fault of Set Top Box stops recording TS file, it at least saves the nearest 10 minutes TS files recorded.
In addition, the code stream box in the present embodiment is provided with buzzer, this buzzer warning after code stream box stops recording Set Top Box TS file, front end environment when reminding user problem occurs copies.
Need to illustrate, because whether step (2) is recorded for the state of monitoring equipment top box and according to the Determines of Set Top Box, the step (2) therefore in the present embodiment and step (1) perform simultaneously.
As can be seen from the above embodiments, Set Top Box in the embodiment of the present invention can send state information to code stream box in real time, therefore, it is possible to ensure the state information of code stream box Real-time Obtaining Set Top Box and judge whether Set Top Box goes wrong and the type that goes wrong according to state information, the basis obtaining Set Top Box state information determines whether record TS file, therefore without the need to manual intervention, the present invention can ensure that code stream box determines to record or stop to record Set Top Box TS file according to the state information of Set Top Box, has saved human cost; In addition, the embodiment of the present invention is by arranging the cover time, and code stream box covers according to the cover time of setting the TS file recorded, and has saved memory space.
Claims (5)
1. an automatic recording method for Set Top Box TS file, is characterized in that comprising:
Set Top Box is connected with code stream box, starts code stream box and start TS document recording;
Arrange the time interval that Set Top Box sends state information, when Set Top Box is normally run, Set Top Box sends first state information every one period of this time interval to code stream box, and code stream box is normal after receiving the first state information records Set Top Box TS file;
When the normal program operation of Set Top Box but application function breaks down time, Set Top Box sends second state information to code stream box, and code stream box stops recording Set Top Box TS file after receiving the second state information;
When Set Top Box normal program operation but when occurring restarting fault, Set Top Box sends a third state information to code stream box, code stream box receives after third state information and stops recording Set Top Box TS file;
Do not receive when the time interval that code stream box exceedes the transmission state information of setting the state information that Set Top Box sends yet, then stop recording Set Top Box TS file,
Described first state information, the second state information and third state information are different.
2. the automatic recording method of Set Top Box TS file according to claim 1, is characterized in that described code stream box is when recording Set Top Box TS file, covers the Set Top Box TS file recorded at set intervals by the Set Top Box TS file of current recording.
3. the automatic recording method of Set Top Box TS file according to claim 1, is characterized in that the time interval of the Set Top Box transmission state information of described setting is 6 ~ 10 seconds.
4. the method for recording of Set Top Box TS file according to claim 1, is characterized in that described code stream box is provided with buzzer, this buzzer warning after code stream box stops recording Set Top Box TS file.
5. the method for recording of Set Top Box TS file according to claim 1, is characterized in that described Set Top Box and code stream box are by RS232 protocol communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510621380.5A CN105227992B (en) | 2015-09-25 | 2015-09-25 | The automatic recording method of set-top box TS files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510621380.5A CN105227992B (en) | 2015-09-25 | 2015-09-25 | The automatic recording method of set-top box TS files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105227992A true CN105227992A (en) | 2016-01-06 |
CN105227992B CN105227992B (en) | 2018-06-22 |
Family
ID=54996627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510621380.5A Expired - Fee Related CN105227992B (en) | 2015-09-25 | 2015-09-25 | The automatic recording method of set-top box TS files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105227992B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337503A (en) * | 2018-01-25 | 2018-07-27 | 深圳创维数字技术有限公司 | DTV site environment analogy method, terminal and computer-readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217618A (en) * | 2008-01-11 | 2008-07-09 | 南京图格科技发展有限公司 | A real-time collection method of STB working status |
US7810127B2 (en) * | 2005-08-31 | 2010-10-05 | Time Warner Cable, Inc. | System and method for evaluating the operational status of a STB in a cable network |
CN103596035A (en) * | 2013-11-04 | 2014-02-19 | 四川九州电子科技股份有限公司 | System and method for recording DVB code stream through digital set top box |
-
2015
- 2015-09-25 CN CN201510621380.5A patent/CN105227992B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7810127B2 (en) * | 2005-08-31 | 2010-10-05 | Time Warner Cable, Inc. | System and method for evaluating the operational status of a STB in a cable network |
CN101217618A (en) * | 2008-01-11 | 2008-07-09 | 南京图格科技发展有限公司 | A real-time collection method of STB working status |
CN103596035A (en) * | 2013-11-04 | 2014-02-19 | 四川九州电子科技股份有限公司 | System and method for recording DVB code stream through digital set top box |
Non-Patent Citations (1)
Title |
---|
刘卫宏等: "数字电视码流分析仪技术和应用", 《现代电视技术》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337503A (en) * | 2018-01-25 | 2018-07-27 | 深圳创维数字技术有限公司 | DTV site environment analogy method, terminal and computer-readable medium |
CN108337503B (en) * | 2018-01-25 | 2020-06-23 | 深圳创维数字技术有限公司 | Digital television field environment simulation method, terminal and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN105227992B (en) | 2018-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102355368B (en) | Fault processing method of network equipment and system | |
CN103795580A (en) | Data monitoring method, system and related equipment | |
CN102945678A (en) | Storage method and system of video documents and video monitoring device | |
CN101873462A (en) | DVR (Digital Video Recorder) as well as data backup and recovery method and system thereof | |
CN1917634A (en) | Warm back-up method in use for video monitoring and controlling system | |
CN101777951B (en) | Method and system for data monitoring | |
CN103019899A (en) | Method and system for replaying intelligent terminal event as well as intelligent terminal | |
CN104168443A (en) | Method for carrying out video recording on video monitor and network video recorder | |
CN107908505A (en) | A kind of date storage method, device, equipment and system | |
CN104349119A (en) | Monitoring video recording method and device | |
CN106686422A (en) | Intelligent-detection and automatic-recovery advertisement playing system and method | |
CN111130951B (en) | Equipment state detection method, device and storage medium | |
CN106383759A (en) | Method and apparatus convenient for tracking and locating fault of payment terminal | |
CN105227992A (en) | The automatic recording method of Set Top Box TS file | |
CN103984622A (en) | Method and device for managing logs for Linux-based GPON ONU (Gigabit Passive Optical Network Optical Unit) equipment | |
CN101854263B (en) | Method, system and management server for analysis processing of network topology | |
CN107957719B (en) | Robot and abnormity monitoring method and device thereof | |
CN103399714A (en) | Maintenance system for storage device configuration information and application method of maintenance system | |
CN105068788A (en) | User work scene fast recovery method and device in video monitoring system | |
CN101969231B (en) | Method for data synchronization after distributed application recovering parallelism of automatic power dispatching system | |
CN104639890A (en) | Facility monitoring control system | |
CN115065589A (en) | Data traffic acquisition disaster recovery backup processing method, device, equipment, system and medium | |
CN104504837A (en) | Electrical fire alarm system data information collection method and collector | |
CN104050071A (en) | Storage device failure early warning method and system | |
CN110796765A (en) | Data storage method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
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: 20180622 Termination date: 20210925 |