CN101808218B - Method, device and system for acquiring and updating content of electronic program guide - Google Patents

Method, device and system for acquiring and updating content of electronic program guide Download PDF

Info

Publication number
CN101808218B
CN101808218B CN 200910077494 CN200910077494A CN101808218B CN 101808218 B CN101808218 B CN 101808218B CN 200910077494 CN200910077494 CN 200910077494 CN 200910077494 A CN200910077494 A CN 200910077494A CN 101808218 B CN101808218 B CN 101808218B
Authority
CN
China
Prior art keywords
epg
file
content
terminal
resource
Prior art date
Application number
CN 200910077494
Other languages
Chinese (zh)
Other versions
CN101808218A (en
Inventor
张向国
杨辉洲
Original Assignee
深圳市闪联信息技术有限公司
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 深圳市闪联信息技术有限公司 filed Critical 深圳市闪联信息技术有限公司
Priority to CN 200910077494 priority Critical patent/CN101808218B/en
Publication of CN101808218A publication Critical patent/CN101808218A/en
Application granted granted Critical
Publication of CN101808218B publication Critical patent/CN101808218B/en

Links

Abstract

The embodiment of the invention discloses a method, a device and a system for acquiring and updating the content of an EPG (Electronic Program Guide). In the method for acquiring the content of the EPG, an EPG terminal loads an EPG data packet in an EPG server to a local machine, and the EPG data packet is formed in such a way that an EPG server packages the EPG content per se according to a preset data file format; the EPG terminal analyzes the EPG data packet into EPG content , and the EPG content is saved; and the EPG terminal displays the EPG content to a user. The user doesn't need toinput URL (Uniform Resource Locator) by a remote controller through the method provided by the embodiment of the invention, and can select interested content directly from the displayed EPG content. When the user replaces the selected EPG content, the user doesn't need to send a requirement to the EPG server, thereby the burden of the EPG server is lightened, and the network resources are saved.

Description

电子节目单内容的获取和更新方法、装置和系统 The method of obtaining and updating the electronic program content, devices and systems

技术领域 FIELD

[0001] 本发明涉及通信技术领域,尤其涉及电子节目单内容的获取和更新方法、装置和系统。 [0001] The present invention relates to communications technologies, and in particular relates to a method of obtaining and updating the electronic program content, devices and systems.

背景技术 Background technique

[0002] 随着网络、通信等技术的不断发展,交互式网络电视(IPTV)已经融入人们的生活。 [0002] With the continuous development of network and communications technology, interactive network television (IPTV) has been integrated into people's lives. IPTV是一种利用带宽有线电视网,集互联网、多媒体、通讯等多种技术于一体,向家庭用户提供包括数字电视在内的多种交互式服务的崭新技术。 IPTV is a new technology bandwidth cable television network, set a variety of technical Internet, multimedia, communications and other functions in one, offers a variety of interactive services including digital television to the home user. 用户在家中可以通过网络机顶盒+普通电视机享受IPTV服务。 Users at home can enjoy IPTV services through a network set-top box + ordinary television sets.

[0003] IPTV所提供的各种业务的索引及导航都是通过电子节目菜单(EPG)来完成的,它实际上是IPTV的一个门户系统,向用户提供由文字、图像以及图像组成人机交互界面,负责界面和各种业务的导航,使用户能够通过EPG 了解节目的相关信息(包括节目时间、节目内容概要等)。 [0003] index and navigation provided by various IPTV services is through an electronic program guide (EPG) to complete, it is actually an IPTV portal system, human-computer interaction provided by the text, image composition and image to the user interface, navigation interface and is responsible for a variety of services to enable users to understand the program information (including program time, program content outline, etc.) through the EPG.

[0004] 用户通过网络机顶盒从EPG服务器获取EPG内容,根据EPG内容选择自己喜爱的节目或者自己需要的业务。 [0004] users to access content from EPG EPG server through the network set-top boxes, choose their favorite programs or services according to their own needs EPG content. 现有的网络机顶盒获取EPG的方法是:获取用户通过遥控器输入的网址(URL);向EPG服务器发送请求消息,在该消息中携带获取的所述网址;接收EPG 服务器根据所述请求消息中携带的网址返回响应的EPG页面。 The method of obtaining EPG conventional network set-top box that is: Get user address (URL) of the remote control input; EPG server to send a request message carrying the acquired URL in the message; receiving the EPG server according to the request message carrying EPG page URL returned a response.

[0005] 发明人通过对现有技术的研究发现,现有的EPG内容获取方法需要用户通过遥控器输入URL,操作非常不方便,而且每次更换EPG页面时,网络机顶盒都需要根据用户输入的URL与EPG服务器进行一次信息交互,当存在众多并发用户时,过多的网络请求会对EPG 服务器造成很大压力,同时,如果网络状态不好,也不能保证用户能够通过网络机顶盒获取自己请求的EPG内容。 [0005] The study by the inventors found that the prior art, the conventional method requires a user EPG content acquisition URL input through the remote controller, the operation is very inconvenient, and at each replacement EPG page, set-top box network according to user input are required EPG server with a URL information exchange, when there are many concurrent users, excessive network EPG server will request a lot of pressure, at the same time, if the network status is not good, we can not ensure that users can get their own set-top box requests through the network EPG content.

发明内容 SUMMARY

[0006] 有鉴于此,本发明实施例的目的在于提供EPG内容的获取和更新方法、装置和系统,减轻EPG服务器的压力,方便、可靠地向用户提供EPG内容。 [0006] In view of this, an object of embodiments of the present invention is to obtain and update method, apparatus and system for providing EPG content, the EPG server to reduce the pressure, easily and reliably providing EPG content to the user.

[0007] 为实现上述目的,本发明实施例提供了如下技术方案: [0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] 一种电子节目菜单EPG内容获取方法,包括: [0008] An electronic program guide (EPG) content acquisition method, comprising:

[0009] EPG终端将EPG服务器中的EPG数据包下载到本地,所述EPG数据包由所述EPG服务器将自身的EPG内容按照预设的数据文件格式封装而成; [0009] The EPG server terminal EPG EPG data downloaded to the local packet, an encapsulated packet of the EPG data to the EPG server itself EPG content data file according to a preset format;

[0010] 所述EPG终端将所述EPG数据包解析成EPG内容并存储; [0011 ] 所述EPG终端将所述EPG内容显示给用户。 [0010] The EPG to the EPG data terminal parsed into packets and storing the EPG content; [0011] The EPG display terminal, the EPG content to the user.

[0012] 该方法还包括: [0012] The method further comprises:

[0013] EPG终端对自身存储的EPG内容进行更新。 [0013] EPG terminal EPG update the stored content itself.

[0014] 所述EPG内容包括EPG内容索引文件和至少一个EPG资源简介文件,其中,所述EPG内容索引文件中的每一个子节点记录一个EPG资源简介文件的链接地址;[0015] 所述EPG终端对所述EPG内容进行更新包括: [0014] The EPG includes an EPG content index file content and at least one resource profile EPG file, wherein the contents of each child node of the EPG is recorded in the index file a resource profile EPG file link address; [0015] The EPG terminal to update the contents of the EPG comprising:

[0016] 所述EPG终端向所述EPG服务器发送第一更新请求,在所述第一更新请求中携带EPG终端内容索引文件的最新更新时间; [0016] The terminal transmits a first EPG update request to the EPG server, carry the latest updated EPG content index file in the terminal of the first update request;

[0017] 所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容需要更新后向所述EPG终端返回新的EPG内容索引文件; [0017] The EPG server request determining content of the EPG based on the EPG first terminal returns a new updated EPG to the EPG content index file needs to be updated after the terminal;

[0018] 所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件。 [0018] The EPG terminal updates its own stored EPG content according to the new index file, and the EPG file EPG content index file resource profile.

[0019] 所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容需要更新包括: [0019] The EPG The EPG server to update the content of the first update of the EPG terminal request determining comprises:

[0020] 所述EPG服务器从所述第一更新请求中提取所述EPG终端内容索引文件的最新更新时间; [0020] The EPG server obtains the latest update time of the terminal EPG content index file from the first update request;

[0021] 所述EPG服务器将所述EPG终端内容索引文件的最新更新时间与自身的EPG内容索引文件的最新更新时间进行比较; [0021] The EPG server, the latest update time of the terminal EPG content index file is compared with a latest update time itself EPG content index file;

[0022] 如果两者不同,则确定所述EPG终端内容索引文件需要更新。 [0022] If they are different, then the terminal determines the EPG content index file needs to be updated.

[0023] 所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG资源简介文件包括: [0023] The EPG terminal updates its own stored EPG content according to the new index file resource profile EPG file comprises:

[0024] 所述EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点; [0024] the terminal determines that the current EPG to process the new child node EPG content index file;

[0025] 根据所述子节点所记录的EPG资源简介文件的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时,根据所述链接地址从所述EPG服务器下载所述EPG资源简介文件并保存; [0025] When the EPG file resource has child nodes determining a local link address recorded without the link address corresponding to the profile file based EPG resources, according to the link address from the EPG server downloading the EPG resource profile file and preservation;

[0026] 根据所述子节点所记录的EPG资源简介文件的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,所述EPG终端在根据本地的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件更新本地存储的EPG资源简介文件; [0026] The resource profile EPG file when the child node to determine the local link address recorded with a link address corresponding to the resource profile EPG file, EPG terminal is determined according to the latest modification time of the EPG local resource profile file Introduction of a local EPG resource files need to be updated, download the new EPG This resource file update locally stored EPG resources briefing paper from the EPG server;

[0027] 返回确定当前要处理的所述新的EPG内容索引文件的子节点的步骤,直到所有的子节点都遍历完成。 [0027] returns the processing step of determining the current to be child nodes of the new EPG content index file, until all of the child nodes complete traversal.

[0028] 该方法还包括: [0028] The method further comprises:

[0029] 在更新发生中断时,将当前处理的子节点记为断点,其中所述断点包括: [0029] When updating an interrupt occurs, the child node is referred to as a breakpoint current process, wherein the breakpoint comprises:

[0030] EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址时产生的断点; Breakpoint occurs when [0030] the terminal determines the current EPG to be processed EPG content of the new child nodes of the index file, acquire link address resource profile EPG file recorded in the child node;

[0031] 或者,所述EPG终端根据子节点链接地址从所述EPG服务器下载EPG资源简介文件失败时产生断点; [0031] Alternatively, the terminal downloads EPG from the EPG file resource has child nodes linked EPG server according to the breakpoint address generator failure;

[0032] 当所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容不需要更新时,该方法还包括: [0032] When the EPG of the EPG server request determining terminal according to the first EPG update content need not be updated, the method further comprising:

[0033] 所述EPG终端检测自身是否有断点存在; [0033] The EPG terminal detects whether there exists a breakpoint;

[0034] 若所述EPG终端中有断点存在,则确定当前断点,将所述当前断点作为当前要处理的子节点; [0034] If the EPG terminal breakpoint is present, it is determined that the current breakpoint, the breakpoint current as a child node to be currently processed;

[0035] 确定当前要处理的自身存储的EPG内容索引文件的子节点; Child node [0035] determined to be currently processed EPG content index file stored in itself;

[0036] 根据所述子节点所记录的EPG资源简介文件的链接地址从所述EPG服务器下载更新后的EPG资源简介文件并保存; [0036] The EPG resource has an EPG file resource profile file child node of the link address recorded from the EPG server to download the update and save;

[0037] 返回确定当前要处理的子节点的步骤,直到所有待处理的子节点都遍历完成。 [0037] Back to the step of determining the child node to be currently processed, until all child nodes complete traversal are pending.

[0038] 一种EPG内容更新方法,包括: [0038] An EPG content update method, comprising:

[0039] EPG终端向EPG服务器发送第一更新请求,在所述第一更新请求中携带EPG终端内容索引文件的最新更新时间; [0039] EPG terminal sends a first update request to the EPG server, carry the latest updated EPG content index file in the terminal of the first update request;

[0040] 所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容需要更新后向所述EPG终端返回新的EPG内容索引文件; [0040] The EPG server request determining content of the EPG based on the EPG first terminal returns a new updated EPG to the EPG content index file needs to be updated after the terminal;

[0041] 所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件,在更新过程发生中断时,将当前处理的子节点记为断点,其中所述断点包括:EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址时产生的断点;或者,所述EPG终端根据子节点链接地址从所述EPG服务器下载EPG资源简介文件失败时产生的断点。 [0041] The terminal according to the new EPG EPG update their content index file stored in the EPG and EPG content index file resource profile file, occurs when the update process is interrupted, the current treatment is referred to child nodes break, wherein said breakpoint comprising: determining EPG child node of the current terminal to be processed new EPG content index file, to get a breakpoint occurs when the address EPG link resource has the sub-node file recorded; or the EPG terminal download breakpoint occurs when the resource profile file fails EPG from the EPG server according to the sub-node link.

[0042] 所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件包括: [0042] The EPG terminal updates its own stored EPG content according to the new index file, and the EPG file EPG content index file resource profile comprises:

[0043] 所述EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点; [0043] the terminal determines that the current EPG to process the new child node EPG content index file;

[0044] 根据所述子节点所记录的EPG资源简介文件的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时,根据所述链接地址从所述EPG服务器下载所述EPG资源简介文件并保存; [0044] When the EPG file resource has child nodes determining a local link address recorded without the link address corresponding to the profile file based EPG resources, according to the link address from the EPG server downloading the EPG resource profile file and preservation;

[0045] 根据所述子节点所记录的EPG资源简介文件的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,所述EPG终端在根据本地的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件更新本地存储的EPG资源简介文件; [0045] The resource profile EPG file when the child node to determine the local link address recorded with a link address corresponding to the resource profile EPG file, EPG terminal is determined according to the latest modification time of the EPG local resource profile file Introduction of a local EPG resource files need to be updated, download the new EPG This resource file update locally stored EPG resources briefing paper from the EPG server;

[0046] 返回确定当前要处理的所述新的EPG内容索引文件的子节点的步骤,直到所有的子节点都遍历完成。 [0046] The step of determining the current returns to be processed is a new child node EPG content index file, until all of the child nodes complete traversal.

[0047] 当所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容不需要更新时,该方法还包括: [0047] When the EPG of the EPG server request determining terminal according to the first EPG update content need not be updated, the method further comprising:

[0048] 所述EPG终端检测自身是否有断点存在; [0048] The EPG terminal detects whether there exists a breakpoint;

[0049] 若所述EPG终端中有断点存在,则确定当前断点,将所述当前断点作为当前要处理的子节点; [0049] If the EPG terminal breakpoint is present, it is determined that the current breakpoint, the breakpoint current as a child node to be currently processed;

[0050] 确定当前要处理的自身存储的EPG内容索引文件的子节点; Child node [0050] determined to be currently processed EPG content index file stored in itself;

[0051] 根据所述子节点所记录的EPG资源简介文件的链接地址从所述EPG服务器下载更新后的EPG资源简介文件并保存; [0051] The EPG resource has an EPG file resource profile file child node of the link address recorded from the EPG server to download the update and save;

[0052] 返回确定当前要处理的子节点的步骤,直到所有待处理的子节点都遍历完成。 [0052] Back to the step of determining the child node to be currently processed, until all child nodes complete traversal are pending.

[0053] 一种EPG内容获取系统,包括: [0053] An EPG content acquisition system, comprising:

[0054] 下载单元,用于将EPG服务器中的EPG数据包下载到本地,所述EPG数据包由所述EPG服务器将自身所有的EPG内容按照预设的数据文件格式封装而成; [0054] The download unit, the EPG server for downloading EPG data packet to the local, the EPG data packet to all of the package by the content itself EPG from the EPG server according to a preset data file format;

[0055] 解析单元,用于在本地将所述EPG数据包解析成EPG内容; [0055] The parsing unit is used in a local packet analyzing the EPG contents into EPG;

[0056] 存储单元,用于将所述解析单元解析得到的所述EPG内容进行存储; [0056] The storage unit, configured to parse the content of the EPG storing unit parsed;

[0057] 显示单元,用于将存储单元存储的所述EPG内容显示给用户。 [0057] The display unit for the EPG storage unit stored content to the user. [0058] 该系统还包括: [0058] The system further comprises:

[0059] 更新单元,用于对存储单元存储的所述EPG内容进行更新。 [0059] updating unit, a content storage unit for storing the EPG is updated.

[0060] 所述EPG内容包括EPG内容索引文件和至少一个EPG资源简介文件,其中,所述EPG内容索引文件中的每一个子节点记录一个EPG资源简介文件的链接地址相对应; [0060] The EPG includes an EPG content index file content and at least one resource profile EPG file, wherein each child node of the EPG content index file recorded EPG resource has a link address corresponding to the file;

[0061] 所述更新单元包括: [0061] The updating unit comprises:

[0062] 获取子单元,用于根据存储单元存储的EPG终端内容索引文件的更新时间从EPG 服务器获取新的EPG内容索引文件; [0062] acquisition sub-unit, configured to obtain the new content index file EPG from the EPG server according to the update time of the terminal EPG content index file stored in the storage unit;

[0063] 更新子单元,用于根据获取子单元获取的所述新的EPG内容索引文件对所述存储单元中存储的EPG内容索引文件和EPG资源简介文件进行更新。 [0063] updating sub-unit, according to the obtaining sub-unit acquires a new EPG content index file of EPG and EPG content index file resource profile file stored in the storage unit is updated.

[0064] 所述更新子单元包括: [0064] The updating sub-unit comprises:

[0065] 获取模块,用于确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址; [0065] The acquisition module for a new child node to be processed to determine the current contents of the index file of the EPG, the EPG acquiring resource profile link address of the child node file recorded;

[0066] 第一更新模块,用于根据获取模块获取的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时根据该链接地址从所述EPG服务器下载所述EPG资源简介文件, 并在所述存储单元中进行存储; [0066] a first updating module, configured to acquire link address from the basis of the EPG server to download the resource profile file EPG obtaining module when determining a local link address is not a link address corresponding to the resource profile EPG file, and the storage unit stores;

[0067] 第二更新模块,用于根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,根据存储单元存储的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件对所述存储单元存储的资源简介文件进行更新。 [0067] The second updating module for acquiring module acquires a link local address is determined with a link address corresponding to the resource profile EPG file, EPG local resources determined based on the latest file modification time EPG resource has a memory cell storage when briefing paper needs to be updated, download the new EPG resources briefing paper from the EPG server resource profile file stored in the storage unit is updated.

[0068] 所述更新子单元还包括: [0068] The updating subunit further comprises:

[0069] 记录模块,用于在所述获取模块、第一更新模块或者第二更新模块执行任务过程中发生中断时,将当前处理的子节点记为断点,其中所述断点包括:获取模块获取所述子节点所记录的EPG资源简介文件的链接地址失败时产生的断点;或者,所述第一更新模块或所述第二更新模块下载EPG资源简介文件失败时产生的断点; [0069] The recording module for the obtaining module, an interrupt occurs when the first or the second updating module updating module during the mission, the child node is referred to as a breakpoint current process, wherein the breakpoint comprises: obtaining module gets the breakpoint occurs when the child node failed link address recorded in the EPG file resource profile; or the first or the second updating module updating module fails to download an EPG generated breakpoint resource profile file;

[0070] 选取模块,用于从所述记录模块中选取当前断点,将所述当前断点作为当前要处理的子节点; [0070] a selecting module configured to select a current recording from the module breakpoint, the breakpoint current as a child node to be currently processed;

[0071] 所述获取模块,还用于在所述选取模块选取当前要处理的子节点后,获取所述子节点所记录的EPG资源简介文件的链接地址; [0071] The acquisition module is further configured to, after the selection module to select a child node to be currently processed, acquires EPG link address of the resource profile file recorded child node;

[0072] 所述第二更新模块,还用于根据所述获取模块获取的所述子节点所记录的EPG资源简介文件的链接地址从所述EPG服务器获取更新后的EPG资源简介文件对所述存储单元中保存的EPG资源简介文件进行更新。 [0072] The second updating module is further configured to acquire EPG resource according to the resource profile file Introduction EPG file child node of the module acquires the link address recorded get updates from the server after the EPG stored in the storage unit EPG This resource file is updated.

[0073] 一种更新EPG内容的装置,包括: [0073] A means to update the EPG content, comprising:

[0074] 获取单元,用于根据本地存储的EPG终端内容索引文件的更新时间从EPG服务器获取新的EPG内容索引文件; [0074] acquiring unit, for acquiring the new contents of the index file from the EPG The EPG server terminal updated EPG content index file stored locally;

[0075] 更新单元,用于根据获取单元获取的所述新的EPG内容索引文件对所述存储单元中存储的EPG内容索引文件和EPG资源简介文件进行更新,在更新发生中断时,将当前处理的子节点记为断点。 [0075] updating unit, for updating the contents of the index file of the EPG and EPG resource profile file stored in the storage unit according to the acquiring unit acquires a new EPG content index file when updating the interrupt occurs, the present process child node recorded as breakpoints.

[0076] 所述更新单元包括: [0076] The updating unit comprises:

[0077] 获取模块,用于确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址; [0077] The acquisition module for a new child node to be processed to determine the current contents of the index file of the EPG, the EPG acquiring resource profile link address of the child node file recorded;

[0078] 第一更新模块,用于根据获取模块获取的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时根据该链接地址从所述EPG服务器下载所述EPG资源简介文件; [0078] a first updating module, for downloading the EPG resource profile file based on the link address from the EPG server without local link address corresponding to the EPG acquisition module acquires resource profile file is determined according to the link address;

[0079] 第二更新模块,用于根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,根据本地存储的EPG资源简介文件的最新修改时间确定本地的EPG 资源简介文件需要更新时,从所述EPG服务器获取新的EPG资源简介文件对所述存储单元存储的资源简介文件进行更新。 [0079] The second update module, there is a local link address corresponding to the EPG resources briefing paper, Introduction to determine local resources according to the latest modification time EPG EPG This resource files stored locally obtaining module is determined according to the link address when the file needs to be updated, get a new briefing paper on the EPG resource resource profile file stored in the storage unit update from the EPG server.

[0080] 所述更新单元还包括: [0080] The updating unit further comprises:

[0081] 记录模块,用于在所述获取模块、第一更新模块或者第二更新模块执行任务过程中发生中断时,将当前处理的子节点记为断点,其中所述断点包括:获取模块获取所述子节点所记录的EPG资源简介文件的链接地址失败时产生的断点;或者,所述第一更新模块或所述第二更新模块在下载所述EPG资源简介文件失败时产生的断点; [0081] The recording module for the obtaining module, an interrupt occurs when the first or the second updating module updating module during the mission, the child node is referred to as a breakpoint current process, wherein the breakpoint comprises: obtaining module gets the breakpoint occurs when the child node link address recorded EPG file resource has failed; or the first or the second updating module updating module is generated when downloading the EPG file resource has failed break;

[0082] 选取模块,用于从所述记录模块中选取当前断点,将所述当前断点作为当前要处理的子节点; [0082] a selecting module configured to select a current recording from the module breakpoint, the breakpoint current as a child node to be currently processed;

[0083] 所述获取模块,还用于在所述选取模块选取当前要处理的子节点时,获取所述子节点所记录的EPG资源简介文件的链接地址; [0083] The acquisition module is further configured to, when the selection module select a sub-node to be currently processed, acquires EPG link address of the resource profile file recorded child node;

[0084] 所述第二更新模块,还用于根据获取模块获取的链接地址确定该链接地址对应的EPG资源简介文件,根据本地存储的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件对本地存储的资源简介文件进行更新可见,在本发明实施例中,EPG终端将EPG服务器中的EPG数据包下载到本地,所述EPG数据包由所述EPG服务器将自身的EPG内容按照预设的数据文件格式封装而成;所述EPG终端将所述EPG数据包解析成EPG内容并存储;所述EPG终端将所述EPG内容显示给用户,通过本发明实施例所提供的方法,使得用户无需再通过遥控器输入URL,而是可以直接从显示的EPG内容中点选自己感兴趣的内容;当用户更换选取的EPG内容中,无需再向EPG服务器发起请求,减轻了EPG服务器的负担,节约了网络资源。 [0084] The second update module is further configured to acquire link address determining module obtains the link address corresponding to the resource profile file based on EPG, the EPG determines the local resource has the latest file modification time EPG resources locally stored profile file needs to be updated, downloading the EPG from an EPG server resource profile new resource files locally stored profile document updates are visible, in the embodiment of the present invention, the EPG server terminal EPG EPG data downloaded to the local packet, the an encapsulated packet of the EPG data to the EPG server itself EPG content data file according to a preset format; terminal the EPG packet analyzing the EPG contents into EPG and stored; said EPG terminal, the EPG content displayed to the user, the method provided by the present invention, so that users no longer need to enter the URL via the remote control, but can click directly from the content of interest in the displayed EPG content; when the user replaces the contents of the selected EPG without EPG server initiated the request again, reducing the burden EPG server, saving network resources.

附图说明 BRIEF DESCRIPTION

[0085] 图1为本发明一实施例所提供的方法的流程图; [0085] FIG. 1 is a flowchart of the method according to an embodiment of the present invention is provided;

[0086] 图2为本发明一实施例所提供的EPG内容索引文件的结构示意图; [0086] FIG. 2 is a schematic structure of EPG content index file according to an embodiment of the present invention is provided;

[0087] 图3为本发明一实施例所提供的方法的子步骤的流程图; [0087] FIG. 3 is a flowchart of a method embodiment of sub-steps provided in an embodiment of the present invention;

[0088] 图4为本发明另一实施例所提供的方法的一子步骤的流程图; A substep flowchart of another method provided by the embodiment of [0088] FIG. 4 of the present invention;

[0089] 图5为本发明一实施例所提供的方法的另一子步骤的流程图; [0089] FIG 5 is a flowchart of another embodiment of a method of sub-step provided in an embodiment of the invention;

[0090] 图6为本发明一实施例所提供的系统的结构示意图; [0090] FIG. 6 is a schematic structural diagram of a system provided in the present embodiment of the invention;

[0091] 图7为本发明一实施例所提供的系统中一单元的结构示意图; [0091] Figure 7 a schematic view of the structure of the system provided in a unit according to an embodiment of the present invention;

[0092] 图8为本发明另一实施例所提供的系统一子单元的结构示意图; System provided a schematic structural diagram of a sub-unit [0092] FIG. 8 a further embodiment of the present invention;

[0093] 图9为本发明一实施例所提供的装置的结构示意图; [0093] FIG. 9 is a schematic configuration of the apparatus according to an embodiment of the present invention is provided;

[0094] 图10为本发明一实施例所提供的装置中一单元的结构示意图。 [0094] FIG 10 a schematic view of the structure of the apparatus is provided a means to an embodiment of the invention.

具体实施方式[0095] 本发明实施例公开了EPG内容的获取和更新方法、装置和系统,为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明作进一步详细说明。 DETAILED DESCRIPTION [0095] embodiment of the present invention disclose obtaining and updating method, apparatus and system for EPG content to make the objectives, technical solutions and advantages of the present invention will become more apparent, both embodiments with reference to drawings, the present invention will further detail.

[0096] 参见图1,本发明实施例所提供EPG内容获取的方法具体包括: Method [0096] Referring to Figure 1, embodiments of the present invention provides the acquired EPG content comprises:

[0097] 步骤101 =EPG终端将EPG服务器中的EPG数据包下载到本地。 [0097] Step 101 = EPG in the EPG server terminal EPG data downloaded to the local packet.

[0098] 所述EPG数据包由所述EPG服务器将自身所有的EPG内容按照预设的数据文件格式封装而成。 [0098] The EPG data packet to all of the contents of EPG itself an encapsulated by the EPG server according to a preset data file format.

[0099] 所述EPG终端可以是网络机顶盒+电视机,也可以将所述网络机顶盒集成到电视机里,此时该EPG终端就是电视机,由该电视机完成EPG终端完成EPG内容的获取和显示工作。 [0099] The EPG terminal may be a network TV set-top box, a network set-top box may also be integrated into the television, the EPG at which time the terminal is a television, the television set is completed by the completion of the terminal EPG EPG content acquisition and display work.

[0100] 步骤102 :所述EPG终端在本地将所述EPG数据包解析成EPG内容并存储。 [0100] Step 102: the terminal locally EPG packet analyzing the EPG contents into EPG and stored.

[0101] 一般,EPG终端与EPG服务器通过定义统一数据文件格式来封装EPG内容,这里采用可扩展标记语言(XML,extensible Markup Language)的文件格式。 [0101] Usually, the terminal and the EPG server EPG EPG content encapsulated by defining a unified data file format, where use of Extensible Markup Language (XML, extensible Markup Language) file format. EPG内容一般都是通过对节目进行分类、分级进行组织的,本质上是一种树状结构,XML文件也是一种树状结构,可以完整地对EPG进行描述。 EPG content are generally carried out by the program sorting, grading organized, is a tree structure, XML documents is also a tree structure, it can complete EPG description of nature.

[0102] 所述EPG内容包括EPG内容索引文件和EPG资源简介文件两部分。 [0102] The EPG includes an EPG content and index files EPG content resource file Introduction of two parts. 其中,所述EPG 内容索引文件通过一个XML文件来记录,为了方便,命名为index, opml,该文件对EPG服务器中的EPG内容进行了总体的记录。 Wherein the EPG content index file is recorded by an XML file, for convenience, designated index, opml, the EPG content for the EPG file server is a general recording.

[0103] 对于index, opml文件中每个具体的类别中的具体内容通过EPG资源简介文件来记录,为了描述方便,该文件命名为rss. xml,该文件中包括EPG资源的简介信息,以电影为例,则该文件中包括电影名称、电影文件链接地址、电影上映时间、演职人员信息等内容。 [0103] For the index, opml file in each specific category specific content to record through the EPG This resource file, for ease of description, name the file rss. Xml, this document includes information on EPG information resources to movies for example, the file includes the name of the movie, the movie file link address, movie showtimes, speech content and staff information.

[0104] index, opml文件中的每一个子节点记录一个rss. xml文件的链接地址,即在index, opml文件中通过链接地址就能够找到存储在EPG服务器中的对应的rss. xml文件。 [0104] index, each child node a record file opml rss. XML file link address, i.e., can be found in the corresponding rss stored in the EPG server through a link address index, opml file. XML file.

[0105] 图2为index, opml文件的结构示意图。 [0105] FIG. 2 is a index, opml schematic structure of the file. 从图中看出,在index, opml文件的根节点和子节点之间可以存在多层中间节点。 Seen from the figure, there may be more intermediate nodes between the index, the root node and sub-nodes opml file. 如图2中所示,根节点index, opml与各个子节点, 即记录各个rss. xml链接地址的节点之间有一个电视剧的中间节点这通过对中间;或者有电影以及电影类型的两级中间节点。 As shown in FIG. 2, the root index, opml respective child nodes, i.e., each record rss xml nodes have a link address between the intermediate node through which a drama intermediate;. Or have two types of film, and the intermediate node. 中间节点可以使各个子节点的内容更加清晰,具体的层次可以根据实际需要进行设置,本发明对此不做限定。 The intermediate node may enable the contents of each subnode more clear, specific level may be set according to actual needs, the present disclosure is not limited thereto.

[0106] 步骤103 :所述EPG终端将所述EPG内容显示给用户。 [0106] Step 103: the terminal the EPG EPG content to the user.

[0107] 当所述EGP终端将从EPG服务器获取的EPG内容解析之后,可以通过图形用户界面的方式显示给用户。 [0107] When the content of the EPG EGP terminal acquired from the EPG server parsing, may be displayed to the user through a graphical user interface.

[0108] 通过本发明实施例所提供的方法,使得用户无需再通过遥控器输入URL,而是可以直接从显示的EPG内容中点选自己感兴趣的内容;因为本发明实施例所提供的方法中,所述EPG索引文件和所述EPG资源简介文件都已经保存在本地,所以当用户更换选取的EPG 内容时,无需再向EPG服务器发起请求,减轻了EPG服务器的负担,节约了网络资源。 [0108] The method provided by the embodiment of the present invention, so that users no longer need to enter the URL via the remote control, but can click directly from the content of interest in the displayed EPG content; method as embodiments of the invention provides , the index file and the EPG EPG This resource files are saved locally, so when the user changes the contents of the selected EPG, EPG server initiated the request again without the need to reduce the burden on the EPG server, saving network resources.

[0109] 在另一实施例中,图1所示的方法还包括: [0109] In another embodiment, the method shown in Figure 1 further comprises:

[0110] EPG终端对自身存储的EPG内容进行更新。 [0110] EPG terminal EPG update the stored content itself.

[0111] 本发明实施例所提供的方法是将EPG服务器中的EPG内容下载到本地提供给用户使用,所以为了完整地将EPG信息呈现给用户,就需要及时地对本地存储的EPG内容进行更新,以保证本地所保存的EPG内容与EPG服务器的同步性。 [0111] method provided in embodiments of the present invention is to EPG content EPG server is downloaded to the local provided to the user, so in order to complete the EPG information to the user, it is necessary timely manner EPG locally stored content is updated to ensure the synchronization of locally stored content and EPG EPG server.

[0112] 参见图3,EPG终端对自身存储的EPG内容进行更新包括: [0112] Referring to Figure 3, EPG terminal EPG update the stored content itself comprises:

[0113] 步骤301 =EPG终端向EPG服务器发送第一更新请求,在所述第一更新请求中携带EPG终端内容索引文件的最新更新时间。 [0113] Step 301 = EPG terminal sends a first update request to the EPG server, carry the latest updated EPG content index file in the terminal of the first update request.

[0114] 其中,为了实现EPG终端与EPG服务器的有效同步,所述EPG终端可以定期向所述EPG服务器发送所述第一更新请求消息启动更新进程。 [0114] wherein, in order to achieve the terminal and the EPG server valid synchronization EPG, the EPG to the terminal may periodically send updated EPG server request message to start the first update process. 定期更新的时间间隔可以根据实际需要设定。 Regularly updated interval can be set according to actual needs. 当然,也可以由用户根据需要启动。 Of course, you can also need to start by the user.

[0115] 每一个index, opml文件在形成之时都会有形成时间,当EPG终端将该文件下载到本地时,本地会记录该index, opml文件的形成时间,该形成时间即为本次存储的所述index, opml文件的最新更新时间。 [0115] Each index, opml file when there will be formed is formed of the time, when the EPG file downloaded to the local terminal, records the local index, opml file formation time, the present time is the formation of secondary storage the index, last updated opml file.

[0116] 步骤302 :所述EPG服务器根据所述第一更新请求判断所述EPG终端的EPG内容是否需要更新,如果需要更新则进入步骤303 ;如果无需更新,则结束流程。 [0116] Step 302: The EPG server according to the first EPG update request of the terminal determines whether an EPG content needs to be updated, if needed to update the process proceeds to step 303; if no update, the process ends.

[0117] 当EPG服务器收到所述第一更新请求后,从所述第一更新请求中提取所述EPG终端内容索引文件的最新更新时间,将所述EPG终端内容索引文件的最新更新时间与自身的EPG内容索引文件的最新更新时间进行比较。 [0117] When the server receives the first EPG update request, the EPG extracts the last update time of the terminal content index file from the first update request, the latest update time of the EPG contents of the index file and the terminal last updated its EPG content indexing files for comparison.

[0118] 如果两者相同,则确定所述EPG终端内容索引文件不需要更新。 [0118] If they are the same, then the terminal determines the EPG content index file need not be updated.

[0119] 如果两者不同,则确定所述EPG终端内容索引文件需要更新。 [0119] If they are different, then the terminal determines the EPG content index file needs to be updated.

[0120] 步骤303 :所述EPG服务器向所述EPG终端返回新的EPG内容索引文件。 [0120] Step 303: The EPG server returns a new file to the content index EPG EPG terminal.

[0121] 步骤304 :所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件。 [0121] Step 304: the terminal updates its own EPG stored in the EPG according to the new contents of the index file, and the EPG file EPG content index file resource profile.

[0122] 参见图4,步骤304包括: [0122] Referring to FIG. 4, step 304 comprises:

[0123] 步骤401 :根据子节点索引值确定当前要处理的所述新的EPG内容子节点后,获取所述子节点所记录的EPG资源简介文件的链接地址,在所述EPG终端中没有记录第一断点时,将当前子节点记为第一断点。 [0123] Step 401: determining a current to be processed according to the index value of the child node after child nodes of the new EPG content, EPG resources for a link address of the child node profile file recorded, not recorded in the EPG terminal when the first breakpoint, referred to as a child node of the first current breakpoint.

[0124] 所述新的EPG内容索引文件中包括至少一子节点,实际应用中index, opml文件中包含的子节点的量是非常大的。 [0124] The new EPG content index file includes at least one child node, the practical application index, the amount of opml child node contained in the file is very large. 所述每一个子节点记录一个EPG资源简介文件的链接地址。 The link address each child node records a resource Introduction EPG files. 在本发明实施例中,以单个子节点为更新单位,对本地存储的EPG资源简介文件进行更新。 In an embodiment of the present invention, the single child node update unit, the EPG resources locally stored profile file update. 为了保证更新的有序性,做到不重复不遗漏,在本发明实施例中,从初始子节点开始,按照各个子节点的索引值递增或者递减的顺序进行更新。 In order to ensure orderly updated, do not miss will not be repeated, in embodiments of the present invention, from the initial child node, the index value is updated according to the respective sub-nodes sequentially incremented or decremented.

[0125] 在本发明实施例中,按照索引值递增的顺序对各个节点对应的EPG资源简介文件进行更新。 [0125] In an embodiment of the present invention, in accordance with the ascending order of the index value of each node is updated EPG corresponding to the resource profile file.

[0126] 步骤402 :通过当前子节点所记录的EPG资源简介文件的链接地址判断本地是否有与该链接地址对应的EPG资源简介文件,如果没有,进入步骤403 ;如果有,进入步骤404。 [0126] Step 402: Resources Introduction EPG link address file recorded by the current sub-node determines whether the local link address corresponding to the resource profile EPG file, and if not, proceeds to step 403; if yes, proceeds to step 404.

[0127] 步骤403 :所述EPG终端根据该链接地址从所述EPG服务器下载所述EPG资源简介文件并保存;如果下载失败,在所述EPG终端中没有记录第二断点时,将当前的子节点记为第二断点。 [0127] Step 403: the terminal EPG based on the EPG link address to download the file from the resource profile EPG server and stored; if the download fails, there is no break in the EPG recorded a second terminal, the current child node referred to as a second breakpoint.

[0128] 此时,说明该rss. xml为所述EPG服务器新增的EPG资源,所以应该将其更新到本地。 [0128] At this time, indicating that the rss. Xml EPG server to add the EPG resources, so it should be updated locally.

[0129] 步骤404 :获取EPG终端的EPG资源简介文件的最新修改时间。 [0129] Step 404: the latest modification time acquire EPG EPG terminal This resource file.

12[0130] 当本地保存有与所述当前子节点记录的所述链接地址对应的EPG资源简介文件时,就需要判断服务器中的对应的rss. xml文件是否更新过,在本发明实施例中,还是通过比较两个rss. xml文件的最新更新时间来完成的。 12 [0130] When stored with the node records the current sub-link address corresponding to the resource profile EPG file locally, it is necessary to determine the corresponding server rss whether updated xml file, in the present invention embodiment or by comparing the two last updated rss. xml file to complete.

[0131] 本地存储的rss. xml文件在本地存储时会记录该文件的创建时间,在本发明实施例中将该时间作为该文件的最新修改时间。 [0131] Local storage rss. Xml file creation time of the file recorded in the local storage, the embodiment of the present invention as implemented in the time last modified the file.

[0132] 步骤405 :所述EPG终端向所述EPG服务器发送第二更新请求,在所述第二更新请求中携带EPG终端的EPG资源简介文件的最新修改时间。 [0132] Step 405: the terminal sends a second EPG update request to the EPG server, carry the latest file modification time resource has an EPG EPG terminal in the second update request.

[0133] 步骤406 :所述EPG服务器根据所述第二更新请求确定所述EPG终端的EPG资源简介文件是否需要更新,如果是,则进入步骤407 ;如果否,进入步骤409。 [0133] Step 406: The EPG server according to the second update request determining whether the EPG terminal resource has an EPG file needs to be updated, and if so, proceeds to step 407; if not, proceeds to step 409.

[0134] 步骤407 =EPG终端从所述EPG服务器下载新的EPG资源简介文件,如果接收失败, 在所述EPG终端中没有记录第三断点时,就将当前子节点记为第三断点。 When [0134] Step 407 = EPG EPG terminal to download the new resource file from the EPG server profile, if reception fails, there is no break in the EPG recorded a third terminal, the current sub-node will be referred to as a third breakpoint .

[0135] 步骤408 :所述EPG终端利用所述新的EPG资源简介文件更新自身存储的EPG资源简介文件,进入步骤409。 [0135] Step 408: the terminal uses the new EPG EPG update their resource profile file stored EPG resource profile file proceeds to step 409.

[0136] 步骤409 :子节点索引值加1且当前索引值有效,进入步骤401。 [0136] Step 409: the sub-node increments the value of the index and the current index value is valid, proceeds to step 401.

[0137] 其中,索引值的有效性通过预设条件控制,如,在本发明实施例中,是通过索引值递增的顺序对子节点进行更新,那么只要当前索引值不大于子节点的最大索引值即为有效。 [0137] wherein the predetermined condition by controlling the validity index value, such as, for example, the index is updated by the value of the child node in the ascending order of the present invention, then as long as the maximum index greater than the current index value is not a child node is the effective value.

[0138] 在上述过程中产生的所述第二断点和第三断点都是所述EGP移动终端从从所述EPG服务器下载EPG资源简介文件时产生,属于统一类型的断点。 [0138] generated in the process of the second and third breakpoint breakpoint EGP the mobile terminal are generated when the EPG server to download a file from the EPG resource profile, it belongs to the same types of breakpoints.

[0139] 在本发明实施例所提供的方法中,EPG终端先获取index, opml文件,然后对index, opml文件遍历,获取服务器端的每个具体的rss. xml文件,当顶级的index, opml文件最新修改时间没有改变时,认为它下属的具体rss. xml文件也没有改变,通过判断顶层文件是否修改来决定下层文件是否修改,将大大的减少不必要的遍历,提高了EPG内容更新的效率,使得EPG终端可以通过更新与EPG服务器实现同步,从而为向用户提供全面的EPG内容提供了保证。 [0139] In the method provided by embodiments of the present invention, the EPG terminal first acquires index, opml file, then index, opml document traversal obtain each particular rss server. Xml file, when the top of the index, opml file when the last modified time does not change, that it subordinates specific rss. xml file has not changed, to decide whether the underlying file modification, will greatly reduce unnecessary traversal, improve the efficiency of the EPG content updates by judging whether top-level file changes, EPG allows the terminal can be synchronized by updating the EPG server, thus providing a guarantee to provide comprehensive EPG content to the user.

[0140] 在实际应用中,如果一次遍历更新的过程中,由于网络中断或者程序异常退出,造成子节点对应的文件没有得到完整更新,在下次更新的过程中,如果顶层文件没有变化,这时又没有一种断点更新机制来保证子节点所对应的文件的更新,将导致子节点所对应的文件没有更新的机会。 [0140] In practice, if the update process once traversed, since network outages or program quit unexpectedly, causing the child node corresponding file was not complete updated during the next update, if the top-level document does not change, then There is no break and update mechanism to ensure the child nodes update the corresponding files will lead to opportunities for the child nodes corresponding to the file is not updated. 直到顶层文件有最新更新时才会有机会得到更新。 Until only have the opportunity to have top-level file updates to get the latest updates.

[0141] 为解决上述问题,在本发明实施例中通过记录第一断点防止本地在更新过程中出现断电或者异常退出时,当前处理的子节点的信息丢失的情况;通过记录第二断点和第三断点,可以防止本地系统在通过网络获取rss. xml的过程中失败而丢失当前子节点信息的情况,具体地,参见图5,当所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG 内容不需要更新时,该方法还包括: [0141] To solve the above problems, in the embodiment of the invention prevented the local node information of the sub power failure or abnormal exit during the update process, the processing of the current lost by recording a first breakpoint; by recording a second off and a third break point, the local system can be prevented from acquiring the network rss. the situation is lost during the current sub-node information of xml failure, in particular, referring to Figure 5, when the EPG server according to the first update request determining when said EPG terminal EPG content need not be updated, the method further comprising:

[0142] 步骤501 :所述EPG终端检测自身是否有断点存在,如果是,进入步骤502,如果否, [0142] Step 501: the terminal detects whether the EPG breakpoint is present, and if so, proceeds to step 502, if not,

结束流程。 The end of the process.

[0143] 所述断点包括:第一断点、第二断点或者第三断点。 [0143] The breakpoint comprises: a first breakpoint, second or third breakpoint breakpoint.

[0144] 步骤502 :根据本地断点情况,确定当前断点。 [0144] Step 502: according to the local circumstances breakpoint, the breakpoint current is determined.

[0145] 其中,步骤502包括:[0146] A :若所述EPG终端只有所述第一断点、第二断点或第三断点中的一种断点,则将该断点记为当前断点; [0145] wherein, the step 502 comprises: [0146] A: EPG terminal only if the first breakpoint, a breakpoint or one third second breakpoint breakpoint, the breakpoint is referred to as the the current breakpoint;

[0147] B:若所述EPG终端同时具有两种以上的断点时,从中选取一个断点为当前断点。 [0147] B: if the EPG simultaneously with two or more terminal breakpoints, breakpoint choose one current breakpoint.

[0148] 选取断点也可以根据索引值来进行,如,在本实施例中,可以选取索引值最小的一个断点作为当前断点。 [0148] Select breakpoints may be performed according to the index value, as in the present embodiment, the smallest index value may be selected as a breakpoint current breakpoint.

[0149] 步骤503 :获取当前断点所对应的子节点索引值。 [0149] Step 503: Get the child node corresponding to the index value of the current breakpoint.

[0150] 步骤504 :根据子节点索引值确定当前要处理的自身存储的EPG内容索引文件中的子节点后,获取当前子节点所记录的EPG资源简介文件的链接地址。 [0150] Step 504: According to the child node index value stored in the child node itself EPG content index file currently to be processed acquires EPG link address resource profile file child node currently recorded.

[0151] 步骤505 :根据所述链接地址获取自身存储的EPG资源简介文件的最新修改时间。 [0151] Step 505: get the latest modification time stored in itself according to the link address resource Introduction EPG files.

[0152] 步骤506 :向所述EPG服务器发送第三更新请求,在所述第三更新请求中携带EPG 终端的EPG资源简介文件的最新修改时间。 [0152] Step 506: sending a third request to update the EPG server, carry the latest modification time profile EPG resource file in the third terminal EPG update request.

[0153] 步骤507 :所述EPG服务器根据所述第三更新请求确定所述EPG终端的EPG资源简介文件是否需要更新,如果是,则进入步骤508 ;如果否,进入步骤510。 [0153] Step 507: The EPG server according to the third update request determining whether the resource profile EPG EPG file needs to be updated in the terminal, if yes, the process proceeds to step 508; if not, proceeds to step 510.

[0154] 步骤508 =EPG终端接收所述EPG服务器返回的新的EPG资源简介文件。 [0154] Step 508 = EPG terminal receives the new EPG EPG server resource profile file returned.

[0155] 步骤509 :所述EPG终端利用所述新的EPG资源简介文件更新自身存储的EPG资源简介文件,进入步骤510。 [0155] Step 509: the terminal uses the new EPG EPG update their resource profile file stored EPG resource profile file proceeds to step 510.

[0156] 步骤510 :子节点索引值加1且当前索引值有效时,进入步骤504。 [0156] Step 510: the sub-node increments the value of the index and the current index value is valid, the process proceeds to step 504.

[0157] 本发明实施例所提供的方法,通过对断点的利用有效避免了一次更新过程中出现意外造成更新中断导致index, opml的顶级信息无法真实地反映rss. xml更新信息时,所述rss. xml文件无法及时更新的问题,为可靠、全面地对EPG终端中的EPG内容的更新提供了保障。 Method provided by embodiment [0157] of the present invention, by using a breakpoint occurs effectively avoid an accident during an update of an update interrupt causes the top-level information index, opml not truly reflect rss. Xml update information, the rss. xml file can not update problem, reliable and comprehensive to provide a guarantee for the EPG terminal to update the EPG content.

[0158] 与方法实施例相对应,本发明实施例还提供一种EPG内容获取系统,参见图6,所述系统包括: [0158] Example corresponding to the embodiment of the method, embodiments of the present invention further provides a system for acquiring content EPG, see FIG. 6, the system comprising:

[0159] 下载单元601,用于将EPG服务器中的EPG数据包下载到本地。 [0159] The download unit 601, EPG server for packet EPG data downloaded to the local.

[0160] 所述EPG数据包由所述EPG服务器将自身所有的EPG内容按照预设的数据文件格式封装而成。 [0160] The EPG data packet to all of the contents of EPG itself an encapsulated by the EPG server according to a preset data file format. 所述EPG内容包括EPG内容索引文件和至少一个EPG资源简介文件,其中,所述EPG内容索引文件中的每一个子节点记录一个EPG资源简介文件的链接地址相对应。 The EPG includes an EPG content index file content and at least one resource profile EPG file, wherein the EPG content index file recorded each child node a resource profile EPG file link addresses.

[0161] 解析单元602,用于在本地将所述EPG数据包解析成EPG内容。 [0161] The parsing unit 602, a local packet analyzing the EPG contents into EPG.

[0162] 存储单元603,用于将所述解析单元解析得到的所述EPG内容进行存储。 [0162] The storage unit 603, for the content parsing unit parses the EPG storage is obtained.

[0163] 显示单元604,用于将存储单元存储的所述EPG内容显示给用户。 [0163] the display unit 604, for the content storage unit stores the EPG displayed to the user.

[0164] 通过本发明实施例所提供的系统,使得用户无需再通过遥控器输入URL,而是可以直接从显示的EPG内容中点选自己感兴趣的内容;因为本发明实施例所提供的方法中,所述EPG索引文件和所述EPG资源简介文件都已经保存在本地,所以当用户更换选取的EPG 内容中,无需再向EPG服务器发起请求,减轻了EPG服务器的负担,节约了网络资源。 [0164] system provided by the embodiment of the present invention, so that users no longer need to enter the URL via the remote control, but can click directly from the content of interest in the displayed EPG content; method as embodiments of the invention provides , the index file and the EPG EPG This resource files are saved locally, so when the user select to replace the contents of EPG, EPG server initiated the request again without the need to reduce the burden on the EPG server, saving network resources.

[0165] 为了实现EPG终端与EPG服务器的同步,图6所示的系统还包括: [0165] In order to synchronize the EPG terminal and the EPG server, the system shown in FIG. 6 further comprising:

[0166] 更新单元605,用于对存储单元存储的所述EPG内容进行更新。 [0166] updating unit 605, a content storage unit for storing the EPG is updated.

[0167] 参见图7,所述更新单元605包括: [0167] Referring to Figure 7, the update unit 605 comprises:

[0168] 获取子单元6051,用于根据存储单元603存储的EPG终端内容索引文件的更新时间从EPG服务器获取新的EPG内容索引文件。 [0168] acquisition sub-unit 6051, configured to obtain the new content index file EPG from the EPG server according to the update time of the terminal EPG content index file 603 stored in the storage unit. [0169] 所述获取子单元6051的工作过程包括:从该系统的存储单元中获取EPG终端内容索引文件的更新时间,并将该更新时间发送给EPG服务器,EPG服务器将该时间与自身存储的EPG内容索引文件的最新更新时间进行比较,如果不同,就说明该EPG服务器中存储的内容索引文件有更新,所述获取子单元接收EPG服务器发送的新的EPG内容索引文件。 [0169] the obtaining subunit 6051 working process comprising: acquiring EPG update the contents of the index file from the terminal memory cells in the system, and transmits the update to the EPG server, the EPG server and stored by the time last updated EPG content index file are compared, and if different, it means that the content stored in the EPG server updates the index file, the EPG acquiring new content index file sub-unit receives the EPG sent by the server.

[0170] 更新子单元6052,用于根据获取子单元获取的所述新的EPG内容索引文件对所述存储单元中存储的EPG内容索引文件和EPG资源简介文件进行更新。 [0170] updating subunit 6052, for the contents of the index file updating EPG and EPG resource profile file stored in the storage unit according to the new acquisition sub-unit acquires an EPG content index file.

[0171] 其中,参见图8,所述更新子单元6052包括: [0171] wherein, referring to Figure 8, the updating subunit 6052 comprises:

[0172] 获取模块801,用于确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址; [0172] 801 acquisition module configured to determine a current child node to process the new EPG content index file, acquires EPG link address resource profile file recorded in the child node;

[0173] 第一更新模块802,根据获取模块获取的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时根据该链接地址从所述EPG服务器下载所述EPG资源简介文件, 并在所述存储单元中进行存储; [0173] a first updating module 802, a module according to the obtained determining a local link address acquired no link address corresponding to the EPG file based on the resource profile link address from the EPG server to download the resource profile EPG file, and the said storage means stores;

[0174] 第二更新模块803,用于根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,根据存储单元存储的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件对所述存储单元存储的资源简介文件进行更新。 [0174] The second updating module 803, according to the obtaining module when determining a local link address has a link address corresponding to the resource profile EPG file, EPG is determined according to a local resource has the latest modification time EPG file stored in the storage unit About resource files need to be updated from the EPG server to download new EPG resources briefing paper for the resource profile file stored in the storage unit is updated.

[0175] 其中,所述第二更新模块803的工作过程为:根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,从该系统的存储单元中获取当前子节点的EPG资源简介文件的最新更新时间,并将该更新时间发送给EPG服务器,EPG服务器将该时间与自身存储的EPG资源简介文件的最新更新时间进行比较,如果不同,就说明该EPG服务器中存储的EPG资源简介文件有更新,所述第二更新模块803从EPG服务器下载新的EPG 资源简介文件,对所述存储单元存储的资源简介文件进行更新。 [0175] wherein said second updating module 803 to the work process: determining when there is a local link address corresponding to the resource profile file EPG obtaining module according to the link address of the current sub-node acquires from the storage unit of the system last updated briefing paper of EPG resources, and time to send the update to the EPG server, the EPG server time compared with last updated EPG Introduction to file its own storage resources, if different, it shows that the EPG server storage This resource has an EPG file is updated, the updating module 803 to download the second new resource profile EPG file from the EPG server, the resource profile file stored in the storage unit is updated. 在本发明实施例所提供的系统中,通过判断顶层文件是否修改来决定下层文件是否修改,将大大的减少不必要的遍历,提高了EPG内容更新的效率,使得EPG终端可以通过更新与EPG服务器实现同步,从而为向用户提供全面的EPG内容提供了保证。 In the system according to the present embodiment provided by the invention, by determining whether to modify the top-level document to determine whether the underlying file modification, will greatly reduce unnecessary traversal, improve the efficiency of EPG content updates, such that the terminal may update the EPG with the EPG server synchronization, thus providing a guarantee to provide comprehensive EPG content to the user.

[0176] 在实际应用中,如果一次遍历更新的过程中,由于网络中断或者程序异常退出,造成子节点对应的文件没有得到完整更新,在下次更新的过程中,如果顶层文件没有变化,这时又没有一种断点更新机制来保证子节点所对应的文件的更新,将导致子节点所对应的文件没有更新的机会。 [0176] In practice, if the update process once traversed, since network outages or program quit unexpectedly, causing the child node corresponding file was not complete updated during the next update, if the top-level document does not change, then There is no break and update mechanism to ensure the child nodes update the corresponding files will lead to opportunities for the child nodes corresponding to the file is not updated. 直到顶层文件有最新更新时才会有机会得到更新。 Until only have the opportunity to have top-level file updates to get the latest updates.

[0177] 为解决上述问题,图8所述的更新子单元还包括: [0177] In order to solve the above problems, FIG. 8, the updating subunit further comprises:

[0178] 记录模块804,用于在所述获取模块801、第一更新模块802或者第二更新模块803 执行任务过程中发生中断时,将当前处理的子节点记为断点,其中所述断点包括:获取模块801获取所述子节点所记录的EPG资源简介文件的链接地址失败时产生的断点;或者,所述第一更新模块802或所述第二更新模块803下载EPG资源简介文件失败时产生的断点; [0178] The recording module 804, for the obtaining module 801, when an interrupt occurs first updating module 802 or the second updating module 803 during the mission, the child node is referred to as a breakpoint currently processed, wherein the off point comprises: an acquiring module 801 acquires EPG breakpoint occurs when the resource profile file recorded in the child node address failure link; Alternatively, the first updating module 802 or the second updating module 803 downloads EPG resource profile file failure occurs when the breakpoint;

[0179] 选取模块805,用于从所述记录模块804中选取当前断点,将所述当前断点作为当前要处理的子节点; [0179] selection module 805, from the recording module 804 to select the current breakpoint, the breakpoint current as a child node to be currently processed;

[0180] 所述获取模块801,还用于在所述选取模块805选取当前要处理的子节点后,获取所述子节点所记录的EPG资源简介文件的链接地址; [0180] The acquiring module 801 is further configured to, after the selection module 805 to select a sub-node of the current process acquires EPG link address resource profile file recorded in the child node;

[0181] 所述第二更新模块803,还用于根据所述获取模块获取的所述子节点所记录的 [0181] The second update module 803, is also recorded for the obtaining module according to the child nodes

15EPG资源简介文件的链接地址从所述EPG服务器获取更新后的EPG资源简介文件对所述存储单元中保存的EPG资源简介文件进行更新。 15EPG This resource file link address acquiring EPG resources Introduction updated file stored in the storage unit EPG EPG resource profile file from the server to be updated.

[0182] 本发明实施例所提供的系统,通过对断点的利用有效避免了一次更新过程中出现意外造成更新中断导致index, opml的顶级信息无法真实地反映rss. xml更新信息时,所述rss. xml文件无法及时更新的问题,为可靠、全面地对EPG终端中的EPG内容的更新提供了保障。 System provided in the embodiment of [0182] the present invention, by using a breakpoint effectively prevent accident during an update of an update interrupt causes the top-level information index, opml not truly reflect rss. Xml update information when the rss. xml file can not update problem, reliable and comprehensive to provide a guarantee for the EPG terminal to update the EPG content.

[0183] 参见图9,本发明实施例还提供一种更新EPG内容的装置,包括: [0183] Referring to Figure 9, an embodiment of the present invention further provides a means to update the EPG content, comprising:

[0184] 获取单元901,用于根据本地存储的EPG终端内容索引文件的更新时间从EPG服务器获取新的EPG内容索引文件; [0184] acquiring unit 901 for acquiring the new contents of the index file from the EPG The EPG server terminal updated EPG content index file stored locally;

[0185] 更新单元902,用于根据获取单元获取的所述新的EPG内容索引文件对所述存储单元中存储的EPG内容索引文件和EPG资源简介文件进行更新,在更新发生中断时,将当前处理的子节点记为断点。 [0185] updating unit 902 for updating the contents of EPG and EPG file resource index profile file stored in the storage unit according to the acquiring unit acquires a new EPG content index file when updating an interrupt occurs, the current a child node process referred to as the breakpoint.

[0186] 参见图10,所述更新单元902包括: [0186] Referring to Figure 10, the update unit 902 includes:

[0187] 获取模块9021,用于确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址; [0187] obtaining module 9021 configured to determine a current child node to process the new EPG content index file, acquires EPG link address resource profile file recorded in the child node;

[0188] 第一更新模块9022,用于根据获取模块获取的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时根据该链接地址从所述EPG服务器下载所述EPG资源简介文件; [0188] a first updating module 9022, configured to acquire link address obtaining module is determined according to the link address from the EPG server downloading the EPG file resource has no local link address corresponding to the profile file based EPG resources;

[0189] 第二更新模块9023,用于根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,根据本地存储的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器获取新的EPG资源简介文件对所述存储单元存储的资源简介文件进行更新。 [0189] The second update module 9023, according to the time for obtaining module link local address to determine a corresponding link address to the EPG This resource file to determine local resources according to the latest modification time EPG EPG This resource files stored locally when briefing paper needs to be updated, get a new briefing paper on the EPG resource resource profile file stored in the storage unit update from the EPG server.

[0190] 在本发明另一实施例中,所述更新单元还包括: [0190] In another embodiment of the present invention, the update unit further comprises:

[0191] 记录模块90M,用于在所述获取模块、第一更新模块或者第二更新模块执行任务过程中发生中断时,将当前处理的子节点记为断点,其中所述断点包括:获取模块获取所述子节点所记录的EPG资源简介文件的链接地址失败时产生的断点;或者,所述第一更新模块或所述第二更新模块在下载所述EPG资源简介文件失败时产生的断点; [0191] The recording module 90M, the obtaining module is configured to, when an interrupt occurs the first or the second updating module updating module during the mission, the currently processed sub-node denoted breakpoint, wherein a breakpoint comprises: obtaining module breakpoint occurs when the resource profile EPG file recorded in the child node address failure link; or the first or the second updating module updating module generated when downloading the EPG file resource has failed breakpoint;

[0192] 选取模块9025,用于从所述记录模块中选取当前断点,将所述当前断点作为当前要处理的子节点; [0192] selection module 9025, a module selected from said recording current breakpoint, the breakpoint current as a child node to be currently processed;

[0193] 所述获取模块9021,还用于在所述选取模块选取当前要处理的子节点时,获取所述子节点所记录的EPG资源简介文件的链接地址; [0193] The acquisition module 9021 is further configured to select selection module when the child node to be currently processed, acquires EPG link address of the resource profile file recorded child node;

[0194] 所述第二更新模块9023,还用于根据获取模块获取的链接地址确定该链接地址对应的EPG资源简介文件,根据本地存储的EPG资源简介文件的最新修改时间确定本地的EPG 资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件对本地存储的资源简介文件进行更新。 [0194] The second updating module 9023, obtaining module is further configured to determine a link address the link address corresponding to the resource profile file based on EPG, the EPG local resource profile is determined according to the latest modification time EPG resources locally stored profile file when the file needs to be updated, download the new EPG EPG server resource files Introduction This resource files locally stored update.

[0195] 本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。 [0195] The present invention may be described in the general context of computer-executable instructions, executed by a computer, such as program modules. 一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。 Generally, program modules include performing particular tasks or implement particular abstract data types routines, programs, objects, components, data structures, and the like. 也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。 The present invention may also be practiced in a distributed computing environment, the distributed computing environments, where tasks are performed by remote processing devices that are linked through a communications network. 在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。 In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices in.

[0196] 以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0196] The above are only preferred embodiments of the present invention, it should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, can make various improvements and modifications, such modifications and modifications should also be regarded as the protection scope of the present invention.

