Background technology
At present, in digital television system, carry out the program searching mode and comprise following two kinds:
Mode one is at programme televised live:
Transport stream (TS in the receiving terminal for digital television, Transport Stream) collector receives TS, to the Program Specific Information (PSI among the TS, Program Specific Information) and information on services (SI, Service Information) resolves, obtain broadcast program information, and storage.Described receiving terminal for digital television for example is a set-top box.Afterwards, set-top box just can be obtained the content that needs according to user's request from the broadcast program information of storage, give the user by display exhibits; Particularly, after receiving user's request, set-top box is by display exhibits broadcast program search interface, described broadcast program search interface for example is the channel designation of each broadcasting channel, after receiving the specified channel title of user's selection, from the broadcast program information of storage, obtain the broadcast program information corresponding, give the user by display exhibits with this specified channel title.
Mode two is at the program request time shift program:
Front-end server in database typing program request time shift program information, this program request time shift program information is generally by manual entry; Described front-end server for example is Content Management System (CMS, ContentManager System).Front-end server adopts the program request time shift program information of a search interface issue storage, according to the request of set-top box, provides the program request time shift program information of storage for set-top box.Particularly, when needed, set-top box forward end server sends request, and front-end server sends program request time shift search interface to set-top box, set-top box is by display exhibits program request time shift program search interface, and described program request time shift search interface for example is the channel designation in each point shift frequency sowing time road; Afterwards, set-top box sends to front-end server with the specified channel title that the user selects, obtain the program request time shift program information corresponding in the program request time shift program information that front-end server is stored with this specified channel title from database, send set-top box to, set-top box is given the user by display with the program request time shift program information exhibition that receives.
Described program request time shift program is the general designation that request program and time shift program etc. is had the program of similar characteristics, the similar characteristics of this class program that is to say: front-end server in database typing the programme information of this class program, front-end server adopts the programme information of a search interface issue storage, and, provide the programme information of storage for set-top box according to the request of set-top box.
When prior art is carried out program searching, can not need switch between two search interfaces by the search of a unified search interface realization to broadcast program information and program request time shift program information, its efficient is lower.
Summary of the invention
The invention provides the method for carrying out program searching, this method can realize providing broadcast program information and program request time shift program information by a search interface.
The invention provides the programme information harvester, this programme information harvester can be realized providing broadcast program information and program request time shift program information by a search interface.
A kind of method of carrying out program searching, this method comprises:
Receive TS, PSI among the TS and SI are resolved, obtain broadcast program information, store;
Move programme information sowing time from front end data in server storehouse acquisition point, store;
Adopt the broadcast program information and the program request time shift program information of a search interface issue storage, the broadcast program information and the program request time shift program information of storage is provided according to request.
A kind of programme information harvester, this programme information harvester comprise that TS collector, program request time shift proxy server, memory cell and information provide the unit;
Described TS collector is used to receive TS, and PSI among the TS and SI are resolved, and obtains broadcast program information, stores in the memory cell;
Described program request time shift proxy server is used for moving programme information sowing time from front end data in server storehouse acquisition point, stores in the memory cell;
Described information provides the unit, is used to adopt the broadcast program information and the program request time shift program information of a search interface issue cell stores, and the broadcast program information and the program request time shift program information of storage is provided according to request.
From such scheme as can be seen, the present invention obtains broadcast program information and program request time shift program information, carries out storage and uniform; And, provide the broadcast program information and the program request time shift program information of storage according to request by broadcast program information and request program information that a search interface issue is stored.Thereby, realize providing broadcast program information and program request time shift program information by a search interface, when carrying out program searching, need not between two search interfaces, to switch, improved efficient.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
The present invention is provided with the programme information harvester, obtains broadcast program information and program request time shift program information by the programme information harvester, carries out storage and uniform; And pass through a search interface and issue the broadcast program information and the request program information of storing.Referring to Fig. 1, for the present invention carries out the method indicative flowchart of program searching, this method may further comprise the steps:
Step 101 receives transport stream TS, and Program Specific Information PSI in the transport stream TS and information on services SI are resolved, and obtains broadcast program information, stores.
Particularly, the programme information harvester receives TS, and PSI among the TS and SI are resolved, and obtains broadcast program information, stores.In addition, the TS collector can be set in the programme information harvester, receive TS, PSI and SI among the TS that receives are resolved, obtain broadcast program information by the TS collector.
Step 102 is moved programme information from front end data in server storehouse acquisition point sowing time, stores
Particularly, the programme information harvester moves programme information from front end data in server storehouse acquisition point sowing time, stores.
Described program request time shift program is the general designation that request program and time shift program etc. is had the program of similar characteristics, the similar characteristics of this class program that is to say: front-end server in database typing the programme information of this class program, front-end server adopts the programme information of a search interface issue storage, and, provide the programme information of storage for set-top box according to the request of set-top box.
When storing in step 101 and the step 102, can store respectively the relevant data of channel according to channel, described channel related data comprises channel, channel designation, channel program tabulation and reproduction time etc.
Step 103 adopts a search interface to issue the broadcast program information and the program request time shift program information of storage, and the broadcast program information and the program request time shift program information of storage is provided according to request.
Particularly, the programme information harvester adopts the broadcast program information and the program request time shift program information of a search interface issue storage, and the broadcast program information and the program request time shift program information of storage is provided according to request.
When needed, program request direction programme information harvester sends request, and the programme information harvester sends search interface to program request side, and described search interface for example is the channel designation in each broadcasting channel and each point shift frequency sowing time road; Afterwards, the user selects the specified channel title from search interface, program request side sends to the programme information harvester with the specified channel title that the user selects, the programme information harvester according to the specified channel title from the storage broadcast program information and program request time shift program information, obtain and this specified channel title program information corresponding, feed back to program request side.
This programme information harvester can be provided with separately, also can place in the receiving terminal for digital television, can also place front-end server; Described receiving terminal for digital television for example is a set-top box.If be provided with separately, when then needing to carry out program searching, to programme information harvester request programme information; If place in the receiving terminal for digital television, then receiving terminal for digital television obtains and memory point is moved programme information sowing time from front-end server, when needed, unifies program searching by receiving terminal for digital television; If place front-end server, then front-end server will receive TS, obtain after analyzing and stored broadcast program information, when needed, unify program searching by front-end server.
In the step 103, the broadcast program information of issue storage and the mode of program request time shift information, each is provided with as required; Because the programme information harvester places the situation in the receiving terminal for digital television relatively simple, situation about being provided with separately with the programme information harvester is illustrated published method below; The programme information harvester places the situation of front-end server similar with situation about being provided with separately.
1) the programme information harvester is issued the broadcast program information and the program request time shift information of storage by the mode of extending mark language (XML, Extensible MarkupLanguage) data.
The XML form is the clear data form, when issuing by the XML form, particularly, can be with reference to the XML standard, according to relevant data of channel such as the relevant channel of channel issue channel, channel designation, channel program tabulation and reproduction times.
The programme information harvester can disclose its Internet protocol (IP to program request side, Internet Protocol) address, the program request square tube is crossed IP network the programme information harvester is conducted interviews, by a unified search interface to inquiring about in the XML formatted data of storing in the programme information harvester, to obtain the programme information that needs.
Described program request side is, directly send request to carry out a side of program searching to the programme information harvester, comprise set-top box, personal computer (PC, Personal Computer), mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc.
2) the programme information harvester is by issue API (API, Application Programming Interface), broadcast program information and program request time shift information that issue is stored.
The programme information harvester can disclose its IP address to program request side, the program request square tube is crossed IP network the programme information harvester is conducted interviews, call issue API, unified search interface of programme information harvester employing provides the search to broadcast program information and program request time shift information.
3) the programme information harvester is issued the broadcast program information and the program request time shift information of storage by the mode of WEB service association.
During enforcement, can on other WEB webpages, the search association service be set.Described other WEB webpages for example are Sohu's webpage, and the link key about the search programme information is set on Sohu's webpage, and the user clicks this link key, just can conduct interviews to the programme information harvester, to carry out program information search; Particularly, the user clicks this link key, Sohu's web page server will send request to the programme information harvester, the programme information harvester is to program request side, be that Sohu's web page server sends a unified search interface, described search interface for example is the channel designation in each broadcasting channel and each point shift frequency sowing time road, and Sohu's web page server sends to the PC of terminal with search interface, and PC shows the user again; Afterwards, the user selects the specified channel title, Sohu's web page server sends the specified channel title to the programme information harvester, the specified channel title that the programme information harvester is selected according to the user, from the storage broadcast program information and program request time shift program information obtain and this specified channel title program information corresponding, feed back to program request side.
The present invention is provided with the programme information harvester, obtains broadcast program information and program request time shift program information by the programme information harvester, carries out storage and uniform; And, provide the broadcast program information and the program request time shift program information of storage according to request by broadcast program information and request program information that a search interface issue is stored.Thereby, realize providing broadcast program information and program request time shift program information by a search interface, when carrying out program searching, need not between two search interfaces, to switch, improved efficient.
Referring to Fig. 2, be the structural representation of programme information harvester of the present invention, this programme information harvester comprises that TS collector, program request time shift proxy server, memory cell and information provide the unit;
Described TS collector is used to receive TS, and PSI among the TS and SI are resolved, and obtains broadcast program information, stores in the memory cell;
Described program request time shift proxy server is used for moving programme information sowing time from front end data in server storehouse acquisition point, stores in the memory cell;
Described information provides the unit, is used to adopt the broadcast program information and the program request time shift program information of a search interface issue cell stores, and the broadcast program information and the program request time shift program information of storage is provided according to request.
Alternatively, described information provides the unit to comprise XML data release unit, is used to adopt a search interface, issues the broadcast program information and the program request time shift information of cell stores by the mode of XML data.
Alternatively, described information provides the unit to comprise the issuing interface unit, is used to adopt a search interface, by the broadcast program information and the program request time shift information of issue API issue storage.
Alternatively, described release unit comprises related release unit, is used to adopt a search interface, issues the broadcast program information and the program request time shift information of storage by the mode of WEB service association.
This programme information harvester is provided with separately, perhaps, places in the receiving terminal for digital television, perhaps, places front-end server.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.