CN109996096B - Regional EPG management system, distribution system and distribution method - Google Patents

Regional EPG management system, distribution system and distribution method Download PDF

Info

Publication number
CN109996096B
CN109996096B CN201910169261.9A CN201910169261A CN109996096B CN 109996096 B CN109996096 B CN 109996096B CN 201910169261 A CN201910169261 A CN 201910169261A CN 109996096 B CN109996096 B CN 109996096B
Authority
CN
China
Prior art keywords
area
epg
terminal
information
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910169261.9A
Other languages
Chinese (zh)
Other versions
CN109996096A (en
Inventor
乐骏
丁毅
付晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei Radio And Television Information Network Co ltd
Original Assignee
Hubei Radio And Television Information Network Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Radio And Television Information Network Co ltd filed Critical Hubei Radio And Television Information Network Co ltd
Priority to CN201910169261.9A priority Critical patent/CN109996096B/en
Publication of CN109996096A publication Critical patent/CN109996096A/en
Application granted granted Critical
Publication of CN109996096B publication Critical patent/CN109996096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2351Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving encryption of additional data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25841Management of client data involving the geographical location of the client

Abstract

The invention discloses a regional EPG management system, a distribution system and a distribution method, and relates to the field of broadcast television. The system comprises: the receiving module is used for receiving an EPG acquisition request which is sent by a terminal and carries terminal area information; the area management module is used for inquiring the area where the terminal is located according to the area information and finding the EPG download address of the area according to the area where the terminal is located; and the sending module is used for sending the EPG download address to the terminal. The method comprises the following steps: receiving an EPG acquisition request which is sent by a terminal and carries terminal area information; inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located; and sending the EPG download address to the terminal. The invention can send the local EPG download address of the area to the terminal according to the area where the user terminal is located, and efficiently and accurately realize the setting of the local area EPG.

Description

Regional EPG management system, distribution system and distribution method
Technical Field
The invention relates to the field of broadcast television, in particular to a regional EPG management system, a distribution system and a distribution method.
Background
EPG is an english abbreviation of Electronic Program Guide, meaning Electronic Program Guide. Indexing and navigation of various services provided by IPTV are accomplished through EPG. The interface of the EPG is similar to a Web page, and various menus, buttons, links and other components which can be directly clicked by a user when the user selects a program are generally provided on the interface of the EPG; the EPG may also include various types of dynamic or static multimedia content on its interface for the user to browse through.
At present, in the aspect of acquiring unidirectional live channels, a common method adopted by a set-top box is to search and acquire the unidirectional live channels from an HFC (Hybrid Fiber Coaxial cable) network, and because the construction standards of unidirectional systems in various places are inconsistent, the standard set-top box is adapted to the unidirectional systems in various places, so that the workload is too large. The EPG interface will also vary from one area to another according to the EPG content of the live channel. The set top box acquires the EPG of the live broadcast channel of the area, and the EPG information (namely, the traditional channel search) needs to be analyzed through the live broadcast code stream broadcasted by the live broadcast platform, the set top box needs to be adapted to the live broadcast EPG broadcasting platforms of all areas, the analyzed EPG information is stored in the set top box, and when the EPG changes, the channel needs to be searched again to update the whole EPG information. The whole process is one-way information interaction between the set top box and the live broadcast EPG broadcasting platform, the set top box is required to be adapted to each area, the adaptation difficulty is high, the operating system of the set top box is not uniform in versions in the provinces due to the fact that the set top box is adapted to the live broadcast EPG broadcasting platform, the operation difficulty is high, and therefore the efficiency of obtaining the EPG of live broadcast channels is low.
Moreover, a key task of the network full-service platform project in the provinces of Hubei is to integrate resources in cities and areas of Hubei, and in the process of building a localized regional EPG distribution system, individual adaptation is required to be reduced, and the resources of the whole network are built uniformly. Meanwhile, with new local cities continuously promoting live channels in local areas, the EPGs of the live channels in different areas are different, and how to efficiently and accurately realize the setting of the local area EPG is a problem to be solved urgently.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the background art, and provides an area EPG management system, a distribution system, and a distribution method. The invention can send the local EPG download address of the area to the terminal according to the area where the user terminal is located, and efficiently and accurately realize the setting of the local area EPG.
The present invention provides a regional EPG management system, comprising:
the receiving module is used for receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information;
the area management module is used for inquiring the area where the terminal is located according to the area information and finding the EPG download address of the area according to the area where the terminal is located;
and the sending module is used for sending the EPG download address to the terminal.
On the basis of the above technical solution, the area management module includes:
the storage module is used for storing a matching rule list, wherein the matching rule list comprises area codes of different areas, area rule values associated with each area code, and a mapping relation between each area rule value and area information; the EPG download system is also used for storing binding information of each EPG download address and one area code;
and the query module is used for acquiring the area information from the receiving module, querying an area rule value corresponding to the area information in the matching rule list, finding the area code of the area where the terminal is located according to the area rule value, and finding the EPG download address corresponding to the area code from the storage module.
On the basis of the technical scheme, when the region information comprises an IP address, the region rule value comprises IP sections, and each IP section comprises a plurality of IP addresses;
the query module is used for querying an IP section corresponding to the IP address in the matching rule list and finding the area code of the area where the terminal is located according to the IP section.
On the basis of the technical scheme, when the area information further comprises CA card numbers, the area rule value comprises CA card groups established according to attributes of the CA cards, and each CA card group comprises a plurality of CA card numbers;
the query module is used for querying a CA card group corresponding to the CA card number in the matching rule list and finding the area code of the area where the terminal is located according to the CA card group;
the query module is also used for preferentially adopting an IP address to query and then adopting a CA card number to query when querying the area code of the area where the terminal is located in the matching rule list;
when the area code is not found by adopting the CA card number, the area code found by the IP address is taken as the area code of the area where the terminal is located;
when the area code is found by adopting the CA card number, the area code found by the CA card number is taken as the area code of the area where the terminal is located;
on the basis of the above technical solution, the system further includes:
the EPG management module is used for issuing EPG information of each area, generating EPG program files according to the EPG information and the EPG templates, and binding the EPG program files of each area with corresponding area codes;
the sending module is also used for sending the EPG program file to an EPG download server, generating an EPG download address, binding the EPG download address with the area code bound with the EPG program file, and sending the binding information of the EPG download address and the area code to the storage module.
On the basis of the technical scheme, the EPG management module is further used for correspondingly generating a version number when the EPG information of each area is issued each time, increasing the currently issued EPG version number of each area according to a preset rule when the version number is updated subsequently, and storing the current version number;
the sending module is further configured to send the EPG version number of each area to the terminal.
The system also comprises a checking module, wherein the EPG acquisition request comprises the existing EPG version number of the terminal;
the checking module is used for acquiring the EPG version number of the terminal from the receiving module and comparing the version number with the version number currently stored by the EPG management module;
if the version numbers are different, the check module is also used for encrypting the current EPG program file to form a check code, and adding the check code into the EPG download address to form an encrypted address;
the sending module is further configured to send the encrypted address to the terminal.
The present invention also provides a regional EPG distribution system, comprising: the EPG system comprises a terminal, an EPG download server and the regional EPG management system;
the terminal is used for sending an EPG acquisition request carrying the terminal area information to the receiving module, receiving the EPG download address sent by the sending module and sending the EPG download request according to the EPG download address;
and the EPG download server is used for storing EPG program files of all areas and transmitting the EPG program files to the terminal after receiving an EPG download request transmitted by the terminal.
The invention also provides a regional EPG distribution method, which comprises the following steps:
receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information;
inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located;
and sending the EPG download address to the terminal.
On the basis of the above technical solution, before receiving an EPG acquisition request carrying the terminal area information sent by a terminal, the method further includes the following steps: distributing an area code to an area to be pushed with the EPG according to a preset rule, establishing association between each area code and an area rule value, establishing a mapping relation between each area rule value and area information, and binding an EPG download address of each area with the area code of the area;
inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located comprises the following steps: inquiring an area rule value corresponding to the area information in the matching rule list, finding an area code of an area where the terminal is located according to the area rule value, and finding an EPG download address according to the area code;
when the area information comprises an IP address and a CA card number, the area rule value comprises an IP section and a CA card group established according to the attribute of the CA card, each IP section comprises a plurality of IP addresses, and each CA card group comprises a plurality of CA card numbers;
inquiring the area where the terminal is located according to the terminal area information comprises the following steps: inquiring an IP section corresponding to the IP address in the matching rule list, and finding the area code of the area where the terminal is located according to the IP section; then, inquiring a CA card group corresponding to the CA card number in the matching rule list, and finding the area code of the area where the terminal is located according to the CA card group; if the area code is not found by adopting the CA card number, the area code found by the IP address is taken as the area where the terminal is located; if the CA card number is adopted to find the area code, the area code found by the CA card number is used as the area where the terminal is located.
On the basis of the technical scheme, before receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information, the method further comprises the following steps:
the EPG information of each area is issued, the EPG information is generated into EPG program files, and the EPG program files of each area are bound with corresponding area codes;
the EPG program file is sent to an EPG download server, an EPG download address is generated, the EPG download address is bound with the area code bound with the EPG program file, and binding information of the EPG download address and the area code is stored;
the method comprises the steps that a version number is correspondingly generated when EPG information of each area is issued each time, and the EPG version number of each area which is issued currently is increased according to a preset rule when the EPG information is updated subsequently; when the EPG download address is sent, the EPG version number of the area is sent;
when the EPG request comprises the EPG version number existing in the terminal, the method also comprises the following steps before sending the EPG download address to the terminal:
acquiring the existing EPG version number of the terminal from the EPG acquisition request, and comparing the existing EPG version number of the terminal with the current EPG version number;
if the version numbers are different, after the EPG download address of the area is found, the EPG download address is encrypted to form a check code, the check code is added into the EPG download address to form an encrypted address, and then the encrypted address is sent to the terminal.
Compared with the prior art, the invention has the following advantages:
the invention can inquire the area of the terminal according to the area information, then send the local EPG download address of the area to the terminal according to the area of the user terminal, and the terminal can download the EPG according to the EPG download address, thereby realizing the setting of the local area EPG. The area management module inquires the area where the terminal is located according to the area information, the EPG download address is sent to the terminal, the terminal downloads the EPG through the EPG download address, the area matching processing and EPG program file storage are separated, the operating pressure of the area EPG management system is reduced, and therefore the corresponding EPG download address can be found efficiently according to the area information. The invention can uniformly update the live program information of each place through the area management system, can set the EPG of different live channels aiming at different areas by maintaining and updating the data of the area management system under the condition that the live channels in the local area are continuously released by a new city, and can efficiently and accurately realize the setting of the EPG of the local area of the terminal through the area management system.
Drawings
Fig. 1 is a schematic structural diagram of an area EPG management system according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an area management module according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an area EPG management system according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an area EPG distribution system according to a fourth embodiment of the present invention.
Fig. 5 is a flowchart of an area EPG distribution method according to a fifth embodiment of the present invention.
Fig. 6 is a flowchart of an area EPG distribution method according to a sixth embodiment of the present invention.
Fig. 7 is a flowchart of an area EPG distribution method according to a seventh embodiment of the present invention.
Reference numerals: the system comprises a receiving module 1, an area management module 2, a storage module 21, an inquiry module 22, a sending module 3, an EPG management module 4 and a verification module 5.
Detailed Description
The invention is described in further detail below with reference to the figures and the embodiments.
Example one
Referring to fig. 1, an embodiment of the present invention provides an area EPG management system, including: the system comprises a receiving module 1, an area management module 2 and a sending module 3;
the receiving module 1 is configured to receive an EPG acquisition request carrying terminal area information sent by a terminal.
The area management module 2 is configured to query an area where the terminal is located according to the area information, and find an EPG download address of the area according to the area where the terminal is located.
The sending module 3 is used for sending the EPG download address to the terminal.
The EPG management system is particularly suitable for setting the EPG of the live broadcast channel, and can adopt a terminal which can access the management system through a Hubei broadcast television network.
In the embodiment, the area where the terminal is located is inquired according to the area information, the EPG download address is sent to the terminal, and the terminal downloads the EPG through the EPG download address. The invention can uniformly update the live program information of each place through the area management system, can set the EPG of different live channels aiming at different areas by maintaining and updating the data of the area management system under the condition that the live channels in the local area are continuously released by a new city, and can efficiently and accurately realize the setting of the EPG of the local area of the terminal through the area management system.
Example two
Referring to fig. 2, on the basis of the first embodiment, the area management module 2 includes a storage module 21 and a query module 22;
the storage module 21 is configured to store a matching rule list, where the matching rule list includes area codes of different areas, an area rule value associated with each area code, and a mapping relationship between each area rule value and area information; and is also used for storing the binding information of each EPG download address and one area code. Wherein each region code is associated with at least one region rule value, and each region having a region code corresponds to an EPG. The matching rule list is stored in a database.
The query module 22 is configured to obtain the area information from the receiving module 1, query the area rule value corresponding to the area information in the matching rule list, find the area code of the area where the terminal is located according to the area rule value, and then find the EPG download address corresponding to the area code from the storage module 21.
The embodiment also provides an implementation mode for inquiring the area where the terminal is located according to the area information. When the area information includes an IP address and a CA card number, the area rule value includes an IP segment and a CA card group established according to attributes of the CA card, and each area code associates a plurality of IP segments and a plurality of CA card groups.
The query module 22 is further configured to preferentially query by using an IP address and then query by using a CA card number when querying the area code of the area where the terminal is located in the matching rule list. When the area code is not found by adopting the CA card number, the area code found by the IP address is taken as the area code of the area where the terminal is located; when the CA card number is adopted to find the area code, the area code found by the CA card number is taken as the area code of the area where the terminal is located.
It is conceivable that there are also the following ways: when the area information comprises IP addresses, the area rule value comprises IP sections, and each IP section comprises a plurality of IP addresses; the query module 22 is configured to query an IP segment corresponding to the IP address in the matching rule list, and find the area code of the area where the terminal is located according to the IP segment. When the area information further comprises CA card numbers, the area rule value comprises CA card groups established according to the attributes of the CA cards, and each CA card group comprises a plurality of CA card numbers; the query module 22 is configured to query a CA card group corresponding to a CA card number in the matching rule list, and find the area code of the area where the terminal is located according to the CA card group.
The division of the area may be a geographical area, such as a city, county, town or a specific area, or a virtual area, such as a hotel or a group user, which can perform user geographical area division or user service attribute type division.
The terminal and the region are corresponding to the used judgment rule, the set-top box attribution region can have a plurality of judgment rules, one region can match a plurality of region rule values, for example: the IP section and the CA card group established according to the attributes of the CA cards, and one area can correspond to a plurality of IP addresses and a plurality of CA card numbers. For example, with IP to differentiate regions, wuhan may have 10.25.1.1-10.26.254.254; 10.7.1.1-10.7.254.254 two sets of IP segments, each IP segment including a plurality of IP addresses. The attribute of the CA card can be identified by user information, the CA card number and the user information associated with the CA card number are synchronously imported into the management System by a BOSS System, the BOSS (Business & Operation Support System) refers to a Business Operation Support System, which is equivalent to a Business hall where a user opens the CA card, when the user opens the card, the user information needs to be input, the CA card is bound and associated with the user information of the CA card, the user information can comprise a user address, and when the user information is area information and/or user Business attribute, the user information is manually screened and corrected by adopting a label screening mode in a visual background of the management System. According to the actual situation, when the card is opened, the CA card number and the CA card group can be manually associated according to the attribute of the CA card, and the CA card number and the CA card group identified by the geographic dimension can also be associated in a mode of screening keywords in the user address according to the user information in a visual background of a management system. The attributes of the CA cards can be grouped according to business dimensions such as public customers, unit user groups, VIP user groups, certain scenic spot user groups, infant user groups, old user groups and the like, and can also be grouped according to geographic positions.
The area management module 2 is further configured to allocate an area code to each area according to a predetermined rule, where the area corresponds to an EPG. The predetermined rule may adopt different rules according to the CA card number and the IP address. When using a CA card number as a match, the area code may use a sequence of first of a region + four digits as a region ID string, such as: the region code of the Xiangyang is XY-0001, and the region code is adjusted by adjusting a four-digit sequence; when IP addresses are used as matches, the area code may be generated according to the existing zip code plus four digit sequence, or other schemes may be used to use a similar group ID number as the area code's feature code.
In practice, there is an overlap of services, and there are new areas where the own localized live channels appear continuously, having their own area EPGs, for example, in an area corresponding to an area code, and there are new areas that need to correspond to new EPGs, no matter whether new parallel area codes are generated, or sub-area codes are set in the original area codes. These situations can cause the services to overlap, and the IP address cannot perform area subdivision, and when new areas continuously need to correspond to new EPGs, the areas located by means of the IP address will receive the information of the large area to which the new areas belong, but cannot receive the EPG of the minimum area to which the new areas belong. Since the CA card can subdivide the area, the user address of the CA card can be selected to mark a specific street, but since the area of the CA card can be subdivided into the street, the geographic dimension of the area information in the selected user address is small, and the corresponding area code cannot be found.
In this embodiment, a combination manner of the IP address and the CA card number is selected, and the area code associated with the IP segment is preferentially queried, and then the area code associated with the CA card number is queried. Meanwhile, service personnel of the broadcast television network need to update and maintain the system according to the generated new regional EPG.
EXAMPLE III
Referring to fig. 3, on the basis of the second embodiment, the system of the present invention further includes an EPG management module 4 and a verification module 5. The EPG management module 4 is configured to issue EPG information of each area, generate an EPG program file from the EPG information according to the EPG template, and bind the EPG program file of each area to a corresponding area code. The sending module 3 sends the EPG program file to the EPG download server, generates a corresponding EPG download address, binds the EPG download address with the region code to which the EPG program file is bound, and sends the binding information of the EPG download address and the region code to the storage module 21. In practical application, the EPG template is a template pre-designed according to the actual conditions of different areas, and the mode for binding the EPG program files of each area with the corresponding area codes may be to write the area codes into the EPG program files of the area. The sending module 3 obtains the EPG program file corresponding to the EPG download address from the EPG management module 4, so as to find the region code bound to the EPG program file, and bind the EPG download address with the region code. The transmission module 3 may provide an EPG program file download service.
In order to facilitate updating of the EPG program file and updating of the terminal version, the EPG management module 4 is further configured to generate a version number each time EPG information of each area is published, and increase the EPG version number of each currently published area according to a predetermined rule and store the current version number when the EPG information is subsequently updated. Correspondingly, the sending module 3 is further configured to send the EPG version number of each area to the terminal.
The system of the invention can carry out EPG version management and data file release through the EPG management module 4, and after basic data is modified, corresponding EPG information data needs to be released into an EPG program file to be normally used. In order to identify the version released each time, the version number released at present needs to be identified, so as to determine whether the live channel data needs to be updated, and the released version cannot be backed off, and can only be released again after being modified. The EPG program file comprises channel classification, channel name, channel sequencing and channel parameters.
Further, after the EPG management module 4 updates and releases the EPG information of the area, a new EPG program file is formed, so that the terminal can obtain the new live channel EPG program file, and the terminal can be prevented from obtaining the wrong live channel EPG information. The system of the invention also comprises a checking module 5 which obtains the EPG request including the EPG version number existing in the terminal, thereby facilitating the checking of the version number. Meanwhile, the EPG version number is associated with the corresponding area code, so that the EPG version number can be found after the area code of the area where the terminal is located is inquired. Further optimization, the EPG version number and the EPG download address of each area are bound with the area code of the area, so that the search is facilitated.
In order to perform security check and ensure the safe and complete transmission of the EPG program file, the system of the invention further comprises a check module 5, which is used for acquiring the EPG version number existing in the terminal from the receiving module 1 and comparing the version number with the version number currently stored in the EPG management module 4.
If the version numbers are different, the check module 5 is also used for encrypting the current EPG program file to form a check code, and adding the check code into the EPG download address to form an encrypted address; the sending module 3 is further configured to send the encrypted address to the terminal. If the version numbers are the same, the verification process is ended.
And if the EPG acquisition request does not comprise the existing EPG version number of the terminal, not checking. When the terminal acquires the EPG for the first time, the terminal does not have the EPG, so that verification is not needed, and the EPG download address is sent according to the scheme of the first embodiment or the second embodiment.
In practice, the encryption of the EPG download address is performed according to a predetermined Algorithm, which may be an MD5(Message-Digest Algorithm 5) Algorithm.
The invention provides an EPG program file publishing process: 1) the set top box requests to acquire a live channel list; 2) the regional EPG management system selects IP sections for matching according to a setting rule; 3) acquiring an IP address corresponding to the request set top box from the request parameter; 4) matching in a matching rule list configured in the background according to the IP; 5) matching successfully, and finding out an area corresponding to the set top box; 6) and returning to the live EPG corresponding to the area.
Further, in order to ensure the security of the verification and prevent the third party system from accessing, the obtain EPG request is encrypted by Uniform Resource Locator (URL).
The request URL sample is as follows:
http://IP:Port/xxxdt=xxxxx&provider=coship&<&ip=x.x.x.x><&smcId=xx><&areaCode=xx>&token=xxx
wherein dt: the time when the request is initiated is accurate to seconds, for example, the format is: 20141210075625.
the token after the URL encryption of each request of a single user is different and the timeliness of the URL are ensured;
provider: the set-top box manufacturers encode the encryption codes, so that each set-top box manufacturer can use different encryption factors conveniently. At the moment, the terminal is a set top box; ip/smcId/area code: one is selected for region rule matching.
token: a character string obtained by encrypting the URL address character string with MD5 (agreement between encryption factor system and terminal)
For example: the URL that the set-top box needs to request is:
http://10.9.212.12:8080/GetAreaChanneldt=20141210075625&ip=10.5.2.3
this URL is then MD5 encrypted with a supplemental encryption factor (e.g., hbcoship) to obtain an encrypted string: 9f43f9fb79431f0d7db50a85fe417e56
The final actual request URL is:
http://10.9.212.12:8080/GetAreaChanneldt=4568795412&ip=10.5.2.3&token=9f43f9fb79431f0d7db50a85fe417e56
based on the encryption process, the obtained EPG request is a request URL generated through encryption, the verification module 5 is configured to obtain a character string before the token in the request URL and an encryption factor in the request URL, encrypt a part of the character string before the token and the encryption factor by using MD5 that is the same as the terminal, and determine whether the encrypted character string is consistent with the token in the request URL; if the request is consistent with the request, the request is legal, and if the request is inconsistent with the request, the request is illegal and no response is given.
The invention also provides a terminal EPG program updating process: 1) starting up a terminal set-top box; 2) the terminal set-top box carries out encryption management on the request URL; 3) the terminal set-top box requests the live broadcast of the EPG program by using the encrypted URL; 4) the area management system checks whether the URL is in the valid period; 5) inquiring an encryption factor corresponding to a manufacturer according to the manufacturer code of the set-top box in the URL; 6) the area management system checks whether the URL is legal or not; 7) searching a region corresponding to the terminal according to the request parameters and the matching rules; 8) returning the area information corresponding to the set top box, the version number information corresponding to the area, the EPG program file downloading address and the file verification information; 9) the terminal compares the issued area and version number with the data stored in the terminal, if the area information or version number information is changed; 10) the terminal downloads the file according to the EPG program file download address, 11) carries on the safety check to the file flow downloaded; 12) and (5) checking to pass, and setting a live channel of the set top box. And (3) exception management flow: the terminal sets the request overtime time, if the front-end system does not respond in time, the request flow is ended, and the terminal does not update the program list. In practical application, the business process may include the following steps: 1) the area management system sets area information; 2) adding a corresponding EPG channel for the area; 3) associating matching rules for the regions; 4) distributing regional EPG information to generate an EPG program file; 4) generating a file security check code; 5) storing a new version number, a download address and a safety check code corresponding to the area; 6) and distributing the EPG program file to an EPG download server.
Example four
Referring to fig. 4, an embodiment of the present invention further provides a regional EPG distribution system, including: a terminal, an EPG download server, and an area EPG management system of any of the first to third embodiments.
The terminal is used for sending an EPG acquisition request carrying terminal area information to the receiving module 1, receiving an EPG download address sent by the sending module 3, and sending the EPG download request according to the EPG download address.
The EPG download server is used for storing EPG program files of all areas and sending the EPG program files to the terminal after receiving an EPG download request sent by the terminal.
In practical application, the terminal can be a mobile terminal, such as a mobile phone and a PAD, accessing an area EPG management system through a broadcast television network, the terminal can also be a set-top box, the set-top box is connected with a display system, such as a television, and the content of the EPG program file displayed on the television and live broadcast is acquired through an HFC network. In this embodiment, the terminal may be an intelligent set-top box connected to a display device (e.g., a television).
EXAMPLE five
Referring to fig. 5, an embodiment of the present invention further provides a regional EPG distribution method, including the following steps:
and S1, receiving the EPG acquisition request carrying the terminal area information sent by the terminal.
S2, inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located.
And S3, sending the EPG download address to the terminal.
Wherein, when the management system in the first to third embodiments performs area EPG distribution by using the distribution method of the present invention, step S2 includes: according to the terminal area information, the area rule value corresponding to the area information is inquired in the matching rule list, the area code of the area where the terminal is located is found according to the area rule value, and then the EPG download address corresponding to the area code is found from the storage module 21.
EXAMPLE six
On the basis of the fifth embodiment, when the area information includes an IP address and a CA card number, the area rule value includes an IP field and a CA card group established according to attributes of the CA card, each IP field includes a plurality of IP addresses, and each CA card group includes a plurality of CA card numbers.
Referring to fig. 6, the present embodiment further provides a regional EPG distribution method, including the following steps:
a1, allocating a region code to the region to be pushed with EPG according to the preset rule, each region code establishing association with the region rule value, each region rule value establishing mapping relation with the region information, and binding the EPG download address of each region with the region code of the region.
A2, receiving an EPG acquisition request carrying terminal area information sent by a terminal.
A3, inquiring the area rule value corresponding to the area information in the matching rule list, finding the area code of the area where the terminal is located according to the area rule value, and finding the EPG download address according to the area code.
And A4, sending the EPG download address to the terminal.
In step a1, an area code may be assigned according to a predetermined rule, and different rules may be adopted according to the CA card number and the IP address. When using a CA card number as a match, the area code may use a sequence of first of a region + four digits as a region ID string, such as: the region code of the Xiangyang is XY-0001, and the region code is adjusted by adjusting a four-digit sequence; when IP addresses are used as matches, the area code may be generated according to the existing zip code plus four digit sequence, or other schemes may be used to use a similar group ID number as the area code's feature code.
The specific process of the step A3 is as follows: inquiring an IP section corresponding to an IP address in a matching rule list, and finding an area code of an area where the terminal is located according to the IP section; then, inquiring a CA card group corresponding to the CA card number in the matching rule list, and finding the area code of the area where the terminal is located according to the CA card group; if the area code is not found by adopting the CA card number, the area code found by the IP address is taken as the area where the terminal is located; if the CA card number is adopted to find the area code, the area code found by the CA card number is used as the area where the terminal is located. And finding the EPG download address according to the area code.
EXAMPLE seven
On the basis of the fifth embodiment or the sixth embodiment, the distribution method of the present invention further includes, before step S1, the following steps: the EPG information of each area is issued, the EPG information is generated into EPG program files, and the EPG program files of each area are bound with corresponding area codes; the method comprises the steps that an EPG program file is sent to an EPG download server according to an EPG download address, the EPG program file is sent to the EPG download server, an EPG download address is generated, the EPG download address is bound with a region code bound with the EPG program file, and binding information of the EPG download address and the region code is stored;
the method comprises the steps that a version number is correspondingly generated when EPG information of each area is issued each time, and the EPG version number of each area which is issued currently is increased according to a preset rule when the EPG information is updated subsequently; and when the EPG download address is transmitted, transmitting the EPG version number of the area. Wherein, the increase of the version number can be increased in the form of version 1 and version 2 ….
When the EPG request comprises the EPG version number existing in the terminal, the method also comprises the following steps before the EPG download address is sent to the terminal:
acquiring the existing EPG version number of the terminal from the EPG acquisition request, and comparing the existing EPG version number of the terminal with the current EPG version number;
if the version numbers are different, after the EPG download address of the area is found, the EPG download address is encrypted to form a check code, the check code is added into the EPG download address to form an encrypted address, the encrypted address is sent to the terminal, and the check code is sent to the EPG download server according to the EPG download address.
Based on the above technical solution, referring to fig. 7, a distribution method according to an embodiment of the present invention includes the following steps:
b1, releasing the EPG information of each area, generating EPG program files from the EPG information, and binding the EPG program files of each area with corresponding area codes;
b2, sending the EPG program file to an EPG download server, generating an EPG download address, binding the EPG download address with the area code bound with the EPG program file, and storing the binding information of the EPG download address and the area code;
b3, receiving an EPG acquisition request which is sent by a terminal and carries terminal area information and the existing EPG version number of the terminal;
b4, inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located;
b5, acquiring the EPG version number of the terminal from the EPG acquisition request, and comparing the EPG version number of the terminal with the current EPG version number;
if the version numbers are different, encrypting the EPG program file to form a check code, adding the check code into the EPG download address to form an encrypted address, and then sending the encrypted address to the terminal;
b6, the terminal downloads the EPG program file according to the encrypted address, the terminal encrypts the downloaded EPG program file to form a check value, if the check code is consistent with the check value, the file downloading is completed, and if the check code is inconsistent with the check value, the file downloading is failed.
Wherein, step B4 includes: inquiring an area rule value corresponding to the area information in the matching rule list according to the area information of the terminal, finding an area code of an area where the terminal is located according to the area rule value, and finding an EPG download address of the area according to a prestored EPG download address and binding information of the area code.
Various modifications and variations of the embodiments of the present invention may be made by those skilled in the art, and they are also within the scope of the present invention, provided they are within the scope of the claims of the present invention and their equivalents.
What is not described in detail in the specification is prior art that is well known to those skilled in the art.