Claims (10)

1. 一种电子节目菜单EPG内容获取方法,其特征在于,包括:EPG终端将EPG服务器中的EPG数据包下载到本地,所述EPG数据包由所述EPG服务器将自身的EPG内容按照预设的数据文件格式封装而成;所述EPG终端将所述EPG数据包解析成EPG内容并存储; 所述EPG终端将所述EPG内容显示给用户; 所述EPG终端对自身存储的EPG内容进行更新;所述EPG内容包括EPG内容索引文件和至少一个EPG资源简介文件,其中,所述EPG内容索引文件中的每一个子节点记录一个EPG资源简介文件的链接地址; 所述EPG终端对所述EPG内容进行更新包括:所述EPG终端向所述EPG服务器发送第一更新请求,在所述第一更新请求中携带EPG 终端内容索引文件的最新更新时间;所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容需要更新后向所述EPG终端返回新的EPG内容索引文件;所述EPG终端根据所述新 An electronic program guide (EPG) content acquisition method, comprising: EPG in the EPG server terminal EPG data downloaded to the local packet, the packet of the EPG data to the EPG server according to a preset content itself EPG an encapsulated data file format; terminal the EPG packet analyzing the EPG contents into EPG and stored; the EPG display terminal, the EPG content to the user; the terminal EPG EPG update the stored content itself ; the EPG includes an EPG content index file content and at least one resource profile EPG file, wherein the contents of each child node of the EPG is recorded in the index file a resource profile EPG file link address; the EPG to the EPG terminal content update comprises: a first terminal sends the EPG update request to the EPG server, carry the latest updated EPG content index file in the terminal of the first update request; said EPG server according to the first update request determining the content of the EPG EPG new terminal returns to the EPG EPG content index file needs to be updated after the terminal; according to the new terminal the EPG 的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件; 其中:所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG资源简介文件包括:所述EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点; 根据所述子节点所记录的EPG资源简介文件的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时,根据所述链接地址从所述EPG服务器下载所述EPG资源简介文件并保存;根据所述子节点所记录的EPG资源简介文件的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,所述EPG终端在根据本地的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件更新本地存储的EPG资源简介文件;返回确定当前要处理的所述新的EPG内容索引文件的子节点的步骤,直到所有的子 The EPG update their content index file stored in the EPG and EPG content index file resource profile file; wherein: said EPG terminal updates its own stored EPG content according to the new index file resource profile EPG file comprises: said terminal determines that the current EPG to process the new EPG content index file child node; when the EPG file resource has child nodes determining a local link address recorded without the link address corresponding to the profile file based EPG resources, according to the link address this resource file downloading the EPG from the EPG server, and save; have local link address corresponding to the resource profile file EPG EPG file resource has recorded the sub-node link address is determined according to the EPG terminal when determining the local EPG briefing paper resources need to be updated according to the latest modification time of local resources Introduction EPG file, download the new EPG This resource file update locally stored EPG resources briefing paper from the EPG server; determine the current returns to be processed by the the step of said new child node EPG content index file, until all sub- 点都遍历完成。 Point to traverse completed.
2.根据权利要求1所述的方法,其特征在于,所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容需要更新包括:所述EPG服务器从所述第一更新请求中提取所述EPG终端内容索引文件的最新更新时间;所述EPG服务器将所述EPG终端内容索引文件的最新更新时间与自身的EPG内容索引文件的最新更新时间进行比较;如果两者不同,则确定所述EPG终端内容索引文件需要更新。 Said EPG update request from the first server: 2. The method according to claim 1, wherein the EPG server determines the content of the EPG EPG terminal needs to be updated based on the first update request comprises extracting the terminal last updated EPG content index file; the EPG server, the latest updated EPG terminal content index file updated with the latest EPG its content index file are compared; if they are different, it is determined the terminal EPG content index file needs to be updated.
3.根据权利要求1所述的方法,其特征在于,还包括:在更新发生中断时,将当前处理的子节点记为断点,其中所述断点包括: EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址时产生的断点;或者,所述EPG终端根据子节点链接地址从所述EPG服务器下载EPG资源简介文件失败时产生断点;当所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容不需要更新时,该方法还包括:所述EPG终端检测自身是否有断点存在;若所述EPG终端中有断点存在,则确定当前断点,将所述当前断点作为当前要处理的子节点;确定当前要处理的自身存储的EPG内容索引文件的子节点;根据所述子节点所记录的EPG资源简介文件的链接地址从所述EPG服务器下载更新后的EPG资源简介文件并保存;返回确定当前要处理 3. The method according to claim 1, characterized in that, further comprising: when updating an interrupt occurs, the child node is referred to as a breakpoint current process, wherein the breakpoint comprises: determining the current terminal to be processed EPG said new child node EPG content index file, to get a breakpoint occurs when the address EPG link resource has the sub-node file recorded; or the EPG terminal according to the address of the child node link EPG from the EPG server downloads this resource has failed to produce breakpoints document; when the EPG server determines the content of the EPG EPG terminal need not be updated in accordance with the first update request, the method further comprising: the terminal detects whether the EPG itself exists breakpoint ; If there is a breakpoint in the EPG terminal exists, it is determined that the current breakpoint, the breakpoint child as the current node is currently to be processed; child node determines the contents of the index file itself EPG stored current to be processed; in accordance with the this resource EPG link address of said file recorded child nodes after downloading updated EPG from the EPG server, and save the resource profile file; determining a current returns to be processed 的子节点的步骤,直到所有待处理的子节点都遍历完成。 Step child node, the child node until all pending are completed traverse.
4. 一种EPG内容更新方法,其特征在于,包括:EPG终端向EPG服务器发送第一更新请求,在所述第一更新请求中携带EPG终端内容索引文件的最新更新时间;所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容需要更新后向所述EPG终端返回新的EPG内容索引文件;所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件,在更新过程发生中断时,将当前处理的子节点记为断点,其中所述断点包括:EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址时产生的断点;或者,所述EPG终端根据子节点链接地址从所述EPG服务器下载EPG资源简介文件失败时产生的断点。 A method for updating EPG content, characterized by comprising: a first terminal transmits EPG update request to an EPG server, carry the latest updated EPG content index file in the terminal of the first update request; EPG server according to the determining the first update request of the EPG EPG content new terminal returns to the EPG EPG content index file needs to be updated after the terminal; terminal updates the EPG stored in the EPG content index itself according to the new contents of the index file EPG EPG files and resources briefing paper, occurs when the update process is interrupted, the current sub-node process referred to as a breakpoint, the breakpoint which include: EPG determine the current terminal to process the child nodes of the new EPG content index file , generated when acquiring the EPG link address resource profile file child node breakpoint recorded; or, the EPG generated according to the terminal node when the sub-link address failure from the EPG server resource profile file downloading EPG breakpoint.
5.根据权利要求4所述的方法,其特征在于,所述EPG终端根据所述新的EPG内容索引文件更新自身存储的EPG内容索引文件和EPG资源简介文件包括:所述EPG终端确定当前要处理的所述新的EPG内容索引文件的子节点; 根据所述子节点所记录的EPG资源简介文件的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时,根据所述链接地址从所述EPG服务器下载所述EPG资源简介文件并保存;根据所述子节点所记录的EPG资源简介文件的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,所述EPG终端在根据本地的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件更新本地存储的EPG资源简介文件;返回确定当前要处理的所述新的EPG内容索引文件的子节点的步骤,直到所有的子节点都遍历完成。 The method according to claim 4, wherein the EPG stored in the EPG terminal updates its own content index file, and the EPG file comprises a resource profile according to the new EPG content index file: determining a current terminal to said EPG the EPG processing new content index file child node; when the EPG file resource has child nodes determining a local link address recorded without the link address corresponding to the profile file based EPG resources, according to the link address from the EPG server downloading the EPG file and save the resource profile; have local link address corresponding to the resource profile file EPG EPG file resource has recorded the sub-node link address is determined according to the EPG in accordance with the terminal the latest modification time when local resources Introduction of EPG files to determine the local EPG briefing paper resources need to be updated, download the new EPG This resource file update locally stored EPG resources briefing paper from the EPG server; return to be processed to determine the current step new child node of EPG content indexing file until all child nodes are traversed completed.
6.根据权利要求4所述的方法,其特征在于,当所述EPG服务器根据所述第一更新请求确定所述EPG终端的EPG内容不需要更新时,该方法还包括:所述EPG终端检测自身是否有断点存在;若所述EPG终端中有断点存在,则确定当前断点,将所述当前断点作为当前要处理的子节点;确定当前要处理的自身存储的EPG内容索引文件的子节点;根据所述子节点所记录的EPG资源简介文件的链接地址从所述EPG服务器下载更新后的EPG资源简介文件并保存;返回确定当前要处理的子节点的步骤,直到所有待处理的子节点都遍历完成。 6. The method according to claim 4, wherein, when the EPG server determines the content of the EPG EPG terminal need not be updated in accordance with the first update request, the method further comprising: the terminal detects EPG whether it breakpoint is present; if the EPG terminal breakpoint is present, it is determined that the current breakpoint, the breakpoint child as the current node is currently to be processed; determining a current to be stored by the processed EPG content index file child node; resource profile based on the EPG after the EPG file resource profile file child node of the link address recorded from the EPG server to download the update and save; child node of the current return determining step to be processed until all pending the child node traversal complete.
7. —种EPG内容获取系统,其特征在于,包括:下载单元,用于将EPG服务器中的EPG数据包下载到本地,所述EPG数据包由所述EPG 服务器将自身所有的EPG内容按照预设的数据文件格式封装而成; 解析单元,用于在本地将所述EPG数据包解析成EPG内容; 存储单元,用于将所述解析单元解析得到的所述EPG内容进行存储; 显示单元,用于将存储单元存储的所述EPG内容显示给用户; 更新单元,用于对存储单元存储的所述EPG内容进行更新;所述EPG内容包括EPG内容索引文件和至少一个EPG资源简介文件,其中,所述EPG内容索引文件中的每一个子节点记录一个EPG资源简介文件的链接地址相对应; 所述更新单元包括:获取子单元,用于根据存储单元存储的EPG终端内容索引文件的更新时间从EPG服务器获取新的EPG内容索引文件;更新子单元,用于根据获取子单元获取的所述新 7. - kind of EPG content acquisition system, comprising: a download unit, the EPG server for downloading EPG data packet to the local, the EPG data packet by the EPG server to all of the content in accordance with its own pre-EPG formatting the data file from the package; parsing unit for locally packet analyzing the EPG contents into EPG; a storage unit for the content parsing unit parses the EPG obtained store; a display unit, for content storage unit stores the EPG displayed to the user; updating unit configured to store the EPG content storage unit updates; the EPG includes an EPG content index file content and at least one resource profile EPG file, wherein , the contents of each child node of the EPG is recorded in the index file an EPG link to the file resource profile corresponding to the address; the update unit comprises: an obtaining sub-unit, the update time for the terminal based on the EPG content index file storing means for storing a Get new EPG from the EPG server content index file; updating sub-unit, for obtaining sub-unit to acquire, the new EPG内容索引文件对所述存储单元中存储的EPG内容索引文件和EPG资源简介文件进行更新; 所述更新子单元包括:获取模块,用于确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址;第一更新模块,用于根据获取模块获取的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时根据该链接地址从所述EPG服务器下载所述EPG资源简介文件,并在所述存储单元中进行存储;第二更新模块,用于根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,根据存储单元存储的EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件对所述存储单元存储的资源简介文件进行更新。 EPG content index file of EPG and EPG content index file resource profile file stored in the storage unit to be updated; the update sub-unit comprises: an obtaining module, for determining a current to be processed EPG content index of the new file child node, an address for a link resource profile EPG file recorded in the child node; a first updating module, for acquiring module acquires a link local address is determined not corresponding to the link destination file based EPG resources based on the profile link address from the EPG server to download the resource profile EPG file, and stored in the storage unit; and a second updating module, configured to acquire link address determining module obtains the local resources have EPG link address corresponding to the profile in accordance with when the file to determine the local EPG briefing paper resources need to be updated according to the latest modification time EPG This resource file storage means for storing downloaded from the new EPG EPG server resources briefing paper for the resource profile file stored in the storage unit update.
8.根据权利要求7所述的系统,其特征在于,所述更新子单元还包括:记录模块,用于在所述获取模块、第一更新模块或者第二更新模块执行任务过程中发生中断时,将当前处理的子节点记为断点,其中所述断点包括:获取模块获取所述子节点所记录的EPG资源简介文件的链接地址失败时产生的断点;或者,所述第一更新模块或所述第二更新模块下载EPG资源简介文件失败时产生的断点;选取模块,用于从所述记录模块中选取当前断点,将所述当前断点作为当前要处理的子节点;所述获取模块,还用于在所述选取模块选取当前要处理的子节点后,获取所述子节点所记录的EPG资源简介文件的链接地址;所述第二更新模块,还用于根据所述获取模块获取的所述子节点所记录的EPG资源简介文件的链接地址从所述EPG服务器获取更新后的EPG资源简介文件对所述存储 Recording means for acquiring the module, occurrence of a first interrupt or the second updating module updating module during the mission: 8. The system of claim 7, wherein the updating subunit further comprises , the currently processed sub-node referred to as a breakpoint, wherein a breakpoint comprises: obtaining module breakpoint occurs when the resource profile EPG file recorded in the child node address failure link; Alternatively, the first updating module or the second update module downloaded EPG breakpoint occurs when the resource profile file fails; selecting means for selecting a current breakpoint from the recording module, the current breakpoint as a child node to be currently processed; the acquisition module is further configured to select a sub-module after the selection of the node to be currently processed, acquires EPG link address of the resource profile file recorded child nodes; the second update module is further configured in accordance with the This resource EPG link address of the child node of said file obtaining module updates the record acquired from the EPG server after the EPG storage resource profile file 元中保存的EPG资源简介文件进行更新。 EPG metadata stored in the resource profile file to be updated.
9. 一种更新EPG内容的装置,其特征在于,包括:获取单元,用于根据本地存储的EPG终端内容索引文件的更新时间从EPG服务器获取新的EPG内容索引文件;更新单元,用于根据获取单元获取的所述新的EPG内容索引文件对所述存储单元中存储的EPG内容索引文件和EPG资源简介文件进行更新,在更新发生中断时,将当前处理的子节点记为断点;所述更新单元包括:获取模块,用于确定当前要处理的所述新的EPG内容索引文件的子节点,获取所述子节点所记录的EPG资源简介文件的链接地址;第一更新模块,用于根据获取模块获取的链接地址确定本地没有与该链接地址对应的EPG资源简介文件时根据该链接地址从所述EPG服务器下载所述EPG资源简介文件;第二更新模块,用于根据获取模块获取的链接地址确定本地有与该链接地址对应的EPG资源简介文件时,根据本地存储 An apparatus EPG update content, wherein, comprising: an acquisition unit configured to acquire the new content index file EPG from the EPG server according to the update time of the terminal EPG content index file stored locally; updating unit, configured to the acquisition unit acquires a new EPG EPG content index file index file contents and the EPG file resource profile stored in the storage unit is updated, the update occurs during an interrupt, a child node currently processed note breakpoint; the said update unit comprises: an obtaining module, configured to determine a new child node of the current EPG content to be processed in the index file, acquires EPG link address resource profile file recorded in the child node; a first updating module, for a second updating module, configured to acquire the acquisition module; obtaining module is determined according to the link address the link address from the EPG server to download the resource profile EPG EPG file resource has no local file corresponding to the link destination in accordance with when there is a local link address to determine the link address corresponding to the EPG resources briefing paper, according to a local store EPG资源简介文件的最新修改时间确定本地的EPG资源简介文件需要更新时,从所述EPG服务器获取新的EPG资源简介文件对所述存储单元存储的资源简介文件进行更新。 When last modified EPG This resource file to determine the local EPG briefing paper resources need to be updated, get a new briefing paper on the EPG resource resource profile file stored in the storage unit update from the EPG server.
10.根据权利要求9所述的装置,其特征在于,所述更新单元还包括:记录模块,用于在所述获取模块、第一更新模块或者第二更新模块执行任务过程中发生中断时,将当前处理的子节点记为断点,其中所述断点包括:获取模块获取所述子节点所记录的EPG资源简介文件的链接地址失败时产生的断点;或者,所述第一更新模块或所述第二更新模块在下载所述EPG资源简介文件失败时产生的断点;选取模块,用于从所述记录模块中选取当前断点,将所述当前断点作为当前要处理的子节点;所述获取模块,还用于在所述选取模块选取当前要处理的子节点时,获取所述子节点所记录的EPG资源简介文件的链接地址;所述第二更新模块,还用于根据获取模块获取的链接地址确定该链接地址对应的EPG 资源简介文件,根据本地存储的EPG资源简介文件的最新修改时间确定 Recording means for acquiring the module, an interrupt occurs during a first updating module or the second module performs the update task,: 10. The device according to claim 9, wherein the update unit further comprises currently processed sub-node referred to as a breakpoint, wherein a breakpoint comprises: obtaining module breakpoint occurs when the resource profile EPG file recorded in the child node address failure link; Alternatively, the first updating module breakpoint or the second update module is generated when downloading the EPG file resource has failed; selecting means for selecting a current breakpoint from the recording module, the current breakpoint to be processed as the current sub- node; the obtaining module is further configured to, when the selection module select a sub-node to be currently processed, acquires EPG link address of the resource profile file recorded child nodes; the second update module is further configured obtaining module obtains the link address to determine the link address corresponding EPG file based resource Profile, determined according to the latest modification time EPG this resource files stored locally 地的EPG资源简介文件需要更新时,从所述EPG服务器下载新的EPG资源简介文件对本地存储的资源简介文件进行更新。 When the introduction of the EPG resource files need to be updated from the EPG server to download new EPG This resource file to the resource profile file stored locally to be updated.
CN 200910077494 2009-02-16 2009-02-16 Method, device and system for acquiring and updating content of electronic program guide CN101808218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910077494 CN101808218B (en) 2009-02-16 2009-02-16 Method, device and system for acquiring and updating content of electronic program guide

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910077494 CN101808218B (en) 2009-02-16 2009-02-16 Method, device and system for acquiring and updating content of electronic program guide

