CN105916009B - A kind of method and device for recording program - Google Patents

A kind of method and device for recording program Download PDF

Info

Publication number
CN105916009B
CN105916009B CN201610293174.0A CN201610293174A CN105916009B CN 105916009 B CN105916009 B CN 105916009B CN 201610293174 A CN201610293174 A CN 201610293174A CN 105916009 B CN105916009 B CN 105916009B
Authority
CN
China
Prior art keywords
program
recording
record
prd
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.)
Active
Application number
CN201610293174.0A
Other languages
Chinese (zh)
Other versions
CN105916009A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201610293174.0A priority Critical patent/CN105916009B/en
Publication of CN105916009A publication Critical patent/CN105916009A/en
Priority to PCT/CN2017/082909 priority patent/WO2017190661A1/en
Application granted granted Critical
Publication of CN105916009B publication Critical patent/CN105916009B/en
Active 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device for recording program, the transport stream TS issued by receiving front-end, the TS includes network information table NIT, includes pre-set private setting descriptor PRD in the NIT, the PRD is for describing performance recording information;In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;Program is recorded according to the performance recording information, to realize control of the front end to PVR, easy to operate, exploitativeness is strong, it is at low cost, without excessive hardware cost and human resources etc.;The production of set-top box manufacturer can preferably cooperate operator with the set-top box of front-end control PVR, improve product competitiveness.

Description