Claims (3)

1. An area EPG management system, comprising:
the receiving module is used for receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information;
the area management module is used for inquiring the area where the terminal is located according to the area information and finding the EPG download address of the area according to the area where the terminal is located;
the sending module is used for sending the EPG download address to the terminal; the terminal downloads the EPG according to the EPG download address;
the region management module includes:
the storage module is used for storing a matching rule list, wherein the matching rule list comprises area codes of different areas, area rule values associated with each area code, and a mapping relation between each area rule value and area information; the EPG download system is also used for storing binding information of each EPG download address and one area code;
the query module is used for acquiring the area information from the receiving module, querying an area rule value corresponding to the area information in the matching rule list, finding an area code of an area where the terminal is located according to the area rule value, and finding an EPG download address corresponding to the area code from the storage module;
when the region information includes an IP address, the region rule value includes IP segments, each of which includes a plurality of IP addresses;
the query module is used for querying an IP section corresponding to the IP address in the matching rule list and finding the area code of the area where the terminal is located according to the IP section;
when the area information further includes a CA card number, the area rule value includes CA card groups established according to attributes of the CA card, and each CA card group includes a plurality of CA card numbers;
the query module is used for querying a CA card group corresponding to the CA card number in the matching rule list and finding the area code of the area where the terminal is located according to the CA card group;
the query module is also used for preferentially adopting an IP address to query and then adopting a CA card number to query when querying the area code of the area where the terminal is located in the matching rule list;
when the area code is not found by adopting the CA card number, the area code found by the IP address is taken as the area code of the area where the terminal is located;
when the area code is found by adopting the CA card number, the area code found by the CA card number is taken as the area code of the area where the terminal is located;
the system further comprises:
the EPG management module is used for issuing EPG information of each area, generating EPG program files according to the EPG information and the EPG templates, and binding the EPG program files of each area with corresponding area codes;
the sending module is also used for sending the EPG program file to an EPG download server, generating an EPG download address, binding the EPG download address with the area code bound with the EPG program file, and sending the binding information of the EPG download address and the area code to the storage module;
the EPG management module is also used for correspondingly generating a version number when the EPG information of each area is issued each time, increasing the version number of the currently issued EPG of each area according to a preset rule when the EPG information is updated subsequently, and storing the current version number; the version number is associated with a corresponding region code;
the sending module is further configured to send the EPG version number of each area to the terminal;
the system also comprises a checking module, wherein the EPG acquisition request comprises the existing EPG version number of the terminal;
the checking module is used for acquiring the EPG version number of the terminal from the receiving module and comparing the version number with the version number currently stored by the EPG management module;
if the version numbers are different, the check module is also used for encrypting the current EPG program file to form a check code, and adding the check code into the EPG download address to form an encrypted address;
the sending module is further configured to send the encrypted address to the terminal.
2. A regional EPG distribution system, comprising: a terminal, an EPG download server, and a regional EPG management system according to claim 1;
the terminal is used for sending an EPG acquisition request carrying the terminal area information to the receiving module, receiving the EPG download address sent by the sending module and sending the EPG download request according to the EPG download address;
and the EPG download server is used for storing EPG program files of all areas and transmitting the EPG program files to the terminal after receiving an EPG download request transmitted by the terminal.
3. A regional EPG distribution method, comprising the steps of:
receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information;
inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located;
sending the EPG download address to the terminal;
before receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information, the method also comprises the following steps: distributing an area code to an area to be pushed with the EPG according to a preset rule, establishing association between each area code and an area rule value, establishing a mapping relation between each area rule value and area information, and binding an EPG download address of each area with the area code of the area;
inquiring the area where the terminal is located according to the terminal area information, and finding the EPG download address of the area according to the area where the terminal is located comprises the following steps: inquiring an area rule value corresponding to the area information in the matching rule list, finding an area code of an area where the terminal is located according to the area rule value, and finding an EPG download address according to the area code;
when the area information comprises an IP address and a CA card number, the area rule value comprises an IP section and a CA card group established according to the attribute of the CA card, each IP section comprises a plurality of IP addresses, and each CA card group comprises a plurality of CA card numbers;
inquiring the area where the terminal is located according to the terminal area information comprises the following steps: inquiring an IP section corresponding to the IP address in the matching rule list, and finding the area code of the area where the terminal is located according to the IP section; then, inquiring a CA card group corresponding to the CA card number in the matching rule list, and finding the area code of the area where the terminal is located according to the CA card group; if the area code is not found by adopting the CA card number, the area code found by the IP address is taken as the area where the terminal is located; if the area code is found by adopting the CA card number, the area code found by the CA card number is taken as the area where the terminal is located;
before receiving an EPG acquisition request which is sent by a terminal and carries the terminal area information, the method further comprises the following steps:
the EPG information of each area is issued, the EPG information is generated into EPG program files, and the EPG program files of each area are bound with corresponding area codes;
the EPG program file is sent to an EPG download server, an EPG download address is generated, the EPG download address is bound with the area code bound with the EPG program file, and binding information of the EPG download address and the area code is stored;
the method comprises the steps that a version number is correspondingly generated when EPG information of each area is issued each time, and the EPG version number of each area which is issued currently is increased according to a preset rule when the EPG information is updated subsequently; when the EPG download address is sent, the EPG version number of the area is sent; the version number is associated with a corresponding region code;
when the EPG request comprises the EPG version number existing in the terminal, the method also comprises the following steps before sending the EPG download address to the terminal:
acquiring the existing EPG version number of the terminal from the EPG acquisition request, and comparing the existing EPG version number of the terminal with the current EPG version number;
if the version numbers are different, after the EPG download address of the area is found, the EPG download address is encrypted to form a check code, the check code is added into the EPG download address to form an encrypted address, and then the encrypted address is sent to the terminal.
CN201910169261.9A 2019-03-06 2019-03-06 Regional EPG management system, distribution system and distribution method Active CN109996096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910169261.9A CN109996096B (en) 2019-03-06 2019-03-06 Regional EPG management system, distribution system and distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910169261.9A CN109996096B (en) 2019-03-06 2019-03-06 Regional EPG management system, distribution system and distribution method