Publications (2)

Publication Number Publication Date
CN101808218A CN101808218A (en) 2010-08-18
CN101808218B true CN101808218B (en) 2012-07-04

Family

ID=42609808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910077494 CN101808218B (en) 2009-02-16 2009-02-16 Method, device and system for acquiring and updating content of electronic program guide

Country Status (1)

Country Link
CN (1) CN101808218B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980502A (en) * 2010-10-15 2011-02-23 中兴通讯股份有限公司 Electronic program guide system and restoration method thereof
CN103108221A (en) * 2013-02-06 2013-05-15 北京佳视互动科技股份有限公司 Broadcasting terminal and frequency point matching method and system
CN105025376A (en) * 2014-04-30 2015-11-04 中兴通讯股份有限公司 Method and apparatus of displaying electronic program guide
CN104301756A (en) * 2014-09-25 2015-01-21 四川长虹电器股份有限公司 Program-searching-free method for digital television
CN105657476A (en) * 2015-10-22 2016-06-08 乐视致新电子科技(天津)有限公司 Program list obtaining method, server, client and obtaining system
CN107026882A (en) * 2016-02-02 2017-08-08 华为技术有限公司 Resource acquisition method and relevant equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640130A (en) 2002-02-21 2005-07-13 富士通株式会社 A method and system for internet content acquisition according to a program guide
CN101023666A (en) 2004-07-20 2007-08-22 高通股份有限公司 Methods and apparatus for providing program guide state information to a device
CN101023668A (en) 2004-07-21 2007-08-22 高通股份有限公司 Methods and apparatus for providing content information to content servers
WO2008068664A2 (en) 2006-12-07 2008-06-12 Telefonaktiebolaget Lm Ericsson (Publ) Method of sending media program information to a subscriber and nodes therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640130A (en) 2002-02-21 2005-07-13 富士通株式会社 A method and system for internet content acquisition according to a program guide
CN101023666A (en) 2004-07-20 2007-08-22 高通股份有限公司 Methods and apparatus for providing program guide state information to a device
CN101023668A (en) 2004-07-21 2007-08-22 高通股份有限公司 Methods and apparatus for providing content information to content servers
WO2008068664A2 (en) 2006-12-07 2008-06-12 Telefonaktiebolaget Lm Ericsson (Publ) Method of sending media program information to a subscriber and nodes therefor

