Summary of the invention
The main purpose of the application is a kind of method providing DVB terminal, system and upload EPG data, and to solve, the EPG data acquisition speed that prior art exists is slow, the problem of poor real, wherein:
An aspect of the application provides a kind of method that DVB terminal uploads EPG data, comprising: the electric program menu EPG data obtaining one or more channel; Judge whether EPG server exists corresponding EPG data according to the Event Information Table EIT information received in advance and network information table NIT information; If do not exist, upload EPG data to EPG server.
According to the embodiment of the application, in the method, the EIT information that described basis receives in advance and NIT information judge whether EPG server exists the step of corresponding EPG data, comprising: from described EIT information, obtain channel information and time period information; According to the network provider information in described channel information and time period information and described NIT information, judge whether described EPG server exists corresponding EPG data.
According to the embodiment of the application, in the method, also comprise: the EIT information of the one or more channel of monitoring in real time; When the EIT information monitoring any one or more channel changes, send EIT information change notice to EPG server.
According to the embodiment of the application, in the method, also comprise: send inquiry request, with the EPG data of asking described EPG server lookup whether to there is corresponding channel according to the channel information that user selects to EPG server; If existed, then obtain the EPG data of described channel from EPG server.
According to the embodiment of the application, in the method, the if there is no EPG data of corresponding channel, then, when receiving the EIT information change notice of the described channel issued from EPG server, obtain the EPG data after the change of described channel from EPG server.
According to the embodiment of the application, in the method, described EIT information change notice is EPG server when receiving the EIT information change notice of the described channel that other DVB terminals send, and sends to described DVB terminal; EPG data after the change of described channel are EPG servers when receiving the EIT information change notice of the described channel that other DVB terminals send, the EPG data after the change of the described channel received from described other DVB terminals.
The another aspect of the application provides a kind of DVB terminal, comprising: acquisition module, for obtaining the electric program menu EPG data of one or more channel; According to the Event Information Table EIT information received in advance and network information table NIT information, judge module, for judging whether EPG server exists corresponding EPG data; Upper transmission module, if for not existing, uploads EPG data to EPG server.
According to the embodiment of the application, in the terminal, described judge module comprises further: obtain submodule, for obtaining channel information and time period information from described EIT information; Judge submodule, for according to the network provider information in described channel information and time period information and described NIT information, judge whether described EPG server exists corresponding EPG data.
According to the embodiment of the application, in the terminal, also comprise: monitoring module, for monitoring the EIT information of one or more channel in real time; Notification module, during for changing when the EIT information monitoring any one or more channel, sends EIT information change notice to EPG server.
According to the embodiment of the application, in the terminal, also comprise: request module, send inquiry request, with the EPG data of asking described EPG server lookup whether to there is corresponding channel for the channel information selected according to user to EPG server; Described acquisition module, if also for there are the EPG data of corresponding channel, then obtain the EPG data of described channel from EPG server.
According to the embodiment of the application, in the terminal, described acquisition module, be further used for the EPG data of if there is no corresponding channel, then when receiving the EIT information change notice of the described channel issued from EPG server, obtain the EPG data after the change of described channel from EPG server.
According to the embodiment of the application, in the terminal, described EIT information change notice is EPG server when receiving the EIT information change notice of the described channel that other DVB terminals send, and sends to described DVB terminal; EPG data after the change of described channel are EPG servers when receiving the EIT information change notice of the described channel that other DVB terminals send, the EPG data after the change of the described channel received from described other DVB terminals.
The application provides a kind of DVB system more on the one hand, and comprising: one or more DVB terminal and EPG server, each of described one or more DVB terminal comprises: acquisition module, for obtaining the EPG data of one or more channel; According to the Event Information Table EIT information received in advance and network information table NIT information, judge module, for judging whether EPG server exists corresponding EPG data; Upper transmission module, if for not existing, uploads EPG data to EPG server; Described EPG server comprises: receiver module, for receiving the EPG data that described one or more DVB terminal is uploaded.
According to the embodiment of the application, within the system, described EPG server also comprises: the first enquiry module, for inquiring about storage directory corresponding to described EPG data; Memory module, for storing described EPG data under the storage directory of described correspondence.
According to the embodiment of the application, within the system, described judge module comprises further: obtain submodule, for obtaining channel information and time period information from described EIT information; Judge submodule, for according to the network provider information in described channel information and time period information and described NIT information, judge whether described EPG server exists corresponding EPG data.
According to the embodiment of the application, within the system, each of described one or more DVB terminal also comprises: monitoring module, for monitoring the EIT information of one or more channel in real time; Notification module, during for changing when the EIT information monitoring any one or more channel, sends EIT information change notice to EPG server; Described EPG server comprises further: sending module, and for when receiving the EIT information change notice of any one or more DVB terminal, the DVB terminal to the channel corresponding to the EIT information that Current lock changes sends EIT information change notice.
According to the embodiment of the application, within the system, each of described one or more DVB terminal also comprises: request module, sends inquiry request, with the EPG data of asking described EPG server lookup whether to there is corresponding channel for the channel information selected according to user to EPG server; Described acquisition module, if also for there are the EPG data of corresponding channel, then obtain the EPG data of described channel from EPG server; Described EPG server comprises further: enquiry module, and for responding described inquiry request, whether inquiry exists the EPG data of corresponding channel; Return module, for returning Query Result to described one or more DVB terminal.
According to the embodiment of the application, within the system, described acquisition module, be further used for the EPG data of if there is no described channel, then when receiving the EIT information change notice of the described channel issued from EPG server, obtain the EPG data after the change of described channel from described EPG server.
According to the embodiment of the application, within the system, described EIT information change notice is EPG server when receiving the EIT information change notice of the described channel that other DVB terminals send, and sends to described DVB terminal; EPG data after the change of described channel are EPG servers when receiving the EIT information change notice of the described channel that other DVB terminals send, the EPG data after the change of the described channel received from described other DVB terminals.
According to the embodiment of the application, within the system, comprise in the inquiry request that described request module sends to described EPG server: network provider information, channel information and time period information; Described enquiry module, is further used for according to the corresponding EPG data of the network provider information comprised in described inquiry request, channel information and time period information inquiry.
Compared with prior art, according to the technical scheme of the application, DVB terminal not only can receive EPG data, EPG data can also be uploaded to server, thus, EPG server can obtain real-time EPG data by each DVB terminal, and sends to the DVB terminal of these EPG data of current request, and then improves real-time and the accuracy of EPG data acquisition.
Embodiment
The main thought of the application is, DVB terminal Real-time Obtaining EPG data, and be uploaded to EPG server, thus EPG server can obtain real-time EPG data by each DVB terminal, and send to the DVB terminal of these EPG data of current request, and then improve real-time and the accuracy of EPG data acquisition.
For making the object of the application, technical scheme and advantage clearly, below in conjunction with the application's specific embodiment and corresponding accompanying drawing, technical scheme is clearly and completely described.Obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
According to the embodiment of the application, provide a kind of method that DVB terminal uploads EPG data.
The flow chart of the method for EPG data is uploaded with reference to figure 1, Fig. 1 a kind of DVB terminal that is the embodiment of the present application.
In step S110 place, obtain the electric program menu EPG data of one or more channel.
Particularly, digital video broadcasting DVB terminal can receive the electric program menu EPG data of one or more channels of current residing frequency.
In step S120 place, judge whether EPG server exists corresponding EPG data according to the Event Information Table EIT information received in advance and network information table NIT information.
Wherein, Event Information Table EIT information and network information table NIT information can receive from EPG server, or are received by the current residing frequency of DVB terminal.
In step S130 place, if EPG server does not exist corresponding EPG data, then upload EPG data to EPG server.
If EPG server exists corresponding EPG data, then do not need to upload this EPG data to EPG server.
According to an embodiment of the application, the method can also comprise the following steps:
Send inquiry request according to the channel information that user selects to EPG server, with the EPG data of asking described EPG server lookup whether to there is corresponding channel, if there are the EPG data of corresponding channel, then obtain the EPG data of this channel from EPG server; If there is no the EPG data of corresponding channel, then, when receiving the EIT information change notice of the described channel that EPG server issues, obtain the EPG data of described channel from EPG server.
Wherein, the information of the channel information that user selects and the channel of DVB terminal use current selected or the channel of switching, the mark (Service_ID) of the channel that this channel information can be selected for user or title.If EPG server exists the EPG data of this channel, then obtain the EPG data of this channel from EPG server; If there are not the EPG data of this channel in EPG server, then wait for the EIT data variation notice of this channel, when receiving the EIT information change notice of the described channel that EPG server issues, that is, the EPG data of this channel change, and EPG server has also got the EPG data after this channel change, then the EPG data after the change obtaining this channel from EPG server.
In a specific embodiment, when the EIT information change of described channel notifies the EIT information change notice of the described channel that other DVB terminals that can receive for EPG server occur, send to described DVB terminal.EPG data after the change of described channel can be EPG servers when receiving the EIT information change notice of the described channel that other DVB terminals send, the EPG data after the change of the described channel received from described other DVB terminals.When other DVB terminal monitorings are to the EIT information change of this channel, the EIT information change notice of this channel is sent (now to EPG server, EPG server has the EPG data of this channel, or the also EPG data of not this channel), and this DVB terminal can also obtain the EPG data (or the EPG data after change) of this channel and send to EPG server.When EPG server receives the EIT information change notice of this channel that this other DVB terminal sends, the EPG data (or the EPG data after change) of this channel are received from this DVB terminal, and the EIT information change notice of this channel is sent to the DVB terminal (or DVB terminal of this channel of Current lock) of current transmission inquiry request, when this DVB terminal receives this EIT information change notice of EPG server transmission, the EPG data (that is, the EPG data after change) of this channel are obtained from EPG server.
Above-mentioned steps can perform before or after arbitrary steps in step S110 ~ S130, is independent of each other with the execution of step S110 ~ S130.Should be appreciated that can with any rational order execution in actual application.
In a more detailed embodiment of the application, the method comprising the steps of S210 ~ S250.It is the flow chart uploading the method for EPG data according to the DVB terminal of the application's more specific embodiment with reference to figure 2, Fig. 2.
Step S210, obtains the electric program menu EPG data of one or more channel.
DVB terminal can receive the electric program menu EPG data of one or more channels of current residing frequency.
According to the Event Information Table EIT information received in advance and network information table NIT information, step S220, judges whether EPG server exists corresponding EPG data.
DVB terminal can receive Event Information Table EIT information and network information table NIT information from EPG server, or Event Information Table EIT information and network information table NIT information can be received by current residing frequency, thus judge whether EPG server exists corresponding EPG data according to Event Information Table EIT information and network information table NIT information.
In order to this step of clearer explanation, be described with reference to Figure 3 the optional specific embodiment of one of this step.According to the Event Information Table EIT information received in advance and network information table NIT information, Fig. 3 judges whether EPG server exists the flow chart of the step of corresponding EPG data according to the embodiment of the application.
In step S310 place, from described EIT information, obtain channel information and time period information.
Wherein, channel information, the information of namely the obtained channel corresponding to EPG data, this channel information can be channel identication (Service_ID), e.g., CCTV-1, CCTV-6 etc., or can be channel designation.Time period information, the time range that the EPG data namely obtained are corresponding, e.g., this time period information can be on July 13,7 days ~ 2014 July in 2014, represents that the EPG data obtained are this channel EPG data from July 13rd, 7 days 1 July in 2014.
In step S320 place, according to the network provider information in described channel information and time period information and described NIT information, judge whether described EPG server exists corresponding EPG data.
DVB terminal can by sending the inquiry request of carrying this channel information, time period information and network provider information to EPG server, under this network, whether there are the EPG data corresponding with time period information to this channel information to ask EPG server lookup, and receive the Query Result that EPG server returns, thus determine whether EPG server has existed corresponding EPG data.
Return Fig. 2, after determining EPG server and whether there are corresponding EPG data, if there is no, then next carry out step S230, if existed, then can carry out step S240.
Step S230, if EPG server does not exist corresponding EPG data, then uploads EPG data to EPG server.
If there are corresponding EPG data in EPG server, other DVB terminal then may be had to obtain this EPG data, and upload and give EPG server, or EPG server obtains this EPG data by other approach, then do not need to upload this EPG data to EPG server.
Step S240, in real time the EIT information of the one or more channel of monitoring.
The EIT information of DVB terminal is monitored in real time (namely receive) current residing each channel of frequency, when the EIT information monitoring any one or more channel changes, shows that the EPG data of this channel change, then carries out step S250.
Step S250, when the EIT information monitoring any one or more channel changes, sends EIT information change notice to EPG server.
Particularly, can according to the channel information in the EIT information changed, the EIT information change notice of this one or more channel is sent to EPG server, so that the DVB terminal of this one or more channel of EPG server notice Current lock, thus ensure real-time and the accuracy of the EPG data that each DVB terminal obtains.DVB terminal can also obtain the EPG data after the change of this one or more channel, and sends to EPG server.When EPG server receives the EIT information change notice of this one or more channel that DVB terminal sends, receive the EPG data after the change of this one or more channel from this DVB terminal, and send the EIT information change notice of this one or more channel to the DVB terminal of this one or more channel of Current lock.The DVB terminal of this one or more channel of Current lock, when receiving the EIT information change notice of this one or more channel that EPG server sends, can notify according to the EIT information change of this one or more channel, obtain the EPG data after the change of this one or more channel from EPG server.
The method of the application in actual applications, also upload to EPG server, therefore by DVB terminal Real-time Obtaining EPG data, step S240 ~ S250 can perform after step S230, also can perform before step S210, that is, step S210 ~ S250 can cyclically perform.
Present invention also provides a kind of DVB terminal.
Fig. 4 is the structured flowchart of the DVB terminal according to the application's embodiment.According to an embodiment of the application, digital video broadcasting DVB terminal 400 comprises: acquisition module 410, judge module 420 and upper transmission module 430.
Wherein, acquisition module 410 may be used for the electric program menu EPG data obtaining one or more channel.
Judge module 420 may be used for judging whether EPG server exists corresponding EPG data according to the Event Information Table EIT information received in advance and network information table NIT information.
If upper transmission module 430 may be used for not existing, upload EPG data to EPG server.
In one embodiment, judge module 420 may further include and obtains submodule and judge submodule.
Particularly, obtain submodule to may be used for obtaining channel information and time period information from described EIT information.
Judge that submodule may be used for, according to the network provider information in described channel information and time period information and described NIT information, judging whether described EPG server exists corresponding EPG data.
According to an embodiment of the application, terminal 400 can also comprise: monitoring module and notification module.
Monitoring module may be used for the EIT information monitoring one or more channel in real time.
Notification module may be used for when the EIT information monitoring any one or more channel changes, and sends EIT information change notice to EPG server.
According to an embodiment of the application, DVB terminal 400 can also comprise: request module, the channel information that this request module may be used for selecting according to user sends inquiry request, with the EPG data of asking described EPG server lookup whether to there is corresponding channel to EPG server.
Further, if acquisition module 410 can also be used for the EPG data that there is corresponding channel, then the EPG data of described channel are obtained from EPG server.
Acquisition module 410 can also be further used for the EPG data of if there is no corresponding channel, then, when receiving the EIT information change notice of the described channel issued from EPG server, obtain the EPG data after the change of described channel from EPG server.Wherein, described EIT information change notice is EPG server when receiving the EIT information change notice of the described channel that other DVB terminals send, and sends to described DVB terminal; EPG data after the change of described channel are EPG servers when receiving the EIT information change notice of the described channel that other DVB terminals send, the EPG data after the change of the described channel received from described other DVB terminals.
Present invention also provides a kind of DVB system.
With reference to figure 5, it is the structured flowchart of the DVB system of the embodiment according to the application.As shown in Figure 5, digital video broadcasting DVB system 500 can comprise: one or more digital video broadcasting DVB terminal 510-1,510-2 ..., 510-N and EPG server 520.
Described one or more DVB terminal 510-1,510-2 ..., 510-N each comprise: acquisition module, judge module and upper transmission module.Acquisition module may be used for the EPG data obtaining one or more channel.Judge module may be used for judging whether EPG server 520 exists corresponding EPG data according to the Event Information Table EIT information received in advance and network information table NIT information.If upper transmission module may be used for not existing, upload EPG data to EPG server 520.
Described EPG server 520 comprises receiver module, for receive described one or more DVB terminal 510-1,510-2 ..., 510-i ..., the EPG data uploaded of 510-N.
Any one DVB terminal 510-i can receive the electric program menu EPG data of one or more channels of current residing frequency by acquisition module, when the EPG data receiver of a channel is complete, according to the Event Information Table EIT information received in advance and network information table NIT information, judge module judges whether EPG server 520 exists corresponding EPG data.If there is no, then uploaded the EPG data of this channel to EPG server 520 by upper transmission module.EPG server 520 receives by receiver module the EPG data that this DVB terminal 510-i uploads.
According to an embodiment of the application, EPG server 520 can also comprise: the first enquiry module and memory module.First enquiry module may be used for inquiring about storage directory corresponding to described EPG data.Memory module may be used under the storage directory of described correspondence, store described EPG data.
Particularly, the first enquiry module can search storage directory corresponding to these EPG data according to the network provider information in NIT information.Memory module can store these EPG data according to the channel information in EIT information and time period information under the storage directory that these EPG data are corresponding.
According to an embodiment of the application, judge module comprises further: obtain submodule and judge submodule.
Obtain submodule to may be used for obtaining channel information and time period information from described EIT information.Judge that submodule may be used for, according to the network provider information obtained in channel information and time period information and described NIT information that submodule obtains, judging whether described EPG server 520 exists corresponding EPG data.
Particularly, judge that submodule can send the inquiry request of carrying this channel information, time period information and network provider information to EPG server 520, whether there are corresponding EPG data according to the inquiry of this channel information, time period information and network provider information to ask EPG server 520, and receive the Query Result that EPG server 520 returns, thus determine whether EPG server 520 has existed corresponding EPG data.
According to an embodiment of the application, described one or more DVB terminal 510-1,510-2 ..., 510-i ..., 510-N each also comprise: monitoring module and notification module.Wherein, monitoring module may be used for the EIT information monitoring one or more channel in real time.Notification module may be used for when the EIT information monitoring any one or more channel changes, and sends EIT information change notice to EPG server 520.Further, EPG server 520 may further include: the second receiver module, for receiving EIT information conversion notice.Sending module, for when receiving the EIT information change notice that any one or more DVB terminal 510-i sends, the DVB terminal to the channel corresponding to the EIT information that Current lock changes sends EIT information change notice.
Each of described one or more DVB terminal monitors the EIT information of (namely receive) current residing each channel of frequency in real time by monitoring module, when the EIT information monitoring any one or more channel changes, show that the EPG data of this channel change, then notification module sends EIT information change notice to EPG server 520, notification module according to the channel information in the EIT information changed, can send EIT information change notice to EPG server 520.When receiving the EIT information change notice that any one or more DVB terminal sends, the DVB terminal of the channel corresponding to the EIT information that EPG server 520 is changed to Current lock by sending module sends EIT information change notice, thus ensure each DVB terminal 510-1,510-2 ..., 510-i ..., the real-time of EPG data that obtains of 510-N and accuracy.
According to an embodiment of the application, described one or more DVB terminal 510-1,510-2 ..., 510-i ..., 510-N each can also comprise: request module, the channel information that this request module may be used for selecting according to user sends inquiry request to EPG server 520, whether there are the EPG data of corresponding channel to ask described EPG server 520 to be inquired about.If acquisition module can also be used for the EPG data that there is corresponding channel, then obtain the EPG data of described channel from EPG server 520.In this embodiment, EPG server 520 may further include: enquiry module and return module.Enquiry module may be used for responding described inquiry request, and whether inquiry exists the EPG data of corresponding channel.Return module to may be used for returning Query Result to described one or more DVB terminal.
Further, the acquisition module of each DVB terminal 510-i can also be further used for the EPG data of if there is no described channel, then when receiving the EIT information change notice of the described channel issued from EPG server, obtain the EPG data after the change of described channel from EPG server.
In actual applications, when user uses DVB terminal to select to watch a certain channel, request module sends inquiry request, with the EPG data of asking described EPG server lookup whether to there is this channel according to the channel information (mark of channel or title) of this channel to EPG server.Can comprise in this inquiry request: network provider information, channel information and time period information.When EPG server receives this inquiry request, in response to this inquiry request, the EPG data that whether there is this channel are inquired about by enquiry module, enquiry module can according to the corresponding EPG data of the network provider information comprised in described inquiry request, channel information and time period information inquiry, Query Result is returned to this DVB terminal by returning module, if there are the EPG data of corresponding channel, then DVB terminal obtains the EPG data of described channel from EPG server by acquisition module.If there is no the EPG data of corresponding channel, then acquisition module waits for the EIT information change notice that EPG server 520 issues, this EIT information change notice can receive the EIT information change notice of this channel that other DVB terminals send during for EPG server, send to described DVB terminal, when this DVB terminal receives the EIT information change notice of the described channel that EPG server issues, then the EPG data after the change obtaining this channel from EPG server.Wherein, the EPG data after the change of described channel can be EPG servers when receiving the EIT information change notice of the described channel that other DVB terminals send, the EPG data after the change of the described channel received from described other DVB terminals.
The function realized due to the device of the present embodiment is substantially corresponding to the embodiment of the method shown in earlier figures 1 to Fig. 3, therefore not detailed part in the description of the present embodiment, see the related description in previous embodiment, can not repeat at this.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as read-only memory (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), the random access memory (RAM) of other types, read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise non-temporary computer readable media (non-transitorycomputer-readablestoragemedium), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only the embodiment of the application, be not limited to the application, for a person skilled in the art, the application can have various modifications and variations.Within all spirit in the application and principle, any amendment done, equivalent replacement, improvement etc., within the right that all should be included in the application.