A kind of method and device for recording program
Technical field
The present embodiments relate to the technical field of DTV more particularly to a kind of method and devices for recording program.
Background technique
With the development of sized enterprises in chinese DTV industry and the growth in market, personal video record (Personal Video Recorder, PVR) technology will become following one of the developing direction in conjunction with set-top box.PVR technology and DTV STB In conjunction with and generate PVR set-top box, bring digitized video recording playback and content interaction.PVR DTV STB is as one The very distinctive digital TV terminal of kind, has a vast market foreground.
Under the prior art, PVR process flow is as follows: program plays the storage of --- performance recording --- program and playback.Directly It broadcasts to flow demodulate by set-top box tuner and gets transport stream TS, rear TS stream obtains PSI/SI information, base by demultiplexing The data such as this stream, data flow.
Being accomplished by the information for performance recording, demultiplexed and will be stored in shifting in performance recording link In the storage equipment such as dynamic hard disk, information includes: to record program PAT data content, record program PMT data content, record program Basic flow data pointed by the PID of basic flow described in PMT to record scrambled program can also store ECM data it is related letter Breath.Information above is multiplexed into transport stream all the way to be stored in movable storage device again, just completes performance recording.
Existing performance recording is more passive, and PVR causes the completion of PVR performance recording to depend on so not by front-end control Terminal operation, front end not can control the recording permission of recorded file, watch the permissions such as permission, deletion, be easy to cause operator Passive situation leverages control of the operator to PVR set-top box service.
Summary of the invention
The purpose of the embodiment of the present invention is to propose a kind of method and device for recording program, it is intended to it is passive to solve operator Receive the problem of recording program.
For this purpose, the embodiment of the present invention uses following technical scheme:
In a first aspect, a kind of method for recording program, which comprises
The transport stream TS that receiving front-end issues, the TS include network information table NIT, include presetting in the NIT Private setting descriptor PRD, the PRD is for describing performance recording information;
In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;
Program is recorded according to the performance recording information.
Preferably, the performance recording information includes PRD version number prd_version_number, records program PID Record_PID, identifier can_record whether is recorded, program broadcasting time record_play_times is recorded, records section Mesh validity period record_validtime, permission command character record_control and/or reserved field reserved_ is recorded future_use;
The PRD version number is used for the PRD version number being arranged in the TS;
The file recorded program PID and be used for unique identification performance recording, the recording program PID includes for identifying The transport_stream_id of the TS, the original_network_id for identifying primitive network, for identifying net The network_id of network, the service_id for identification service and/or the event_id for identified event;
The identifier of whether recording for indicating whether program can allow for recording, 0 indicates that recording, 1 is not allowed to indicate Allow to record, alternatively, 1 indicates that recording, 0 is allowed to indicate not allow to record;
The broadcasting time recorded program broadcasting time and be used to be arranged performance recording permission;
It is described to record program validity period for the broadcasting validity period of performance recording permission to be arranged;
The deletion or renaming or the rule of sequence, method recorded permission command character and be used to be arranged performance recording And permission;
The field that the reserved field is used for the reserved following extension.
Preferably, the parsing NIT, obtains performance recording information, comprising:
It locks default frequency point and demodulates the TS, parse the NIT and obtain frequency point information, successively according to the frequency point information Frequency locking simultaneously demodulates;
Program Association Table PAT is parsed, the PID of Program Map Table PMT relevant to program is obtained;
The PMT is parsed according to the PID, obtains program clock reference PID and audio-video PID;
It parses SDT Service Description Table SDT and obtains Business Name information, parse the PRD;
Performance recording information after storing and resolving.
It is described that program is recorded according to the performance recording information, comprising:
The PRD version number is searched, is compared with pre-stored data, obtains latest edition according to the result of the comparison This;
If the identifier of whether recording indicates that program does not allow to record, terminate to record;
If the identifier of whether recording indicates that program allows to record, according to the performance recording information after the parsing of storage Record program.
Preferably, described to parse the NIT in the case where set-top box is opened, obtain performance recording information, comprising:
After set-top box unlatching, in the case where carrying out thread detection, the record_control is parsed.
It is described that program is recorded according to the performance recording information, comprising:
Corresponding operational order is sent to the set-top box according to the record_control.
Preferably, after the recording program according to the performance recording information, further includes:
After set-top box unlatching, in the case where carrying out thread detection, if the performance recording information after parsing is institute It states and records the program validity period record_validtime and recording program broadcasting time record_play_times, then root According to the recording program validity period and the recording program broadcasting time, the program after recording is played out.
It is described according to the recording program validity period and the recording program broadcasting time, the program after recording is broadcast It puts, comprising:
It detects and judges whether before the deadline to record program;
If the recording program not within the recording program validity period, is terminated to the playback operation for having recorded program;
If the recording program within the recording program validity period, detects and judges the recording program broadcasting time Whether 0 is greater than;
If the recording program broadcasting time is greater than 0, it is primary to have recorded program described in every normal playback, then by the record The value of program broadcasting time processed successively decreases 1.
Second aspect, a kind of recording section destination device, described device include:
Receiving module, for the transport stream TS that receiving front-end issues, the TS includes network information table NIT, in the NIT Including pre-set private setting descriptor PRD, the PRD is for describing performance recording information;
Parsing module obtains performance recording information for parsing the NIT in the case where set-top box is opened;
Module is recorded, for recording program according to the performance recording information.
Preferably, the performance recording information includes PRD version number prd_version_number, records program PID Record_PID, identifier can_record whether is recorded, program broadcasting time record_play_times is recorded, records section Mesh validity period record_validtime, permission command character record_control and/or reserved field reserved_ is recorded future_use;
The PRD version number is used for the PRD version number being arranged in the TS;
The file recorded program PID and be used for unique identification performance recording, the recording program PID includes for identifying The transport_stream_id of the TS, the original_network_id for identifying primitive network, for identifying net The network_id of network, the service_id for identification service and/or the event_id for identified event;
The identifier of whether recording for indicating whether program can allow for recording, 0 indicates that recording, 1 is not allowed to indicate Allow to record, alternatively, 1 indicates that recording, 0 is allowed to indicate not allow to record;
The broadcasting time recorded program broadcasting time and be used to be arranged performance recording permission;
It is described to record program validity period for the broadcasting validity period of performance recording permission to be arranged;
The deletion or renaming or the rule of sequence, method recorded permission command character and be used to be arranged performance recording And permission;
The field that the reserved field is used for the reserved following extension.
Preferably, the parsing module, is used for:
It locks default frequency point and demodulates the TS, parse the NIT and obtain frequency point information, successively according to the frequency point information Frequency locking simultaneously demodulates;
Program Association Table PAT is parsed, the PID of Program Map Table PMT relevant to program is obtained;
The PMT is parsed according to the PID, obtains program clock reference PID and audio-video PID;
It parses SDT Service Description Table SDT and obtains Business Name information, parse the PRD;
Performance recording information after storing and resolving.
The recording module, is used for:
The PRD version number is searched, is compared with pre-stored data, obtains latest edition according to the result of the comparison This;
If the identifier of whether recording indicates that program does not allow to record, terminate to record;
If the identifier of whether recording indicates that program allows to record, according to the performance recording information after the parsing of storage Record program.
Preferably, the parsing module, is used for:
After set-top box unlatching, in the case where carrying out thread detection, the record_control is parsed.
The recording module, is used for:
Corresponding operational order is sent to the set-top box according to the record_control.
Preferably, described device further include:
Playing module is used for after set-top box unlatching, in the case where carrying out thread detection, if the program after parsing Recorded information is the recording program validity period record_validtime and recording program broadcasting time record_ Play_times carries out the program after recording then according to the recording program validity period and the recording program broadcasting time It plays.
The playing module, is used for:
It detects and judges whether before the deadline to record program;
If the recording program not within the recording program validity period, is terminated to the playback operation for having recorded program;
If the recording program within the recording program validity period, detects and judges the recording program broadcasting time Whether 0 is greater than;
If the recording program broadcasting time is greater than 0, it is primary to have recorded program described in every normal playback, then by the record The value of program broadcasting time processed successively decreases 1.
The embodiment of the present invention provide it is a kind of record program method and device, the transport stream TS issued by receiving front-end, The TS includes network information table NIT, includes pre-set private setting descriptor PRD in the NIT, the PRD is for describing Performance recording information;In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;According to the section directory Information processed records program, to realize control of the front end to PVR, easy to operate, exploitativeness is strong, at low cost, without excessive Hardware cost and human resources etc.;The production of set-top box manufacturer can preferably cooperate operator with the set-top box of front-end control PVR, Improve product competitiveness.
Detailed description of the invention
Fig. 1 is the flow diagram for the method first embodiment that the embodiment of the present invention records program;
Fig. 2 is the flow diagram for the method second embodiment that the embodiment of the present invention records program;
Fig. 3 is the flow diagram for the method 3rd embodiment that the embodiment of the present invention records program;
Fig. 4 is the flow diagram for the method fourth embodiment that the embodiment of the present invention records program;
Fig. 5 is the flow diagram for the 5th embodiment of method that the embodiment of the present invention records program;
Fig. 6 is the flow diagram for the method sixth embodiment that the embodiment of the present invention records program;
Fig. 7 is the flow diagram for the 7th embodiment of method that the embodiment of the present invention records program;
Fig. 8 is the functional block diagram that the embodiment of the present invention records section destination device.
Specific embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this Locate described specific embodiment and is used only for explaining the embodiment of the present invention, rather than the restriction to the embodiment of the present invention.In addition also It should be noted that only parts related to embodiments of the present invention are shown rather than entire infrastructure for ease of description, in attached drawing.
Embodiment one
It is the flow diagram for the method first embodiment that the embodiment of the present invention records program with reference to Fig. 1, Fig. 1.
In example 1, the method for recording program includes:
Step 101, the transport stream TS that receiving front-end issues, the TS include network information table NIT, include in the NIT Pre-set private setting descriptor PRD, the PRD are for describing performance recording information;
Specifically, grouping private setting descriptor, the privately owned description of the grouping in the transport stream TS that front end plays, is added in operator Symbol is deposited in the network information table NIT of PSI information, which provides included in the transport stream TS of its description The overall information of the recording situation of program.Including PAT version number (pat_version_number), record program PID (record_PID), whether record identifier (can_record), record program broadcasting time (record_play_times), It records program validity period (record_validtime), record permission command character (record_control), reserved field (reserved_future_use) etc..
Customized private setting descriptor performance recording descriptor PRD effect is similar to MPEG-2 system layer standard (standard No. ISO/IEC 13818-1) defined in Program Association Table (PAT), meet the PSI-SI information norm in DVB standard.
Wherein, the performance recording information includes PRD version number prd_version_number, records program PID Record_PID, identifier can_record whether is recorded, program broadcasting time record_play_times is recorded, records section Mesh validity period record_validtime, permission command character record_control and/or reserved field reserved_ is recorded future_use;
The PRD version number is used for the PRD version number being arranged in the TS;
The file recorded program PID and be used for unique identification performance recording, the recording program PID includes for identifying The transport_stream_id of the TS, the original_network_id for identifying primitive network, for identifying net The network_id of network, the service_id for identification service and/or the event_id for identified event;
The identifier of whether recording for indicating whether program can allow for recording, 0 indicates that recording, 1 is not allowed to indicate Allow to record, alternatively, 1 indicates that recording, 0 is allowed to indicate not allow to record;
The broadcasting time recorded program broadcasting time and be used to be arranged performance recording permission;
It is described to record program validity period for the broadcasting validity period of performance recording permission to be arranged;
The deletion or renaming or the rule of sequence, method recorded permission command character and be used to be arranged performance recording And permission;
The field that the reserved field is used for the reserved following extension.
Specifically, the syntactic definition of the performance recording descriptor PRD (program_record_descriptor) is such as Under:
Step 102, in the case where set-top box is opened, the NIT is parsed, obtains performance recording information;
Specifically, terminal parses the NIT in the case where set-top box is opened, the performance recording letter for including in NIT is obtained Breath.
Step 103, program is recorded according to the performance recording information.
Specifically, terminal carries out recording program according to the performance recording information after parsing.
The embodiment of the present invention provides a kind of method for recording program, the transport stream TS issued by receiving front-end, the TS It include pre-set private setting descriptor PRD in the NIT, the PRD is for describing section directory including network information table NIT Information processed;In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;According to the performance recording information Record program, to realize control of the front end to PVR, easy to operate, exploitativeness is strong, at low cost, without excessive hardware at This and human resources etc.;The production of set-top box manufacturer can preferably cooperate operator with the set-top box of front-end control PVR, improve and produce Product competitiveness.
Embodiment two
It is the flow diagram for the method second embodiment that the embodiment of the present invention records program with reference to Fig. 2, Fig. 2.
In example 2, the method for recording program includes:
Step 201, the transport stream TS that receiving front-end issues, the TS include network information table NIT, include in the NIT Pre-set private setting descriptor PRD, the PRD are for describing performance recording information;
Step 202, it in the case where set-top box is opened, locks default frequency point and demodulates the TS, parse the NIT and obtain Frequency point information successively frequency locking and is demodulated according to the frequency point information;Program Association Table PAT is parsed, section relevant to program is obtained The PID of mesh mapping table PMT;The PMT is parsed according to the PID, obtains program clock reference PID and audio-video PID;Parse industry Business description table SDT obtains Business Name information, parses the PRD;Performance recording information after storing and resolving;
Step 203, the PRD version number is searched, is compared with pre-stored data, obtains according to the result of the comparison Latest edition;
Step 204, if the identifier of whether recording indicates that program does not allow to record, terminate to record;
Step 205, if the identifier of whether recording indicates that program allows to record, according to the program after the parsing of storage Recorded information records program.
The embodiment of the present invention provides a kind of method for recording program, the transport stream TS issued by receiving front-end, the TS It include pre-set private setting descriptor PRD in the NIT, the PRD is for describing section directory including network information table NIT Information processed;In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;The PRD version number is searched, with Pre-stored data are compared, and obtain latest edition according to the result of the comparison;If the identifier of whether recording indicates section Mesh does not allow to record, then terminates to record;If the identifier of whether recording indicates that program allows to record, according to the parsing of storage Performance recording information afterwards records program, to realize control of the front end to PVR, easy to operate, exploitativeness is strong, cost It is low, without excessive hardware cost and human resources etc.;Set-top box manufacturer set-top box of the production with front-end control PVR can be preferably Cooperate operator, improves product competitiveness.
Embodiment three
It is the flow diagram for the method 3rd embodiment that the embodiment of the present invention records program with reference to Fig. 3, Fig. 3.
In the third embodiment, the method for recording program includes:
Step 301, the transport stream TS that receiving front-end issues, the TS include network information table NIT, include in the NIT Pre-set private setting descriptor PRD, the PRD are for describing performance recording information;
Step 302, after set-top box unlatching, in the case where carrying out thread detection, the record_ is parsed control;
Step 303, corresponding operational order is sent to the set-top box according to the record_control.
Specifically, to correspond to different operational orders as follows by different record_control:
The embodiment of the present invention provides a kind of method for recording program, the transport stream TS that receiving front-end issues, and the TS includes It include pre-set private setting descriptor PRD in network information table NIT, the NIT, the PRD is for describing performance recording letter Breath;After set-top box unlatching, in the case where carrying out thread detection, the record_control is parsed;According to described Record_control sends corresponding operational order to the set-top box, so that control of the front end to PVR is realized, to certain Whether the setting of specific program copyright allows to record and delete permission, to protecting such specific program copyright etc. to have great significance.
Example IV
It is the flow diagram for the method fourth embodiment that the embodiment of the present invention records program with reference to Fig. 4, Fig. 4.
On the basis of embodiment one to three, on the basis of example 1, the method for recording program is also Including step 404:
Step 401, the transport stream TS that receiving front-end issues, the TS include network information table NIT, include in the NIT Pre-set private setting descriptor PRD, the PRD are for describing performance recording information;
Step 402, in the case where set-top box is opened, the NIT is parsed, obtains performance recording information;
Step 403, program is recorded according to the performance recording information;
Step 404, after set-top box unlatching, in the case where carrying out thread detection, if the performance recording after parsing Information is the recording program validity period record_validtime and recording program broadcasting time record_play_ Times plays out the program after recording then according to the recording program validity period and the recording program broadcasting time.
Preferably, described according to the recording program validity period and the recording program broadcasting time, to the section after recording Mesh plays out, comprising:
It detects and judges whether before the deadline to record program;
If the recording program not within the recording program validity period, is terminated to the playback operation for having recorded program;
If the recording program within the recording program validity period, detects and judges the recording program broadcasting time Whether 0 is greater than;
If the recording program broadcasting time is greater than 0, it is primary to have recorded program described in every normal playback, then by the record The value of program broadcasting time processed successively decreases 1.
Specifically, the above method is expressed as follows with code:
So as follows for the quick-reading flow sheets of original recorded program playback:
It is as follows for the quick-reading flow sheets of improved recorded program playback:
Wherein:
Descriptor_tag: descriptor tag, 8bit field, for identifying different descriptors.It is defined herein as 0x80 (inside SI specification, provides the descriptor tag that 0x80-0xFE is user's self-defining), indicates that the descriptor is program Descriptor is recorded, is the unique identification of performance recording descriptor.
Descriptor_length: descriptor length, 8bit field provide the byte number of descriptor after the field.
PCR_PID: program clock reference PID, 13bit field, for providing the section for the business that service_id is identified The mark of transport stream (TS) packet where mesh clock reference.
Video_type/audio_type: stream type, 8bit field, for identifying the type of basic flow.Specific value point With the explanation referring to Program Map Table (PMT) corresponding field in MPEG-2 system layer standard (standard No. ISO/IEC 13818-1).
Transport_stream_id: transport stream identification symbol, 16bit field, in a Transmission system, for identifying A unique transport stream.
Original_network_id: original network identification symbol, 16bit field, for providing the net of original transmitted system Network identifier.
Network_id: network identifier, 16bit field, for providing the network identifier of Transmission system.
Service_id: task identifier, 16bit field, in the transport stream described in program map descriptor (TS) One business of unique identification.
Event_id: event ID, 16bit field, in the transport stream described in program map descriptor (TS) only One one event of mark.
Control_id: permission command character: 4bit shares above-mentioned 8 kinds of situations.
The embodiment of the present invention provides a kind of method for recording program, the transport stream TS that receiving front-end issues, and the TS includes It include pre-set private setting descriptor PRD in network information table NIT, the NIT, the PRD is for describing performance recording letter Breath;In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;It is recorded according to the performance recording information Program;After set-top box unlatching, in the case where carrying out thread detection, if the performance recording information after parsing is the record Program validity period record_validtime processed and the recording program broadcasting time record_play_times, then according to institute It states and records program validity period and the recording program broadcasting time, the program after recording is played out, to realize front end Control to PVR, easy to operate, exploitativeness is strong, at low cost, without excessive hardware cost and human resources etc.;Set-top box factory Quotient's production can preferably cooperate operator with the set-top box of front-end control PVR, improve product competitiveness.
Embodiment five
It is the flow diagram for the 5th embodiment of method that the embodiment of the present invention records program with reference to Fig. 5, Fig. 5.
In embodiment five, the method for recording program includes:
Step 501, front end sends the TS with private setting descriptor to terminal and flows;
Step 502, set-top box is opened;
Step 503, terminal frequency locking parses;
Step 504, judge whether PRD version number is Advanced Edition;
Step 505, if so, terminal frequency locking and parsing;
Step 506, if it is not, after being then updated to highest version, to terminal frequency locking and parsing;
Step 507, judge whether to record whether character is 1;
Step 508, if 1, then can be performed it is normal record process, obtain transport_stream_id in transport stream, original_network_id,network_id,service_id,event_id;Audio-video PID and audio/video flow type, section Start to start normal recording after mesh clock reference PID etc..
Step 509, if 0, then do not start performance recording.
Embodiment six
It is the flow diagram for the method sixth embodiment that the embodiment of the present invention records program with reference to Fig. 6, Fig. 6.
In embodiment six, the method for recording program includes:
Step 601, front end sends the TS with private setting descriptor to terminal and flows;
Step 602, user opens set-top box;
Step 603, terminal thread detection operation;
Step 604, judge whether before the deadline;
Step 605, if so, judging whether broadcasting time is greater than 0;
Step 606, if so, normal playback process is primary, obtain transport stream in transport_stream_id, original_network_id,network_id,service_id,event_id;Audio-video PID and audio/video flow type, section Mesh clock reference PID etc..
Step 607, if not before the deadline, terminating playback recorded program;
Step 608, if broadcasting time is not more than 0, playback recorded program is terminated;
Step 609, broadcasting time is modified, broadcasting time is reduced 1.
Embodiment seven
It is the flow diagram for the 7th embodiment of method that the embodiment of the present invention records program with reference to Fig. 7, Fig. 7.
In embodiment 7, the method for recording program includes:
Step 701, front end sends the TS with private setting descriptor to terminal and flows;
Step 702, user opens set-top box;
Step 703, terminal thread detection operation;
Step 704, permission command character (controlid) is identified, different cotrolid has different instructions to set-top box.
Embodiment eight
It is a kind of the functional block diagram for recording section destination device provided in an embodiment of the present invention with reference to Fig. 8, Fig. 8.
In embodiment eight, the recording section destination device includes:
Receiving module 801, for the transport stream TS that receiving front-end issues, the TS includes network information table NIT, described It include pre-set private setting descriptor PRD in NIT, the PRD is for describing performance recording information;
Wherein, the performance recording information includes PRD version number prd_version_number, records program PID Record_PID, identifier can_record whether is recorded, program broadcasting time record_play_times is recorded, records section Mesh validity period record_validtime, permission command character record_control and/or reserved field reserved_ is recorded future_use;
The PRD version number is used for the PRD version number being arranged in the TS;
The file recorded program PID and be used for unique identification performance recording, the recording program PID includes for identifying The transport_stream_id of the TS, the original_network_id for identifying primitive network, for identifying net The network_id of network, the service_id for identification service and/or the event_id for identified event;
The identifier of whether recording for indicating whether program can allow for recording, 0 indicates that recording, 1 is not allowed to indicate Allow to record, alternatively, 1 indicates that recording, 0 is allowed to indicate not allow to record;
The broadcasting time recorded program broadcasting time and be used to be arranged performance recording permission;
It is described to record program validity period for the broadcasting validity period of performance recording permission to be arranged;
The deletion or renaming or the rule of sequence, method recorded permission command character and be used to be arranged performance recording And permission;
The field that the reserved field is used for the reserved following extension.
Parsing module 802 obtains performance recording information for parsing the NIT in the case where set-top box is opened;
Preferably, the parsing module 802, is used for:
It locks default frequency point and demodulates the TS, parse the NIT and obtain frequency point information, successively according to the frequency point information Frequency locking simultaneously demodulates;
Program Association Table PAT is parsed, the PID of Program Map Table PMT relevant to program is obtained;
The PMT is parsed according to the PID, obtains program clock reference PID and audio-video PID;
It parses SDT Service Description Table SDT and obtains Business Name information, parse the PRD;
Performance recording information after storing and resolving.
Preferably, the parsing module 802, is used for:
After set-top box unlatching, in the case where carrying out thread detection, the record_control is parsed.
Module 803 is recorded, for recording program according to the performance recording information.
Preferably, the recording module 803, is used for:
The PRD version number is searched, is compared with pre-stored data, obtains latest edition according to the result of the comparison This;
If the identifier of whether recording indicates that program does not allow to record, terminate to record;
If the identifier of whether recording indicates that program allows to record, according to the performance recording information after the parsing of storage Record program.
Preferably, the recording module 803, is used for:
Corresponding operational order is sent to the set-top box according to the record_control.
Preferably, described device further include:
Playing module is used for after set-top box unlatching, in the case where carrying out thread detection, if the program after parsing Recorded information is the recording program validity period record_validtime and recording program broadcasting time record_ Play_times carries out the program after recording then according to the recording program validity period and the recording program broadcasting time It plays.
Preferably, the playing module, is used for:
It detects and judges whether before the deadline to record program;
If the recording program not within the recording program validity period, is terminated to the playback operation for having recorded program;
If the recording program within the recording program validity period, detects and judges the recording program broadcasting time Whether 0 is greater than;
If the recording program broadcasting time is greater than 0, it is primary to have recorded program described in every normal playback, then by the record The value of program broadcasting time processed successively decreases 1.
The embodiment of the present invention provides a kind of recording section destination device, the transport stream TS issued by receiving front-end, the TS It include pre-set private setting descriptor PRD in the NIT, the PRD is for describing section directory including network information table NIT Information processed;In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;According to the performance recording information Record program, to realize control of the front end to PVR, easy to operate, exploitativeness is strong, at low cost, without excessive hardware at This and human resources etc.;The production of set-top box manufacturer can preferably cooperate operator with the set-top box of front-end control PVR, improve and produce Product competitiveness.
Describe the technical principle of the embodiment of the present invention in conjunction with specific embodiments above.These descriptions are intended merely to explain this The principle of inventive embodiments, and it cannot be construed to the limitation to protection scope of the embodiment of the present invention in any way.Based on herein Explanation, those skilled in the art, which does not need to pay for creative labor, can associate the other specific of the embodiment of the present invention Embodiment, these modes are fallen within the protection scope of the embodiment of the present invention.

Claims (8)

1. a kind of method for recording program, which is characterized in that the described method includes:
The transport stream TS that receiving front-end issues, the TS include network information table NIT, include pre-set private in the NIT Symbol PRD, the PRD are described for describing performance recording information;
In the case where set-top box is opened, the NIT is parsed, obtains performance recording information;
Program is recorded according to the performance recording information;
Wherein, PRD version number prd_version_number, whether record identifier can_record and be included in the section directory In information processed;
The parsing NIT, obtains performance recording information, comprising:
It locks default frequency point and simultaneously demodulates the TS, parse the NIT and obtain frequency point information, according to the frequency point information successively frequency locking And it demodulates;
Program Association Table PAT is parsed, the PID of Program Map Table PMT relevant to program is obtained;
The PMT is parsed according to the PID, obtains program clock reference PID and audio-video PID;
It parses SDT Service Description Table SDT and obtains Business Name information, parse the PRD;
Performance recording information after storing and resolving;
It is described that program is recorded according to the performance recording information, comprising:
The PRD version number is searched, is compared with pre-stored data, obtains latest edition according to the result of the comparison;
If the identifier of whether recording indicates that program does not allow to record, terminate to record;
If the identifier of whether recording indicates that program allows to record, recorded according to the performance recording information after the parsing of storage Program.
2. the method according to claim 1, wherein the performance recording information includes PRD version number prd_ Version_number, program PID record_PID is recorded, identifier can_record whether is recorded, records program broadcasting time Number record_play_times, it records program validity period record_validtime, record permission command character record_ Control and/or reserved field reserved_future_use;
The PRD version number is used for the PRD version number being arranged in the TS;
The file recorded program PID and be used for unique identification performance recording, the recording program PID include described for identifying The transport_stream_id of TS, the original_network_id for identifying primitive network, for identifying network Network_id, the service_id for identification service and/or the event_id for identified event;
The identifier of whether recording for indicating whether program can allow for recording, 0 indicates that recording, 1 is not allowed to indicate to allow It records, alternatively, 1 indicates that recording, 0 is allowed to indicate not allow to record;
The broadcasting time recorded program broadcasting time and be used to be arranged performance recording permission;
It is described to record program validity period for the broadcasting validity period of performance recording permission to be arranged;
The deletion or renaming or the rule of sequence, method and power recorded permission command character and be used to be arranged performance recording Limit;
The field that the reserved field is used for the reserved following extension.
3. according to the method described in claim 2, it is characterized in that, described in the case where set-top box is opened, described in parsing NIT obtains performance recording information, comprising:
After set-top box unlatching, in the case where carrying out thread detection, the record_control is parsed;
It is described that program is recorded according to the performance recording information, comprising:
Corresponding operational order is sent to the set-top box according to the record_control.
4. according to claim 1 to method described in 3 any one, which is characterized in that described according to the performance recording information After recording program, further includes:
After set-top box unlatching, in the case where carrying out thread detection, if the performance recording information after parsing is the record Program validity period record_validtime processed and the recording program broadcasting time record_play_times, then according to institute It states and records program validity period and the recording program broadcasting time, the program after recording is played out;
It is described that the program after recording is played out according to the recording program validity period and the recording program broadcasting time, Include:
It detects and judges whether before the deadline to record program;
If the recording program not within the recording program validity period, is terminated to the playback operation for having recorded program;
If the recording program within the recording program validity period, detects and whether judges the recording program broadcasting time Greater than 0;
If the recording program broadcasting time is greater than 0, it is primary to have recorded program described in every normal playback, then by recordings section The value of mesh broadcasting time successively decreases 1.
5. a kind of recording saves destination device, which is characterized in that described device includes:
Receiving module, for the transport stream TS that receiving front-end issues, the TS includes network information table NIT, includes in the NIT Pre-set private setting descriptor PRD, the PRD are for describing performance recording information;
Parsing module obtains performance recording information for parsing the NIT in the case where set-top box is opened;
Module is recorded, for recording program according to the performance recording information;
Wherein, PRD version number prd_version_number, whether record identifier can_record and be included in the section directory In information processed;
The parsing module, is used for:
It locks default frequency point and simultaneously demodulates the TS, parse the NIT and obtain frequency point information, according to the frequency point information successively frequency locking And it demodulates;
Program Association Table PAT is parsed, the PID of Program Map Table PMT relevant to program is obtained;
The PMT is parsed according to the PID, obtains program clock reference PID and audio-video PID;
It parses SDT Service Description Table SDT and obtains Business Name information, parse the PRD;
Performance recording information after storing and resolving;
The recording module, is used for:
The PRD version number is searched, is compared with pre-stored data, obtains latest edition according to the result of the comparison;
If the identifier of whether recording indicates that program does not allow to record, terminate to record;
If the identifier of whether recording indicates that program allows to record, recorded according to the performance recording information after the parsing of storage Program.
6. device according to claim 5, which is characterized in that the performance recording information includes PRD version number prd_ Version_number, program PID record_PID is recorded, identifier can_record whether is recorded, records program broadcasting time Number record_play_times, it records program validity period record_validtime, record permission command character record_ Control and/or reserved field reserved_future_use;
The PRD version number is used for the PRD version number being arranged in the TS;
The file recorded program PID and be used for unique identification performance recording, the recording program PID include described for identifying The transport_stream_id of TS, the original_network_id for identifying primitive network, for identifying network Network_id, the service_id for identification service and/or the event_id for identified event;
The identifier of whether recording for indicating whether program can allow for recording, 0 indicates that recording, 1 is not allowed to indicate to allow It records, alternatively, 1 indicates that recording, 0 is allowed to indicate not allow to record;
The broadcasting time recorded program broadcasting time and be used to be arranged performance recording permission;
It is described to record program validity period for the broadcasting validity period of performance recording permission to be arranged;
The deletion or renaming or the rule of sequence, method and power recorded permission command character and be used to be arranged performance recording Limit;
The field that the reserved field is used for the reserved following extension.
7. device according to claim 6, which is characterized in that the parsing module is used for:
After set-top box unlatching, in the case where carrying out thread detection, the record_control is parsed;
The recording module, is used for:
Corresponding operational order is sent to the set-top box according to the record_control.
8. according to device described in claim 5 to 7 any one, which is characterized in that described device further include:
Playing module is used for after set-top box unlatching, in the case where carrying out thread detection, if the performance recording after parsing Information is the recording program validity period record_validtime and recording program broadcasting time record_play_ Times plays out the program after recording then according to the recording program validity period and the recording program broadcasting time;
The playing module, is used for:
It detects and judges whether before the deadline to record program;
If the recording program not within the recording program validity period, is terminated to the playback operation for having recorded program;
If the recording program within the recording program validity period, detects and whether judges the recording program broadcasting time Greater than 0;
If the recording program broadcasting time is greater than 0, it is primary to have recorded program described in every normal playback, then by recordings section The value of mesh broadcasting time successively decreases 1.
CN201610293174.0A 2016-05-04 2016-05-04 A kind of method and device for recording program Active CN105916009B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610293174.0A CN105916009B (en) 2016-05-04 2016-05-04 A kind of method and device for recording program
PCT/CN2017/082909 WO2017190661A1 (en) 2016-05-04 2017-05-03 Method and apparatus for recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610293174.0A CN105916009B (en) 2016-05-04 2016-05-04 A kind of method and device for recording program

Publications (2)

Publication Number Publication Date
CN105916009A CN105916009A (en) 2016-08-31
CN105916009B true CN105916009B (en) 2019-07-12

Family

ID=56752363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610293174.0A Active CN105916009B (en) 2016-05-04 2016-05-04 A kind of method and device for recording program

Country Status (2)

Country Link
CN (1) CN105916009B (en)
WO (1) WO2017190661A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916009B (en) * 2016-05-04 2019-07-12 深圳创维数字技术有限公司 A kind of method and device for recording program
CN112738615A (en) * 2020-12-25 2021-04-30 深圳市九洲电器有限公司 Program acquisition method and device, set top box and front-end server
CN114866798B (en) * 2022-05-10 2024-01-02 杭州国芯科技股份有限公司 Method for rapidly acquiring programs in DVB network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811808A (en) * 2015-03-20 2015-07-29 四川长虹电器股份有限公司 Full-network set top box software air-upgrading monitoring triggering method
CN105163133A (en) * 2015-07-07 2015-12-16 深圳Tcl数字技术有限公司 Program information playing method and device
CN105323644A (en) * 2015-10-14 2016-02-10 四川长虹电器股份有限公司 Method for checking playback authorization of program recorded by digital television

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547446B (en) * 2012-01-04 2015-12-16 深圳创维数字技术有限公司 A kind of digital television program recording guard method, system and digital TV terminal
US9820011B2 (en) * 2014-10-14 2017-11-14 Verizon Patent And Licensing Inc. Detecting and preventing false television viewership
CN105916009B (en) * 2016-05-04 2019-07-12 深圳创维数字技术有限公司 A kind of method and device for recording program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811808A (en) * 2015-03-20 2015-07-29 四川长虹电器股份有限公司 Full-network set top box software air-upgrading monitoring triggering method
CN105163133A (en) * 2015-07-07 2015-12-16 深圳Tcl数字技术有限公司 Program information playing method and device
CN105323644A (en) * 2015-10-14 2016-02-10 四川长虹电器股份有限公司 Method for checking playback authorization of program recorded by digital television

Also Published As

Publication number Publication date
CN105916009A (en) 2016-08-31
WO2017190661A1 (en) 2017-11-09

Similar Documents

Publication Publication Date Title
KR101073288B1 (en) Broadcast receiving apparatus
CN102045597B (en) Method of processing application in digital broadcast receiver and digital broadcast receiver
CN1210948C (en) Formation of performance specific information processed by digital data
KR101691836B1 (en) Method for processing broadcast program information and broadcast receiver
CN1294741C (en) Process for digital data and performance guide information
CA2697765C (en) Method and apparatus for encoding metadata into a digital program stream
CN1166179C (en) Decoding to digital data containing performance specific information
US7904928B2 (en) Content delivery system, content delivery apparatus, content recording and reproduction apparatus and content recording and reproduction method, and computer program
CN102075807A (en) Digital television program searching method, and digital television receiving terminal and transmission system
US20070140651A1 (en) Recording apparatus
WO2017002455A1 (en) Transmitting device and transmitting method, and receiving device and receiving method
US8831405B2 (en) Transmission controller, reception controller, transmission control method, reception control method and transmission control program
CN101513055B (en) Method for controlling broadcasting receiver of broadcasting signal for determining multi channels and broadcasting receiver using same
US20070157263A1 (en) Content management system
CN1226357A (en) Block data form for digital data storage medium
KR20010095018A (en) Method and device for decoding a digital video stream in a digital video system using dummy header insertion
KR20080060818A (en) A receiver and a controlling method for data broadcasting
US20060090179A1 (en) System and method for embedding supplemental information into a digital stream of a work of content
KR20060046333A (en) Data structure of data broadcasting information, method for distinguishing data broadcasting and data broadcasting transmitter/receiver
CN105916009B (en) A kind of method and device for recording program
US20070266419A1 (en) Digital television signal, digital television receiver, and method for processing digital television signal
US20210021359A1 (en) Information processing device, information processing method, and program
US11375151B2 (en) Information processing apparatus, information recording medium, and information processing method
US20090013364A1 (en) Digital broadcasting system and method for processing data
CN101072310A (en) Digital television receiver and method for processing broadcast signal

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