Publications (2)

Publication Number Publication Date
CN109996096A CN109996096A (en) 2019-07-09
CN109996096B true CN109996096B (en) 2022-01-11

Family

ID=67130117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910169261.9A Active CN109996096B (en) 2019-03-06 2019-03-06 Regional EPG management system, distribution system and distribution method

Country Status (1)

Country Link
CN (1) CN109996096B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735415A (en) * 2020-12-28 2021-04-30 江苏有线技术研究院有限公司 Fragmented program content aggregation management method based on division companies

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731687A (en) * 2014-01-24 2014-04-16 浪潮软件集团有限公司 Method for realizing channel change and fast prompting EPG information
CN105657454A (en) * 2016-03-01 2016-06-08 四川九洲电器集团有限责任公司 Audio and video terminal network EPG receiving method and system
CN105828111A (en) * 2016-03-21 2016-08-03 深圳市茁壮网络股份有限公司 Channel information issuing and obtaining method, device and system
JP2018023027A (en) * 2016-08-04 2018-02-08 Necプラットフォームズ株式会社 Distribution device, distribution system, distribution method, and distribution program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566860B (en) * 2017-09-27 2021-03-12 深圳Tcl新技术有限公司 Video EPG acquisition and playing method, cloud platform server, television and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731687A (en) * 2014-01-24 2014-04-16 浪潮软件集团有限公司 Method for realizing channel change and fast prompting EPG information
CN105657454A (en) * 2016-03-01 2016-06-08 四川九洲电器集团有限责任公司 Audio and video terminal network EPG receiving method and system
CN105828111A (en) * 2016-03-21 2016-08-03 深圳市茁壮网络股份有限公司 Channel information issuing and obtaining method, device and system
JP2018023027A (en) * 2016-08-04 2018-02-08 Necプラットフォームズ株式会社 Distribution device, distribution system, distribution method, and distribution program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
某省广电高清云平台Portal门户系统的设计与实现;温莉;《中国优秀硕士学位论文全文数据库 信息科技辑》;20190215;第I138-504页 *

