CN105744381B - Based on the DTV STB method annotated to TV programme scene - Google Patents

Based on the DTV STB method annotated to TV programme scene Download PDF

Info

Publication number
CN105744381B
CN105744381B CN201610091325.4A CN201610091325A CN105744381B CN 105744381 B CN105744381 B CN 105744381B CN 201610091325 A CN201610091325 A CN 201610091325A CN 105744381 B CN105744381 B CN 105744381B
Authority
CN
China
Prior art keywords
scene
annotation information
annotation
tv programme
according
Prior art date
Application number
CN201610091325.4A
Other languages
Chinese (zh)
Other versions
CN105744381A (en
Inventor
蔡茂
Original Assignee
四川长虹电器股份有限公司
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 四川长虹电器股份有限公司 filed Critical 四川长虹电器股份有限公司
Priority to CN201610091325.4A priority Critical patent/CN105744381B/en
Publication of CN105744381A publication Critical patent/CN105744381A/en
Application granted granted Critical
Publication of CN105744381B publication Critical patent/CN105744381B/en

Links

Abstract

The present invention relates to set-top box technique fields, provide a kind of method annotated to TV programme scene based on DTV STB, this method comprises: digital TV front-end editor's annotation information;Encapsulate annotation information stream;The annotation information stream of encapsulation is sequentially inserted into TV programme;After rear end set-top box receives TV programme, the annotation information of each scene is obtained by filtration;Prompt information is provided to terminal user.Notes content is just presented to the user by technical solution proposed by the present invention only after user has selected annotation information, therefore the present invention can carry out succinct, convenient aid in illustrating according to scene of the user intention to digital television program.

Description

Based on the DTV STB method annotated to TV programme scene

Technical field

The invention belongs to set-top box technique field, in particular to a kind of DTV STB that is based on is to TV programme scene Annotated method.

Background technique

Currently, different types of digital television program, for the TV user of Different Culture background, age, it may appear that one The phenomenon that a little users can not understand certain scenes of TV programme, it is therefore desirable to the certain special scenes of TV programme be carried out auxiliary Help explanation.

At present are carried out to TV programme there are two ways to supplementary explanation illustrates: one is video clip is increased, passing through increasing The video clip added aids in illustrating video scene;Another kind is to increase roll titles, be will increase using first method Video production cost and operation cost, wherein first method also increases video production and operation cost, in addition, above two reality Existing method, is all to require the mandatory annotation information for receiving scene of user, two methods can not be according to user intention to number TV programme scene carries out succinct, convenient aid in illustrating.

Summary of the invention

[technical problems to be solved]

The object of the present invention is to provide a kind of method annotated to TV programme scene based on DTV STB, with Succinct, convenient aid in illustrating is carried out to digital television program scene according to user intention.

[technical solution]

The present invention is achieved by the following technical solutions.

The present invention relates to a kind of methods annotated to TV programme scene based on DTV STB, comprising steps of

A, digital TV front-end editor annotation information and by edited annotation information export to comment file press from both sides, the note Release information include the annotation information of scene is described annotation description file, video file to be annotated and with the annotation of scene The corresponding resource file of information, the annotation information of the scene include at least scene ID, time started, end time, prompt mark Topic, notes content;

B, the annotation in comment file folder is described by file is parsed, obtain the annotation information of each scene and corresponding The annotation information of each scene and corresponding resource file are encapsulated as infusing by resource file using scene as unit according to preset protocol Release information flow;

C, the annotation information stream of each scene encapsulation is sequentially inserted into TV programme, in the pmt table of TV programme Annotation information stream is described;

D, after rear end set-top box receives TV programme, the pid value of annotation information stream is obtained according to pmt table, is believed according to annotation The annotation information of each scene is obtained by filtration in the pid value and preset protocol that cease stream;

E, according to annotation information at the beginning of and prompt title, prompt information provided to terminal user, user's confirmation mentions Terminal shows annotation information after showing information.

As a preferred embodiment, the annotation information stream that the step B is encapsulated includes scene ID, the step During rapid D filtering annotation information, judge whether a scene information receives according to the scene ID in annotation information stream, when one After a contextual data receives, parsed to obtain all annotation informations of the scene according to preset protocol.

As another preferred embodiment, in the step C, when the insertion of the annotation information stream of each scene encapsulation Between point be to subtract and be inserted into the time in advance at the beginning of the scene, the calculation formula for being inserted into the time in advance are as follows:

T=(L*8)/(1024*N),

T is to be inserted into advance the time in formula, and unit is the second;L is the length for the annotation information stream that encapsulation obtains, unit Byte;N is annotation information stream bit rate, unit Kbps.

As another preferred embodiment, in the step C, the stream type of annotation information stream described in pmt table For 0xAB.

As another preferred embodiment, in the step E, when displayed between when reaching the preset end time, Prompt information stops display.

As another preferred embodiment, the annotation description file is XML file.

[beneficial effect]

Technical solution proposed by the present invention has the advantages that

The present invention edits notes content in digital television system front end and is packaged into annotation information stream, in TV Festival Information annotation information stream is described in purpose pmt table, is inserted into annotation information stream in video flowing in real time at scene, after Set top box real time filtering annotation information stream provides prompt for selection by the user after receiving annotation information, only in user in real time Just notes content is presented to the user after having selected annotation information, therefore the present invention can be according to user intention to digital TV Festival Purpose scene carries out succinct, convenient aid in illustrating.

Detailed description of the invention

Fig. 1 is the side annotated to TV programme scene based on DTV STB that the embodiment of the present invention one provides The flow chart of method.

Specific embodiment

It to make the object, technical solutions and advantages of the present invention clearer, below will be to a specific embodiment of the invention Carry out clear, complete description.

Embodiment one

Fig. 1 is the side annotated to TV programme scene based on DTV STB that the embodiment of the present invention one provides Method.As shown in Figure 1, the method comprising the steps of S1 to step S5, is separately below described in detail each step.

Step S1: digital TV front-end editor's annotation information.

In step S1, digital TV front-end editor annotation information simultaneously exports edited annotation information to comment file Folder, wherein annotation information include the annotation that the annotation information of scene is described is described file, video file to be annotated and with The corresponding resource file of the annotation information of scene, the annotation information of scene include scene ID, time started, end time, prompt Title, notes content.Specifically, it in the present embodiment, needs there are two annotated scene points, therefore to the two scene points Watch information attentively to be edited, export Res file, this document folder includes a Desc.xml file, a video.ts file With two resource files, two of them resource file is Zhang Fei's brief introduction .txt and Zhang Fei's portrait .png respectively.

Step S2: encapsulation annotation information stream.

In step S2, file is described to the annotation in comment file folder and is parsed, the annotation information of each scene is obtained It using scene is unit according to preset protocol by the annotation information of each scene and corresponding resource file with corresponding resource file It is encapsulated as annotation information stream.Specifically, it in the present embodiment, parses to obtain two scene informations from Res file Desc.xml, it is right Two scene information data are packaged according to the agreement (contextual data segment structure, contextual data table) in Tables 1 and 2 respectively To two annotation information streams, the annotation information stream encapsulated includes scene ID, and the PID of annotation information stream is 0x1BCA.Table 1 is Contextual data segment structure, table 2 are contextual data table SCENE_data_Section (), wherein SCENE_data_section word The meaning of section are as follows:

Table_id:8 bit width.

Section_syntax_indicator:8 bit width, is set to 1.

Section_length:12 bit width indicates the length from the section after the field.

Table_extension_id:16 bit width extends table_id, describes scene ID.

Section_number:8 bit width indicates the scene serial number.

Lasi_section_number:8 bit width indicates the last one scene serial number.

CRC_32:MPEG2 CRC_32 verification.

1 preset protocol of table (contextual data segment structure)

Title Symbol Length (bit) Remarks
Data head tag 16 0xFAFB
Time started Start time 40
End time end time 40
Word length text_len 16
Word content text content 8*text_len Text data
Picture length pic_len 32
Image data pic data 8*pic_len Image data
Connection length link_len 16
Connect content Link data 8*len Hyperlink data

2 preset protocol of table (contextual data table SCENE_data_Section ())

Step S3: the annotation information stream of encapsulation is sequentially inserted into TV programme.

In step S3, the annotation information stream of each scene encapsulation is sequentially inserted into TV programme, in TV programme Annotation information stream is described in pmt table, wherein the insertion time point of the annotation information stream of each scene encapsulation is the scene At the beginning of subtract and be inserted into advance the time, be inserted into the calculation formula of time in advance are as follows:

T=(L*8)/(1024*N),

T is to be inserted into advance the time in formula, and unit is the second;L is the length for the annotation information stream that encapsulation obtains, unit Byte;N is annotation information stream bit rate, unit Kbps.Specifically, in the present embodiment, two scene point insertion times are calculated Afterwards, the annotation information stream of each scene encapsulation is sequentially inserted into video.ts file, while needs the PMT in TV programme Annotation information stream is described in table, the stream type of annotation information stream described in pmt table is 0xAB.

Step S4: after rear end set-top box receives TV programme, the annotation information of each scene is obtained by filtration.

In step S4, after rear end set-top box receives TV programme, the pid value of annotation information stream is obtained according to pmt table, according to Each field is obtained by filtration in the pid value (0x1BCA) and preset protocol (contextual data segment structure, contextual data table) of annotation information stream The annotation information of scape, wherein judging a scene letter according to the scene ID in annotation information stream during filtering annotation information Whether breath receives, and after a contextual data receives, is parsed according to preset protocol (contextual data segment structure, contextual data table) To all annotation informations of the scene.

Step S5: prompt information is provided to terminal user.

In step S5, according to annotation information at the beginning of and prompt title, prompt information " red key is provided to terminal user Zhang Fei introduces ", user confirms that prompt information (pressing red key) terminal shows that annotation information (shows Zhang Fei's brief introduction .txt file afterwards Content).If user does not do any operation, when the display time of prompt information reaching the preset end time, prompt information Stop display, does not influence user and normally watch TV programme.

As can be seen from the above embodiments, the embodiment of the present invention edits notes content in digital television system front end And it is packaged into annotation information stream, and information annotation information stream is described in the pmt table of TV programme, it will annotation at scene Information flow is inserted into video flowing in real time, and rear end set-top box real time filtering annotation information stream provides in real time after receiving annotation information Notes content for selection by the user, is just presented to the user by prompt only after user has selected annotation information, therefore the present invention Embodiment can carry out succinct, convenient aid in illustrating according to scene of the user intention to digital television program.

It is to be appreciated that the embodiment of foregoing description is a part of the embodiments of the present invention, rather than whole embodiments, also not It is limitation of the present invention.Based on the embodiment of the present invention, those of ordinary skill in the art are not making the creative labor premise Under every other embodiment obtained, belong to protection scope of the present invention.

Claims (5)

1. a kind of method annotated to TV programme scene based on DTV STB, it is characterised in that comprising steps of
A, digital TV front-end editor annotation information and export edited annotation information to comment file is pressed from both sides, and the annotation is believed Breath include the annotation information of scene is described annotation description file, video file to be annotated and with the annotation information of scene Corresponding resource file, the annotation information of the scene include at least scene ID, time started, end time, prompt title, note Release content;
B, file is described to the annotation in comment file folder to parse, the annotation information of each scene is obtained, by each scene Annotation information and corresponding resource file using scene as unit be encapsulated as annotation information stream according to preset protocol;
C, the annotation information stream of each scene encapsulation is sequentially inserted into TV programme, to note in the pmt table of TV programme It releases information flow to be described, insertion time point of the annotation information stream of each scene encapsulation is to subtract at the beginning of the scene to mention Preceding insertion time, the calculation formula for being inserted into the time in advance are as follows:
T=(L*8)/(1024*N),
T is to be inserted into advance the time in formula, and unit is the second;L is the length for the annotation information stream that encapsulation obtains, unit Byte;N For annotation information stream bit rate, unit Kbps;
D, after rear end set-top box receives TV programme, the pid value of annotation information stream is obtained according to pmt table, according to annotation information stream Pid value and preset protocol the annotation information of each scene is obtained by filtration;
E, according to annotation information at the beginning of and prompt title, prompt information provided to terminal user, user confirms prompt letter Terminal shows annotation information after breath.
2. the method annotated to TV programme scene based on DTV STB according to claim 1, feature It is that the annotation information stream that the step B is encapsulated includes scene ID, during the step D filtering annotation information, root Judge whether a scene information receives according to the scene ID in annotation information stream, after a scene information receives, according to default Protocol analysis obtains all annotation informations of the scene.
3. the method annotated to TV programme scene based on DTV STB according to claim 1 or 2, special Sign is in the step C that the stream type of annotation information stream described in pmt table is 0xAB.
4. the method annotated to TV programme scene based on DTV STB according to claim 1, feature Be in the step E, when displayed between when reaching the preset end time, prompt information stops display.
5. the method annotated to TV programme scene based on DTV STB according to claim 1, feature It is that the annotation description file is XML file.
CN201610091325.4A 2016-02-18 2016-02-18 Based on the DTV STB method annotated to TV programme scene CN105744381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610091325.4A CN105744381B (en) 2016-02-18 2016-02-18 Based on the DTV STB method annotated to TV programme scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610091325.4A CN105744381B (en) 2016-02-18 2016-02-18 Based on the DTV STB method annotated to TV programme scene

Publications (2)

Publication Number Publication Date
CN105744381A CN105744381A (en) 2016-07-06
CN105744381B true CN105744381B (en) 2019-05-07

Family

ID=56245253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610091325.4A CN105744381B (en) 2016-02-18 2016-02-18 Based on the DTV STB method annotated to TV programme scene

Country Status (1)

Country Link
CN (1) CN105744381B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009145574A (en) * 2007-12-13 2009-07-02 Bitwallet Inc Advertising device, advertising method, advertising terminal and advertising program
CN101854500A (en) * 1998-09-17 2010-10-06 联合视频制品公司 Method for interactive TV program guide system and interactive TV guide system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950578B (en) * 2010-09-21 2012-11-07 北京奇艺世纪科技有限公司 Method and device for adding video information
CN104053056A (en) * 2014-05-26 2014-09-17 北京歌华有线电视网络股份有限公司 Television program searching method and system of digital television set-top box

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854500A (en) * 1998-09-17 2010-10-06 联合视频制品公司 Method for interactive TV program guide system and interactive TV guide system
JP2009145574A (en) * 2007-12-13 2009-07-02 Bitwallet Inc Advertising device, advertising method, advertising terminal and advertising program

Also Published As

Publication number Publication date
CN105744381A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
JP5001362B2 (en) Method and apparatus for creating and and view customized multimedia segments were
KR100640390B1 (en) Apparatus for inserting and extracting value added data in mpeg-2 system with transport stream and method thereof
US6751800B1 (en) Information processing apparatus, method, and computer-readable medium
US20010014210A1 (en) System and method for synchronizing video indexing between audio/video signal and data
EP1085750A2 (en) Reception system and digital broadcasting system
DE69636262T2 (en) Recipient of multimedia services
JP4317995B2 (en) Stream analysis apparatus and stream analysis display method
CN101835010B (en) Digital broadcast receiver and method for processing caption thereof
US6952236B2 (en) System and method for conversion of text embedded in a video stream
KR100864826B1 (en) Method and Apparatus for 3D still image service over digital broadcasting
CN104137555B (en) Non-closed captioning data transmission standards caption service
CN1906947A (en) Method of transmitting digital services over a network and device implementing the method
JP2004265375A (en) Advertisement display unit using metadata and its service method
CN104065950B (en) 3d caption display method and apparatus and a method and apparatus for transmitting a subtitle 3d
US8056110B2 (en) Service system of thumbnail image and transmitting/receiving method thereof
CN101616264B (en) Method and system for cataloging news video
HU0101201A2 (en) A method for sending and packet filtering in a receiver and decoder of data stream in a digital audiovisual transmission system, and such a decoder
JP4578040B2 (en) System for error management of program specific information in the video decoder
CN103650525A (en) Extensions to trigger parameters table for interactive television
KR100995042B1 (en) Digital Broadcast Receiver and Method for Processing Emergency Alert Message Thereof
CN101656755B (en) Method and device for transmitting and broadcasting advertising programs
US8732783B2 (en) Apparatus and method for providing additional information using extension subtitles file
US20110128442A1 (en) Delivery of Captions, Content Advisory and Other Data Through Digital Interface
US20100146547A1 (en) Method of transmitting and receiving broadcast signal and apparatus for receiving broadcast signal
US7450617B2 (en) System and method for demultiplexing video signals

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01 Patent grant