CN105025371B - Program updating method and device - Google Patents
Program updating method and device Download PDFInfo
- Publication number
- CN105025371B CN105025371B CN201510431661.4A CN201510431661A CN105025371B CN 105025371 B CN105025371 B CN 105025371B CN 201510431661 A CN201510431661 A CN 201510431661A CN 105025371 B CN105025371 B CN 105025371B
- Authority
- CN
- China
- Prior art keywords
- program
- data table
- server
- program data
- version number
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
Abstract
The invention discloses a kind of program updating method, the program updating method includes: to obtain the corresponding program data table of current frequency point, and the program data table includes version number and programme information;When getting the program data table, the program data table stored in server and its version number are obtained;When the version number of the program data table stored in the version number of the program data table of the current frequency point and server is inconsistent, using in program data table stored in the server programme information and version number update the corresponding program data table of each frequency point, include the programme information of all frequency points in the program data table.The invention also discloses a kind of program updating devices.The present invention, which is realized, is updated program in current frequency point, updates without frequency hopping, so that not influencing user watches program.
Description
Technical field
The present invention relates to terminal device technical field more particularly to a kind of program updating methods and device.
Background technique
Currently, terminal when carrying out program updating, first jumps to dominant frequency point load NIT (Network Information
Table, frequency locking load networks information table) data.When be located at dominant frequency point NIT Biao Zhong version number change, then jump to
Program searching interface successively obtains PAT (Program Associate Table, Program Association Table), PMT from each frequency point
(Program Mapping Table, Program Map Table), SDT (Service Description Table, SDT Service Description Table)
Etc. data, to carry out program searching, and save the program searched, realization is updated the rendition list.Therefore, terminal into
When row program searching, user has to terminate current viewing program campaign.
Summary of the invention
The main purpose of the present invention is to provide a kind of program updating method and devices, it is intended to realize and complete in current frequency point
Program updating, so that not influencing user watches program.
To achieve the above object, the present invention provides a kind of program updating method, the program updating method includes:
The corresponding program data table of current frequency point is obtained, the program data table includes version number and programme information;
When getting the program data table, the program data table stored in server and its version number are obtained;
The version number of the program data table stored in the version number of the program data table of the current frequency point and server
When inconsistent, using the programme information and version number's update each frequency in program data table stored in the server
Corresponding program data table is put, includes the programme information of all frequency points in the program data table.
Preferably, described to obtain the program data table that stores and its version number in server and include:
Terminal enabling signal or program updating instruction are sent to the server, so that the server is receiving
When stating terminal enabling signal or program updating instruction, Xiang Suoshu terminal feedback transmission flow data;
Receive the transmission flow data that the server sends over;
The program data table is obtained in the transmission flow data, and the program data table is parsed, to obtain
Take the version number of the program data table.
Preferably, the corresponding program data table of current frequency point that obtains includes: before
Start in terminal, perhaps when receiving program updating instruction according to the enabling signal of the terminal or described
Program updating instruction, obtains the corresponding program data table of current frequency point.
Preferably, the corresponding program data table of current frequency point that obtains includes: later
When the program data table has not been obtained, the information stored in the corresponding information table of dominant frequency point and server is obtained
Table, the information table include version number;
The version number of the information table stored in the version number of the corresponding information table of the dominant frequency point and server is inconsistent
When, the corresponding information table of each frequency point is successively updated using information table stored in the server.
Preferably, the programme information packet program element, audio identifiers, video identifier, program category and program names
Claim.
In addition, to achieve the above object, the present invention also provides a kind of program updating device, the program updating device packet
It includes:
First obtains module, and for obtaining the corresponding program data table of current frequency point, the program data table includes version
Number and programme information;
Second obtains module, for obtaining the program data stored in server when getting the program data table
Table and its version number;
First update module, the section for being stored in the version number of the program data table in the current frequency point and server
When the version number of mesh tables of data is inconsistent, using the programme information and version in program data table stored in the server
Number the corresponding program data table of each frequency point is updated, includes the programme information of all frequency points in the program data table.
Preferably, the second acquisition module includes:
Transmission unit, for sending terminal enabling signal or program updating instruction to the server, for the clothes
Business device is when receiving the terminal enabling signal or program updating instructs, Xiang Suoshu terminal feedback transmission flow data;
Receiving unit, the transmission flow data sended over for receiving the server;
Resolution unit, for obtaining the program data table in the transmission flow data, and to the program data table
It is parsed, to obtain the version number of the program data table.
Preferably, the program updating device further include:
Trigger module is used to start in terminal, or when receiving program updating instruction, according to the starting of the terminal
Signal or program updating instruction, triggering first obtain module and obtain the corresponding program data table of current frequency point.
Preferably, the program updating device further include:
Third obtains module, for obtaining dominant frequency point pair when the program data table has not been obtained in the second acquisition module
The information table stored in the information table and server answered, the information table include version number;
Second update module, the information for being stored in the version number of the corresponding information table of the dominant frequency point and server
When the version number of table is inconsistent, the corresponding information table of each frequency point is successively updated using information table stored in the server.
Preferably, the programme information packet program element, audio identifiers, video identifier, program category and program names
Claim.
The embodiment of the present invention is by obtaining the corresponding program data table of current frequency point, and wherein program data table includes version number
And programme information, while obtaining the program data table stored in server and its version number.When the program data table of current frequency point
Version number and server in the version number of program data table that stores it is inconsistent when, using the program data stored in server
Programme information and version number in table update the corresponding program data table of each frequency point, to be updated to program.Due to section
Include the programme information of all frequency points in mesh tables of data, allows terminal to carry out program updating in current frequency point, without suffering
A frequency point carries out program updating, so that not influencing user watches program.
Detailed description of the invention
Fig. 1 is the flow diagram of program updating method first embodiment of the present invention;
Fig. 2 is that the program data table stored in server and its version are obtained in program updating method first embodiment of the present invention
This number refinement flow diagram;
Fig. 3 is the flow diagram of program updating method second embodiment of the present invention;
Fig. 4 is the flow diagram of program updating method 3rd embodiment of the present invention;
Fig. 5 is the functional block diagram of program updating device first embodiment of the present invention;
Fig. 6 is the second refinement the functional block diagram for obtaining module in program updating device first embodiment of the present invention;
Fig. 7 is the functional block diagram of program updating device second embodiment of the present invention;
Fig. 8 is the functional block diagram of program updating device 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, showing a kind of program updating method first embodiment of the present invention.
Program updating method provided in this embodiment is mainly used for terminal and is updated to program, and the type of the terminal can root
It is configured according to actual needs, for receiving program, for example, terminal can be DTV STB, digital TV integrated machine, hand
Hold the DTVs such as television terminal.It will be described in detail so that DTV is to the update of TV programme as an example below.
The program updating method of the present embodiment the following steps are included:
Step S10, the corresponding program data table of current frequency point is obtained, the program data table includes version number and program letter
Breath;
In the present embodiment, according to TS (Transport Stream, transport stream) stream format in Moving Picture Experts Group-2, set in advance
Set the data structure of a program data table, the program data table can be named as SUT (Service Update Table, it is privately owned
Table), which is transferred to DTV, Digital TV Receiving to the SUT table in the form of transport stream in cable TV network
After store it in local.It is stored in local SUT table to broadcast to all frequency points, i.e., SUT table is present in all frequency points.
SUT table includes version number, is used to indicate whether that the data to SUT table is needed to be updated, i.e., ought be stored in local
The SUT table version number and the inconsistent version number of SUT table that sends over of server when, then it represents that need to update SUT table
Data.The SUT table further includes programme information, which is storable in default the retouching for being named as privately owned customized description
Son is stated, which includes the programme information of all frequency points.Wherein, programme information may include program element
(i.e. the three elements of program), audio identifiers (Audio PID), video identifier (video PID), PCR_PID, program category and section
Mesh title etc..
It include being made by oneself for storing the privately owned of the programme information of all frequency points in the SUT table in view of SUT table is preset in TS
Justice description is sub, and in the present embodiment when needing to be updated program, DTV will be loaded directly into the corresponding SUT of current frequency point
Table, without the data jumped in dominant frequency point load NIT table.
Step S20, when getting the program data table, the program data table stored in server and its version are obtained
Number;
Generally in the data of TS, it is all reserved with undefined information table, in order to which radio and TV operator can be according to difference
Business needs to carry out customized.Therefore, server can carry out SUT table in the data of TS according to predefined data format
It is customized, to generate transport stream data transmission to DTV.When it is above-mentioned obtain SUT table after, in order to by the version number of SUT table with
The version number stored in server is compared, and DTV needs to obtain the SUT table stored in server, and to transmitting
The SUT table parsed, to obtain the version number of the SUT table stored in server.The server can be for radio and TV operator's
TV programme editor's transmitting terminal.
Step S30, the program data table stored in the version number of the program data table of the current frequency point and server
Version number it is inconsistent when, using in program data table stored in the server programme information and version number update institute
The corresponding program data table of each frequency point is stated, includes the programme information of all frequency points in the program data table.
After the SUT table stored in the above-mentioned SUT table for obtaining current frequency point and server, the version of the SUT table is checked
Number whether change, i.e., the SUT table locally stored the version number for the SUT table that server is sent and DTV
Version number is compared.If Digital TV Receiving to the version number of SUT table that sends of server and DTV it is local
The version number of the SUT table stored is inconsistent, it is determined that TV programme needs are updated.
Specifically, using the programme information and each frequency point correspondence of version number's update in the SUT table stored in server
SUT table, i.e., the SUT table of current frequency point is parsed according to predefined data format.Further according to the mark of privately owned customized description
Remember privately owned customized description in SUT table, it is then privately owned certainly to this according to data format byte-by-byte predetermined
Definition description is parsed.Programme information in current frequency point SUT table is deleted, was transmitted in current frequency point storage server
The programme information come.It is made by oneself to realize that privately owned customized description for sending over server replaces current the privately owned of frequency point
Justice description.
Due to privately owned customized description programme information of the attached bag containing all frequency points in the SUT table of current frequency point, lead to
Privately owned customized description in parsing SUT table is crossed, the three elements, Audio PID, video PID, PCR_PID, section of program can be obtained
The programme informations such as mesh type, programm name do not need to jump to dominant frequency point or specific frequency point, and successively obtain each frequency point
Programme information.Which frequency point tube terminal is not currently at this time, can be updated to programme information.
User can continue to watch current TV programme, and entire program updating process is placed in backstage and executes, for user
For be transparent, to bring preferably user experience.If the version number of the SUT table of current frequency point sends over server
Section SUT table version number it is consistent, then do not need to be updated TV programme.
SUT table is transferred to DTV in the form of transport stream in cable TV network in the embodiment of the present invention, and to
All frequency points are broadcast, thus by obtaining the SUT table stored in the corresponding SUT table of current frequency point and server, and ought frequently currently
When the version number for the SUT table that the version number of the corresponding SUT table of point and server are sent is inconsistent, using being stored in server
Program data table in programme information and version number update the corresponding program data table of each frequency point, to be carried out more to program
Newly.Since SUT table contains the programme information of all frequency points, so that in DTV when carrying out program searching without successively
The programme information of each frequency point is obtained, the section that can be realized to all frequency points is directly updated to the programme information of current frequency point
Mesh information table is updated, so that not influencing user watches program.
Further, as shown in Fig. 2, based on the above embodiment, in the present embodiment, above-mentioned steps S20 can include:
Step S21, Xiang Suoshu server sends terminal enabling signal or program updating instruction, so that the server exists
When receiving the terminal enabling signal or program updating instruction, Xiang Suoshu terminal feedback transmission flow data;
Step S22, the transmission flow data that the server sends over is received;
Step S23, the program data table is obtained in the transmission flow data, and the program data table is solved
Analysis, to obtain the version number of the program data table.
In the present embodiment, SUT table is carried out certainly in the data of TS according to predefined data format in above-mentioned server
After definition, privately owned customized description is further encapsulated in SUT table, for storage the programme information of all frequency points.Then
SUT table is sent to DTV by server in the form of transmitting flow data.The example for defining SUT table is as shown in table 1, and encapsulation is private
There is the example of customized description as shown in table 2.
Table 1. defines the example of SUT table
Wherein, the specific data format definition in SUT table is as follows:
1) table_id: only table mark, 8.
2) version_number: the version number of table, 5.When this field changes, expression needs to update
Table data.
3) service_update_loop_length: the update total frequency point number of program, 12.
4) transport_stream_id: transport stream ID, 16.
5) original_network_id: primitive network ID, 16.
6) service_info_descriptors_length: the program number of current network description, 12.
7) Service_info_descriptor: privately owned customized description being encapsulated in SUT table.
Table 2. encapsulates the example of privately owned customized description
Wherein, the specific data format definition of privately owned customized description is as follows:
1) descriptor_tag: description son label, 8, according to regulation value range (0x80 to 0xFE).
2) descriptor_length: describing sub- length, and 8.
3) PID of PCR_PID:PCR, for playing, 13.
4) reserved: retain, 3.
5) stream_type: program category, 8.
6) service_id: program ID, 16.
7) the related-program element that elementary_PID:TS includes, 13, such as Audio PID or video PID.
8) ES_info_length: this is 12 bit length fields, and front two 00, which indicates followed by
Description related-program element byte number.
9) service_name_length: this is 12 bit length fields, front two 00, the field indicate with
With the byte number of description related-program title thereafter.
10) service_name: programm name, length are determined by service_name_length.
When DTV is to get SUT table on startup, then DTV will send enabling signal to server, service
Device is after receiving the enabling signal of DTV, by transport stream data transmission to the data television.Or when user passes through in advance
If modes such as program updating key when triggering DTV and getting SUT table, then DTV will send program to server
More new command, server is after the program updating instruction for receiving DTV, by transport stream data transmission to the data television.
After the transmission flow data that Digital TV Receiving is sended over to server, the transport stream that is sended over due to server
A large amount of data table information is contained in data, therefore, it is necessary to the data formats in above-mentioned predefined SUT table, only according to SUT table
One table mark is filtered processing to a large amount of tables of data, obtains SUT table from transmission flow data.Then according to above-mentioned predetermined
The data format of justice parses SUT table, to obtain the version number for the SUT table that server sends over.
Further, as shown in figure 3, based on the above embodiment, propose program updating method of the present invention second is implemented
, in the embodiment before above-mentioned steps S10 can include:
Step S40, terminal starts or instructs when receiving program updating;
Step S10, it is instructed according to the enabling signal of the terminal or the program updating, it is corresponding to obtain current frequency point
Program data table.
In the present embodiment, trigger data TV obtains the mode of the corresponding SUT table of current frequency point can include: mode one:
When digital television opening, enabling signal will be generated, it is corresponding to obtain automatically current frequency point according to the enabling signal of DTV
SUT table;Mode two: user during watching TV programme, user can by program updating key preset on remote controler,
Or preset program updating key or the modes such as touch screen or preset icon on DTV, program is sent more to DTV
New command obtains the corresponding SUT table of current frequency point when Digital TV Receiving to program updating instructs.
It is understood that the mode that above-mentioned trigger data TV obtains the corresponding SUT table of current frequency point is only specific real
Enumerating for mode is applied, other trigger data TVs that those skilled in the art propose obtain the side of the corresponding SUT table of current frequency point
The mode that formula obtains, is within the scope of the invention.
Further, as shown in figure 4, based on the above embodiment, the third for proposing program updating method of the present invention is implemented
, in the embodiment after above-mentioned steps S10 can include:
Step S50, it when the program data table has not been obtained, obtains and is deposited in the corresponding information table of dominant frequency point and server
The information table of storage, the information table include version number;
Step S60, the version of the information table stored in the version number of the corresponding information table of the dominant frequency point and server
When number inconsistent, the corresponding information table of each frequency point is successively updated using information table stored in the server.
When DTV is when corresponding above-mentioned predefined SUT table has not been obtained in current frequency point, illustrate the DTV
The data format for not supporting above-mentioned predefined SUT table is only supported at dominant frequency program request photos and sending messages table, which is NIT table, because
This, which is being locally stored the NIT table only broadcast in dominant frequency point, which includes version number.The dominant frequency point is to use
In the default frequency point of storage NIT table, which can flexible setting, and the respective correspondence of each frequency point storage as the case may be
Programme information.
At this point, the DTV when being updated program, needs to jump to the data of dominant frequency point load NIT table.Together
When, program updating request is sent to server, so that server requests to send transmission fluxion to DTV according to program updating
According to.DTV obtains NIT table according to the mark of NIT table in the transmission flow data that server is sent, and will be digital electric
The version number of the NIT table sended over depending on the version number of NIT table that is locally stored and server is compared, if unanimously, no
It needs to be updated program;If inconsistent, need to be updated program.
Specifically, updating program mode can are as follows: DTV terminates current program viewing activity, jumps to program searching
Interface, successively frequency point obtains PAT (Program Associate Table, Program Association Table), PMT (Program in turn
Mapping Table, Program Map Table), the data such as SDT (Service Description Table, SDT Service Description Table), with
The information table stored in server is corresponding in turn to and updates the corresponding information table of each frequency point, reaches the mesh being updated to program
's.
Accordingly, as shown in figure 5, proposing a kind of program updating device first embodiment of the present invention.
Program updating device provided in this embodiment is mainly used for terminal and is updated to program, and the type of the terminal can root
It is configured according to actual needs, for receiving program, for example, terminal can be DTV STB, digital TV integrated machine, hand
Hold the DTVs such as television terminal.It will be described in detail so that DTV is to the update of TV programme as an example below.
The program updating device of the present embodiment includes:
First obtains module 100, and for obtaining the corresponding program data table of current frequency point, the program data table includes version
This number and programme information;
In the present embodiment, according to TS (Transport Stream, transport stream) stream format in Moving Picture Experts Group-2, set in advance
Set the data structure of a program data table, the program data table can be named as SUT (Service Update Table, it is privately owned
Table), which is transferred to DTV, Digital TV Receiving to the SUT table in the form of transport stream in cable TV network
After store it in local.
It is stored in local SUT table to broadcast to all frequency points, i.e., SUT table is present in all frequency points.SUT table includes version
Number, it is used to indicate whether that the data to SUT table is needed to be updated, i.e., ought be stored in version number and the clothes of the local SUT table
When the version number for the SUT table that business device sends over is inconsistent, then it represents that need to update the data of SUT table.The SUT table further includes section
Mesh information, the programme information are storable in default description for being named as privately owned customized description, the privately owned customized description
Son includes the programme information of all frequency points.Wherein, programme information may include program element (i.e. the three elements of program), audio mark
Know symbol (Audio PID), video identifier (video PID), PCR_PID, program category and programm name etc..
It include being made by oneself for storing the privately owned of the programme information of all frequency points in the SUT table in view of SUT table is preset in TS
Justice description, in the present embodiment when needing to be updated program, DTV will call first to obtain module 100 directly to add
The corresponding SUT table of current frequency point is carried, without the data jumped in dominant frequency point load NIT table.
Second obtains module 200, for obtaining the number of programs stored in server when getting the program data table
According to table and its version number;
Generally in the data of TS, it is all reserved with undefined information table, in order to which radio and TV operator can be according to difference
Business needs to carry out customized.Therefore, server can carry out SUT table in the data of TS according to predefined data format
It is customized, to generate transport stream data transmission to DTV.When it is above-mentioned obtain SUT table after, in order to by the version number of SUT table with
The version number stored in server is compared, and DTV needs that the second acquisition module 200 is called to obtain to be stored in server
SUT table, and the SUT table transmitted is parsed, to obtain the version number of the SUT table stored in server.The clothes
Business device can be TV programme editor's transmitting terminal of radio and TV operator.
First update module 300, for being stored in the version number of the program data table in the current frequency point and server
Program data table version number it is inconsistent when, using in program data table stored in the server programme information and
Version number updates the corresponding program data table of each frequency point, and the program comprising all frequency points is believed in the program data table
Breath.
After the SUT table stored in the above-mentioned SUT table for obtaining current frequency point and server, the version of the SUT table is checked
Number whether change, i.e., the SUT table locally stored the version number for the SUT table that server is sent and DTV
Version number is compared.If Digital TV Receiving to the version number of SUT table that sends of server and DTV it is local
The version number of the SUT table stored is inconsistent, it is determined that TV programme needs are updated.
Specifically, programme information and the version number in the SUT table stored in server are used by the first update module 300
The corresponding SUT table of each frequency point is updated, i.e., parses the SUT table of current frequency point according to predefined data format.Further according to privately owned
It is sub that the label of customized description obtains the privately owned customized description in SUT table, then according to data format predetermined by
A byte parses privately owned customized description.Programme information in current frequency point SUT table is deleted, in current frequency point
The programme information that storage server is sent.To realize that the privately owned customized description replacement for sending over server is worked as
Privately owned customized description of preceding frequency point.
Due to privately owned customized description programme information of the attached bag containing all frequency points in the SUT table of current frequency point, lead to
Privately owned customized description in parsing SUT table is crossed, the three elements, Audio PID, video PID, PCR_PID, section of program can be obtained
The programme informations such as mesh type, programm name do not need to jump to dominant frequency point or specific frequency point, and successively obtain each frequency point
Programme information.Which frequency point tube terminal is not currently at this time, and the first update module 300 can carry out more programme information
Newly.User can continue to watch current TV programme, and entire program updating process is placed in backstage and executes, and be for a user
Transparent, to bring preferably user experience.If the section that the version number of the SUT table of current frequency point and server send over
The version number of SUT table is consistent, then the first update module 300 does not need to be updated TV programme.
SUT table is transferred to DTV in the form of transport stream in cable TV network in the embodiment of the present invention, and to
All frequency points are broadcast, thus by obtaining the SUT table stored in the corresponding SUT table of current frequency point and server, and ought frequently currently
When the version number for the SUT table that the version number of the corresponding SUT table of point and server are sent is inconsistent, using being stored in server
Program data table in programme information and version number update the corresponding program data table of each frequency point, to be carried out more to program
Newly.Since SUT table contains the programme information of all frequency points, so that in DTV when carrying out program searching without successively
The programme information of each frequency point is obtained, being directly updated to the program information table of current frequency point can be realized to all frequency points
Program information table is updated, so that not influencing user watches program.
Further, as shown in fig. 6, based on the above embodiment, in the present embodiment, above-mentioned second acquisition module 200 can be wrapped
It includes:
Transmission unit 210, for sending terminal enabling signal or program updating instruction to the server, for described
Server is when receiving the terminal enabling signal or program updating instructs, Xiang Suoshu terminal feedback transmission flow data;
Receiving unit 220, the transmission flow data sended over for receiving the server;
Resolution unit 230, for obtaining the program data table in the transmission flow data, and to the program data
Table is parsed, to obtain the version number of the program data table.
In the present embodiment, SUT table is carried out certainly in the data of TS according to predefined data format in above-mentioned server
After definition, privately owned customized description is further encapsulated in SUT table, for storage the programme information of all frequency points.Then
SUT table is sent to DTV by server in the form of transmitting flow data.The example for defining SUT table is as shown in table 1, and encapsulation is private
There is the example of customized description as shown in table 2.
Table 1. defines the example of SUT table
Wherein, the specific data format definition in SUT table is as follows:
1) table_id: only table mark, 8.
2) version_number: the version number of table, 5.When this field changes, expression needs to update
Table data.
3) service_update_loop_length: the update total frequency point number of program, 12.
4) transport_stream_id: transport stream ID, 16.
5) original_network_id: primitive network ID, 16.
6) service_info_descriptors_length: the program number of current network description, 12.
7) Service_info_descriptor: privately owned customized description being encapsulated in SUT table.
Table 2. encapsulates the example of privately owned customized description
Wherein, the specific data format definition of privately owned customized description is as follows:
1) descriptor_tag: description son label, 8, according to regulation value range (0x80 to 0xFE).
2) descriptor_length: describing sub- length, and 8.
3) PID of PCR_PID:PCR, for playing, 13.
4) reserved: retain, 3.
5) stream_type: program category, 8.
6) service_id: program ID, 16.
7) the related-program element that elementary_PID:TS includes, 13, such as Audio PID or video PID.
8) ES_info_length: this is 12 bit length fields, and front two 00, which indicates followed by
Description related-program element byte number.
9) service_name_length: this is 12 bit length fields, front two 00, the field indicate with
With the byte number of description related-program title thereafter.
10) service_name: programm name, length are determined by service_name_length.
When DTV is to get SUT table on startup, then DTV will call transmission unit 210 to send out to server
Enabling signal is sent, server is after receiving the enabling signal of DTV, by transport stream data transmission to the data television.Or
When user triggers DTV by modes such as preset program updating keys and gets SUT table, then DTV will be adjusted person
With transmission unit 210 to server send program updating instruction, server receive DTV program updating instruction after,
By transport stream data transmission to the data television.
After DTV is received the transmission flow data that server sends over by receiving unit 220, since server is sent out
A large amount of data table information is contained in the transmission flow data brought, therefore, it is necessary to the data lattice in above-mentioned predefined SUT table
Formula is filtered processing to a large amount of tables of data according to SUT table only table mark, obtains SUT table from transmission flow data.So
Resolution unit 230 parses SUT table according to above-mentioned predefined data format afterwards, is sended over to obtain server
The version number of SUT table.
Further, as shown in fig. 7, based on the above embodiment, in the present embodiment, above-mentioned program updating device further include:
Trigger module 400 is used to start in terminal, or when receiving program updating instruction, according to the terminal
Enabling signal or program updating instruction, triggering first obtain module and obtain the corresponding program data table of current frequency point.
In the present embodiment, the mode that 400 trigger data TV of trigger module obtains the corresponding SUT table of current frequency point can be wrapped
It includes: mode one: in digital television opening, enabling signal will be generated, will be obtained and be worked as automatically according to the enabling signal of DTV
The corresponding SUT table of preceding frequency point;Mode two: for user during watching TV programme, user can be by preset on remote controler
Preset program updating key or the modes such as touch screen or preset icon on program updating key or DTV, to number
TV sends program updating instruction, when Digital TV Receiving to program updating instructs, obtains the corresponding SUT table of current frequency point.
It is understood that the mode that above-mentioned trigger data TV obtains the corresponding SUT table of current frequency point is only specific real
Enumerating for mode is applied, other trigger data TVs that those skilled in the art propose obtain the side of the corresponding SUT table of current frequency point
The mode that formula obtains, is within the scope of the invention.
Further, as shown in figure 8, based on the above embodiment, in the present embodiment, above-mentioned program updating device further include:
Third obtains module 500, for obtaining dominant frequency point when the program data table has not been obtained in the second acquisition module
The information table stored in corresponding information table and server, the information table include version number;
Second update module 600, for what is stored in the version number of the corresponding information table of the dominant frequency point and server
When the version number of information table is inconsistent, the corresponding information of each frequency point is successively updated using information table stored in the server
Table.
When DTV current frequency point obtain less than corresponding above-mentioned predefined SUT table when, illustrate the DTV
The data format for not supporting above-mentioned predefined SUT table is only supported at dominant frequency program request photos and sending messages table, which is NIT table, because
This, which is being locally stored the NIT table only broadcast in dominant frequency point, which includes version number.The dominant frequency point is to use
In the default frequency point of storage NIT table, which can flexible setting, and the respective correspondence of each frequency point storage as the case may be
Programme information.
At this point, the DTV, when being updated to program, third obtains module 500 and needs to jump to the load of dominant frequency point
The data of NIT table.Meanwhile program updating request is sent to server, so that server is requested according to program updating to digital electricity
Flow data is transmitted depending on sending.DTV obtains NIT in the transmission flow data that server is sent according to the mark of NIT table
Table, and the version number for the NIT table that the version number for the NIT table that DTV is locally stored sends over server is compared
Compared with if unanimously, the second update module 600 does not need to be updated program;If inconsistent, the second update module 600 is needed
Program is updated.
Specifically, the mode that the second update module 600 updates program can are as follows: it is living that DTV terminates current program viewing
It is dynamic, program searching interface is jumped to, successively frequency point obtains PAT (Program Associate Table, programming association in turn
Table), PMT (Program Mapping Table, Program Map Table), SDT (Service Description Table, business
Describe table) etc. data, the information table stored in server is successively updated into the corresponding information table of each frequency point, is reached to program
The purpose being updated.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of program updating method, which is characterized in that the program updating method the following steps are included:
The program data table in wired TV network transmission stream is obtained, the program data table is stored in local and to all frequencies
Point is broadcast, wherein encapsulates privately owned customized description in the program data table in advance, privately owned customized description is deposited
The programme information of all frequency points is stored up;
Start in terminal, perhaps the enabling signal when receiving program updating instruction according to the terminal or the program
More new command obtains the corresponding program data table of current frequency point, and the program data table includes version number and programme information;
When getting the program data table, the program data table stored in server and its version number are obtained;
The version number of the program data table stored in the version number of the program data table of the current frequency point and server is different
When cause, using in program data table stored in the server programme information and version number to update each frequency point corresponding
Program data table includes the programme information of all frequency points in the program data table.
2. program updating method as described in claim 1, which is characterized in that described to obtain the program data stored in server
Table and its version number include:
Terminal enabling signal or program updating instruction are sent to the server, so that the server is receiving the end
When enabling signal or program updating being held to instruct, Xiang Suoshu terminal feedback transmission flow data;
Receive the transmission flow data that the server sends over;
The program data table is obtained in the transmission flow data, and the program data table is parsed, to obtain
State the version number of program data table.
3. program updating method as claimed in claim 1 or 2, which is characterized in that described to obtain the corresponding program of current frequency point
Include: after tables of data
When the program data table has not been obtained, the information table stored in the corresponding information table of dominant frequency point and server is obtained,
The information table includes version number;
When the version number of the information table stored in the version number of the corresponding information table of the dominant frequency point and server is inconsistent, adopt
The corresponding information table of each frequency point is successively updated with information table stored in the server.
4. program updating method as described in claim 1, which is characterized in that the programme information includes program element, audio
Identifier, video identifier, program category and programm name.
5. a kind of program updating device, which is characterized in that the program updating device includes:
First acquisition module deposits the program data table for obtaining the program data table in wired TV network transmission stream
Storage is broadcast in local and to all frequency points, wherein privately owned customized description is encapsulated in the program data table in advance, it is described
Privately owned customized description stores the programme information of all frequency points;Start in terminal, or is instructed when receiving program updating
When, it is instructed according to the enabling signal of the terminal or the program updating, obtains the corresponding program data table of current frequency point, institute
Stating program data table includes version number and programme information;
Second obtains module, for when getting the program data table, obtain the program data table stored in server and
Its version number;
First update module, the number of programs for being stored in the version number of the program data table in the current frequency point and server
When inconsistent according to the version number of table, using in program data table stored in the server programme information and version number more
New each frequency point corresponding program data table includes the programme information of all frequency points in the program data table.
6. program updating device as claimed in claim 5, which is characterized in that described second, which obtains module, includes:
Transmission unit, for sending terminal enabling signal or program updating instruction to the server, for the server
When receiving the terminal enabling signal or program updating instructs, Xiang Suoshu terminal feedback transmission flow data;
Receiving unit, the transmission flow data sended over for receiving the server;
Resolution unit is carried out for obtaining the program data table in the transmission flow data, and to the program data table
Parsing, to obtain the version number of the program data table.
7. such as program updating device described in claim 5 or 6, which is characterized in that the program updating device further include:
Third obtains module, for it is corresponding to obtain dominant frequency point when the program data table has not been obtained in the second acquisition module
The information table stored in information table and server, the information table include version number;
Second update module, information table for being stored in the version number of the corresponding information table of the dominant frequency point and server
When version number is inconsistent, the corresponding information table of each frequency point is successively updated using information table stored in the server.
8. program updating device as claimed in claim 5, which is characterized in that the programme information includes program element, audio
Identifier, video identifier, program category and programm name.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510431661.4A CN105025371B (en) | 2015-07-21 | 2015-07-21 | Program updating method and device |
PCT/CN2016/083833 WO2017012414A1 (en) | 2015-07-21 | 2016-05-29 | Program updating method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510431661.4A CN105025371B (en) | 2015-07-21 | 2015-07-21 | Program updating method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105025371A CN105025371A (en) | 2015-11-04 |
CN105025371B true CN105025371B (en) | 2019-02-26 |
Family
ID=54415016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510431661.4A Active CN105025371B (en) | 2015-07-21 | 2015-07-21 | Program updating method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105025371B (en) |
WO (1) | WO2017012414A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105025371B (en) * | 2015-07-21 | 2019-02-26 | 深圳Tcl数字技术有限公司 | Program updating method and device |
CN105933750A (en) * | 2016-04-25 | 2016-09-07 | 浪潮软件集团有限公司 | Method for scanning code on demand through APP based on set top box |
CN106210864B (en) * | 2016-07-20 | 2020-03-17 | 深圳创维数字技术有限公司 | Method and device for updating program |
CN107124670A (en) * | 2017-04-25 | 2017-09-01 | 深圳创维数字技术有限公司 | A kind of method and device for opening application |
CN109561321B (en) * | 2018-12-10 | 2021-08-03 | 深圳Tcl数字技术有限公司 | Program searching method and device, television terminal and storage medium |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101600059B (en) * | 2008-06-06 | 2012-08-08 | 乐金电子(中国)研究开发中心有限公司 | Method and device for rapidly and automatically updating digital television program |
CN102082939A (en) * | 2009-11-30 | 2011-06-01 | 鸿富锦精密工业(深圳)有限公司 | Television and automatic updating method of program list thereof |
CN102075807A (en) * | 2011-01-06 | 2011-05-25 | 深圳创维数字技术股份有限公司 | Digital television program searching method, and digital television receiving terminal and transmission system |
CN102209263A (en) * | 2011-05-30 | 2011-10-05 | 深圳创维数字技术股份有限公司 | Set-top-box-based program list updating system, method and set-top box |
CN102957941A (en) * | 2012-07-18 | 2013-03-06 | 深圳市同洲电子股份有限公司 | Program content broadcasting method and digital television front end |
JPWO2014155516A1 (en) * | 2013-03-26 | 2017-02-16 | 株式会社東芝 | Program information management apparatus, program information management method, and control program |
CN203457263U (en) * | 2013-07-16 | 2014-02-26 | 王新兵 | WIFI adapter and digital television signal distribution system using WIFI adapter |
CN103561314A (en) * | 2013-10-12 | 2014-02-05 | 深圳市同洲电子股份有限公司 | Method and terminal for updating program information |
CN104053056A (en) * | 2014-05-26 | 2014-09-17 | 北京歌华有线电视网络股份有限公司 | Television program searching method and system of digital television set-top box |
CN104038824A (en) * | 2014-05-26 | 2014-09-10 | 四川长虹电器股份有限公司 | Method for automatically establishing and updating program database during starting of digital set-top box |
CN108235073B (en) * | 2015-01-09 | 2020-08-14 | 青岛海信宽带多媒体技术有限公司 | Program updating method |
CN105025371B (en) * | 2015-07-21 | 2019-02-26 | 深圳Tcl数字技术有限公司 | Program updating method and device |
-
2015
- 2015-07-21 CN CN201510431661.4A patent/CN105025371B/en active Active
-
2016
- 2016-05-29 WO PCT/CN2016/083833 patent/WO2017012414A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017012414A1 (en) | 2017-01-26 |
CN105025371A (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105025371B (en) | Program updating method and device | |
US11025997B2 (en) | Method for receiving a broadcast signal and broadcast receiver | |
US10187703B2 (en) | Method of processing non-real time service and broadcast receiver | |
US9326045B2 (en) | Transmission method for broadcast service, reception method therefor, and reception apparatus therefor | |
KR101809957B1 (en) | Method of processing non-real time service and boradcast receiver | |
US20160066065A1 (en) | Method for transmitting a broadcast service, and method and apparatus for receiving same | |
JP5970160B2 (en) | Reception device, transmission device, broadcast system, and program | |
KR20140119699A (en) | Receiving device, receiving method, program, and information processing system | |
US20080276300A1 (en) | Program Execution Device | |
KR101759951B1 (en) | Method for mapping between signaling information and announcement information and broadcast receiver | |
CN104079971A (en) | Method, device and system for controlling set top boxes through television device | |
CN109672924A (en) | Generation method, device and the computer readable storage medium of electronic program guides | |
KR101713369B1 (en) | A method for transmitting a broadcast service, a method for receiving it and an apparatus for receiving it | |
CA2849064A1 (en) | Method of processing an interactive service related to a broadcast program and apparatus therefor | |
CN108235073A (en) | A kind of program updating method | |
CN102291602B (en) | Method and device for identifying network resources of digital network all-in-one machine | |
US20190280793A1 (en) | Reception apparatus, transmission apparatus, and data processing method | |
CN108111906A (en) | Channel search method, device and computer readable storage medium | |
TWI768405B (en) | Method for retrieving program data and circuit system thereof | |
KR102076534B1 (en) | Display apparatus and control method thereof | |
EP2045936B1 (en) | Digital broadcasting system and method for transmitting and receiving electronic service guide (ESG) data in digital broadcasting system | |
CN109561321A (en) | Program searching method, device, television terminal and storage medium | |
KR20140091931A (en) | Method for Providing IPTV Channel Information, Apparatus And Terminal Therefor | |
KR20140091975A (en) | Method and apparatus for providing value added service interworking with TV channel |
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 |