CN105227992B - The automatic recording method of set-top box TS files - Google Patents

The automatic recording method of set-top box TS files Download PDF

Info

Publication number
CN105227992B
CN105227992B CN201510621380.5A CN201510621380A CN105227992B CN 105227992 B CN105227992 B CN 105227992B CN 201510621380 A CN201510621380 A CN 201510621380A CN 105227992 B CN105227992 B CN 105227992B
Authority
CN
China
Prior art keywords
top box
box
files
code stream
status information
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
CN201510621380.5A
Other languages
Chinese (zh)
Other versions
CN105227992A (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.)
Sichuan Jinwangtong Electronic Technology Co Ltd
Original Assignee
Sichuan Jinwangtong Electronic 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 Sichuan Jinwangtong Electronic Technology Co Ltd filed Critical Sichuan Jinwangtong Electronic Technology Co Ltd
Priority to CN201510621380.5A priority Critical patent/CN105227992B/en
Publication of CN105227992A publication Critical patent/CN105227992A/en
Application granted granted Critical
Publication of CN105227992B publication Critical patent/CN105227992B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring 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/4425Monitoring of client processing errors or hardware failure

Abstract

The present invention relates to set-top boxes and code stream box technical field, provide a kind of automatic recording method of set-top box TS files, and to solve the problems, such as to record the problem of TS files are more difficult when set-top box occurs irregular, this method includes:Set-top box with code stream box is connect, starts code stream box and starts TS document recordings;Code stream box obtains the status information of set-top box and judges whether set-top box goes wrong and go wrong type according to status information in real time, decides whether to record TS files on the basis of set-top box status information is obtained.Technical solution proposed by the present invention saves memory space and human cost.

Description