Also Published As

Publication number Publication date
CN101808218A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
JP4456485B2 (en) A method and apparatus for managing a set of portlets in the portal server
CN101036385B (en) Method and system for providing interactive services in digital television
JP3935986B2 (en) Network resources monitoring system for notifying a change of information resources in the network
US20180084306A1 (en) Content provision
JP4422900B2 (en) System and method for providing a plurality of programming services in a television system
KR20080091424A (en) Method of managing fonts in multimedia scenes and corresponding computer program and terminal
US9038110B2 (en) System and method for viewing a TV program guide on a mobile device background
CN101345852B (en) Method and system for choosing and playing on-line video fragment
US9384295B2 (en) Method and apparatus for viewing collaborative documents
KR100490734B1 (en) Annotation-based automatic document generation apparatus and method
US20030126136A1 (en) System and method for knowledge retrieval, management, delivery and presentation
US20030236903A1 (en) Method and apparatus for structured streaming of an XML document
US7133908B1 (en) Metrics and status presentation system and method using persistent template-driven web objects
US7346842B1 (en) Methods and apparatus for incorporating a partial page on a client
US6701383B1 (en) Cross-platform framework-independent synchronization abstraction layer
US6446082B1 (en) Method of receiving time-specified program contents
US6732142B1 (en) Method and apparatus for audible presentation of web page content
US7904930B2 (en) Broadcast content delivery systems and methods
US20090144753A1 (en) Method And System For Providing Update Content In A Markup Language-Based Resource
US6008805A (en) Method and apparatus for providing multiple management interfaces to a network device
CN102663126B (en) Method and device for displaying webpage in mobile terminal
US20030088420A1 (en) Electronic program guide for processing content-related information configured using a reference information model
WO2003026275A2 (en) Interactive user interface for television applications
US7913286B2 (en) System and method for describing presentation and behavior information in an ITV application
JP2004506350A (en) Remote television playback control

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
ASS Succession or assignment of patent right

Owner name: SHENZHEN IGRS INFORMATION TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: IGRS INFORMATION TECHNOLOGY ENGINEER CENTER CO., LTD.

Effective date: 20100909

C41 Transfer of the right of patent application or the patent right
COR Bibliographic change or correction in the description

Free format text: CORRECT: ADDRESS; FROM: 100098 10/F, TOWER B, YINGDU BUILDING, NO.A-48, ZHICHUN ROAD, HAIDIAN DISTRICT, BEIJING TO: 518057 6/F, BUILDING A3, DIGITAL TECHNOLOGY PARK, SOUTH STREET 7, NANSHAN SCIENCE PARK, SHENZHEN CITY, GUANGDONG PROVINCE

C14 Granted
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 the right of patent application or the patent right
COR Bibliographic change or correction in the description

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