Also Published As

Publication number Publication date
CN109996096A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN104081759B (en) Receiving device and method of reseptance
JP5369105B2 (en) Technology to recover program information of clips of broadcast programs shared online
US9226117B2 (en) Dynamic assignment of cell broadcast message identifiers
CN109729183B (en) Request processing method, device, equipment and storage medium
CN104221395A (en) Information processing device, information processing method, and information processing system
CN101681264B (en) Method and apparatus for software downloads in a network
JP2019515522A (en) Application Content Packaging and Delivery Signaling
CN101556588B (en) Method, equipment and system for searching
US20140096237A1 (en) Information processing system, access right management method, information processing apparatus and control method and control program therefor
EP1993288A1 (en) A system and method for generating electronic program guides
US20030208625A1 (en) Receiving apparatus, receiving methods, and name resolving method
CN109996096B (en) Regional EPG management system, distribution system and distribution method
KR100974571B1 (en) User recognition method for iptv service and user recognition server and service server
CN105393550A (en) Including an additional service in a channel guide
CN102056025A (en) Method for upgrading IPTV module
CN109947802B (en) UI (user interface) area management system, distribution system and distribution method
JP2001308841A (en) Device and method for transmission, device and method for reception, and system and method for transmission and reception
EP1341090A1 (en) Server device and information processing device
CN108989462A (en) Picture method for down loading based on AWS cloud service
JP4185315B2 (en) Terminal location method and network system on network
KR20160095600A (en) Broadcast apparatus and method for authenticating broadcast data
JP6182871B2 (en) Service configuration information providing apparatus, service configuration information providing method, and service configuration information providing program
CN105187867A (en) Media stream control method and device thereof
CN101384012B (en) Interactive media document updating method and device for system terminal and terminal
KR100829863B1 (en) System and Method for RFID Application Service based Terrestrial DMB

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant