Background technology
Current digital television information generally is by server end video flowing, audio stream, data etc. to be packaged into transport stream (Transport Stream, TS) broadcast, so set-top box (Set Top Box, STB) the TS stream that receives not only has the TV audio/video information, has also comprised program description.At present, the mode of obtaining the playing programs progress is mainly searched for the play start time packet relevant with the concluding time of current program from data flow by STB, it is pieced together parsing, from set-top box, obtain system time again, calculate playing progress rate according to time ratio, playing progress rate is plotted on the screen displays then.The data handling procedure of this scheme is as follows:
1, front end electronic program guides (Electronic Program Guide, EPG) system produces large-scale program information, object carousel generator (Object Carousel Generator, OCG) programme information that produces is packaged into TS stream, (Service DeliverSystem SDS) spreads TS and is dealt among the STB by front end data and professional Play System then.
2, STB is according to the TS that receives stream, TS stream pieced together resolved after complete, obtains the descriptor data of current playing program.
3, the descriptor data of STB software analysis current playing program obtain title, play start time, the broadcast concluding time of current program, obtain system time then, calculate current till the progress ratio of this playing programs.
4, STB is depicted in ratio on the video screen with progress bar, checks for the user.
The inventor finds in realizing process of the present invention, has following shortcoming in the middle of the prior art:
Click button on the remote controller from the user, when STB begins to lock the homepage menu information, need constantly from the TS bag, to search the program description in each frequency, again program description is pieced together and calculated, program description on all frequencies is just showed after gathering, if the STB data-handling capacity is not good, or unstable networks then this process finish the back when the user sees progress bar, can need a very long time, user experience is very poor.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the embodiment of the invention provides the system of a kind of method of processing digital television programs information, a kind of program server and a kind of processing digital television programs information, make when obtaining the progress page information of programme channel, reduce the burden of set-top box.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of method of processing digital television programs information, comprising:
Obtain the program description of TV programme;
Described program description layout of obtaining is become progress page information;
Described progress page information is issued to set-top box.
Correspondingly, the embodiment of the invention also provides a kind of program server, comprising:
Acquiring unit is used to obtain the program description of TV programme;
The layout unit, the program description layout that is used for described acquiring unit is obtained becomes progress page information;
Transmitting element is used for the progress page information of described layout unit layout is issued to set-top box.
Correspondingly, the embodiment of the invention also provides a kind of system of processing digital television programs information, comprising:
The program server is used to obtain the program description of TV programme, and described program description layout of obtaining is become progress page information, and described progress page information is issued to set-top box;
Set-top box is used to receive the described progress page information that described program server sends, and the progress page information of described reception is resolved, and the described progress page information that parses is inputed in the Digital Television show.
Implement the embodiment of the invention, has following beneficial effect: the program description of obtaining TV programme by the program server, then the program description layout of obtaining is become progress page information, and progress page information is issued to set-top box, when the user carries out the program description inquiry, set-top box only needs the progress page information of program receiving management server transmission and shows, set-top box does not need to do complicated data processing and logical process, simplified the function of set-top box, reduce cost, by implementing technical solution of the present invention, information demonstration amount is big simultaneously, make things convenient for the user to view and admire, the user can browse to the playing programs information of all channels.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment 1
Referring to Fig. 1, Fig. 1 is the system configuration schematic diagram of processing digital television programs information provided by the present invention.The system of described processing digital television programs information comprises: program server 1 and several set-top box 2, wherein: program server 1, be used to obtain the program description of TV programme, described program description layout of obtaining is become progress page information, described progress page information is issued to set-top box;
Concrete, program description comprises programm name information, playing programs time started information and playing programs concluding time information, program server 1 obtains the programm name information in the program description, playing programs time started information and playing programs concluding time information, playing programs time started information and playing programs concluding time information can be represented by numerical value mode or character mode, according to playing programs time started information of obtaining and playing programs concluding time information calculations playing programs progress, the playing programs progress of being somebody's turn to do is program percentage interface or Pgmtime point interface, again by will calculate the playing programs progress in conjunction with a pre-configured web page template, layout becomes progress page, at last this progress page is sent to set-top box.
Set-top box 2 is used to receive the described progress page information that described program server 1 sends, and the progress page information of described reception is resolved, and the described progress page information that parses is exported in the Digital Television show.
Concrete, set-top box receives the progress page information that program server 1 sends, and the progress page information that receives resolved, and with the progress page information temporary storage that parses in set-top box, when the user will check the playing progress rate of all programs in all channels, send correspondingly operational order by the respective keys of clicking in the remote controller to set-top box, after set-top box receives the operational order that remote controller sends, the progress page information that parses exported in the Digital Television show.
Embodiment 2
Referring to Fig. 2, Fig. 2 is the structural representation of program server provided by the present invention, and this program server 1 comprises acquiring unit 10, layout unit 11, transmitting element 12, detecting unit 13 and memory cell 14, wherein:
Acquiring unit 10 is used to obtain the program description of TV programme;
Concrete, acquiring unit 10 can be according to the default time interval or in real time or periodically obtain the program description of TV programme, this program description comprises programm name information, playing programs time started and playing programs concluding time, this acquiring unit 10 also is used to obtain programm name information, playing programs time started information and the playing programs concluding time information of TV programme, and programm name information, playing programs time started information and playing programs concluding time information can be represented by numerical value mode or character mode.
Layout unit 11 is used for the program description that described acquiring unit 10 obtains is carried out layout, generates the progress page of each playing programs progress of expression;
Concrete, layout unit 11 comprises computing unit 111 and layout subelement 112, wherein: computing unit 111 is used for playing programs time started information and the playing programs concluding time information calculations playing programs progress obtained according to described acquiring unit 10, this playing programs progress is program percentage interface or Pgmtime point interface, for example, the current playing programs time started of obtaining is 10: 23, the playing programs concluding time is 11: 08, obtaining current system time is 10: 32, by the playing programs concluding time is deducted the playing programs time started, drawing this program estimates to play 45 minutes, and then current system time is deducted the Pgmtime point that the playing programs time started calculates this playing programs progress is 9 minutes, and the program percentage that also can calculate this playing programs progress simultaneously is 20%; The playing programs progress layout that layout subelement 112 is used for described computing unit 111 is calculated becomes progress page, concrete, the playing programs progress that layout subelement 112 calculates computing unit 111 is in conjunction with a pre-configured default page template, layout becomes progress page, this Page Template style can change arbitrarily, can realize the playing programs progress of all programs in all channels all is presented in the progress page, program more for a long time, pageable shows.
In the present embodiment, described progress page is static html page, displays by built-in browser.
Transmitting element 12 is used for the progress page information that described layout unit 11 generates is issued to set-top box;
Concrete, transmitting element 12 can or be issued to set-top box with progress page information in real time or periodically according to the default time interval.
Detecting unit 13, whether the program description that is used to detect described TV programme changes, and notice acquiring unit 10 obtains program description when changing;
Concrete, can preset a sense cycle, whether the program description that detects TV programme according to sense cycle changes, and whether the program description that also can detect TV programme here in real time changes.When detecting unit 13 detected program description and changes, acquiring unit 10 obtained vicissitudinous program description again, by layout unit 11 vicissitudinous program description layout is become progress page information, is issued to set-top box.
Memory cell 14 is used to store described program description, described Page Template information and described progress page information.
Concrete, memory cell 14 storage acquiring units 10 obtain the progress page information of each playing programs progress of expression of the program description of TV programme, the Page Template information that sets in advance and 11 generations of layout unit.
Embodiment 3
Referring to Fig. 3, Fig. 3 is the method flow diagram of processing digital television programs information provided by the present invention.Concrete steps are as follows:
Step S31: the program description of obtaining TV programme;
Concrete, can according to the default time interval or in real time or periodically obtain the program description of TV programme, this program description comprises programm name information, playing programs time started and playing programs concluding time.
Step S32: described program description layout of obtaining is become progress page information;
Concrete, with the program description of TV programme in conjunction with a pre-configured web page template, layout becomes progress page, this web page template style can change arbitrarily, realization all is presented at the playing programs progress of all programs in all channels in the progress page, program more for a long time, pageable shows.
Step S33: described progress page information is issued to set-top box.
Concrete, can or in real time or periodically progress page information be issued to set-top box according to the default time interval.
Need to prove, the also default sense cycle of program server, whether the program description that detects TV programme according to sense cycle changes, whether the program description that perhaps detects TV programme in real time changes, when detection detects program description and changes, again obtain vicissitudinous program description, the progress page information of the vicissitudinous program description layout Cheng Xin that will obtain again then is issued to set-top box.
Embodiment 4
Referring to Fig. 4, Fig. 4 is the other method flow chart of processing digital television programs information provided by the present invention.Concrete steps are as follows:
Step S41: obtain the program description of TV programme, described program description comprises programm name information, playing programs time started information and playing programs concluding time information;
Concrete, can be according to the default time interval or in real time or periodically obtain the playing programs time started information and the playing programs concluding time information of TV programme.
Step S42: calculate the playing programs progress;
Concrete, playing programs progress according to playing programs time started information of obtaining and playing programs concluding time information calculations, the playing programs progress of being somebody's turn to do is program percentage interface or Pgmtime point interface, for example, the current playing programs time started of obtaining is 10: 23, the playing programs concluding time is 11: 08, obtaining current system time is 10: 32, by the playing programs concluding time is deducted the playing programs time started, drawing this program estimates to play 45 minutes, and then current system time is deducted the Pgmtime point that the playing programs time started calculates this playing programs progress is 9 minutes, and the program percentage that also can calculate this playing programs progress simultaneously is 20%.
Step S43: the layout of described playing programs progress is become progress page information;
Concrete, with the playing programs progress that calculates in conjunction with a pre-configured Page Template, layout becomes progress page, and this web page template style can change arbitrarily, and realization all is presented at the playing programs progress of all programs in all channels in the same progress page.
Step S44: described progress page information is issued to set-top box.
Concrete, can or in real time or periodically progress page information be issued to set-top box according to the default time interval.
In sum, the method of the processing digital television programs information that the embodiment of the invention provided, the system of program server and processing digital television programs information, obtain the program description of TV programme by the program server, the program description layout is become progress page information, and progress page information is issued to set-top box, the progress page information that set-top box only needs the program receiving management server to send, the operational order that sends according to remote controller is exported the progress page information that receives then, set-top box does not need to do complicated data processing and logical process, simplify the function of set-top box, saved cost.Simultaneously by implementing technical solution of the present invention, all playing programs progresses in all channels can be presented in the same progress page, information demonstration amount is big, make things convenient for the user to view and admire, the user can browse to the playing programs information of all channels, and the style that progress page shows can change arbitrarily by the program server, reaches the effect of multiple display styles, has changed the unalterable user experience in interface in the past.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.