CN107040801B - Method and apparatus for updating program list - Google Patents
Method and apparatus for updating program list Download PDFInfo
- Publication number
- CN107040801B CN107040801B CN201710202236.7A CN201710202236A CN107040801B CN 107040801 B CN107040801 B CN 107040801B CN 201710202236 A CN201710202236 A CN 201710202236A CN 107040801 B CN107040801 B CN 107040801B
- Authority
- CN
- China
- Prior art keywords
- program
- target
- channel
- abstract
- target program
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26283—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application provides a method for updating a program list, which comprises the following steps: comparing the abstract of the target program with the abstract of each existing program in the target channel, wherein the abstract of the program is a unique identifier generated by an information field representing the program according to a preset rule, and the target program belongs to the program in the target channel; and determining whether to update the programs in the target channel according to the comparison result of the abstract of the target program and the abstract of each program in the target channel. Therefore, the method provided by the embodiment of the application determines whether to update the program in the target channel by comparing the abstract of the target program with the abstract of each program in the target channel, which is beneficial to improving the efficiency of updating the program list and reducing the occupation of the system resources due to the updating of the program list.
Description
Technical Field
The present application relates to the field of live broadcasting, and more particularly, to a method of updating a program guide and an apparatus thereof.
Background
In a live Broadcasting operation scenario such as Internet Protocol Television (IPTV), Digital broadcast Television (DVB), etc., a network operator needs to maintain a program list in a live Broadcasting channel. Generally, the television programs are written in an Extensible Markup Language (XML) file format, and the TV program writing specification based on the XML file format is abbreviated as the XMLTV specification.
In the xml tv specification, a program list in a certain channel of a Content Provider (CP) can be synchronously updated to a Content Management System (CMS) in a batch manner. However, there is no explicit in the XMLTV specification as to what type of operation, such as addition, modification or deletion, the change of the program in the program guide belongs to. The CMS needs to compare each newly introduced program of the CP with existing programs in a Database (Database) field by field, and analyze whether there is a difference between the newly introduced program and the existing programs.
However, in an actual operation scenario, many programs in the program list imported by the CP are repeated, for example, the program with the number 3/month 1 in 2017 is the program with the number 3/month 2 in 2017 to the number 3/month 15 in 2017, the program with the number 3/month 2 in 2017 is the program with the number 3/month 3 in 2017 to the number 16 in 2017, actually, the programs with the numbers 3/month 3 in 2017 to the number 3/month 15 in 2017 are mostly repeated, only individual programs are modified, and the program with the number 3/month 16 in 2017 is newly increased.
When the number of channels and programs is large, for example, 1000 channels, one program every 20 minutes, and a program list of two weeks is synchronized at a time, there are 100 ten thousand programs. If the newly introduced program list is compared with the programs in the existing program list in the database one by one to judge whether the programs are different, the time for CMS processing is very long, and the time for CP to wait for the response of the completion of the introduction is also long, so that the latest program list record watched by the terminal user is delayed and the user experience is influenced.
Therefore, a method for updating a program guide is needed to improve the efficiency of updating the program guide.
Disclosure of Invention
The application provides a program list updating efficiency can be improved.
In a first aspect, a method for updating a program guide is provided, including: comparing the abstract of the target program with the abstract of each existing program in the target channel, wherein the abstract of the program is a unique identifier generated by all information fields representing the program according to a preset rule, and the target program belongs to the program in the target channel; determining whether to update the program in the target channel according to the comparison result of the abstract of the target program and the abstract of each program in the target channel
It should be understood that the information field of a program refers to the fields of all elements in the program node.
Therefore, the method provided by the embodiment of the application determines whether to update the program in the target channel by comparing the abstract of the target program with the abstract of each program in the target channel, which is beneficial to improving the efficiency of updating the program list and reducing the occupation of the system resources due to the updating of the program list.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel includes: when the summary of the target program is the same as the summary of an existing program in the target program channel, the program in the target program channel is not updated.
Therefore, the method provided by the embodiment of the application does not need to compare each element field in the program node one by one, and can determine whether the target program needs to be used for updating the program in the target program channel only by comparing whether the existing program abstract and the target program abstract are the same or not.
With reference to the first aspect and the foregoing implementation manner, in a second possible implementation manner of the first aspect, the determining whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel includes: and when the abstract of the target program is different from the abstract of each program in the target program channel, updating the programs in the target program channel.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the updating the program in the target program channel includes: and when the broadcasting time interval of the target program has an overlapping part with the broadcasting time interval of the failed program existing in the target channel, replacing the failed program in the target channel with the target program.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, before the comparing the summary of the target program with the summary of each program already existing in the target channel, the method further includes: and receiving an information field which is sent by a content provider CP and used for representing the target program, and generating the abstract of the target program according to the information field representing the target program and the preset rule.
That is, the CMS needs to receive the information field of the target program sent by the CP, and generate the digest of the target program according to the information field of the target program and the preset rule.
With reference to the first aspect and the foregoing implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, before the comparing the summary of the target program with the summary of each program already existing in the target channel, the method further includes: and receiving a complete information field which is sent by the CP and used for representing the target program, wherein the complete information field of the target program comprises the identification of the target program and the information field of the target program, and the information field of the target program generates the abstract of the target program according to the preset rule.
It should be understood that the complete information field of the target program includes the information field of the target program, the identification of the target program, and the summary of the target program.
Therefore, by expanding the program identification and the abstract in the attribute of the program list, the embodiment of the application can quickly eliminate the newly introduced repeated programs and improve the distribution speed of the program list.
With reference to the first aspect and the foregoing implementation manner, in a sixth possible implementation manner of the first aspect, the determining whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel includes: determining whether the target program is a program already existing in the target channel according to the identifier of the target program; if the target program is not the program already existing in the target channel, saving an information field of the target program; and if the target program is the program already existing in the target channel, comparing the abstract of the target program with the abstract of the program already existing in the target channel.
In a second aspect, a method for updating a program guide is provided, including: generating an abstract of the target program according to all information fields of the target program and the preset rule;
and sending a complete information field for representing the target program to a content management system, wherein the complete information field of the target program comprises the identification of the target program and all information fields of the target program to generate the abstract of the target program according to the preset rule.
Therefore, by expanding the program identification and the abstract in the attribute of the program list, the embodiment of the application can quickly eliminate the newly introduced repeated programs and improve the distribution speed of the program list.
In a third aspect, an apparatus is provided for performing the method of the first aspect or any possible implementation manner of the first aspect. In particular, the terminal device comprises means for performing the method of the first aspect described above or any possible implementation manner of the first aspect.
In a fourth aspect, there is provided an apparatus for performing the method of the second aspect or any possible implementation manner of the second aspect. In particular, the network device comprises means for performing the method of the second aspect described above or any possible implementation of the second aspect.
In a fifth aspect, an apparatus is provided, where the terminal apparatus includes: a transceiver, a memory, a processor, and a bus. Wherein the transceiver, the memory and the processor are connected by the bus, the memory is configured to store instructions, and the processor is configured to execute the instructions stored by the memory to control the transceiver to receive and/or transmit signals, and when the processor executes the instructions stored by the memory, the execution causes the processor to perform the method of the first aspect or any possible implementation manner of the first aspect.
In a sixth aspect, there is provided an apparatus comprising: a transceiver, a memory, a processor, and a bus. Wherein the transceiver, the memory and the processor are connected by the bus, the memory is used for storing instructions, the processor is used for executing the instructions stored by the memory to control the transceiver to receive signals and/or transmit signals, and when the processor executes the instructions stored by the memory, the execution causes the processor to execute the method of the second aspect or any possible implementation manner of the second aspect.
In a seventh aspect, a computer-readable storage medium is provided for storing a computer program comprising instructions for performing the first aspect or the method in any possible implementation manner of the first aspect.
In an eighth aspect, there is provided a computer readable storage medium for storing a computer program comprising instructions for performing the method of the second aspect or any possible implementation of the second aspect.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any possible implementation of the first aspect.
A tenth aspect provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the second aspect or the method of any possible implementation of the second aspect.
Drawings
FIG. 1 is a schematic block diagram of an application scenario of one embodiment of the present application.
Fig. 2 shows a schematic flow chart of a method of an embodiment of the present application.
FIG. 3 is a schematic flow chart diagram of a method of one embodiment of the present application.
FIG. 4 is a schematic flow chart diagram of a method of one embodiment of the present application.
Fig. 5 is a schematic block diagram of an apparatus according to an embodiment of the present application.
FIG. 6 is a schematic view of an apparatus according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
FIG. 1 is a schematic block diagram of an application scenario of one embodiment of the present application. As shown in fig. 1, the CP is used to provide live program, that is, the CP is used to import the program to the CMS; a File transfer protocol Server (FTP Server) for placing the program files issued by the content provider; the CMS is used for managing the presentation of the program list in the video service terminal equipment and organizing the program list content for the terminal equipment; database is used to save program listings records.
The following briefly describes a process in which the CMS acquires an XMLTV file describing a certain program from the CP through the FTP Server, and stores the XMLTV file in the database after parsing the XMLTV file. The specific process is as follows: after the CP finishes editing the XMLTV file, uploading the XMLTV file to an FTP server; the CP transmits a Simple Object Access Protocol (SOAP) request message for issuing an XMLTV file to the CMS, the SOAP request message including a path of the XMLTV file on the FTP server; after receiving the SOAP message request, the CMS returns a response; the CMS downloads the XMLTV file according to the path of the XMLTV on the FTP server; the CMS parses the XMLTV file; if the XMLTV records have reference poster pictures, the CMS needs to download the pictures from the FTP server; the CMS updates the program information in the CMS database according to the analyzed program record; the CMS sends the processing result of the XMLTV file to the CP; and after receiving the SOAP message initiated by the CMS, the CP returns a response.
The program list represented by the XMLTV file shown below is composed of 2 channels (channels) and a plurality of program (program) nodes, each of which is composed of a plurality of attribute and child element nodes.
In the existing XMLTV specification, after downloading the XMLTV file from an FTP server, a CMS analyzes the XMLTV file; the CMS queries all programs under a channel from a database; CMS compares the imported programs of the XMLTV file with the differences of each program originally recorded in the database item by item; if the broadcast time of a program changes, the original record needs to be deleted first, and then a new program list record needs to be created. It should be understood that the playout time includes a start time and an end time.
Since the programs have no unique identification field, it can only be determined whether the programs are the same program by three elements, i.e., channel, start time, and end time. If the broadcasting time of a certain program is changed, the program in the database can only be deleted first, and then the program imported by the CP is created in the database.
In the above method, comparing the newly introduced program list with the existing program list in the database one by one to see whether there is a difference between the programs in the existing program list, the CMS processing time is very long, and the CP waits for the response of the completion of the introduction, so that the latest program list record viewed by the terminal user is delayed, which affects the user experience.
Therefore, the embodiment of the application provides a method for updating a program list, which can improve the updating efficiency of the program list.
Fig. 2 shows a schematic flow chart of a method of an embodiment of the present application. As shown in fig. 2, the executing subject of the method may be a CMS system, and the method 200 includes:
Specifically, in step 210, for example, the summary generation process of the target program is as follows: the CMS concatenates all fields in the target program node in the XMLTV into a character string according to a preset order, for example, in JAVA, the target program node may be parsed into an object, and the attribute of the object may be converted into a character string according to a preset order and output.
Using a summarization algorithm (e.g., SHA-256, MD5) to generate a summary of the target program, where the summarization result may be a 2-ary byte array, and optionally, the byte array may be converted into 16-ary characters, for example: "67b55abd13610c8dc02ac73b206b5b8ad579c2cff6f061f2f9e06f2cca7c2d 03".
It should be understood that the preset sequence refers to a splicing sequence of each element field in the program node, and the preset sequence is not limited in this application, and for example, the preset sequence is to splice the following fields in sequence: a broadcast time field, an actor field, a program title field.
In step 210, the target program may be any one of the programs imported by the CP, the target program is a program in the target channel, the programs already existing in the target channel may be stored in the database, and the CMS also generates a corresponding summary of each program in the programs already existing in the target channel and stores each program in the target channel and its summary in the database.
It should be understood that all information fields identifying a target program may be transmitted in a manner other than in the XMLTV specification, such as text transmission by separating the fields of the program by separators (e.g., |), which are not limited in this application.
Therefore, the method provided by the embodiment of the application determines whether to update the program in the target channel by comparing the abstract of the target program with the abstract of each program in the target channel, which is beneficial to improving the efficiency of updating the program list and reducing the occupation of the system resources due to the updating of the program list.
Optionally, as an embodiment of the present application, the determining whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel includes: when the summary of the target program is the same as the summary of an existing program in the target program channel, the program in the target program channel is not updated.
The abstract of each program is a uniquely determined character string generated according to all fields of the program and a preset rule, so that when the abstract of a target program is the same as the abstract of a program existing in a target channel, the target program is proved to be unchanged.
Therefore, the method provided by the embodiment of the application does not need to compare each element field in the program node one by one, and can determine whether the target program needs to be used for updating the program in the target program channel only by comparing whether the existing program abstract and the target program abstract are the same or not.
Optionally, as an embodiment of the present application, the determining whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel includes: and when the abstract of the target program is different from the abstract of each program in the target program channel, updating the programs in the target program channel.
Because the abstract of each program is a uniquely determined character string generated according to all information fields of the program and preset rules, when the abstract of the target program is different from the abstract of one program already existing in the target channel, the target program is proved not to be stored in the database or one or more elements included in the target program node are changed.
Optionally, as an embodiment of the present application, the updating the program in the target program channel includes: and when the broadcasting time interval of the target program has an overlapping part with the broadcasting time interval of the failed program existing in the target channel, replacing the failed program in the target channel with the target program.
Specifically, if the broadcast time of the target program changes, the existing records in the time slot corresponding to the target program need to be deleted, and a record of the target program is created, wherein the record of the target program comprises the information field of the target program.
Optionally, as an embodiment of the present application, before the comparing the summary of the target program with the summary of each program already existing in the target channel, the method further includes: and receiving an information field which is sent by a content provider CP and used for representing the target program, and generating the abstract of the target program according to all the information fields representing the target program and the preset rule.
That is, the CMS needs to receive the information field of the target program sent by the CP, and generate the digest of the target program according to the information field of the target program and the preset rule.
The method of the embodiments of the present application is described below with reference to specific examples. FIG. 3 is a schematic flow chart diagram of a method of one embodiment of the present application. As shown in fig. 3, the method includes:
in step 301, after the CMS downloads the XMLTV file from the FTP server, the CMS parses the XMLTV file.
Step 302, the CMS queries the database for existing summaries of the program listings. It should be understood that, since the byte number of the summary field is much smaller than that of all the information fields of the program, if the memory allows, the summary of the program can be saved in the memory, and the query speed is increased.
Step 303, the CMS calculates the summary of each program in the XMLTV file newly imported this time, and the process of calculating the summary of each program needs to be consistent.
Step 304, comparing the abstract of each program in the newly imported XMLTV file with the abstract of the existing program to determine whether the abstract is the same.
Step 305, if the abstracts are the same, it means that the imported program is repeated and the same, and does not need to be updated. Depending on the operating scenario, more than 80% of the programs can be filtered out at this step.
If the abstracts are different, step 306, a step of comparing the difference between the newly introduced program and the existing program is needed.
Step 307, if the broadcasting time of the program is changed, the existing program record corresponding to the broadcasting time of the program needs to be deleted first, and then a new program record is created.
Specifically, the broadcast time of the program includes a start time and an end time, and the change of the broadcast time of the program means: the start time and the end time of the original program in the database are different from the start time and the end time of the new program in the newly imported XMLTV file. Since the program has no unique identification field, it needs to determine whether it is the same program by channel, start time, end time, and three elements. Specifically, if the broadcast time of a program changes, the existing records in the time slot corresponding to the program need to be deleted, and a record of a newly introduced program needs to be created.
Step 308, if the broadcast time of the program is not changed, other field information of the program may be updated according to the channel, the start time, and the end time, where the other field information includes a program name field, a program description field, a date of production field, and the like, which is not limited in this application.
It should be understood that since the program recording in one channel is plural, steps 4 to 8 need to be performed cyclically.
The CMS may determine whether there is a change in the program by calculating an abstract of the program, storing the abstract in the CMS system, and comparing the abstract with an abstract of a newly introduced program, thereby increasing the processing speed.
Optionally, as an embodiment of the present application, before the comparing the summary of the target program with the summary of each program already existing in the target channel, the method further includes: and receiving a complete information field which is sent by the CP and used for representing the target program, wherein the complete information field of the target program comprises the identification of the target program and the abstract of the target program generated by all information fields of the target program according to the preset rule.
In the XMLTV specification, an identification (id) field and a digest (digest) field are extended in attributes of program. The id field needs to ensure uniqueness, and the id can uniquely identify whether the programs are the same, so that the processing of judging whether the programs are the same through the combination of three elements, namely a channel, the program starting time and the program ending time is simplified. The digest field of a certain program is calculated by the CP according to all the information fields of the program, and the generation algorithm of the digest is not limited in the present application.
Therefore, in the embodiment of the application, by extending the program ID and the Digest field in the attribute of the program, the newly introduced repeated program can be quickly eliminated, and the speed of issuing the program by the CMS is increased.
Optionally, as another embodiment of the present application, the determining whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel includes: determining whether the target program is a program already existing in the target channel according to the identifier of the target program; if the target program is not the program already existing in the target channel, saving an information field of the target program; and if the target program is the program already existing in the target channel, comparing the abstract of the target program with the abstract of the program already existing in the target channel.
Specifically, if the program is modified, the newly introduced program is the same as the already existing program id, that is, the newly introduced program and some already existing program are the same program. Therefore, the CMS may further compare the digest to determine whether the program has been modified. If the digest values are different, the parameter value of the program is changed, otherwise, the parameter value of the program is not changed.
If the id of the newly introduced program is different from the id of any existing program, it indicates that the CP introduces the new program in the XMLTV file, and the CMS directly creates and saves the new program.
The program list represented by the XMLTV file shown below is composed of 2 channels (channels) and a plurality of program (program) nodes, each of which is composed of a plurality of attribute and child element nodes. The program node includes an id field, for example, id ═ 287547", and a summary field, for example, a summary field
The method of the embodiments of the present application is described below with reference to specific examples. Fig. 4 is a schematic flow chart of a method of one embodiment of the present application, as shown in fig. 4, the method comprising:
in step 401, after the CMS downloads the XMLTV file from the FTP server, the CMS parses the XMLTV file.
Step 402, the CMS queries the existing program record in the database according to the id of the newly imported program in the XMLTV file. Optionally, since the number of bytes of the program id field is small, if the memory allows, the id record can be saved in the memory, so as to speed up the query.
Step 403, if the program id exists, comparing the digest of the newly introduced program with the digest of the original program. If id does not exist, jump directly to step 407.
In step 404, if the existing program digests of the newly introduced program digest are the same, this indicates that the introduced program record is repeatedly the same and does not need to be updated. Depending on the operating scenario, more than 80% of the program listings can be filtered out at this step.
In step 405, if the existing program summaries of the newly introduced program summary are not the same, the information of the program may be updated to the database according to the program id.
Step 406, if the id does not exist, it indicates that the imported program list is a new program list record, and the new program list record is directly created and stored in the database.
It should be understood that if the program imported by the CP is recorded in a plurality of pieces, steps 403 to 706 need to be performed in a loop.
Fig. 5 is a schematic block diagram of an apparatus 500 according to an embodiment of the present invention. It is understood that the device 500 is capable of performing the various steps performed by the CMS in the methods of fig. 2-4, and will not be described in detail herein to avoid repetition. The network device 500 includes:
the processing module 510 is configured to compare the digest of the target program with the digest of each program already existing in the target channel, where the digest of the program is a unique identifier generated according to a preset rule by an information field indicating the program, and the target program belongs to the program in the target channel;
the processing module 510 is further configured to determine whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel.
It is to be understood that the actions performed by the processing module 510 may be performed by a processor, and the actions performed by the communication module 520 may be performed by a transceiver under the control of the processor.
Therefore, the method provided by the embodiment of the application determines whether to update the program in the target channel by comparing the abstract of the target program with the abstract of each program in the target channel, which is beneficial to improving the efficiency of updating the program list and reducing the occupation of the system resources due to the updating of the program list.
Fig. 6 is a schematic block diagram of an apparatus according to an embodiment of the present invention. Fig. 6 illustrates an apparatus 600 provided by an embodiment of the present invention. It is understood that the apparatus 600 is capable of performing the various steps performed by the CMS in the methods of fig. 2-4, and will not be described in detail herein to avoid repetition. The apparatus 600 comprises:
a memory 610 for storing programs;
a transceiver 620 for communicating with other devices;
a processor 630, configured to execute the program in the memory 610, wherein the processor 630 is connected to the memory 610 and the transceiver 620, respectively, and configured to execute the instructions stored in the memory 610, so as to perform the following steps when executing the instructions:
the processor 630 is configured to obtain access network information of the terminal device through the transceiver 620, where the terminal device is in an idle state or an inactive state; and sending the context information of the terminal equipment to access network equipment according to the access network information.
It is to be understood that the apparatus 600 may be embodied as the CMS in the foregoing embodiment, and may be configured to perform each step and/or flow corresponding to the first terminal device in the foregoing method embodiment.
Therefore, the method provided by the embodiment of the application determines whether to update the program in the target channel by comparing the abstract of the target program with the abstract of each program in the target channel, which is beneficial to improving the efficiency of updating the program list and reducing the occupation of the system resources due to the updating of the program list.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for updating a program guide, comprising:
receiving a complete information field which is sent by a Content Provider (CP) and used for representing a target program, wherein the complete information field of the target program comprises an identifier of the target program and a summary of the target program generated by all information fields of the target program according to a preset rule;
comparing the abstract of the target program with the abstract of each existing program in a target channel, wherein the abstract of the program is a unique identifier generated by all information fields representing the program according to the preset rule, and the target program belongs to the program in the target channel;
and determining whether to update the programs in the target channel according to the comparison result of the abstract of the target program and the abstract of each program in the target channel.
2. The method of claim 1, wherein determining whether to update the program in the target channel according to the comparison of the summary of the target program and the summary of each program in the target channel comprises:
when the summary of the target program is the same as the summary of an existing program in the target program channel, the program in the target program channel is not updated.
3. The method according to claim 1 or 2, wherein the determining whether to update the program in the target channel according to the comparison result of the summary of the target program and the summary of each program in the target channel comprises:
and when the abstract of the target program is different from the abstract of each program in the target program channel, updating the programs in the target program channel.
4. The method of claim 3, wherein said updating the program in the target program channel comprises:
and when the broadcasting time interval of the target program has an overlapping part with the broadcasting time interval of the failed program existing in the target channel, replacing the failed program in the target channel with the target program.
5. The method of claim 1, wherein determining whether to update the program in the target channel according to the comparison of the summary of the target program and the summary of each program in the target channel comprises:
determining whether the target program is a program already existing in the target channel according to the identifier of the target program;
if the target program is not the program already existing in the target channel, saving an information field of the target program;
and if the target program is the program already existing in the target channel, comparing the abstract of the target program with the abstract of the program already existing in the target channel.
6. An apparatus comprising a communication module and a processing module, wherein,
the communication module is used for receiving a complete information field which is sent by a Content Provider (CP) and used for representing a target program, wherein the complete information field of the target program comprises an identifier of the target program and a summary of the target program, which is generated by all information fields of the target program according to a preset rule;
the processing module is used for comparing the abstract of the target program with the abstract of each existing program in a target channel, wherein the abstract of the program is a unique identifier generated by all information fields representing the program according to the preset rule, and the target program belongs to the program in the target channel;
the processing module is further configured to determine whether to update the program in the target channel according to a comparison result between the summary of the target program and the summary of each program in the target channel.
7. The device of claim 6, wherein the processing module is specifically configured to:
when the summary of the target program is the same as the summary of an existing program in the target program channel, the program in the target program channel is not updated.
8. The device according to claim 6 or 7, wherein the processing module is specifically configured to:
and when the abstract of the target program is different from the abstract of each program in the target program channel, updating the programs in the target program channel.
9. The device of claim 8, wherein the processing module is specifically configured to:
and when the broadcasting time interval of the target program has an overlapping part with the broadcasting time interval of the failed program existing in the target channel, replacing the failed program in the target channel with the target program.
10. The device of claim 6, wherein the processing module is specifically configured to:
determining whether the target program is a program already existing in the target channel according to the identifier of the target program;
if the target program is not the program already existing in the target channel, saving an information field of the target program;
and if the target program is the program already existing in the target channel, comparing the abstract of the target program with the abstract of the program already existing in the target channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710202236.7A CN107040801B (en) | 2017-03-30 | 2017-03-30 | Method and apparatus for updating program list |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710202236.7A CN107040801B (en) | 2017-03-30 | 2017-03-30 | Method and apparatus for updating program list |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107040801A CN107040801A (en) | 2017-08-11 |
CN107040801B true CN107040801B (en) | 2021-10-15 |
Family
ID=59534375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710202236.7A Active CN107040801B (en) | 2017-03-30 | 2017-03-30 | Method and apparatus for updating program list |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107040801B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082939A (en) * | 2009-11-30 | 2011-06-01 | 鸿富锦精密工业(深圳)有限公司 | Television and automatic updating method of program list thereof |
CN102724436A (en) * | 2011-05-06 | 2012-10-10 | 新奥特(北京)视频技术有限公司 | Method for updating caption list |
CN103098487A (en) * | 2010-06-04 | 2013-05-08 | 株式会社Ntt都科摩 | Broadcast content transmitting device, and broadcast content receiving device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413367A (en) * | 2011-11-04 | 2012-04-11 | 深圳市同洲电子股份有限公司 | Method and device for dynamically updating program recording list |
CN104902296B (en) * | 2015-05-20 | 2018-08-24 | 无锡天脉聚源传媒科技有限公司 | A kind of update method and device of programme |
CN105828200A (en) * | 2016-03-22 | 2016-08-03 | 乐视网信息技术(北京)股份有限公司 | Program menu updating method and device |
-
2017
- 2017-03-30 CN CN201710202236.7A patent/CN107040801B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082939A (en) * | 2009-11-30 | 2011-06-01 | 鸿富锦精密工业(深圳)有限公司 | Television and automatic updating method of program list thereof |
CN103098487A (en) * | 2010-06-04 | 2013-05-08 | 株式会社Ntt都科摩 | Broadcast content transmitting device, and broadcast content receiving device |
CN102724436A (en) * | 2011-05-06 | 2012-10-10 | 新奥特(北京)视频技术有限公司 | Method for updating caption list |
Also Published As
Publication number | Publication date |
---|---|
CN107040801A (en) | 2017-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200245021A1 (en) | Reception apparatus, reception method, program, and information processing system | |
CN103583008B (en) | To the expansion of the trigger parameter list for interactive television | |
CN103650525B (en) | Method, system and equipment for the extension of the trigger parameter table of interactive television | |
US9769526B2 (en) | Transmission and reception apparatuses, methods, and systems for filtering content | |
KR102057107B1 (en) | Receiving device, receiving method, program, and information processing system | |
JP5298626B2 (en) | Network system, network home appliance, content / metadata synchronization processing method, and computer program | |
CN101242356B (en) | Realization method and IPTV system for memory database in IPTV system | |
US7606255B2 (en) | Selectively receiving broadcast data according to one of multiple data configurations | |
US20140250243A1 (en) | System and Methods for Facilitating the Synchronization of Data | |
US20120317136A1 (en) | Systems and methods for domain-specific tokenization | |
US20120079419A1 (en) | Gui processing apparatus, gui processing method and gui processing program | |
JP2007074724A (en) | Method and apparatus for synchronizing epg information between server and client in digital broadcasting network | |
US20080126373A1 (en) | Structured data receiving apparatus, receiving method, reviving program, transmitting apparatus, and transmitting method | |
CN102917258A (en) | Video playing method, terminal and system based on video contents | |
US20040131020A1 (en) | Enabling broadcast of multiple data configurations | |
US9298601B2 (en) | Conditional processing method and apparatus | |
KR20070118608A (en) | System and method for providing rss content in a broadcast system | |
KR20190058141A (en) | Method for generating data extracted from document and apparatus thereof | |
MX2014012335A (en) | Method and system for uniformly marking and identifying placement opportunity locations for facilitating accelerated decision resolution. | |
CN103686209A (en) | Transcoding and processing method and system with diverse mechanisms | |
CN107040801B (en) | Method and apparatus for updating program list | |
US20150293914A1 (en) | Multimedia information processing method, multimedia apparatus, and multimedia network system | |
CN115795212A (en) | Page display method and device, electronic equipment and storage medium | |
CN114996554A (en) | Database query method and device, storage medium and electronic equipment | |
WO2015161582A1 (en) | Method and device for processing message of iptv |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200123 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd. Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing Applicant before: Huawei Technologies Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |