Summary of the invention
In order to solve the problem, the invention provides a kind of user instruction that receives and select EPG look & feel flexibly and the STB device can reminded user preset program, described STB device is made to have digital television program and EPG information real-time reception, EPG display styles adjust in real time, the multiple function of EPG advertisement implantation and user preset program reminding, overcome the defect of the too single internal structure of current STB, facilitate viewing and the operation of user.
According to an aspect of the present invention, provide the STB device of a kind of IPTV, comprise external network interface, receive the TS stream and EPG Template Information that transmit in network; Demultiplexing module, flows demultiplexing to described TS, obtains the digitized audio message of actual program, digital video information and EPG information; EPG template parsing module, resolves the EPG template data to obtain extensible style language conversion XSLT to EPG Template Information; LCD liquid crystal display screen, plays actual program according to user instruction or show described EPG information in the EPG template that described EPG template data is corresponding.
More specifically, the STB device of described IPTV comprises further: external network interface, by network reception IPTV data flow, described IPTV data flow comprises the realtime transmission protocol RTP packet of transport stream TS stream and carries the RTP packet of EPG Template Information, wherein said EPG Template Information is the data file of HTML html format, and described EPG template is corresponding with the user property of the user using STB device, network parse module, connects described external network interface, the RTP packet received is carried out RTP and unpacks, and flows and described EPG Template Information to obtain described TS, demultiplexing module, connect described network parse module to flow to receive described TS, and described TS stream is demultiplexing as digitized audio message, digital video information and EPG information, wherein said EPG information is carried in network information table NIT, the BAT bouquet association table BAT or service information list SDT of the business information SI that described TS flows, and the demultiplexing of EPG information is asked triggered by the EPG that remote controller sends by user, EPG template parsing module, connects described network parse module to receive the data file of described html format, and the data file of described html format is resolved to the EPG template data of XSLT, EPG information parsing module, connect described demultiplexing module to receive the EPG information of demultiplexing, and the EPG information of described demultiplexing is resolved, the EPG information after parsing comprises programme, current playing program, program description, programme labeling information, program predetermination information and parental ratings control information, sending module, send the authentication request that sends to EPG server of user by network, wherein said EPG server parses the user property of described user according to described authentication request, with at EPG server end according to the customized corresponding EPG template of described user property, remind programme information memory module, for when receiving the prompting setting of the programs information that user is sent by remote controller, store the prompting programme information set by user, described prompting programme information comprises prompting programm name, reminds program broadcast start time, time block, by timing for the program handover module of described STB device provides a reference time, remind control module, connect described time block and described prompting programme information memory module, when the prompting program broadcast start time stored in the reference time that described time block provides and described prompting programme information memory module meets the time relationship of setting, perform and the prompting of user is operated, program handover module, when receiving user and selecting to play the instruction reminding program according to reminding the prompting of control module by remote controller, current playing program is switched to described prompting program to play, described prompting program is replaced with current playing program, or when reminding the prompting of control module to reach scheduled time threshold value, automatically current playing program is switched to described prompting program to play, described prompting program is replaced with current playing program, voice data processing module, connects demultiplexing module to receive digitized audio message, carries out audio decompression, digital-to-analogue conversion operation, and export simulated audio signal to digitized audio message, video data processing module, connects demultiplexing module to receive digital video information, carries out video decompression operation to digital video information, and exports the digital video signal after decompressing, left and right sound channels loud speaker, connects voice data processing module to receive simulated audio signal and to export the left channel audio signal corresponding with simulated audio signal and right channel audio signal respectively, drive device for display, connect video data processing module, EPG template parsing module and EPG information parsing module, when normal play program, digital video signal after receiving video data processing module decompresses, and the digital video signal after decompressing is carried out driving process to export the video data of applicable LCDs display, when the EPG request that user is sent by remote controller, receive the EPG template data of the XSLT that EPG template parsing module sends, receive the EPG information after the parsing of EPG information parsing module transmission, and the EPG template data of described XSLT and the EPG information after resolving are combined, EPG interface after display combination, LCD liquid crystal display screen, connects drive device for display and receives the EPG interface after driving the video data after processing or combination, being shown on its screen at the EPG interface after described video data or described combination, wherein said simulated audio signal, digital video signal are corresponding audio frequency, the video datas of current playing program, wherein, described EPG information comprises programme, current playing program, program description, programme labeling information, program predetermination information and parental ratings control information, described programme comprises each programm name according to time sequence play and the reproduction time of each TV station, described current playing program refers to the programm name and reproduction time that each TV station's current slot just playing, described program description is the specific descriptions data to respective program, and described specific descriptions data comprise user comment, related web site link, described programme labeling information is the classification information corresponding program being referred to respective classes, described program predetermination information refers to conveniently terminal use and to look forward to the prospect the relevant information of described hot programs of the hot programs that is later about to play and Publication ahead, comprises programm name, reproduction time, focus content, described parental ratings control information refers to control children to watching of programme content by the class information of each program grade, wherein, described EPG template also comprises special column administration page, the project that described special column administration page relates to comprises recording program, program look back, the customized advertisement of operator, and operator can automatically change at described EPG server end or manually change recording program content, program look back content, the customized ad content of operator.
More specifically, the STB device of described IPTV comprises further: wherein, network information table NIT, BAT bouquet association table BAT or service information list SDT that described EPG information is carried at the business information SI that described TS flows comprise, described EPG information is divided into multiple business description information, described business description information is placed in descriptor Descriptor and transmits, transmit in the described descriptor section of being placed on Section, described section is placed in sublist and transmits, sublist is placed in table NIT, BAT or SDT.
More specifically, the STB device of described IPTV comprises further: described TS stream is made up of packet header and load, described packet header comprises a sync byte SYNC1 and three other bytes, described three other bytes are used for traffic identification, scrambling and control information, described load comprises the MPEG-2 data of 184 bytes, specifically being distributed as of three other bytes in described packet header, 1 transmission error code indication bit position, 1 initial indication bit position of clean data cell, 1 is transmitted priority bit position, 13 bag identifier PID bits, 2 are transmitted scrambling control bits position, control bit position, 2 self adaptation districts and 4 continuous counter bits.
More specifically, the STB device of described IPTV comprises further: the resolution of described LCD liquid crystal display screen is any one in 160 × 128,384 × 320,640 × 480 or 1024 × 600.
More specifically, the STB device of described IPTV comprises further: the authentication request that described sending module is sent to EPG server by network transmission user comprises, described authentication request is played RTP bag, then UDP bag is beaten to the RTP bag obtained, be sent to EPG server by network afterwards.
Embodiment
Below with reference to accompanying drawings the embodiment of the STB device of IPTV of the present invention is described in detail.
Fig. 1 illustrates the block diagram of the STB device of the IPTV illustrated according to an embodiment of the present invention.The STB device that wherein reception user instruction selects EPG look & feel also can remind user preset program flexibly comprises: external network interface 1, receives the TS stream and EPG Template Information that transmit in network; Demultiplexing module 3, flows demultiplexing to described TS, obtains the digitized audio message of actual program, digital video information and EPG information; EPG template parsing module 4, resolves EPG Template Information with the EPG template data obtaining XSLT; LCD liquid crystal display screen 15, plays actual program according to user instruction or show described EPG information in the EPG template that described EPG template data is corresponding.Wherein, the STB device of described IPTV comprises further: external network interface 1, by network reception IPTV data flow, described IPTV data flow comprises the realtime transmission protocol RTP packet of transport stream TS stream and carries the RTP packet of EPG Template Information, wherein said EPG Template Information is the data file of HTML html format, and described EPG template is corresponding with the user property of the user using STB device, network parse module 2, connects described external network interface 1, the RTP packet received is carried out RTP and unpacks, and flows and described EPG Template Information to obtain described TS, demultiplexing module 3, connect described network parse module 2 to flow to receive described TS, and described TS stream is demultiplexing as digitized audio message, digital video information and EPG information, wherein said EPG information is carried in network information table NIT, the BAT bouquet association table BAT or service information list SDT of the business information SI that described TS flows, and the demultiplexing of EPG information is asked triggered by the EPG that remote controller sends by user, EPG template parsing module 4, connects described network parse module 2 to receive the data file of described html format, and the data file of described html format is resolved to the EPG template data of XSLT, EPG information parsing module 5, connect described demultiplexing module 3 to receive the EPG information of demultiplexing, and the EPG information of described demultiplexing is resolved, the EPG information after parsing comprises programme, current playing program, program description, programme labeling information, program predetermination information and parental ratings control information, sending module 6, by the authentication request that network transmission user sends to EPG server, wherein said EPG server parses the user property of described user according to described authentication request, with at EPG server end according to the customized corresponding EPG template of described user property, remind programme information memory module 7, for when receiving the prompting setting of the programs information that user is sent by remote controller, store the prompting programme information set by user, described prompting programme information comprises prompting programm name, reminds program broadcast start time, time block 8, by timing for the program handover module of described STB device provides a reference time, remind control module 9, connect described time block 8 and described prompting programme information memory module 7, when the prompting program broadcast start time stored in the reference time that described time block 8 provides and described prompting programme information memory module 7 meets the time relationship of setting, perform and the prompting of user is operated, program handover module 10, when receiving user and selecting to play the instruction reminding program according to reminding the prompting of control module 9 by remote controller, current playing program is switched to described prompting program to play, described prompting program is replaced with current playing program, or when reminding the prompting of control module 9 to reach scheduled time threshold value, automatically current playing program is switched to described prompting program to play, described prompting program is replaced with current playing program, voice data processing module 11, connects demultiplexing module 3 to receive digitized audio message, carries out audio decompression, digital-to-analogue conversion operation, and export simulated audio signal to digitized audio message, video data processing module 12, connects demultiplexing module to receive digital video information, carries out video decompression operation to digital video information, and exports the digital video signal after decompressing, left and right sound channels loud speaker 13, connects voice data processing module 11 to receive simulated audio signal and to export the left channel audio signal corresponding with simulated audio signal and right channel audio signal respectively, drive device for display 14, connect video data processing module 12, EPG template parsing module 4 and EPG information parsing module 5, when normal play program, digital video signal after receiving video data processing module 12 decompresses, and the digital video signal after decompressing is carried out driving process to export the video data of applicable LCDs display, when the EPG request that user is sent by remote controller, receive the EPG template data of the XSLT that EPG template parsing module 4 sends, receive the EPG information after the parsing of EPG information parsing module 5 transmission, and the EPG template data of described XSLT and the EPG information after resolving are combined, EPG interface after display combination, LCD liquid crystal display screen 15, connects drive device for display 14 and receives the EPG interface after driving the video data after processing or combination, being shown on its screen at the EPG interface after described video data or described combination, wherein said simulated audio signal, digital video signal are corresponding audio frequency, the video datas of current playing program, wherein, described EPG information comprises programme, current playing program, program description, programme labeling information, program predetermination information and parental ratings control information, described programme comprises each programm name according to time sequence play and the reproduction time of each TV station, described current playing program refers to the programm name and reproduction time that each TV station's current slot just playing, described program description is the specific descriptions data to respective program, and described specific descriptions data comprise user comment, related web site link, described programme labeling information is the classification information corresponding program being referred to respective classes, described program predetermination information refers to conveniently terminal use and to look forward to the prospect the relevant information of described hot programs of the hot programs that is later about to play and Publication ahead, comprises programm name, reproduction time, focus content, described parental ratings control information refers to control children to watching of programme content by the class information of each program grade, wherein, described EPG template also comprises special column administration page, the project that described special column administration page relates to comprises recording program, program look back, the customized advertisement of operator, and operator can automatically change at described EPG server end or manually change recording program content, program look back content, the customized ad content of operator.
Wherein, digital video switching box (English: SetTopBox, be called for short STB), box on so-called Set Top Box or machine is the equipment connecting television set and outside source.The digital signal of compression can be changed into television content by it, and shows on a television set.Signal can from wire cable, satellite antenna, broadband network and terrestrial broadcasting.Except the image that the content that Set Top Box receives can provide except simulated television, sound, be more to receive data content, comprise electronic program guides, internet webpage, captions etc.Make user can watch digital television program on existing television set, and carry out interactive digital amusement, education and commercialization activity by network.Described STB can be divided into digital satellite set-top box (DVB-S), Europe superscript digital ground Set Top Box (DVB-T), GB digital ground Set Top Box (DMB-TH), cable television digital set-top box (DVB-C).One-way set-top box, bi-directional set-top box, IPTV set top box can be divided into by function.Different according to the chip that Set Top Box is selected, the hardware platform of formation is just different, and other equipment of outfit and interface are also different, and this just constitutes diversified STB.Such as, in STB, add modem or network interface card, just constitute the Set Top Box that has two-way function; Add that hard disk just constitutes personal video recording device (PVR:PersonalVideoRecorder), these all need the cooperation of software certainly.Same hardware platform also can consist of resident different software the Set Top Box of different application, and diversified STB meets the demand of different levels.
Wherein, IPTV system is interactive television again, he system configuration mainly comprises streaming media service, program is gathered and edited, store and the subsystem such as authentication and accounting, the content of main storage and transmission take MPEG-4 as the files in stream media of coding core, IP based network transmits, and usually will arrange content distribution service node at edge, configuration flow media services and memory device, user terminal can be IP Set Top Box+television set, also can be PC.What the radio network of cable digital TV was taked is hfc plant system, identical with traditional analog catv network architecture, and under carrying out novel interactive service situation (as VOD), the network system can be different.Cable digital TV VOD system mainly comprises VOD service, program is gathered and edited, store and authentication and accounting System, the content of main storage and transmission is MP-2TS stream, adopt IPOVERDWDM technology, transmit based on DVDIP optical networking, different from the distributed structure/architecture of IPTV, what cable digital TV VOD system adopted is centralized service architecture, the video server being configured for content storage and distribution is not needed at HFC sub-headend, only need to place the equipment such as DWDM receiver and GAM modulation, greatly reduce operation cost and the management complexity of system, user terminal is top box of digital machine+television set.Domesticly at present basically form sized enterprises in chinese DTV industry chain, occur numerous digital TV set-top box manufacturers, headend equipment manufacturer, system integrator.
In addition, the STB device of described IPTV comprises further: wherein, network information table NIT, BAT bouquet association table BAT or service information list SDT that described EPG information is carried at the business information SI that described TS flows comprise, described EPG information is divided into multiple business description information, described business description information is placed in descriptor Descriptor and transmits, transmit in the described descriptor section of being placed on Section, described section is placed in sublist and transmits, sublist is placed in table NIT, BAT or SDT.
Wherein, the Main Function of EPG is exactly the menu that user utilizes EPG to provide, and can select the multicast channel oneself liked; The video frequency program that program request oneself is liked; The song that online performance is liked oneself; Search the various information that IPTV provides, comprise life information, entertainment information, educational information, sport information etc.; The menu that user also can use EPG to provide is to order the program oneself liked; The menu that even can be provided by EPG is paid water rate, the electricity charge, carries out the transaction etc. of ecommerce; User can also utilize EPG menu to check the additional information of program, such as, to the introduction etc. of program content descriptions, performer and director; Parental control function simultaneously by providing in EPG menu, the head of a family can be limited some program, not to the viewing authority that child is open all.
In addition, the STB device of described IPTV comprises further: described TS stream is made up of packet header and load, described packet header comprises a sync byte SYNC1 and three other bytes, described three other bytes are used for traffic identification, scrambling and control information, described load comprises the MPEG-2 data of 184 bytes, specifically being distributed as of three other bytes in described packet header, 1 transmission error code indication bit position, 1 initial indication bit position of clean data cell, 1 is transmitted priority bit position, 13 bag identifier PID bits, 2 are transmitted scrambling control bits position, control bit position, 2 self adaptation districts and 4 continuous counter bits.
In addition, the STB device of described IPTV comprises further: the resolution of described LCD liquid crystal display screen 15 is any one in 160 × 128,384 × 320,640 × 480 or 1024 × 600.According to the demand of user, can be adjusted to type and the size of the LCD liquid crystal display screen of this user's configuration machine top box.
Wherein, LCDs, English is commonly referred to as LCD(LiquidCrystalDisplay), be the one belonging to flat-panel screens, for the screen display of television set and computer.LCD display employs two panels polarization material, is liquid crystal solution between which.Electric current rearranges by making crystal during this liquid, to make light cannot through them.Therefore, each crystal, just as shutter, can allow light to pass and can obstruct the light.Scientific and technological information product is all towards the development of light, thin, short, little target at present for liquid crystal display (LCD), and the display product having long history in computer periphery is certainly no exception.Be easy to carry and carrying as under front topic, traditional display mode, as CRT crt display and LED display board etc., is all limited by the factors such as the excessive or power consumption of volume is very huge, cannot reaches the actual demand of user.And the development of lcd technology just in time suits the trend of current information products, be no matter the advantages such as little or zero radiation of right angle display, low power consumption, volume, user can be allowed to enjoy best visual environment.
In addition, the STB device of described IPTV comprises further: the authentication request that described sending module 6 is sent to EPG server by network transmission user comprises, described authentication request is played RTP bag, then UDP bag is beaten to the RTP bag obtained, be sent to EPG server by network afterwards.
Wherein, the full name of udp protocol is User Datagram Protoco (UDP), and he is the same as with Transmission Control Protocol UDP message bag in a network, is a kind of connectionless agreement.In osi model, at the 4th layer---transport layer, is in the last layer of IP agreement.UDP is used for supporting that those need to transmit between the computers the network application of data.The network application comprising numerous Client/Server of Video Conference System all needs to use udp protocol.Udp protocol is employed a lot of year so far from appearance, although its initial brilliance cover by some similar agreements, even today UDP still to can yet be regarded as a very practical and feasible Internet Transmission layer protocol.
Wherein, RTP(Real-timeTransportProtocol, RTP) be a network transmission protocol, he is announced by the multimedia transmission work group of IETF for 1996 in RFC1889, after upgrade in RFC3550.International Telecommunication Union ITU-T has also issued oneself RTP document, as H.225.0, but has just been cancelled after the stable standard RFC issued about it as IETF afterwards.It is RFC1889 as Internet Standard at the legacy version of RFC3550(the document) be described in detail.RFC3551(STD65, legacy version is RFC1890) describe the audio and videoconference using minimum control in detail.Real-time Transport Protocol describes the normal data packet format transmitting Voice & Video on the internet in detail.He is designed to a multicast protocol at the beginning, but is used in afterwards in a lot of unicast application.Real-time Transport Protocol is usually used in stream media system (coordinating RTSP agreement), and video conference and PTT (PushtoTalk) system (coordinating H.323 or SIP), make it become the technical foundation of IP phone industry.Real-time Transport Protocol uses together with RTP Control Protocol RTCP, and he is based upon in User Datagram Protoco (UDP).
Adopt the STB device of IPTV of the present invention, greatly improve the STB device that original structure is single, for existing STB device adds multiple function, as digital television program and EPG information real-time reception, EPG display styles adjusts in real time, EPG advertisement implantation and user preset program reminding, when ensureing the normal reception of basic digital TV data, realize the two-way exchange of user and EPG server, to like according to user selecting EPG look & feel, and can be about to arrive by reminding user scheduled program in time, improve the navigability of STB device, extend the functions of the equipments that multiple user can participate in, enrich the experience of user.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.