The automatic recording method of set-top box TS files
Technical field
The present invention relates to set-top box and code stream box technical field, more particularly to a kind of automatic recording side of set-top box TS files Method.
Background technology
With the development of digital television techniques, digital-TV operator is on the increase, and corresponding digital TV network is also got over Come it is more because the migration efficiency of each operator and the headend equipment used are different, therefore the number of each operator TV network has differences.Usually, digital television system is divided into front end and two parts of terminal, connects the line of front end and terminal Road is referred to as network.Headend equipment is generally made of equipment such as code stream machine, encoder, multiplexer, scrambling machine, modulators, number TV signal is encoded as TS forms, through multiplexing, scramble, modulate and etc. be transferred in network.In digital TV network Terminal device be set-top box, for receiving the data of TS forms, since the data in network are changing, and front end is set at any time For problem is also likely to be present, (these problems may be the design problem of headend equipment, it is also possible to be that headend equipment aging causes The problem of), thus set-top box it is possible that it is corresponding the problem of, such as the problems such as restart, crash.
It when there is the above problem, needs quickly to position and solve the problems, such as, generally requires and machine top is recorded by code stream box The TS files of box are analyzed, code stream box the size of TS files can be recorded by setting come record one section of TS file (such as Record 200M Byte sizes TS files), can also by recording time is set record one section of TS file (such as record 1 point The TS files of clock), the TS files recorded are stored in computer hard disc.Since the information content of TS is huge, the TS texts to get off are recorded Part also can be very huge, and the general TS files for recording 1 minute, size is with regard to that can reach hundreds of M.For regular problem, lead to As soon as often need to only record section TS files on determining time point, at this moment the front end environment of reproducible when something goes wrong is recorded The TS files made will not occupy too many memory space, will not spend too much of his time and energy.But for not having Regular problem, the time occurred due to that can not learn problem can not record TS files up at determining time point, If being always maintained at recording TS files, TS files will become very huge, and the hard disk of computer is completely not enough, and need to keep The appearance of waiting problem beside set-top box, TS files when ging wrong to intercept can devote a tremendous amount of time and smart in this way Power.
Invention content
【Technical problems to be solved】
The object of the present invention is to provide one kind, to solve the problems, such as that recording TS files when set-top box occurs irregular is relatively stranded The problem of difficult.
【Technical solution】
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 files, including:
Set-top box with code stream box is connect, starts code stream box and starts TS document recordings;
Setting sends the time interval of status information, and when set-top box normal operation, set-top box is every between one time Every sending a first state information to code stream box, code stream box normally records set-top box TS files after receiving first state information;
When the normal program operation but application function of set-top box break down, set-top box sends one second to code stream box Status information, code stream box stop recording set-top box TS files after receiving the second status information;
When set-top box normal program operation but when occurring restarting failure, set-top box sends a third state to code stream box Information, code stream box stop recording set-top box TS files after receiving third state information;
When the time interval that code stream box is more than the transmission status information of setting does not receive the state letter of set-top box transmission yet Breath then stops recording set-top box TS files,
The first state information, the second status information and third state information are different.
As a preferred embodiment, the code stream box when recording set-top box TS files, at regular intervals will The set-top box TS files of completion have been recorded in the set-top box TS files covering currently recorded.
As another preferred embodiment, the time interval of the transmission status information of the setting is 6~10 seconds.
As another preferred embodiment, buzzer is provided on the code stream box, when code stream box stops recording machine The buzzer warning after top box TS files.
As another preferred embodiment, the set-top box and code stream box pass through RS232 protocol communications.
【Advantageous effect】
Technical solution proposed by the present invention has the advantages that:
(1) set-top box in the present invention can send status information to code stream box in real time, therefore can ensure code stream box reality When obtain the status information of set-top box and judge that whether set-top box goes wrong and go wrong type, is obtaining according to status information It takes and decides whether on the basis of set-top box status information to record TS files, therefore the present invention can guarantee code stream without manual intervention Box determines to record or stops recording set-top box TS files according to the status information of set-top box, has saved human cost.
(2) for the present invention by setting the cover time, code stream box covers the TS files recorded according to the cover time of setting, Memory space is saved.
Specific embodiment
It to make the object, technical solutions and advantages of the present invention clearer, below will be to the specific embodiment of the present invention Carry out clear, complete description, it is clear that described embodiment is the part of the embodiment of the present invention rather than all implements Example, nor limitation of the present invention.Based on the embodiment of the present invention, those of ordinary skill in the art are not paying creative labor All other embodiments obtained under the premise of dynamic, belong to protection scope of the present invention.
Embodiment
The present embodiments relate to a kind of automatic recording method of set-top box TS files, this method includes the following steps:
(1) set-top box with code stream box is connect, starts code stream box and start TS document recordings.Specifically, set-top box and code stream Box passes through RS232 protocol communications.In the present embodiment, in order to save memory space, code stream box is when recording set-top box TS files, often The set-top box TS files currently recorded are covered to the set-top box TS files for having recorded completion every a period of time, specifically, setting is covered The lid time is t, then records the TS files of 0~2t time intervals first, and the TS files then recorded in 2t~3t time intervals cover The TS files of 0~t time intervals recorded are covered, the TS files covering t~2t time intervals recorded in 3t~4t time intervals The TS files of interior recording, according to this principle Record and Save TS files.It is specifically described below, by setting cover time, code Previous TS files can be covered according to the time of setting by flowing box, and the present embodiment set the cover time as 10 minutes, then first can The TS files of 20 minutes are recorded, the TS files then recorded after 20~30 minutes can cover 1~10 minute TS file recorded, The TS files recorded for 30~40 minutes can cover 10~20 minutes TS files recorded, and principle preserves TS files according to this, often The TS files of secondary preservation are the TS files of 20 minutes length, on the one hand can ensure have newest TS files to deposit always in this way , while excessive computer hard disc space will not be occupied again.
(2) setting sends the time interval of status information, and the time interval of the present embodiment setting is 10 seconds, works as set-top box During normal operation, set-top box sent " normal " character string every 10 seconds to code stream box, and code stream box receives " normal " Set-top box TS files are normally recorded after character string;When the normal program operation but application function of set-top box break down, such as There is the problems such as a large amount of mosaic, volume exception or program can not be decrypted in video, and when there is such failure, set-top box is to code It flows box and sends " error " character string, code stream box stops recording set-top box TS files after receiving " error " character string;Work as machine The normal program operation of top box but when occurring restarting failure, set-top box sends " reset " character string, code stream box to code stream box Stop recording set-top box TS files after receiving " reset " character string;When code stream box did not received set-top box hair more than 10 seconds yet The status information sent can determine that set-top box has crashed or occurred restarting at this time, then stops recording set-top box TS files.By with Upper step is at least saved nearest 10 minutes and is recorded it is found that when code stream box because when the failure of set-top box stops recording TS files The TS files of system.
In addition, buzzer is provided on code stream box in the present embodiment, after code stream box stops recording set-top box TS files The buzzer warning, front end environment when prompting customer problem occurs are replicated good.
It is to be appreciated that for the state that monitors set-top box and decide whether to record according to the state of set-top box due to step (2) System, therefore the step (2) in the present embodiment is performed simultaneously with step (1).
As can be seen from the above embodiments, the set-top box in the embodiment of the present invention can send state letter to code stream box in real time Breath, therefore can ensure that code stream box obtains the status information of set-top box and judges whether set-top box occurs according to status information in real time Problem and the type that goes wrong decide whether to record TS files, therefore the present invention on the basis of set-top box status information is obtained It can guarantee that code stream box determines to record or stops recording set-top box TS files according to the status information of set-top box without manual intervention, Human cost is saved;In addition, the embodiment of the present invention, by setting the cover time, code stream box is covered according to the cover time of setting The TS files recorded, have saved memory space.

