CN103731687A - Method for realizing channel change and fast prompting EPG information - Google Patents
Method for realizing channel change and fast prompting EPG information Download PDFInfo
- Publication number
- CN103731687A CN103731687A CN201410033086.8A CN201410033086A CN103731687A CN 103731687 A CN103731687 A CN 103731687A CN 201410033086 A CN201410033086 A CN 201410033086A CN 103731687 A CN103731687 A CN 103731687A
- Authority
- CN
- China
- Prior art keywords
- epg
- file
- database
- epg information
- zapping
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000000737 periodic effect Effects 0.000 claims description 4
- 238000000151 deposition Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method for realizing fast EPG prompting during channel change, which belongs to the field of digital television set-top boxes and specifically comprises the following steps: a. the third-party EPG manufacturer updates EPG data in real time and uploads the EPG data to the FTP server; b. the head end detects whether the EPG information is updated in real time, if so, the EPG information is inserted into a database, and an updated EPG file on the FTP server is deleted; c. the head end generates a sqlite database db file containing EPG information; d. the head end packs the sqlite database db file to generate a TS file by using an OC protocol, and broadcasts the TS file in turn through preset frequency points; e. when the set top box is started, receiving the sqlite database db file through locking a preset frequency point, and storing the sqlite database db file in a set directory; f. the set-top box background monitors channel change events, and when a user changes channels, the user responds to the channel change events, feeds back EPG information quickly by inquiring the database and presents the EPG information. The user experience effect is improved, and the user waiting time is reduced.
Description
Technical field
The present invention relates to top box of digital machine TV domain, be specially a kind of implementation method of zapping quick prompt EPG information.
Background technology
Electronic program guides (Electronic Program Guide, EPG) is a kind of TV guide, along with TV programme signal is broadcast Set Top Box end.Set Top Box can be pointed out EPG information when zapping, the program that next this channel can broadcast.Traditional approach receives the mode that pat table, pmt table, NIT table, SDT table and EIT table are resolved in the common employing of EPG successively, and adopting the obvious shortcoming of which is that the response time is long, poor user experience.
Summary of the invention
One for the slow-footed problem of traditional approach zapping prompting EPG information response, and the present invention proposes a kind of method of zapping quick prompt EPG information, reduces period of reservation of number, improves user and experiences.
Specifically comprise the docking of YuEPG manufacturer, the real-time update EPG of EPG manufacturer data, and uploading to ftp server, head end detects more new data of EPG in real time, will upgrade in EPG data insert head client database, then generate the sqlite database db file that comprises concise and to the point EPG information, db file is packaged as to the TS road wheel of going forward side by side and broadcasts, Set Top Box receives db file, during user's zapping, response zapping event, portal presents EPG.
Described method, its head end, by depositing the file of EPG information on periodic polling ftp server, if find that there is new data, is thought the EPG information of upgrading, be inserted in head end epg database, and delete and on ftp server, deposit the lower corresponding data of EPG message file folder; If do not find new data, automatic regular polling.
Described method, its periodic polling head end database, is used all channels to generate the sqlite database db file that comprises concise and to the point EPG information with interior EPG information for 7 days.
Described method, its db file by generation is packaged as TS file, and once, version number circulates and increases progressively successively between 0 to 31 in every generation.
Described method, it generates after TS file, uses OC agreement at a certain default EPG frequency carousel TS file.
Described method, during its set-top-box opening, by locking default EPG frequency, whether the identical decision of version number of whether preserving with this locality according to TSLiu Zhong EPG version number upgrades EPG data, if identical, do not receive, if difference receives EPG data, and preserve EPG version number, be put under set catalogue.
Described method, listen for user zapping thread is opened on its backstage, if user carries out zapping operation, responds zapping event, first obtains user's zapping information, comprises programm name, current time; Then according to programm name and current time, by searching this program in database, be about to the program broadcasting, and feed back to portal and present.
The invention has the beneficial effects as follows:
Shorten the zapping prompting EPG information rate response time, improved user's experience effect, reduced user's stand-by period.
Accompanying drawing explanation
Accompanying drawing 1 is workflow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, 1 couple of the present invention is further elaborated.
1, EPG provider uploads to ftp server by renewal EPG information in real time.EPG information format is as follows:
< xml version="1.0" encoding="UTF-8" >
<epg>
<channel name=" central a set of high definition " >
<program>
<start>2013-12-25 00:31:00</start>
<end>2013-12-25 02:12:00</end>
The annual finals in <name> Avenue of Stars-2013 (1) </name>
<type></type>
<summary></summary>
</program>
<program>
</program>
<program>
<start>2013-12-31 23:35:00</start>
<end>2014-01-01 00:27:00</end>
<name> begins lecturing </name>
<type></type>
<summary></summary>
</program>
</channel>
</epg>
Each channel is as an independent XML file, and the information comprising in XML file specifically comprises the information such as channel designation, programm name, program start time, program end time, program category and program brief introduction.
2, database design, mainly comprises channelEpg(ID, ChannelName, ProgramName, StartTime, EndTime, Duration, Sort, Summay), INS_PUB_Task(TaskID, TaskName, IssueTime, Status, ConfigXML, DataFolder) two tables.
3, EPG extracts server automatic regular polling ftp server, obtain XML listed files, if list is not sky, XML file is read to this locality, according to set mode, resolve and be written in database table channelEpg, after having write, delete the EPG information of having resolved on ftp server.The Status field value simultaneously upgrading in database table INS_PUB_Task is 1, the existing renewal of sign EPG information.
4, db file generator real-time query database table INS_PUB_Task, is 1 if Status field value detected, by 7 days of all channels, with interior EPG information, by sqlite, generates db file, and uploads to ftp server.The Status field value simultaneously upgrading in INS_PUB_Task table is 10.Sign has generated db file.
5, set and generate TS file parameters, with XML file mode, describe, specifying information is as follows:
<Epg>
<Ver>V0.0.1</Ver>
<serviceName>epg</serviceName>
<OC>
<OCData>
<versionNumber>7</versionNumber>
<OCDir>C:\7EPGData\Data\epg</OCDir>
<OCPID>0x1DFC</OCPID>
<OCextag>0x21</OCextag>
<OCcarousel_id>0x00000001</OCcarousel_id>
</OCData>
</OC>
<udpIP>232.0.5.42</udpIP>
<udpSrcIP>172.30.136.7</udpSrcIP>
<udpPort>6666</udpPort>
<bitRate>4000000</bitRate>
</Epg>
ServiceName: for describing the title of EPG business.
VersionNumber: the version number of business.
OC: business datum object carousel specification handles, child node comprises the information such as source file path, PSI/SI information.
OCDir: source file path.
OCPID: primary flow PID.
OCextag: associated tag, the tag value associated with primary flow (to forming after business datum packing), value is 0x21 at present.
OCcarousel_id: carousel ID, the identifier of this object carousel, value is 0x00000001 at present.
UdpIP: multicast group address.
UdpSrcIP: the IP that broadcasts server.
UdpPort: multicast port number.
BitRate: send code check, the kbps of unit.
6, broadcast server by timing Query Database, find that there is db file generated, db file is downloaded to and broadcasts server, and be packaged as TS file according to the profile information in 3, after having packed, versionnumber in configuration file increases progressively and adds 1, then uses OC agreement that it is broadcast by broadcasting and TV transmission network.
7,, during set-top-box opening, by locking default EPG frequency, whether the identical decision of version number of whether preserving with this locality according to TSLiu Zhong EPG version number upgrades EPG data, if identical, does not receive, if difference receives EPG data, and preserves EPG version number.
Claims (7)
1. the implementation method of a zapping quick prompt EPG information, it is characterized in that the real-time update EPG of EPG manufacturer data, and uploading to ftp server, head end detects more new data of EPG in real time, will upgrade in EPG data insert head client database, then generate the sqlite database db file that comprises concise and to the point EPG information, db file is packaged as to the TS road wheel of going forward side by side and broadcasts, Set Top Box receives db file, during user's zapping, response zapping event, portal presents EPG.
2. the method for claim 1, it is characterized in that head end is by depositing the file of EPG information on periodic polling ftp server, if find that there is new data, think the EPG information of upgrading, be inserted in head end epg database, and delete and on ftp server, deposit the lower corresponding data of EPG message file folder; If do not find new data, automatic regular polling.
3. the method for claim 1, is characterized in that periodic polling head end database, and all channels are used and generate the sqlite database db file that comprises concise and to the point EPG information with interior EPG information for 7 days.
4. method as claimed in claim 2 or claim 3, is characterized in that the db file of generation to be packaged as TS file, every generation once, version number between 0 to 31 successively circulation increase progressively.
5. method as claimed in claim 4, is characterized in that generating after TS file, uses OC agreement at a certain default EPG frequency carousel TS file.
6. method as claimed in claim 5, while it is characterized in that set-top-box opening, by locking default EPG frequency, whether the identical decision of version number of whether preserving with this locality according to TSLiu Zhong EPG version number upgrades EPG data, if identical, do not receive, if difference receives EPG data, and preserve EPG version number.
7. the method for claim 1, is characterized in that backstage unlatching listen for user zapping thread, if user carries out zapping operation, responds zapping event, first obtains user's zapping information, comprises programm name, current time; Then according to programm name and current time, by searching this program in database, be about to the program broadcasting, and feed back to portal and present.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410033086.8A CN103731687A (en) | 2014-01-24 | 2014-01-24 | Method for realizing channel change and fast prompting EPG information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410033086.8A CN103731687A (en) | 2014-01-24 | 2014-01-24 | Method for realizing channel change and fast prompting EPG information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103731687A true CN103731687A (en) | 2014-04-16 |
Family
ID=50455587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410033086.8A Pending CN103731687A (en) | 2014-01-24 | 2014-01-24 | Method for realizing channel change and fast prompting EPG information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103731687A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105025376A (en) * | 2014-04-30 | 2015-11-04 | 中兴通讯股份有限公司 | Method and apparatus of displaying electronic program guide |
WO2016026383A1 (en) * | 2014-08-20 | 2016-02-25 | 阿里巴巴集团控股有限公司 | Dvb terminal, system and epg data uploading method |
CN109996096A (en) * | 2019-03-06 | 2019-07-09 | 湖北省广播电视信息网络股份有限公司 | Region EPG management system, dissemination system and distribution method |
CN114025223A (en) * | 2021-11-15 | 2022-02-08 | 海信电子科技(深圳)有限公司 | Channel switching method in video recording state and display equipment |
CN114827729A (en) * | 2022-05-07 | 2022-07-29 | 烽火通信科技股份有限公司 | EPG online detection method, device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842155A (en) * | 2005-03-30 | 2006-10-04 | 联想(北京)有限公司 | System and method for realizing electronic program guide information download and analysis |
CN101009804A (en) * | 2005-10-14 | 2007-08-01 | 三星电子株式会社 | Method and apparatus for transmitting/receiving electronic program guide in digital broadcast system |
CN101127915A (en) * | 2007-09-20 | 2008-02-20 | 中兴通讯股份有限公司 | Electronic program navigation data synchronization method and system based on incremental mode |
WO2010017465A1 (en) * | 2008-08-07 | 2010-02-11 | Research In Motion Limited | Mobile broadcasting system and method with rich media including an enhanced service guide |
CN103139614A (en) * | 2013-03-13 | 2013-06-05 | 浪潮齐鲁软件产业有限公司 | Achievement method for a program recommending information transmission protocol |
-
2014
- 2014-01-24 CN CN201410033086.8A patent/CN103731687A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842155A (en) * | 2005-03-30 | 2006-10-04 | 联想(北京)有限公司 | System and method for realizing electronic program guide information download and analysis |
CN101009804A (en) * | 2005-10-14 | 2007-08-01 | 三星电子株式会社 | Method and apparatus for transmitting/receiving electronic program guide in digital broadcast system |
CN101127915A (en) * | 2007-09-20 | 2008-02-20 | 中兴通讯股份有限公司 | Electronic program navigation data synchronization method and system based on incremental mode |
WO2010017465A1 (en) * | 2008-08-07 | 2010-02-11 | Research In Motion Limited | Mobile broadcasting system and method with rich media including an enhanced service guide |
CN103139614A (en) * | 2013-03-13 | 2013-06-05 | 浪潮齐鲁软件产业有限公司 | Achievement method for a program recommending information transmission protocol |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105025376A (en) * | 2014-04-30 | 2015-11-04 | 中兴通讯股份有限公司 | Method and apparatus of displaying electronic program guide |
WO2015165197A1 (en) * | 2014-04-30 | 2015-11-05 | 中兴通讯股份有限公司 | Method and device for displaying electronic program guide |
CN105025376B (en) * | 2014-04-30 | 2019-11-08 | 南京中兴新软件有限责任公司 | A kind of method and device realizing electronic program list and showing |
WO2016026383A1 (en) * | 2014-08-20 | 2016-02-25 | 阿里巴巴集团控股有限公司 | Dvb terminal, system and epg data uploading method |
CN109996096A (en) * | 2019-03-06 | 2019-07-09 | 湖北省广播电视信息网络股份有限公司 | Region EPG management system, dissemination system and distribution method |
CN109996096B (en) * | 2019-03-06 | 2022-01-11 | 湖北省广播电视信息网络股份有限公司 | Regional EPG management system, distribution system and distribution method |
CN114025223A (en) * | 2021-11-15 | 2022-02-08 | 海信电子科技(深圳)有限公司 | Channel switching method in video recording state and display equipment |
CN114025223B (en) * | 2021-11-15 | 2023-10-13 | 海信电子科技(深圳)有限公司 | Channel switching method under video recording state and display equipment |
CN114827729A (en) * | 2022-05-07 | 2022-07-29 | 烽火通信科技股份有限公司 | EPG online detection method, device and system |
CN114827729B (en) * | 2022-05-07 | 2023-10-20 | 烽火通信科技股份有限公司 | EPG (electronic program guide) online detection method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10375427B2 (en) | System for providing supplemental content for video transport stream | |
US9549229B2 (en) | Method and an apparatus for processing a broadcast signal including an interactive broadcast service | |
EP2885698B1 (en) | Broadband delivery of personalization information for advanced tv services | |
US20220094995A1 (en) | Legacy video network configuration in a distributed access architecture | |
CN103731687A (en) | Method for realizing channel change and fast prompting EPG information | |
US9894392B2 (en) | Distribution device, reproduction device, data structure, distribution method, control program, and recording medium | |
KR20140016906A (en) | Method for transmitting a broadcast service, apparatus for receiving same, and method for processing an adjunct service using the apparatus for receiving same | |
US11889163B2 (en) | Receiving device, receiving method, transmitting device, and transmitting method | |
CN104754425A (en) | Method of transmitting unidirectional DVB (Digital Video Broadcasting) network signaling data in double-direction network | |
US10244277B2 (en) | Video data processing method and apparatus | |
KR100908058B1 (en) | IP receiver, IP service providing method and IP service receiving method | |
US20240146997A1 (en) | Apparatus, systems and methods for reducing time required for a media content event channel change | |
US12034983B2 (en) | Centralized mediation between ad-replacement platforms | |
KR20060046274A (en) | Pmcp extension metadata, data stream generating device, digital data broadcasting emission system and digital data brocasting emission method thereof | |
CN101788878B (en) | Method for outputting content information and display system enabling the method | |
JP7414213B2 (en) | Program cutout information generation device and method | |
CN103139614A (en) | Achievement method for a program recommending information transmission protocol | |
KR101187425B1 (en) | Method and apparatus for recognizing preferred programs | |
KR20070022620A (en) | PMCP Extension Metadata, Data Stream Generating Device, Digital Data Broadcasting Emission System and Digital Data Brocasting Emission Method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140416 |
|
WD01 | Invention patent application deemed withdrawn after publication |