CN102082959B - Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform - Google Patents

Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform Download PDF

Info

Publication number
CN102082959B
CN102082959B CN200910241586.XA CN200910241586A CN102082959B CN 102082959 B CN102082959 B CN 102082959B CN 200910241586 A CN200910241586 A CN 200910241586A CN 102082959 B CN102082959 B CN 102082959B
Authority
CN
China
Prior art keywords
file
epg
server
information
epg content
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.)
Expired - Fee Related
Application number
CN200910241586.XA
Other languages
Chinese (zh)
Other versions
CN102082959A (en
Inventor
张向国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Igrs Yunshi Information Technology Co., Ltd.
Original Assignee
Beijing Igrs Yunshi Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Igrs Yunshi Information Technology Co Ltd filed Critical Beijing Igrs Yunshi Information Technology Co Ltd
Priority to CN200910241586.XA priority Critical patent/CN102082959B/en
Publication of CN102082959A publication Critical patent/CN102082959A/en
Application granted granted Critical
Publication of CN102082959B publication Critical patent/CN102082959B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method and device for synchronizing EPG (Electronic Program Guide) server content in an embedded platform. The method comprises the following steps of: transmitting an EPG request to a server; receiving the server EPG content information returned by the server; and comparing the client end EPG content information with the server EPG content information and updating the client end EPG content information and the corresponding catalogue thereof by comparing. The device comprises an information receiving unit, an information comparing unit and an information updating unit. The client end EPG content information is updated, thereby ensuring that the EPG organizing way and EPG content of the server end have no redundant file at the client end, completely maintaining consistency with the EPG content of the server and realizing the synchronous updating of client end and server end EPG contents.

Description

The method of synchronous EPG server content and device in a kind of embedded platform
Technical field
The present invention relates to the communications field, more particularly, relate to method and the device of synchronous EPG server content in a kind of embedded platform.
Background technology
At present, in embedded product, particularly Set Top Box, by electronic program guides (EPG, Electronic Program Guide) information of all programs of user can be supplied to, EPG provides by word by Digital Television to user, figure, and image sets becomes human-computer interaction interface, be responsible for the navigation of program and miscellaneous service, user can understand the relevant information (comprising Pgmtime, reproduction time, content summary etc.) of program by EPG.In the exploitation of Set Top Box, based on the graphical interfaces of FrameBuffer (frame buffering) mode, EPG data all for server end are first downloaded to client by a background program by Set Top Box, EPG data are described by unified XML file, and XML (the Extensible Markup Language) file that then gui program parsing is local shows EPG information.In implementation procedure, EPG content is upgraded by the timing of background program and all downloads in local top box, and the EPG content file of server end is real-time change, comprise the file organization mode of EPG content, in the process of this real-time change, Set Top Box upgrades the file of rear this locality at every turn and file organization mode there has also been change, EPG content file so often in the EPG content file of server end and Set Top Box can not synchronized update, makes to lack in Set Top Box in some up-to-date EPG and perhaps gathers a large amount of inactive files.
Summary of the invention
In view of this, the invention provides method and the device of synchronous EPG server content in a kind of embedded platform, under the mode showing EPG content based on FrameBuffer (frame buffering), background program is in the process upgraded, by the contrast of new ancient deed interior joint information, synchronized update is carried out to the EPG content of local client.
For achieving the above object, the embodiment of the present invention provides the method for synchronous EPG server content in a kind of embedded platform, and described method comprises:
EPG request is sent to server;
The server EPG content information that reception server returns;
Client EPG content information and described server EPG content information are compared, is upgraded by the catalogue of comparison to client EPG content information and correspondence thereof.
In said method, preferably, described information comparison is specially: judge the client EPG content file whether presence server returns:
If there is no, in client, the EPG content file that server returns is added;
If existed, then the EPG content file of EPG content file to self that client returns according to server is deleted or is covered.
In said method, preferably, described interpolation is specially:
According to the network address url acquisition EPG content file of the EPG content file that the server of client precognition returns;
Resolve the respective directories that described EPG content file sets up file mid band, obtain the classified information file of corresponding channel according to the network address url of described channel;
Resolve the classified information file of described channel, obtain the description document of film in corresponding channel according to the network address url of film in classified information file;
Resolve described description document, obtain placard picture file corresponding to film according to the network address url of the film placard picture in description document.
In said method, preferably, described deletion or covering are specially:
Judge whether client exists EPG content backup file:
If existed, read in backup file, network address url nodes all in backup file is preserved, and is designated deletion;
Read in this locality and upgraded EPG content file, by the inquiry contrast in the backup file node preserved of all-network address url wherein;
After having contrasted, the node identification that traversal backup file is preserved, deletes channel directory corresponding for the node being designated true;
If there is no, EPG content file, classified information file and/or description document are processed.
In said method, preferably, described the process that EPG content file, classified information file and/or description document are carried out to be specially;
Judge whether the fileinfo in EPG content file, classified information file and/or description document has latest update:
If had, preserve the network address url of all channels in current file information and the mark of all channels is initialized as deletion, backup current file information is fileinfo content .bak form;
The up-to-date fileinfo of server is obtained according to the network address url of client precognition;
Resolve up-to-date fileinfo, the network address url of the fileinfo of all-network address url wherein and current preservation is contrasted, find consistent change mark, be set to false, the channel directory finally the current file information nodes of preservation being designated ture is deleted;
If no, then stet part information.
In said method, preferably, described deletion is:
The EPG synchronous documents consistent with EPG organising content structure is increased at server end;
Client deletes local unnecessary file by downloading described EPG synchronous documents.
For achieving the above object, the embodiment of the present invention additionally provides the device of synchronous EPG server content in a kind of embedded platform, and described device comprises:
Information receiving unit, for sending the server EPG content information that EPG asks also reception server to return to server;
Information comparing unit, server EPG content information client EPG content information and server returned is compared;
Information updating unit, the result according to comparison upgrades client EPG content information.
In said apparatus, preferably, described information updating unit comprises:
Standard judgment sub-unit, for judging the client EPG content whether presence server returns; If do not exist, trigger first and upgrade subelement, if exist, trigger second and upgrade subelement;
First upgrades subelement, for the triggering according to described standard judgment sub-unit, adds the EPG content that server returns in client;
Second upgrades subelement, for the triggering according to described standard judgment sub-unit, deletes the EPG content of client and catalogue thereof or covers.
In said apparatus, preferably, described second upgrades subelement comprises: file erase unit, deletes the EPG content file of client;
File capping unit, covers the EPG content file of client.
The invention provides method and the device of synchronous EPG server content in a kind of embedded platform, ensure that EPG organizational form and the EPG content of server end do not have unnecessary file in client, keep consistent with the EPG content of server completely, achieve the synchronized update of client and server EPG content.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is embodiment of the present invention EPG content synchronization method flow chart;
Fig. 2 is embodiment of the present invention EPG system structural representation;
Fig. 3 is embodiment of the present invention EPG Content Organizing mode structural representation;
Fig. 4 is the refinement flow chart of embodiment of the present invention EPG synchronous method;
Fig. 5 is embodiment of the present invention EPG synchronizer structural representation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 shows embodiment of the present invention EPG content synchronization method flow chart.As shown in Figure 1, the method comprises:
Step S101: send EPG request to server;
Step S102: the server EPG content information that reception server returns;
Step S103: client EPG content information and described server EPG content information are compared, is upgraded by the catalogue of comparison to client EPG content information and correspondence thereof.
Fig. 2 shows the structural representation of EPG system in the embodiment of the present invention, and EPG system mainly comprises EPG server 101 and client 102. client 102 comprises Set Top Box 103 and Digital Television 104.
In the application of EPG system, Set Top Box 103 sends EPG request to EPG server 101, and EPG server 101 returns the concrete EPG content that Set Top Box 103 needs, and then EPG content is presented to user by GUI mode by Set Top Box 103 in Digital Television 104.
Fig. 3 shows EPG Content Organizing mode structural representation in the embodiment of the present invention, built-in terminal and server define unified document format data to encapsulate EPG content, XML file form is adopted in the embodiment of the present invention, because EPG content is all generally by carrying out sub-channel to program, classification is organized, be a kind of tree in essence, XML file is also a kind of tree, the tree tissue removing description EPG that can be complete; The channel of program, classified information carrys out record respectively by an XML file, has which film in each classification specifically, and the information of these all films also describes respectively by XML file (comprising the url of placard).Like this with regard to have three types file to describe the organizational form of EPG content and concrete substance film.We represent channel directory file respectively by server.xml, index.xml and rss.xml in embodiments of the present invention, classified information file and film description document in channel, the manifestation mode of these three kinds of files as Fig. 2,
Have recorded the network address url (a corresponding url of channel) of the index.xml file 202 of all the elements channel in Server.xml file 201, program can obtain concrete index.xml file 202 by url.
The classified information of all programs in this channel of Index.xml file 202 file record, the leaf node of these classified informations have recorded the url of the rss.xml file 203 of this classification correspondence, and program can obtain concrete rss.xml file 203. by the url of this classification
Rss.xml file 203 have recorded the film descriptor of program of the same type, as film profile, and performer, the url etc. of director and placard.
Fig. 4 shows EPG method flow diagram in the embodiment of the present invention, and when whole program starts, step 301 starts, and enters step 302 and judges whether client exists server.xml file;
If there is not server.xml file in client, then enter step 303, url according to the server.xml file of client precognition obtains server.xml file, then enter step 304, resolve server.xml file set up channel directory and obtain corresponding index.xml file according to the url of each channel;
After getting corresponding index.xml file, enter step 305, resolve the rss.xml file that index.xml file acquisition is all, enter step 306 afterwards, resolve the placard picture file of all films of rss.xml file acquisition.
If there is server.xml file in client, enter step 308, judge whether client exists the backup file having upgraded server.xml file, if there is the backup file of server.xml file, enter step 309, read in this backup file, wherein all url nodes are saved, and be designated and can delete; Then read in the server.xml file of client, by wherein all url inquiry contrast in the backup file node preserved, after having contrasted, the node identification that traversal backup file is preserved, has deleted channel directory corresponding for the node being designated true.
If there is no the backup file of server.xml file, then enter step 310, judges whether the server.xml file of client has latest update, if not, enters step 307 and terminate whole program;
If enter step 311, preserve the url of all channels of current server.xml file, and the mark of all channels is initialized as and can be deleted, backing up current server.xml file is server.xml.bak; Then step 312 is entered, the up-to-date server.xml file of server end is obtained according to the url of precognition, enter step 313, resolve up-to-date server.xml file, all url wherein and the url starting the ancient deed preserved are contrasted, finding consistent change mark, be set to false (unsuppressible-suppression), is finally that the channel directory of true is deleted by the ancient deed node identification of preservation.
Enter step 314 afterwards, the handling process same with server.xml file is carried out to index.xml file, preserve the url of all channels of current index.xml file, and the mark of all channels is initialized as and can be deleted, backing up current index.xml file is index.xml.bak; The up-to-date index.xml file of server end is obtained according to the url of precognition, resolve up-to-date index.xml file, all url wherein and the url starting the ancient deed preserved are contrasted, find consistent change mark, being set to false (unsuppressible-suppression), is finally that the node information of true is deleted by the ancient deed node identification of preservation.
Enter step 315 afterwards, the handling process same with server.xml file is done to rss.xml file, preserve the url of all channels of current rss.xml file, and the mark of all channels is initialized as and can be deleted, backing up current rss.xml file is rss.xml.bak; The up-to-date rss.xml file of server end is obtained according to the url of precognition, resolve up-to-date rss.xml file, all url wherein and the url starting the ancient deed preserved are contrasted, find consistent change mark, be set to false (unsuppressible-suppression), be finally the film picture deletion of true by the ancient deed node identification of preservation, whole EP (end of program).
Fig. 5 shows EPG synchronizer structural representation in the embodiment of the present invention, comprising: information receiving unit 401, information comparing unit 402 and information updating block 403.
After information receiving unit 401 sends EPG request to server, the server EPG content information that reception server returns, the EPG content information received is sent to information comparing unit 402 by information receiving unit 401, the server EPG content that client EPG content information and server return by information contrast unit 402 is compared, and comparison result is sent to information updating unit 403.
Information updating unit 403 upgrades client EPG content information according to comparison result; Information updating unit comprises the first renewal subelement 404 and second and upgrades subelement 405, first upgrades subelement 404 for adding the EPG content that server returns in client, and second upgrades subelement 405 for deleting the EPG content of client and catalogue thereof or cover.
Wherein the second renewal subelement 405 comprises file erase unit 406 and file capping unit 407; File erase unit 406 performs the deletion action to EPG content file, and file covers 407 overlapping operations of execution to EPG content file.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (4)

1. the method for synchronous EPG server content in embedded platform, it is characterized in that, described method comprises:
EPG request is sent to server;
The server EPG content information that reception server returns;
Client EPG content information and described server EPG content information are compared, judges the client EPG content file whether presence server returns;
If there is no the EPG content file that returns of server, adds the EPG content file that server returns in client;
If the EPG content file that presence server returns, then according to the EPG content file that server returns, client judges whether client exists EPG content backup file:
If there is EPG content backup file, read in backup file, network address url nodes all in backup file is preserved, and is designated deletion;
Read in this locality and upgraded EPG content file, by the inquiry contrast in the backup file node preserved of all-network address url wherein;
After having contrasted, the node identification that traversal backup file is preserved, deletes channel directory corresponding for the node being designated deletion;
If there is no EPG content backup file, processes EPG content file, classified information file and/or description document.
2. method according to claim 1, is characterized in that, described interpolation is specially:
According to the network address url acquisition EPG content file of the EPG content file that the server of client precognition returns;
Resolve the respective directories that described EPG content file sets up file mid band, obtain the classified information file of corresponding channel according to the network address url of described channel;
Resolve the classified information file of described channel, obtain the description document of film in corresponding channel according to the network address url of film in classified information file;
Resolve described description document, obtain placard picture file corresponding to film according to the network address url of the film placard picture in description document.
3. method according to claim 1, is characterized in that, is describedly specially the process that EPG content file, classified information file and/or description document are carried out;
Judge whether the fileinfo in EPG content file, classified information file and/or description document has latest update:
If had, preserve the network address url of all channels in current file information and the mark of all channels is initialized as deletion, backup current file information is fileinfo content .bak form;
The up-to-date fileinfo of server is obtained according to the network address url of client precognition;
Resolve up-to-date fileinfo, the network address url of the fileinfo of all-network address url wherein and current preservation is contrasted, find consistent change mark, be set to and do not delete, the channel directory finally the current file information nodes of preservation being designated deletion is deleted;
If no, then stet part information.
4. method according to claim 1, it is characterized in that, described deletion is:
The EPG synchronous documents consistent with EPG organising content structure is increased at server end;
Client deletes local unnecessary file by downloading described EPG synchronous documents.
CN200910241586.XA 2009-11-26 2009-11-26 Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform Expired - Fee Related CN102082959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910241586.XA CN102082959B (en) 2009-11-26 2009-11-26 Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910241586.XA CN102082959B (en) 2009-11-26 2009-11-26 Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform

Publications (2)

Publication Number Publication Date
CN102082959A CN102082959A (en) 2011-06-01
CN102082959B true CN102082959B (en) 2015-02-18

Family

ID=44088684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910241586.XA Expired - Fee Related CN102082959B (en) 2009-11-26 2009-11-26 Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform

Country Status (1)

Country Link
CN (1) CN102082959B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263997B (en) * 2011-08-08 2013-09-25 青岛海信电器股份有限公司 Program information classifying and displaying method and device and TV set
CN102360410B (en) * 2011-09-30 2014-03-19 许式伟 User operation discovery method of file system and synchronous system utilizing the same
CN102693302B (en) * 2012-05-21 2015-04-22 浙江省公众信息产业有限公司 Quick file comparison method, system and client side
CN103237254A (en) * 2013-04-03 2013-08-07 海信集团有限公司 Television receiving terminal and electronic program menu information processing method
CN105025376B (en) * 2014-04-30 2019-11-08 南京中兴新软件有限责任公司 A kind of method and device realizing electronic program list and showing
CN107784544B (en) * 2016-08-30 2021-08-17 阿里巴巴集团控股有限公司 Information comparison method and equipment
CN109672924A (en) * 2018-12-27 2019-04-23 深圳创维-Rgb电子有限公司 Generation method, device and the computer readable storage medium of electronic program guides

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079868A (en) * 2006-05-22 2007-11-28 深圳Tcl新技术有限公司 TV advertisement network download method
CN101141604A (en) * 2006-09-05 2008-03-12 上海乐金广电电子有限公司 Electronic program guiding information processing method of digital multimedia broadcasting signal receiving device
CN101141606A (en) * 2007-09-24 2008-03-12 深圳市伊达数码有限公司 Electronic program guiding inquiry search device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101159726B1 (en) * 2003-05-08 2012-06-28 소니 가부시키가이샤 Information access system, information providing device, information access device, information providing method, and information access method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079868A (en) * 2006-05-22 2007-11-28 深圳Tcl新技术有限公司 TV advertisement network download method
CN101141604A (en) * 2006-09-05 2008-03-12 上海乐金广电电子有限公司 Electronic program guiding information processing method of digital multimedia broadcasting signal receiving device
CN101141606A (en) * 2007-09-24 2008-03-12 深圳市伊达数码有限公司 Electronic program guiding inquiry search device

Also Published As

Publication number Publication date
CN102082959A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
CN102082959B (en) Method and device for synchronizing EPG (Electronic Program Guide) server content in embedded platform
US7624128B2 (en) Method and apparatus for synchronizing EPG information between server and client
US6990497B2 (en) Dynamic streaming media management
EP3089470B1 (en) Video editing device
KR101862351B1 (en) Method and apparatus for providing and reproducing content information
US20140208378A1 (en) Information provisioning apparatus and information provisioning method
CN101346757A (en) Method of managing fonts in multimedia scenes and corresponding computer program and terminal
KR100477844B1 (en) File management method and contents recording/reproducing apparatus
MX2014009267A (en) Reception device, reception method, and program.
JPWO2002073462A1 (en) Multimedia cooperative work system, its client / server, method, recording medium, and program
JP3959583B2 (en) Recording system
CN112612449A (en) Method, device, equipment and storage medium for synchronizing webpage
CN104079983A (en) System and method for HLS program recording and service
CN102682013A (en) Method for operating compressed file in network storage appliance
CN104092726A (en) Automatic replacing method and apparatus of same-name file
AU2010287106A1 (en) System and device for data management, and method thereof
US20070219920A1 (en) Content management method and apparatus
JP4719732B2 (en) Backup server, mobile device, communication system using these, and backup method
CN101742247A (en) Method and system for interactive web TV service authentication and EPG server
CN114116611A (en) File scanning method and related device
CN102820975B (en) Data-updating method, pusher and terminal
US20030031186A1 (en) Receiving/storing device, transmission device, broadcasting system, receiving/storing method, transmission method, broadcasting method, programme and medium
CN101146123B (en) A mobile phone reading system and its method
EP1892861A2 (en) Digital broadcast receiver and data broadcast content processing method
JP4783215B2 (en) Transmission device, reception device, transmission program, and reception program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING IGRS YUNSHI INFORMATION TECHNOLOGY CO., LT

Free format text: FORMER OWNER: SHENZHEN IGRS INFORMATION TECHNOLOGY LTD.

Effective date: 20120807

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 100080 HAIDIAN, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20120807

Address after: 100080, room 10, two North 0811 street, Haidian District, Beijing, Haidian

Applicant after: Beijing Igrs Yunshi Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park South seven Digital Technology Park A3 building 6 floor

Applicant before: Shenzhen Igrs Information Technology Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150218

Termination date: 20201126

CF01 Termination of patent right due to non-payment of annual fee