Claims (5)

  1. A kind of 1. automatic recording method of set-top box TS files, it is characterised in that including:
    Set-top box with code stream box is connect, starts code stream box and starts TS document recordings;
    Set-top box is set to send the time interval of status information, when set-top box normal operation, set-top box is every one time It is spaced to code stream box and sends a first state information, code stream box normally records set-top box TS texts after receiving first state information Part;
    When the normal program operation but application function of set-top box break down, set-top box sends second state to code stream box Information, code stream box stop recording set-top box TS files after receiving the second status information;
    When set-top box normal program operation but when occurring restarting failure, set-top box sends a third state letter to code stream box Breath, code stream box stop recording set-top box TS files after receiving third state information;
    When code stream box be more than setting transmissions status information time interval do not receive yet set-top box send status information, then Stop recording set-top box TS files,
    The first state information, the second status information and third state information are different.
  2. 2. the automatic recording method of set-top box TS files according to claim 1, it is characterised in that the code stream box is being recorded During set-top box TS files processed, the set-top box TS files currently recorded covering has been recorded to the set-top box TS of completion at regular intervals File.
  3. 3. the automatic recording method of set-top box TS files according to claim 1, it is characterised in that the machine top of the setting The time interval that box sends status information is 6~10 seconds.
  4. 4. the automatic recording method of set-top box TS files according to claim 1, it is characterised in that set on the code stream box Buzzer is equipped with, buzzer warning after code stream box stops recording set-top box TS files.
  5. 5. the automatic recording method of set-top box TS files according to claim 1, it is characterised in that the set-top box and code Stream box passes through RS232 protocol communications.
CN201510621380.5A 2015-09-25 2015-09-25 The automatic recording method of set-top box TS files Expired - Fee Related CN105227992B (en)

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 CN105227992A (en) 2016-01-06
CN105227992B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337503B (en) * 2018-01-25 2020-06-23 深圳创维数字技术有限公司 Digital television field environment simulation method, terminal and computer readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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
CN101217618B (en) * 2008-01-11 2010-09-15 南京图格科技发展有限公司 A real-time collection method of STB working status

Also Published As

Publication number Publication date
CN105227992A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN100551007C (en) Digital broadcast recording apparatus and digital broadcasting recording method
CN102571726B (en) Method, system and the state judgment server that multi-medium data is shared
KR101345227B1 (en) Receiver and method for reporting the usage of advanced television services
US20070157209A1 (en) Broadcast receiving terminal and program execution method
US20060280443A1 (en) Broadcast recording and reproduction apparatus and method thereof
HU224095B1 (en) Method and device for transmitting, decoding and transcoding video signal , further video signal
CA2539137A1 (en) Method and apparatus for network content download and recording
CN108156152B (en) Method, apparatus, storage medium and the terminal device Streaming Media downloading and played
CN102945678A (en) Storage method and system of video documents and video monitoring device
JP2002016919A (en) Information transmissions method and device, information receiving method and device, information recording method and device, and information recording regenerating method and device
CN101026721A (en) Method, system and device for recording and playing programmes without advertisement
CN103988520A (en) Reception device, method for controlling same, distribution device, distribution method, program, and distribution system
WO2003015403A3 (en) An apparatus and method for delivering video content to subscribers
EP3748978A1 (en) Screen recording method, client, and terminal device
CN101197987A (en) Digital television program recording and playback method and system
CN105227992B (en) The automatic recording method of set-top box TS files
CN105744308A (en) Streaming media data downloading method and device
CN103780325B (en) A kind of satellite transmission purpose monitoring system
CN106231413B (en) A kind of automatic division processing method of audio, video data based on intelligent terminal and system
US6438171B1 (en) Method and apparatus for modifying tables of data
CN106817619A (en) One kind identification video pause state, the method for improving OTT video quality monitoring accuracies
CN107396153B (en) Channel switching method and device
JP4938384B2 (en) Moving image data distribution system, moving image data providing method, moving image data distribution program, moving image data providing program, and computer-readable recording medium on which those programs are recorded
CN112929407A (en) File transmission method, device, equipment and readable storage medium
CA2475808A1 (en) Pcr timing control in variable bit rate (vbr) transport streams

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

Granted publication date: 20180622

Termination date: 20210925

CF01 Termination of patent right due to non-payment of annual fee