Background technology
At present, in digital television system, carry out program searching mode and comprise following two kinds:
Mode one is for programme televised live:
Transport stream (TS in receiving terminal for digital television, Transport Stream) collector receives TS, to the Program Specific Information (PSI in TS, Program Specific Information) and information on services (SI, Service Information) resolve, obtain broadcast program information, and storage.Described receiving terminal for digital television is for example Set Top Box.Afterwards, Set Top Box is according to user's request, just can from the broadcast program information of storage, obtain the content needing, by display exhibits to user; Particularly, receive after user's request, Set Top Box is by display exhibits broadcast program search interface, described broadcast program search interface is for example the channel designation of each broadcasting channel, receive after the specified channel title of user's selection, from storage broadcast program information obtain the broadcast program information corresponding with this specified channel title, by display exhibits to user.
Mode two is for 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 is for example Content Management System (CMS, Content Manager 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, for Set Top Box provides the program request time shift program information of storage.Particularly, when needed, Set Top Box forward end server sends request, and front-end server moves search interface sowing time to Set Top Box sending point, Set Top Box is by display exhibits program request time shift program search interface, and described program request time shift search interface is for example broadcast the channel designation of time shifting channel for each point; Afterwards, the specified channel title that Set Top Box is selected user sends to front-end server, in the program request time shift program information that front-end server is stored from database, obtain the program request time shift program information corresponding with this specified channel title, send Set Top Box to, Set Top Box by display by the program request time shift program information display receiving to user.
Described program request time shift program is request program and time shift program etc. to be had to the general designation of the program of similar feature, the similar feature 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 according to the request of Set Top Box, for Set Top Box provides the programme information of storage.
When prior art is carried out program searching, can not realize the search to broadcast program information and program request time shift program information by a unified search interface, need between two search interfaces, switch, its efficiency is lower.
Summary of the invention
The invention provides the method for carrying out program searching, the method can realize by a search interface broadcast program information and program request time shift program information are provided.
The invention provides program information acquiring device, this program information acquiring device can be realized by a search interface broadcast program information and program request time shift program information are provided.
A method of carrying out program searching, the method comprises:
The program information acquiring device arranging separately receives TS, and the PSI in TS and SI are resolved, and obtains broadcast program information, stores;
From the database acquisition point of front-end server, move programme information sowing time, store, described program request time shift program comprises request program and time shift program;
Adopt broadcast program information and the program request time shift program information of a search interface issue storage, broadcast program information and the program request time shift program information of storage is provided according to request;
Describedly according to request, provide the broadcast program information of storage and program request time shift program information to comprise:
According to request, send search interface to program request side, described search interface comprises that each broadcasting channel and each point broadcast the channel designation of time shifting channel;
Receive the specified channel title that described program request side sends;
According to described specified channel title, from the broadcast program information and program request time shift program information of storage, obtain the programme information corresponding with described specified channel title;
Broadcast program information and the program request time shift program information of a search interface issue storage of described employing comprise:
Adopt a search interface, by the mode of extending mark language XML data or by issuing API or serving by WEB broadcast program information and the program request time shift program information that associated mode is issued storage.
A program information acquiring device, this program information acquiring device arranges separately, comprises that TS collector, program request time shift proxy server, memory cell and information provide unit;
Described TS collector, for receiving TS, resolves the PSI in TS and SI, obtains broadcast program information, stores in memory cell;
Described program request time shift proxy server, moves programme information for the database acquisition point from front-end server sowing time, stores in memory cell, and described program request time shift program comprises request program and time shift program;
Described information provides unit, for adopting broadcast program information and the program request time shift program information of a search interface issue cell stores, provides broadcast program information and the program request time shift program information of storage according to request;
Describedly according to request, provide the broadcast program information of storage and program request time shift program information to comprise:
According to request, send search interface to program request side, described search interface comprises that each broadcasting channel and each point broadcast the channel designation of time shifting channel;
Receive the specified channel title that described program request side sends;
According to described specified channel title, from the broadcast program information and program request time shift program information of storage, obtain the programme information corresponding with described specified channel title;
Described information provides unit to comprise extending mark language XML data release unit, for adopting a search interface, issues broadcast program information and the program request time shift program information of cell stores by the mode of extending mark language XML data;
Or described information provides unit to comprise issuing interface unit, for adopting a search interface, by broadcast program information and the program request time shift program information of issue API issue storage;
Or described information provides unit to comprise associated release unit, for adopting a search interface, by WEB, serve broadcast program information and the program request time shift program information that associated mode is issued storage.
From such scheme, can find out, the present invention obtains broadcast program information and program request time shift program information, unifies storage; And by broadcast program information and the request program information of a search interface issue storage, according to request, provide broadcast program information and the program request time shift program information of storage.Thereby, realize and provide broadcast program information and program request time shift program information by a search interface, when carrying out program searching, without switching, improved efficiency between two search interfaces.
Embodiment
For making the object, 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 arranges program information acquiring device, by program information acquiring device, obtains broadcast program information and program request time shift program information, unifies storage; And by broadcast program information and the request program information of a search interface issue storage.Referring to Fig. 1, for the present invention carries out the method indicative flowchart of program searching, the method comprises the following steps:
Step 101, receives transport stream TS, and the Program Specific Information PSI in transport stream TS and information on services SI are resolved, and obtains broadcast program information, stores.
Particularly, program information acquiring device receives TS, and the PSI in TS and SI are resolved, and obtains broadcast program information, stores.In addition, TS collector can be set in program information acquiring device, by TS collector, receive TS, PSI and SI in the TS receiving are resolved, obtain broadcast program information.
Step 102, moves programme information from the database acquisition point of front-end server sowing time, stores
Particularly, program information acquiring device moves programme information from the database acquisition point of front-end server sowing time, stores.
Described program request time shift program is request program and time shift program etc. to be had to the general designation of the program of similar feature, the similar feature 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 according to the request of Set Top Box, for Set Top Box provides the programme information of storage.
While storing in step 101 and step 102, can to the relevant data of channel, store respectively according to channel, described channel related data comprises channel, channel designation, channel program list and reproduction time etc.
Step 103, adopts a search interface to issue broadcast program information and the program request time shift program information of storage, and broadcast program information and the program request time shift program information of storage is provided according to request.
Particularly, program information acquiring device adopts broadcast program information and the program request time shift program information of a search interface issue storage, and broadcast program information and the program request time shift program information of storage is provided according to request.
When needed, program request direction program information acquiring device sends request, and program information acquiring device sends search interface to program request side, and described search interface is for example the channel designation that each broadcasting channel and each point are broadcast time shifting channel; Afterwards, user selects specified channel title from search interface, the specified channel title that user selects in program request side sends to program information acquiring device, program information acquiring device according to specified channel title from storage broadcast program information and program request time shift program information, obtain the programme information corresponding with this specified channel title, feed back to program request side.
This program information acquiring device can arrange separately, also can be placed in receiving terminal for digital television, can also be placed in front-end server; Described receiving terminal for digital television is for example Set Top Box.If arrange separately, while needing to carry out program searching, to program information acquiring device request program information; If be placed in receiving terminal for digital television, receiving terminal for digital television obtains also memory point from front-end server and moves programme information sowing time, when needed, by receiving terminal for digital television, unifies program searching; If be placed in front-end server, front-end server will receive TS, obtain and stored broadcast program information after analyzing, and when needed, by front-end server, unify program searching.
In step 103, the broadcast program information of issue storage and the mode of program request time shift program information, each arranges as required; Situation about being placed in receiving terminal for digital television due to program information acquiring device is relatively simple, and situation about arranging separately with program information acquiring device below, is illustrated published method; The situation that program information acquiring device is placed in front-end server is similar with situation about arranging separately.
1) program information acquiring device, by the mode of extending mark language (XML, Extensible Markup Language) data, is issued broadcast program information and the program request time shift program information of storage.
XML form is clear data form, while issuing by XML form, particularly, can be with reference to XML standard, according to the relevant relevant data of channel such as channel, channel designation, channel program list and reproduction time of channel issue channel.
Program information acquiring device can disclose to program request side its Internet protocol (IP, Internet Protocol) address, program request square tube is crossed IP network program information acquiring device is conducted interviews, by a unified search interface to inquiring about in the XML formatted data of storing in program information acquiring device, to obtain the programme information needing.
Described program request side is, directly to program information acquiring device, send request to carry out a side of program searching, comprise Set Top Box, personal computer (PC, Personal Computer), mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc.
2) program information acquiring device is by issue API (API, Application Programming Interface), broadcast program information and program request time shift program information that issue is stored.
Program information acquiring device can disclose to program request side its IP address, program request square tube is crossed IP network program information acquiring device is conducted interviews, call issue API, program information acquiring device adopts a unified search interface that the search to broadcast program information and program request time shift program information is provided.
3) program information acquiring device is served associated mode by WEB, broadcast program information and the program request time shift program information of issue storage.
During enforcement, can on other WEB webpages, search association service be set.Described other WEB webpages are for example that the link key about searching programs information is set on webpage , Sohu of Sohu webpage, and user clicks this link key, just can conduct interviews to program information acquiring device, to carry out program information search; Particularly, user clicks this link key, Sohu's web page server will send request to program information acquiring device, program information acquiring device is to program request side, be that Sohu's web page server sends a unified search interface, described search interface is for example the channel designation that each broadcasting channel and each point are broadcast time shifting channel, and Sohu's web page server sends to search interface the PC of terminal, and PC shows user again; Afterwards, user selects specified channel title, Sohu's web page server sends specified channel title to program information acquiring device, the specified channel title that program information acquiring device is selected according to user, from storage broadcast program information and program request time shift program information obtain the programme information corresponding with this specified channel title, feed back to program request side.
The present invention arranges program information acquiring device, by program information acquiring device, obtains broadcast program information and program request time shift program information, unifies storage; And by broadcast program information and the request program information of a search interface issue storage, according to request, provide broadcast program information and the program request time shift program information of storage.Thereby, realize and provide broadcast program information and program request time shift program information by a search interface, when carrying out program searching, without switching, improved efficiency between two search interfaces.
Referring to Fig. 2, be the structural representation of program information acquiring device of the present invention, this program information acquiring device comprises that TS collector, program request time shift proxy server, memory cell and information provide unit;
Described TS collector, for receiving TS, resolves the PSI in TS and SI, obtains broadcast program information, stores in memory cell;
Described program request time shift proxy server, moves programme information for the database acquisition point from front-end server sowing time, stores in memory cell;
Described information provides unit, for adopting broadcast program information and the program request time shift program information of a search interface issue cell stores, provides broadcast program information and the program request time shift program information of storage according to request.
Alternatively, described information provides unit to comprise XML data release unit, for adopting a search interface, issues broadcast program information and the program request time shift program information of cell stores by the mode of XML data.
Alternatively, described information provides unit to comprise issuing interface unit, for adopting a search interface, by broadcast program information and the program request time shift program information of issue API issue storage.
Alternatively, described information provides unit to comprise associated release unit, for adopting a search interface, by WEB, serves broadcast program information and the program request time shift program information that associated mode is issued storage.
This program information acquiring device arranges separately, or, be placed in receiving terminal for digital television, or, be placed in front-end server.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.