WO2016065705A1 - Channel list updating method and apparatus, and terminal device - Google Patents

Channel list updating method and apparatus, and terminal device Download PDF

Info

Publication number
WO2016065705A1
WO2016065705A1 PCT/CN2014/094080 CN2014094080W WO2016065705A1 WO 2016065705 A1 WO2016065705 A1 WO 2016065705A1 CN 2014094080 W CN2014094080 W CN 2014094080W WO 2016065705 A1 WO2016065705 A1 WO 2016065705A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel list
latest
version information
information
server
Prior art date
Application number
PCT/CN2014/094080
Other languages
French (fr)
Chinese (zh)
Inventor
林铠鹏
江楚发
赵秦田
张磊
Original Assignee
深圳国微技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳国微技术有限公司 filed Critical 深圳国微技术有限公司
Publication of WO2016065705A1 publication Critical patent/WO2016065705A1/en

Links

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/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • H04N21/8402Generation or processing of descriptive data, e.g. content descriptors involving a version number, e.g. version number of EPG data

Definitions

  • the invention belongs to the field of television, and in particular relates to a channel list updating method, device and terminal device.
  • Existing TV solutions mainly include Internet TV solutions and broadcast TV solutions.
  • Internet TV client software can be described as numerous.
  • Internet TV operators mostly do not have their own video sources. Different Internet TV operators will customize the video source of the access content provider in the Internet TV client. , to form their own unique channel list program. That is, only a virtual Internet TV operator to customize the channel list, there is no smart solution to uniformly manage the naming and sorting of different Internet TV operator channel list data.
  • the channel list update when updating the channel list, the channel list update must be implemented by updating the client software or re-searching, and the update time generally takes several minutes and takes a long time.
  • the embodiment of the invention provides a channel list updating method, which aims to solve the problem that the existing channel list updating method is cumbersome and time consuming.
  • a channel list updating method includes the following steps:
  • the present invention provides another channel list update method, characterized in that the method comprises the following steps:
  • the latest channel list information found is returned to the terminal device.
  • the present invention provides a channel list update method, characterized in that the method comprises the following steps:
  • the terminal device receives the channel list update command
  • the server receives the latest channel list version information acquisition request sent by the terminal device, and obtains the latest channel list version information in the channel list data according to the latest channel list version information acquisition request;
  • the server returns the latest channel list version information that is found to the terminal device
  • the server returns the latest channel list information found to the terminal device
  • the terminal device receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
  • the present invention provides a device for updating a channel list of a terminal device, wherein the device includes:
  • a channel list data obtaining unit configured to acquire previous channel list data, and save the channel list data to a local memory
  • a command entry unit for receiving a channel list update command
  • a channel list version information requesting unit configured to send, according to the channel list update command, a latest channel list version information acquisition request to the server;
  • a channel list version information receiving unit configured to receive the latest channel list version information returned by the server, and determine whether the latest channel list version information is new to the previous channel list version information
  • a channel list information requesting unit configured to send an latest channel list information obtaining request to the server when determining that the latest channel list version information is new to the previous channel list version information
  • the channel list update unit is configured to receive the latest channel list information returned by the server, and update the previous channel list according to the latest channel list information.
  • An embodiment of the present invention provides a server channel list update device, where the device includes:
  • a channel list data obtaining unit configured to acquire channel list data and save to a database
  • a channel list version information obtaining request processing unit configured to receive a latest channel list version information acquisition request sent by the terminal device, and obtain the latest channel list version information in the channel list data according to the latest channel list version information obtaining request;
  • the latest channel list version information returning unit is configured to return the latest channel list version information that is found to the terminal device;
  • a channel list obtaining request processing unit configured to receive an latest channel list information obtaining request sent by the terminal device, and obtain the latest channel list information in the channel list data according to the latest channel list information obtaining request;
  • the latest channel list returning unit is configured to return the latest channel list information that is found to the terminal device.
  • the present invention further provides a terminal device, wherein the terminal device includes a terminal device channel list update device,
  • the channel list update device includes:
  • a channel list data obtaining unit configured to acquire previous channel list data, and save the channel list data to a local memory
  • a command entry unit for receiving a channel list update command
  • a channel list version information requesting unit configured to send, according to the channel list update command, a latest channel list version information acquisition request to the server;
  • a channel list version information receiving unit configured to receive the latest channel list version information returned by the server, and determine whether the latest channel list version information is new to the previous channel list version information
  • a channel list information requesting unit configured to send an latest channel list information obtaining request to the server when determining that the latest channel list version information is new to the previous channel list version information
  • the channel list update unit receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
  • the latest channel list version information obtaining request and the latest channel list information obtaining request are sent to the server, the latest channel list information of the operator is obtained from the server, and the channel list is updated according to the latest channel list information, without updating the client software. Or re-searching, it takes a short time, reducing the channel list update time.
  • FIG. 1 is a network environment diagram of a channel list update method applicable to an embodiment of the present invention
  • FIG. 2 is a flowchart of implementing a channel list update method according to Embodiment 1 of the present invention
  • FIG. 3 is a timing chart of data flow in a channel list update method according to Embodiments 1, 3, and 5 of the present invention.
  • FIG. 4 is a flowchart of implementing a channel list update method according to Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of an implementation process of a channel list update method according to Embodiment 3 of the present invention.
  • FIG. 6 is a flowchart of a channel list update method according to Embodiment 4 of the present invention.
  • FIG. 7 is a flowchart of an implementation process of a channel list update method according to Embodiment 5 of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal device channel list updating apparatus according to Embodiment 6 of the present invention.
  • FIG. 9 is a structural diagram of a server channel list update apparatus according to Embodiment 7 of the present invention.
  • FIG. 10 is a structural diagram of a terminal device according to Embodiment 8 of the present invention.
  • the channel list update method provided by the embodiment of the present invention can directly update the channel list by obtaining the channel information of the latest version of the corresponding operator from the server, without updating the client software or re-searching the station, and the time is short, and the channel list update is reduced. time.
  • FIG. 1 shows a network environment suitable for a channel list update method of an embodiment of the present invention.
  • the terminal device is connected to the television network through a dongle (conditional receiver), and obtains a television signal from the television network and plays it.
  • a dongle condition receiver
  • the terminal device may be a smart terminal device, such as a computer, a smart television, a smart set top box, a smart phone, etc., on which an application system and an application program may be installed.
  • a smart terminal device such as a computer, a smart television, a smart set top box, a smart phone, etc., on which an application system and an application program may be installed.
  • the terminal device also communicates with the server through a wired or wireless network.
  • the server may be an Apache server on which the channel list data of the television operator is stored.
  • the channel list data includes channel list identification information and a corresponding channel list, which are stored in the server in a key value mapping manner.
  • the channel list identification information is written in the key, and the channel list is written in the corresponding value.
  • Table 1 Key-value mapping of channel list data Key Value Shenzhen Radio and Television, sz2014001 Channel list 1 Guangzhou Radio and Television, gz2013020 Channel list 2 Guangdong Radio and Television, gd2014015 Channel list 3
  • the channel list data includes channel list identification information and corresponding channel list change attribute information, which are stored in the server in a key value mapping manner.
  • the channel list identification information is written in the key, and the channel list change attribute information is written in the corresponding value.
  • the channel list identification information includes operator information and latest channel list version information corresponding to the operator information.
  • the operator information is information such as an operator name, an operator code, and the like that has a unique identifier of the operator.
  • Table 2 Key-value mapping of channel list data Key Value Shenzhen Radio and Television, sz2014001 Channel list change attribute information 1 Guangzhou Radio and Television, gz2013020 Channel list change attribute information 2 Guangdong Radio and Television, gd2014015 Channel list change attribute information 3
  • FIG. 2 is a flowchart showing an implementation of a channel list update method according to Embodiment 1 of the present invention
  • FIG. 3 is a timing diagram of data flow direction in the foregoing method.
  • Step S110 receiving a channel list update command.
  • the channel list update command may be automatically generated by the terminal device, such as automatically generating a channel list update command after the user manually searches for a station or automatically searching for a station, and automatically generating a channel list update after the terminal device re-establishes a network connection with the server.
  • the channel list update command is automatically generated; or the user enters the command, for example, the user directly inputs the channel list update command by operating the button or the like on the terminal device.
  • Step S120 Send an latest channel list version information acquisition request to the server according to the channel list update command.
  • the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
  • the latest channel list version information acquisition request carries a conditional receiver identifier, which is bound to the operator.
  • the terminal device when the channel list switching procedure on the terminal device is started for the first time, the terminal device sends a conditional receiver identifier to the server, requesting the server to authenticate the authority of the conditional receiver, and when the server determines that the conditional receiver is successfully authenticated, After returning the determination result to the terminal device, the terminal device further intelligently identifies the operator by manually selecting the operator or according to the connected television network or the previous channel list, and sends the operator information to the server, notifying the server of the conditional receiver identifier and the Carrier binding. In this way, the latest channel list version information acquisition request sent to the server next time does not need to carry the carrier information, and only carries the conditional receiver identifier that has been bound to the operator. That's it.
  • the latest channel list version information acquisition request is sent to the server by sending an HTTP request.
  • Step S130 receiving the latest channel list version information returned by the server, and determining whether the latest channel list version information is new to the previous channel list version information. If the determination result is yes, the process proceeds to step S140, and if the determination result is no, The process ends.
  • the channel list version information may be a string formed by a combination of letters, numbers, or letters and numbers, and the arrangement of the string follows a certain rule, such as specifying a channel of the first version of an operator.
  • the channel list version information corresponding to the list is v.s1.0.a
  • the channel list version information corresponding to the channel list of the second version is v.s1.0.b
  • the third version of the channel list corresponds to
  • the channel list version information is v.s1.0.c.
  • step S140 the latest channel list information acquisition request is sent to the server.
  • the channel list acquisition information request is sent to the server by sending an HTTP request.
  • the latest channel list information is a latest channel list.
  • the latest channel list information is channel list change attribute information.
  • the channel list change attribute information includes a channel object, an operation instruction, a channel name, and a channel number.
  • each pair of previous channel lists is modified to generate a channel object, and each channel object is separately recorded.
  • the operation instruction is a command string for operating the previous channel list, including adding, deleting, and/or modifying, which can be understood in other implementations of the present invention.
  • the operation instructions may also include an order, a hot, and the like.
  • the operation instruction is a command string
  • the operation instruction can be extended according to the actual situation, and the new function or the value-added service can be added by expanding the operation instruction, which can be controlled and controlled, and, in addition, due to the operation instruction Scalable, easy to integrate, and easy to add richer instruction content.
  • Step S150 Receive the latest channel list information returned by the server, and update the previous channel list according to the latest channel list information.
  • the channel list information returned by the server is received by the download mode.
  • the channel list is updated according to the latest channel list information by replacing the previous channel list with the latest channel list. Since the channel list is updated by directly replacing the channel list, the new channel list is directly written, which is time-consuming compared with the prior art, which requires a few minutes to update the channel list by searching or updating the client software. Saves channel list update time.
  • the channel list is updated according to the latest channel list information, and the attribute information is changed to the previous channel according to the channel list.
  • the changes in the list are updated.
  • the channel list change attribute information is as shown in the following table:
  • Table 3 Channel list change attribute information Channel object Operational instruction Channel name Channel number Object 1 increase Shenzhen Satellite TV 6 Object 2 delete Longgang Satellite TV 12 Object 3 modify Central set 8
  • the channel list change attribute information is sequentially read, and the previous channel list is updated according to the content of the channel object. Since the change of the attribute information in the previous channel list is only updated according to the channel list change attribute information, the updated data is significantly reduced, and it takes several minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
  • the server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server.
  • the latest channel list information is the latest channel list
  • the new channel list is directly written.
  • the latest channel list information is the channel list change attribute information
  • Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
  • FIG. 4 is a flowchart of the implementation of the channel list update method according to the second embodiment of the present invention, which is similar to the first embodiment, except that before step S110, the method further includes:
  • step S210 the previous channel list data is acquired and saved.
  • the previous channel list data is the basic data of the channel list update method of the present invention.
  • the previous channel list data is obtained by parsing from the broadcasting network by DVB-C (Digital Cable Television System Standard).
  • the previous channel list data is saved by updating the latest channel list version information and the latest channel list returned by the server in the channel list update method provided in the first embodiment. acquired.
  • step S130 the method further includes:
  • step S220 when the result of the determination in step S130 is YES, the version information of the previous channel list is deleted. Deleting the previous channel list version information frees up storage space.
  • step S150 the method further includes:
  • step S230 the previous channel list is deleted. Deleting the previous channel list frees up storage space.
  • the channel list update method of the embodiment in addition to sending the latest channel list version information acquisition request and the latest channel list acquisition request to the server, directly obtaining the information channel list from the server, thereby realizing that the channel list update takes a short time, and The latest channel list version information and the latest channel list are saved as the previous channel list data at the time of the next channel list update, and the storage space is released by deleting the previous channel list version information and the previous channel list.
  • FIG. 5 is a flowchart showing an implementation of a channel list update method according to Embodiment 3 of the present invention
  • FIG. 3 is a timing diagram of data flow direction in the foregoing method.
  • Step S310 receiving the latest channel list version information acquisition request sent by the terminal device, and searching for the latest channel list version information in the channel list data according to the latest channel list version information acquisition request.
  • the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
  • the latest channel list version information is found in the channel list data by the following steps:
  • the key value in the channel list data key value map stored in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched for.
  • the latest channel list version information acquisition request carries the conditional receiver identifier, and the conditional receiver identifier is bound to the operator. At this time, the latest channel list is found in the channel list data by the following steps. Version Information:
  • the key value in the channel list data key value mapping in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched.
  • Step S320 returning the latest channel list version information that is found to the terminal device.
  • Step S330 receiving an latest channel list information acquisition request sent by the terminal device, and searching for the latest channel list information in the channel list data according to the latest channel list information acquisition request.
  • the latest channel list information is found at the value corresponding to the latest channel list version information key value.
  • Step S340 returning the latest channel list information that is found to the terminal device.
  • the server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server.
  • the latest channel list information is the latest channel list
  • the new channel list is directly written.
  • the latest channel list information is the channel list change attribute information
  • Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
  • FIG. 6 is a flowchart of a channel list update method according to Embodiment 4 of the present invention, which is similar to the third embodiment, except that before step S310, the method further includes:
  • step S410 the channel list data is acquired and saved.
  • the channel list data is directly obtained from the cloud.
  • the channel list data is obtained by integrating the channel information of a large number of TV operators obtained by the cloud through cloud technologies such as data mining through service integration.
  • the channel information includes a channel name, PF (Present) Forward, current program and next program) information, channel type (television program, audio broadcast), encryption type, etc.
  • the service integration is to organize the channel information of each operator to obtain a channel list key value mapping process.
  • the data captured from the cloud is already the authoritative data of each TV portal. Therefore, the name and order will be based on the cloud data.
  • the server will process the data into a carrier classification, and the corresponding data will be persisted to the database for the terminal.
  • the device requests access.
  • the server periodically acquires channel information of the TV operator in the cloud and integrates the service.
  • the channel list identification information and the corresponding new version of the channel are generated.
  • the list or channel list identification information and the channel list change attribute information corresponding thereto are saved to the server by replacing the channel list identification information of the old version in the channel list key mapping and the channel list corresponding thereto.
  • the latest channel list information acquisition request sent by the device directly returns the latest channel list information to the terminal device, so that the terminal implements the channel list update according to the latest channel list information, and directly writes the new channel list information when the latest channel list information is the latest channel list information.
  • the channel list when the latest channel list information is the channel list change attribute information, only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention and the prior art are adopted. It takes a few minutes to search or update the client software update channel list, which saves time and saves channel list update time.
  • FIG. 7 is a flowchart showing an implementation of a channel list update method according to Embodiment 5 of the present invention
  • FIG. 3 is a schematic diagram of data flow timing in the foregoing method.
  • Step S510 the terminal device receives the channel list update command.
  • the channel list update command may be automatically generated by the terminal device, such as automatically generating a channel list update command after the user manually searches for a station or automatically searching for a station, and automatically generating a channel list update after the terminal device re-establishes a network connection with the server.
  • the channel list update command is automatically generated; or the user enters the command, for example, the user directly inputs the channel list update command by operating the button or the like on the terminal device.
  • Step S520 The terminal device sends the latest channel list version information acquisition request to the server according to the channel list update command.
  • the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
  • the latest channel list version information acquisition request carries a conditional receiver identifier, which is bound to the operator.
  • the terminal device when the channel list switching procedure on the terminal device is started for the first time, the terminal device sends a conditional receiver identifier to the server, requesting the server to authenticate the authority of the dongle, and when the server determines that the dongle authentication is successful, and determines the result.
  • the terminal device further intelligently identifies the operator by manually selecting the operator or according to the connected television network or the previous channel list, and sends the operator information to the server, notifying the server that the conditional receiver identifier is tied to the operator. set. In this way, when the channel list data related to the operator is requested again, the latest channel list version information acquisition request sent to the server does not need to carry the operator information, and only carries the conditional receiver identifier that has been bound to the operator. That's it.
  • the operator information may be information such as an operator name, an operator code, and the like having an operator unique identifier.
  • the latest channel list version information acquisition request is sent to the server by sending an HTTP request.
  • Step S530 the server receives the latest channel list version information acquisition request sent by the terminal device, and obtains the latest channel list version information in the channel list data according to the latest channel list version information acquisition request.
  • the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
  • the latest channel list version information is found in the channel list data by the following steps:
  • the key value in the channel list data key value map stored in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched for.
  • the latest channel list version information acquisition request carries the conditional receiver identifier, and the conditional receiver identifier is bound to the operator. At this time, the latest channel list is found in the channel list data by the following steps. Version Information:
  • the key value in the channel list data key value mapping in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched.
  • step S540 the server returns the latest channel list version information that is found to the terminal device.
  • step S550 the terminal device receives the latest channel list version information returned by the server, and determines whether the latest channel list version information is new to the previous channel list version information. If the determination result is yes, the process proceeds to step S560, and if the determination result is no. , the process ends.
  • the channel list version information may be a string formed by a combination of letters, numbers, or letters and numbers, and the arrangement of the string follows a certain rule, such as specifying a channel of the first version of an operator.
  • the channel list version information corresponding to the list is v.s1.0.a
  • the channel list version information corresponding to the channel list of the second version is v.s1.0.b
  • the third version of the channel list corresponds to
  • the channel list version information is v.s1.0.c.
  • Step S560 the terminal device sends the latest channel list information acquisition request to the server.
  • the channel list acquisition request is sent to the server by sending an HTTP request.
  • the latest channel list information is a latest channel list.
  • the latest channel list information is channel list change attribute information.
  • the channel list change attribute information includes a channel object, an operation instruction, a channel name, and a channel number.
  • each pair of previous channel lists is modified to generate a channel object, and each channel object is separately recorded.
  • the operation instruction is a command string for operating the previous channel list, including adding, deleting, and/or modifying, which can be understood in other implementations of the present invention.
  • the operation instructions may also include an order, a hot, and the like.
  • the operation instruction is a command string
  • the operation instruction can be extended according to the actual situation, and the new function or the value-added service can be added by expanding the operation instruction, which can be controlled and controlled, and, in addition, due to the operation instruction Scalable, easy to integrate, and easy to add richer instruction content.
  • Step S570 the server receives the latest channel list information acquisition request sent by the terminal device, and searches for the latest channel list information according to the latest channel list information acquisition request.
  • the operator information carried in the request is obtained according to the latest channel list or the conditional receiver identifier bound to the operator information, and the channel list key value mapping is traversed to find the information with the operator or the operator information.
  • the bound conditional receiver identifies the corresponding latest channel list.
  • Step S580 the server returns the latest channel list information that is found to the terminal device.
  • Step S590 the terminal device receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
  • the channel list information returned by the server is received by the download mode.
  • the channel list is updated according to the latest channel list information by replacing the previous channel list with the latest channel list.
  • the channel list is updated according to the latest channel list information, and the attribute information is changed to the previous channel according to the channel list.
  • the changes in the list are updated.
  • the channel list change attribute information is as shown in Table 3.
  • the channel list change attribute information is sequentially read, and the previous channel list is updated according to the content of the channel object.
  • the server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server.
  • the latest channel list information is the latest channel list
  • the new channel list is directly written.
  • the latest channel list information is the channel list change attribute information
  • Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
  • FIG. 8 is a diagram showing the structure of a terminal device channel list updating apparatus 10 according to Embodiment 6 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the device may be a software unit, a hardware unit or a unit of a soft and hard combination of the terminal device.
  • the terminal device channel list updating device 10 includes:
  • the channel list data obtaining unit 11 acquires the previous channel list data, and saves the channel list data to the local memory 12;
  • the command entry unit 13 receives the channel list update command
  • the channel list version information requesting unit 14 sends the latest channel list version information acquisition request to the server according to the channel list update command;
  • the channel list version information receiving unit 15 receives the latest channel list version information returned by the server, and determines whether the latest channel list version information is new to the previous channel list version information;
  • the channel list requesting unit 16 sends a latest channel list acquisition request to the server when it is determined that the latest channel list version information is new to the previous channel list version information;
  • the channel list updating unit 17 receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
  • the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
  • the latest channel list version information acquisition request carries the conditional receiver identifier bound to the operator.
  • the channel list version information receiving unit 15 further includes a version information determining unit 151, configured to determine whether the latest channel list version information is newer than the previous channel list version information.
  • the channel list updating unit 17 is a list replacing unit, and the method for updating the channel list according to the latest channel list information is to use the latest channel.
  • the list replaces the previous channel list;
  • the channel list update unit 17 is a change attribute update unit for updating the channel list according to the latest channel list information. In order to change the attribute information according to the channel list, the change in the previous channel list is updated.
  • the server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server.
  • the latest channel list information is the latest channel list
  • the new channel list is directly written.
  • the latest channel list information is the channel list change attribute information
  • Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
  • FIG. 9 shows the structure of the server channel list updating apparatus 20 provided in the seventh embodiment of the present invention.
  • the device may be a software unit, a hardware unit or a unit of a hard and soft combination of the server.
  • the server channel list update device 20 includes:
  • the channel list version information acquisition request processing unit 23 is configured to receive the latest channel list version information acquisition request sent by the terminal device, and obtain the latest channel list version information in the channel list data according to the latest channel list version information acquisition request;
  • the latest channel list version information returning unit 24 is configured to return the latest channel list version information that is found to the terminal device;
  • the channel list obtaining request processing unit 25 is configured to receive an latest channel list information obtaining request sent by the terminal device, and obtain the latest channel list information in the channel list data according to the latest channel list information obtaining request;
  • the latest channel list returning unit 26 is configured to return the latest channel list information that is found to the terminal device.
  • the latest channel list version information obtained by the terminal device is requested to return the latest channel list version information of the operator to the terminal device, and the terminal device is provided with the latest channel list version information.
  • the data base of the channel list version information is directly returned to the terminal device according to the latest channel list information acquisition request sent by the terminal device, and when the latest channel list information is the latest channel list, the new channel list is directly written.
  • the latest channel list information is the channel list change attribute information
  • only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention and the prior art are searched or updated.
  • the client software update channel list takes a few minutes compared to the time-consuming, saving channel list update time.
  • FIG. 10 shows the structure of a terminal device according to Embodiment 8 of the present invention.
  • the terminal device may be a software unit, a hardware unit or a unit of a soft and hard combination of the server.
  • the terminal includes:
  • the terminal device channel list updating device 10 is connected to the communication interface 30 and includes:
  • the channel list data obtaining unit 11 acquires the previous channel list data, and saves the channel list data to the local memory 12;
  • the command entry unit 13 receives the channel list update command
  • the channel list version information requesting unit 14 sends the latest channel list version information acquisition request to the server according to the channel list update command;
  • the channel list version information receiving unit 15 receives the latest channel list version information returned by the server, and determines whether the latest channel list version information is new to the previous channel list version information;
  • the channel list requesting unit 16 sends a latest channel list acquisition request to the server when it is determined that the latest channel list version information is new to the previous channel list version information;
  • the channel list updating unit 17 receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
  • the input device 40 is connected to the communication interface 30, receives a play command of the user, and transmits it to the communication interface 30.
  • the input device 40 includes, but is not limited to, a button, a mouse, a keyboard remote controller, and the like.
  • the output device 50 is connected to the communication interface 30, and receives the channel list transmitted by the communication device interface 30 and updated by the terminal device channel list updating device 10, and outputs it.
  • the output device 50 includes, but is not limited to, a player, a display screen, a speaker, and the like.
  • the channel list update method provided by the embodiment of the present invention and the prior art require a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.

Abstract

Provided is a channel list updating method, which is applicable to the field of televisions. The method includes the following steps: receiving a channel list updating command; sending a newest channel list version information acquisition request to a server according to the received channel list updating command; receiving newest channel list version information returned by the server, and judging whether the newest channel list version information is newer than previous channel list version information; when it is judged that the newest channel list version information is newer than the previous channel list version information, sending a newest channel list information acquisition request to the server; and receiving newest channel list information returned by the server, and updating a previous channel list according to the newest channel list information. The channel list updating method in the present invention consumes little time, and shortens channel list updating time.

Description

一种频道列表更新方法、装置及终端设备  Channel list updating method, device and terminal device 技术领域Technical field
本发明属于电视领域,尤其涉及一种频道列表更新方法、装置及终端设备。 The invention belongs to the field of television, and in particular relates to a channel list updating method, device and terminal device.
背景技术Background technique
现有的电视解决方案主要包括互联网电视解决方案和广播电视解决方案。Existing TV solutions mainly include Internet TV solutions and broadcast TV solutions.
互联网电视解决方案中,互联网电视客户端软件可谓不计其数,互联网电视运营商大多没有自己的视频源,不同的互联网电视运营商会对接入内容提供商的视频源在互联网电视客户端做定制开发,形成自己唯一的一套频道列表方案。即仅仅针对某个虚拟的互联网电视运营商来进行频道列表的定制归划,没有一种智能方案来统一管理不同互联网电视运营商频道列表数据的命名、排序。Among the Internet TV solutions, Internet TV client software can be described as numerous. Internet TV operators mostly do not have their own video sources. Different Internet TV operators will customize the video source of the access content provider in the Internet TV client. , to form their own unique channel list program. That is, only a virtual Internet TV operator to customize the channel list, there is no smart solution to uniformly manage the naming and sorting of different Internet TV operator channel list data.
广播电视解决方案中,不同机顶盒生产厂家为了能够通过某一广播电视运营商所管理的DVB(Digital Video Broadcasting,数字视频广播)网络入网测试,会针对相应广播电视运营商归划的频道列表在机顶盒上做定制开发,形成一套针对某一广播电视运营商的频道列表方案。In the broadcast TV solution, different set-top box manufacturers are able to pass DVB (Digital) managed by a certain broadcast TV operator. Video Broadcasting, digital video broadcasting) network access test, will be customized development on the set-top box for the channel list of the corresponding broadcast TV operator, forming a channel list scheme for a certain broadcast TV operator.
上述两种电视解决方案,更新频道列表时,且必须通过更新客户端软件或者重新搜台的方式来实现频道列表更新,更新时间一般需要几分钟,耗时长。In the above two TV solutions, when updating the channel list, the channel list update must be implemented by updating the client software or re-searching, and the update time generally takes several minutes and takes a long time.
技术问题technical problem
本发明实施例提供一种频道列表更新方法,旨在解决现有频道列表更新方法操作繁琐,耗时长的问题。 The embodiment of the invention provides a channel list updating method, which aims to solve the problem that the existing channel list updating method is cumbersome and time consuming.
技术解决方案Technical solution
本发明实施例是这样实现的,一种频道列表更新方法,包括如下步骤:The embodiment of the present invention is implemented as follows. A channel list updating method includes the following steps:
接收频道列表更新命令;Receiving a channel list update command;
根据接收的频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;Sending an latest channel list version information acquisition request to the server according to the received channel list update command;
接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;Receiving the latest channel list version information returned by the server, and determining whether the latest channel list version information is new to the previous channel list version information;
当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;When it is determined that the latest channel list version information is new to the previous channel list version information, sending an latest channel list information acquisition request to the server;
接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。Receiving the latest channel list information returned by the server, and updating the previous channel list according to the latest channel list information.
本发明提供另一种频道列表更新方法,其特征在于,所述方法包括如下步骤:The present invention provides another channel list update method, characterized in that the method comprises the following steps:
接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;Receiving the latest channel list version information acquisition request sent by the terminal device, and obtaining the latest channel list version information in the channel list data according to the latest channel list version information obtaining request;
将查得的最新频道列表版本信息返回给所述终端设备;Returning the latest channel list version information that is found to the terminal device;
接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,在频道列表数据中查得最新频道列表信息;Receiving an latest channel list information acquisition request sent by the terminal device, and searching for the latest channel list information in the channel list data according to the latest channel list information acquisition request;
将查得的最新频道列表信息返回给所述终端设备。The latest channel list information found is returned to the terminal device.
本发明提供又一种频道列表更新方法,其特征在于,所述方法包括如下步骤:The present invention provides a channel list update method, characterized in that the method comprises the following steps:
终端设备接收频道列表更新命令;The terminal device receives the channel list update command;
终端设备根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;Receiving, by the terminal device, the latest channel list version information acquisition request to the server according to the channel list update command;
服务器接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;The server receives the latest channel list version information acquisition request sent by the terminal device, and obtains the latest channel list version information in the channel list data according to the latest channel list version information acquisition request;
服务器将查得的最新频道列表版本信息返回给所述终端设备;The server returns the latest channel list version information that is found to the terminal device;
终端设备接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;Receiving, by the terminal device, the latest channel list version information returned by the server, and determining whether the latest channel list version information is new to the previous channel list version information;
当判断所述最新频道列表版本信息是否新于上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;When it is determined whether the latest channel list version information is newer than the previous channel list version information, sending an latest channel list information acquisition request to the server;
服务器接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,查得最新频道列表信息;Receiving, by the server, the latest channel list information obtaining request sent by the terminal device, and acquiring the latest channel list information according to the latest channel list information obtaining request;
服务器将查得的最新频道列表信息返回给所述终端设备;The server returns the latest channel list information found to the terminal device;
终端设备接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。The terminal device receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
本发明提供一种终端设备频道列表更新装置,其特征在于,所述装置包括:The present invention provides a device for updating a channel list of a terminal device, wherein the device includes:
频道列表数据获取单元,用于获取上一频道列表数据,并将所述频道列表数据保存至本地存储器;a channel list data obtaining unit, configured to acquire previous channel list data, and save the channel list data to a local memory;
命令录入单元,用于接收频道列表更新命令;a command entry unit for receiving a channel list update command;
频道列表版本信息请求单元,用于根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;a channel list version information requesting unit, configured to send, according to the channel list update command, a latest channel list version information acquisition request to the server;
频道列表版本信息接收单元,用于接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;a channel list version information receiving unit, configured to receive the latest channel list version information returned by the server, and determine whether the latest channel list version information is new to the previous channel list version information;
频道列表信息请求单元,用于当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;以及a channel list information requesting unit, configured to send an latest channel list information obtaining request to the server when determining that the latest channel list version information is new to the previous channel list version information;
频道列表更新单元,用于接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。The channel list update unit is configured to receive the latest channel list information returned by the server, and update the previous channel list according to the latest channel list information.
本发明实施例提供一种服务器频道列表更新装置,其特征在于,所述装置包括:An embodiment of the present invention provides a server channel list update device, where the device includes:
频道列表数据获取单元,用于获取频道列表数据,并保存至数据库;a channel list data obtaining unit, configured to acquire channel list data and save to a database;
频道列表版本信息获取请求处理单元,用于接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;a channel list version information obtaining request processing unit, configured to receive a latest channel list version information acquisition request sent by the terminal device, and obtain the latest channel list version information in the channel list data according to the latest channel list version information obtaining request;
最新频道列表版本信息返回单元,用于将查得的最新频道列表版本信息返回给所述终端设备;The latest channel list version information returning unit is configured to return the latest channel list version information that is found to the terminal device;
频道列表获取请求处理单元,用于接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,在频道列表数据中查得最新频道列表信息;以及a channel list obtaining request processing unit, configured to receive an latest channel list information obtaining request sent by the terminal device, and obtain the latest channel list information in the channel list data according to the latest channel list information obtaining request;
最新频道列表返回单元,用于将查得的最新频道列表信息返回给所述终端设备。The latest channel list returning unit is configured to return the latest channel list information that is found to the terminal device.
本发明还提供一种终端设备,其特征在于,所述终端设备包括一终端设备频道列表更新装置,The present invention further provides a terminal device, wherein the terminal device includes a terminal device channel list update device,
所述频道列表更新装置包括:The channel list update device includes:
频道列表数据获取单元,用于获取上一频道列表数据,并将所述频道列表数据保存至本地存储器;a channel list data obtaining unit, configured to acquire previous channel list data, and save the channel list data to a local memory;
命令录入单元,用于接收频道列表更新命令;a command entry unit for receiving a channel list update command;
频道列表版本信息请求单元,用于根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;a channel list version information requesting unit, configured to send, according to the channel list update command, a latest channel list version information acquisition request to the server;
频道列表版本信息接收单元,用于接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;a channel list version information receiving unit, configured to receive the latest channel list version information returned by the server, and determine whether the latest channel list version information is new to the previous channel list version information;
频道列表信息请求单元,用于当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;以及a channel list information requesting unit, configured to send an latest channel list information obtaining request to the server when determining that the latest channel list version information is new to the previous channel list version information;
频道列表更新单元,接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。The channel list update unit receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
有益效果Beneficial effect
本发明实施例通过向服务器发送最新频道列表版本信息获取请求和最新频道列表信息获取请求,从服务器获取运营商的最新频道列表信息,根据最新频道列表信息实现频道列表的更新,无需更新客户端软件或者重新进行搜台,耗时短,减少了频道列表更新时间。In the embodiment of the present invention, the latest channel list version information obtaining request and the latest channel list information obtaining request are sent to the server, the latest channel list information of the operator is obtained from the server, and the channel list is updated according to the latest channel list information, without updating the client software. Or re-searching, it takes a short time, reducing the channel list update time.
附图说明DRAWINGS
图1是本发明实施例提供的适用于本发明实施例的频道列表更新方法的网络环境图;1 is a network environment diagram of a channel list update method applicable to an embodiment of the present invention;
图2是本发明实施例一提供的频道列表更新方法的实现流程图;2 is a flowchart of implementing a channel list update method according to Embodiment 1 of the present invention;
图3是本发明实施例一、三、五提供的频道列表更新方法中数据流向时序图;3 is a timing chart of data flow in a channel list update method according to Embodiments 1, 3, and 5 of the present invention;
图4是本发明实施例二提供的频道列表更新方法的实现流程图;4 is a flowchart of implementing a channel list update method according to Embodiment 2 of the present invention;
图5是本发明实施例三提供的一种频道列表更新方法的实现流程;FIG. 5 is a flowchart of an implementation process of a channel list update method according to Embodiment 3 of the present invention; FIG.
图6是本发明实施例四提供的频道列表更新方法的流程;6 is a flowchart of a channel list update method according to Embodiment 4 of the present invention;
图7是本发明实施例五提供的一种频道列表更新方法的实现流程;FIG. 7 is a flowchart of an implementation process of a channel list update method according to Embodiment 5 of the present invention; FIG.
图8是本发明实施例六提供的终端设备频道列表更新装置的结构示意图;FIG. 8 is a schematic structural diagram of a terminal device channel list updating apparatus according to Embodiment 6 of the present invention; FIG.
图9是本发明实施例七提供的服务器频道列表更新装置的结构图;9 is a structural diagram of a server channel list update apparatus according to Embodiment 7 of the present invention;
图10是本发明实施例八提供的终端设备的结构图。FIG. 10 is a structural diagram of a terminal device according to Embodiment 8 of the present invention.
本发明的实施方式Embodiments of the invention
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供的频道列表更新方法通过从服务器直接获取相应运营商的最新版本的频道信息,实现频道列表的更新,无需更新客户端软件或者重新进行搜台,用时短,减少了频道列表更新时间。The channel list update method provided by the embodiment of the present invention can directly update the channel list by obtaining the channel information of the latest version of the corresponding operator from the server, without updating the client software or re-searching the station, and the time is short, and the channel list update is reduced. time.
图1示出了适用于本发明实施例的频道列表更新方法的网络环境。FIG. 1 shows a network environment suitable for a channel list update method of an embodiment of the present invention.
终端设备通过dongle(条件接收器)与电视网络连接,从电视网络获取电视信号,并进行播放。The terminal device is connected to the television network through a dongle (conditional receiver), and obtains a television signal from the television network and plays it.
在本发明实施例中,终端设备可以为智能终端设备,如计算机、智能电视机、智能机顶盒、智能手机等,其上可以安装应用系统和应用程序。In the embodiment of the present invention, the terminal device may be a smart terminal device, such as a computer, a smart television, a smart set top box, a smart phone, etc., on which an application system and an application program may be installed.
在本发明实施例中,终端设备还通过有线或者无线网络与服务器通信。In the embodiment of the present invention, the terminal device also communicates with the server through a wired or wireless network.
在本发明实施例中,服务器可以为Apache服务器,其上存储有电视运营商的频道列表数据。In the embodiment of the present invention, the server may be an Apache server on which the channel list data of the television operator is stored.
作为本发明的一个实施例,频道列表数据包括频道列表标识信息和相应的频道列表,两者以键值映射的方式存储于服务器。其中,频道列表标识信息写入key处,频道列表写入相应的value处。As an embodiment of the present invention, the channel list data includes channel list identification information and a corresponding channel list, which are stored in the server in a key value mapping manner. The channel list identification information is written in the key, and the channel list is written in the corresponding value.
例如:E.g:
表一:频道列表数据的键值映射
key value
深圳广播电视, sz2014001 频道列表 1
广州广播电视, gz2013020 频道列表 2
广东广播电视, gd2014015 频道列表 3
Table 1: Key-value mapping of channel list data
Key Value
Shenzhen Radio and Television, sz2014001 Channel list 1
Guangzhou Radio and Television, gz2013020 Channel list 2
Guangdong Radio and Television, gd2014015 Channel list 3
作为本发明另一个实施例,频道列表数据包括频道列表标识信息和相应的频道列表变更属性信息,两者以键值映射的方式存储于服务器。其中,频道列表标识信息写入key处,频道列表变更属性信息写入相应的value处。As another embodiment of the present invention, the channel list data includes channel list identification information and corresponding channel list change attribute information, which are stored in the server in a key value mapping manner. The channel list identification information is written in the key, and the channel list change attribute information is written in the corresponding value.
作为本发明一个实施例,频道列表标识信息包括运营商信息和与该运营商信息对应的最新频道列表版本信息。As an embodiment of the present invention, the channel list identification information includes operator information and latest channel list version information corresponding to the operator information.
作为本发明一个实施例,运营商信息为运营商名称、运营商代码等具有运营商唯一标志作用的信息。As an embodiment of the present invention, the operator information is information such as an operator name, an operator code, and the like that has a unique identifier of the operator.
例如:E.g:
表二:频道列表数据的键值映射
key value
深圳广播电视, sz2014001 频道列表变更属性信息 1
广州广播电视, gz2013020 频道列表变更属性信息 2
广东广播电视, gd2014015 频道列表变更属性信息 3
Table 2: Key-value mapping of channel list data
Key Value
Shenzhen Radio and Television, sz2014001 Channel list change attribute information 1
Guangzhou Radio and Television, gz2013020 Channel list change attribute information 2
Guangdong Radio and Television, gd2014015 Channel list change attribute information 3
第一实施例First embodiment
图2示出了本发明实施例一提供的频道列表更新方法的实现流程,而图3为上述方法中数据流向时序示意图。FIG. 2 is a flowchart showing an implementation of a channel list update method according to Embodiment 1 of the present invention, and FIG. 3 is a timing diagram of data flow direction in the foregoing method.
步骤S110,接收频道列表更新命令。Step S110, receiving a channel list update command.
在本发明实施例中,频道列表更新命令可以是终端设备自动生成的,如用户手动搜台或者自动搜台后自动生成频道列表更新命令、终端设备与服务器重新建立网络连接后自动生成频道列表更新命令、终端设备重新启动后自动生成频道列表更新命令;也可以是用户录入的,如用户直接在终端设备通过操作按键等录入频道列表更新命令。In the embodiment of the present invention, the channel list update command may be automatically generated by the terminal device, such as automatically generating a channel list update command after the user manually searches for a station or automatically searching for a station, and automatically generating a channel list update after the terminal device re-establishes a network connection with the server. After the command and the terminal device are restarted, the channel list update command is automatically generated; or the user enters the command, for example, the user directly inputs the channel list update command by operating the button or the like on the terminal device.
步骤S120,根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求。Step S120: Send an latest channel list version information acquisition request to the server according to the channel list update command.
作为本发明一个实施例,最新频道列表版本信息获取请求中携带有条件接收器标识和运营商信息。As an embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
作为本发明另一个实施例,最新频道列表版本信息获取请求携带有条件接收器标识,该条件接收器标识已与运营商绑定。As another embodiment of the present invention, the latest channel list version information acquisition request carries a conditional receiver identifier, which is bound to the operator.
在本发明实施例中,终端设备上的频道列表切换程序首次启动时,终端设备通过向服务器发送条件接收器标识,请求服务器鉴定该条件接收器的权限,当服务器判定条件接收器鉴权成功,并将判定结果返回终端设备后,终端设备进一步通过手动选择运营商或者根据连接的电视网络或者上一频道列表智能识别运营商,并向服务器发送运营商信息,通知服务器该条件接收器标识与该运营商绑定。这样,下次再向服务器发送的最新频道列表版本信息获取请求中就不必再携带运营商信息,只要携带已与运营商绑定的条件接收器标识 就可以了。 In the embodiment of the present invention, when the channel list switching procedure on the terminal device is started for the first time, the terminal device sends a conditional receiver identifier to the server, requesting the server to authenticate the authority of the conditional receiver, and when the server determines that the conditional receiver is successfully authenticated, After returning the determination result to the terminal device, the terminal device further intelligently identifies the operator by manually selecting the operator or according to the connected television network or the previous channel list, and sends the operator information to the server, notifying the server of the conditional receiver identifier and the Carrier binding. In this way, the latest channel list version information acquisition request sent to the server next time does not need to carry the carrier information, and only carries the conditional receiver identifier that has been bound to the operator. That's it.
在本发明实施例中,通过发送HTTP请求的方式向服务器发送最新频道列表版本信息获取请求。In the embodiment of the present invention, the latest channel list version information acquisition request is sent to the server by sending an HTTP request.
步骤S130,接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息,若判断结果为是,则进入步骤S140,若判断结果为否,则过程结束。Step S130, receiving the latest channel list version information returned by the server, and determining whether the latest channel list version information is new to the previous channel list version information. If the determination result is yes, the process proceeds to step S140, and if the determination result is no, The process ends.
在本发明实施例中,频道列表版本信息可以是字母、数字,或者字母与数字的组合所形成的字符串,该字符串的编排遵循一定的规律,如规定某运营商第一个版本的频道列表所对应的频道列表版本信息为v.s1.0.a,第二个版本的频道列表所对应的频道列表版本信息为v.s1.0.b,第三个版本的频道列表所对应的频道列表版本信息为v.s1.0.c。In the embodiment of the present invention, the channel list version information may be a string formed by a combination of letters, numbers, or letters and numbers, and the arrangement of the string follows a certain rule, such as specifying a channel of the first version of an operator. The channel list version information corresponding to the list is v.s1.0.a, and the channel list version information corresponding to the channel list of the second version is v.s1.0.b, and the third version of the channel list corresponds to The channel list version information is v.s1.0.c.
步骤S140,向服务器发送最新频道列表信息获取请求。In step S140, the latest channel list information acquisition request is sent to the server.
在本发明实施例中,通过发送HTTP请求的方式向服务器发送频道列表获取信息请求。In the embodiment of the present invention, the channel list acquisition information request is sent to the server by sending an HTTP request.
作为本发明一个实施例,所述最新频道列表信息为最新频道列表。As an embodiment of the present invention, the latest channel list information is a latest channel list.
作为本发明另一个实施例,所述最新频道列表信息为频道列表变更属性信息。In another embodiment of the present invention, the latest channel list information is channel list change attribute information.
在本发明实施例中,所述频道列表变更属性信息包括频道对象、操作指令、频道名称和频道序号。In the embodiment of the present invention, the channel list change attribute information includes a channel object, an operation instruction, a channel name, and a channel number.
在本发明实施例中,每对上一频道列表做出一个修改,生成一个频道对象,各频道对象分别记录。In the embodiment of the present invention, each pair of previous channel lists is modified to generate a channel object, and each channel object is separately recorded.
在本发明实施例中,操作指令为对上一频道列表进行操作的命令字符串,包括增加(add)、删除(delete)和/或修改(modify)几种,可以理解,在本发明其它实施例中,操作指令还可以包括排序(order)、热门(hot)等。In the embodiment of the present invention, the operation instruction is a command string for operating the previous channel list, including adding, deleting, and/or modifying, which can be understood in other implementations of the present invention. In an example, the operation instructions may also include an order, a hot, and the like.
由于操作指令为一个命令字符串,在实际应用过程中,可根据实际情况对操作指令进行扩展,通过对操作指令的扩展可加入新的功能或者增值服务,可管可控,另外,由于操作指令可扩展,易于集成,便于增加更加丰富操作指令内容。Since the operation instruction is a command string, in the actual application process, the operation instruction can be extended according to the actual situation, and the new function or the value-added service can be added by expanding the operation instruction, which can be controlled and controlled, and, in addition, due to the operation instruction Scalable, easy to integrate, and easy to add richer instruction content.
步骤S150,接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。Step S150: Receive the latest channel list information returned by the server, and update the previous channel list according to the latest channel list information.
在本发明实施例中,通过下载方式接收服务器返回的频道列表信息。In the embodiment of the present invention, the channel list information returned by the server is received by the download mode.
作为本发明一个实施例,当所述最新频道列表信息为最新频道列表时,根据所述最新频道列表信息对频道列表进行更新的方式为用最新频道列表替换上一频道列表。由于采用频道列表直接替换的方式对频道列表进行更新时,直接写入新的频道列表,与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。As an embodiment of the present invention, when the latest channel list information is the latest channel list, the channel list is updated according to the latest channel list information by replacing the previous channel list with the latest channel list. Since the channel list is updated by directly replacing the channel list, the new channel list is directly written, which is time-consuming compared with the prior art, which requires a few minutes to update the channel list by searching or updating the client software. Saves channel list update time.
作为本发明另一个实施例,当所述最新频道列表信息为频道列表变更属性信息时,根据所述最新频道列表信息对频道列表进行更新的方式为根据所述频道列表变更属性信息对上一频道列表中发生变更处进行更新。As another embodiment of the present invention, when the latest channel list information is the channel list change attribute information, the channel list is updated according to the latest channel list information, and the attribute information is changed to the previous channel according to the channel list. The changes in the list are updated.
例如,频道列表变更属性信息为下表所示:For example, the channel list change attribute information is as shown in the following table:
表3:频道列表变更属性信息
频道对象 操作指令 频道名称 频道序号
对象 1 增加 深圳卫视 6
对象 2 删除 龙岗卫视 12
对象 3 修改 中央一套 8
Table 3: Channel list change attribute information
Channel object Operational instruction Channel name Channel number
Object 1 increase Shenzhen Satellite TV 6
Object 2 delete Longgang Satellite TV 12
Object 3 modify Central set 8
在实际操作中,依次对上述频道列表变更属性信息进行读取,并根据频道对象的内容,对上一频道列表进行更新。由于根据所述频道列表变更属性信息仅对上一频道列表中发生变更处进行更新,被更新的数据明显减少,与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。In actual operation, the channel list change attribute information is sequentially read, and the previous channel list is updated according to the content of the channel object. Since the change of the attribute information in the previous channel list is only updated according to the channel list change attribute information, the updated data is significantly reduced, and it takes several minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
可以看出,在上述的流程中,通过向服务器发送最新频道列表版本信息获取请求获取运营商的最新频道列表版本信息,当判断最新频道列表版本信息新于上一频道列表版本信息时,通过向服务器发送最新频道列表信息获取请求,直接从服务器获取最新频道列表信息,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。It can be seen that, in the foregoing process, by sending the latest channel list version information acquisition request to the server to obtain the latest channel list version information of the operator, when determining that the latest channel list version information is newer than the previous channel list version information, The server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server. When the latest channel list information is the latest channel list, the new channel list is directly written. When the latest channel list information is the channel list change attribute information, Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
实施例二Embodiment 2
图4示出了本发明实施例二提供的频道列表更新方法的实现流程,其与实施例一相似,不同之处在于,在步骤S110之前,还包括:FIG. 4 is a flowchart of the implementation of the channel list update method according to the second embodiment of the present invention, which is similar to the first embodiment, except that before step S110, the method further includes:
步骤S210,获取上一频道列表数据,并保存。In step S210, the previous channel list data is acquired and saved.
上一频道列表数据为本发明频道列表更新方法的基础数据。The previous channel list data is the basic data of the channel list update method of the present invention.
作为本发明一个实施例,若为首次进行频道列表更新,则上一频道列表数据为通过DVB-C(数字有线电视广播系统标准)从广电网络中解析获得的。As an embodiment of the present invention, if the channel list update is performed for the first time, the previous channel list data is obtained by parsing from the broadcasting network by DVB-C (Digital Cable Television System Standard).
作为本发明另一个实施例,若为非首次进行频道列表更新,则上一频道列表数据为将实施例一提供的频道列表更新方法中服务器返回的最新频道列表版本信息和最新频道列表进行保存而获得的。As another embodiment of the present invention, if the channel list update is not performed for the first time, the previous channel list data is saved by updating the latest channel list version information and the latest channel list returned by the server in the channel list update method provided in the first embodiment. acquired.
在步骤S130之后,还包括:After step S130, the method further includes:
步骤S220,当步骤S130中的判断结果为是时,对上一频道列表版本信息进行删除。删除上一频道列表版本信息可释放存储空间。In step S220, when the result of the determination in step S130 is YES, the version information of the previous channel list is deleted. Deleting the previous channel list version information frees up storage space.
在步骤S150之后,还包括:After step S150, the method further includes:
步骤S230,对上一频道列表进行删除。删除上一频道列表可释放存储空间。In step S230, the previous channel list is deleted. Deleting the previous channel list frees up storage space.
本实施例的频道列表更新方法,除通过向服务器发送最新频道列表版本信息获取请求和最新频道列表获取请求,而直接从服务器获取信息频道列表,进而实现频道列表更新耗时短,另外,还对最新频道列表版本信息和最新频道列表进行保存,以作为下一次频道列表更新时的上一频道列表数据,通过对上一频道列表版本信息和上一频道列表进行删除,释放存储空间。The channel list update method of the embodiment, in addition to sending the latest channel list version information acquisition request and the latest channel list acquisition request to the server, directly obtaining the information channel list from the server, thereby realizing that the channel list update takes a short time, and The latest channel list version information and the latest channel list are saved as the previous channel list data at the time of the next channel list update, and the storage space is released by deleting the previous channel list version information and the previous channel list.
实施例三Embodiment 3
图5示出了本发明实施例三提供的一种频道列表更新方法的实现流程,图3为上述方法中数据流向时序示意图。FIG. 5 is a flowchart showing an implementation of a channel list update method according to Embodiment 3 of the present invention, and FIG. 3 is a timing diagram of data flow direction in the foregoing method.
步骤S310,接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息。Step S310, receiving the latest channel list version information acquisition request sent by the terminal device, and searching for the latest channel list version information in the channel list data according to the latest channel list version information acquisition request.
作为本发明一个实施例,最新频道列表版本信息获取请求携带有条件接收器标识和运营商信息,此时通过如下步骤在频道列表数据中查得最新频道列表版本信息:As an embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information. At this time, the latest channel list version information is found in the channel list data by the following steps:
根据条件接收器标识判断用户是否有权限获取最新频道列表,若判断结果为是,则进入步骤下一步,若判断结果为否,则过程结束;Determining, according to the conditional receiver identifier, whether the user has the right to obtain the latest channel list. If the determination result is yes, the process proceeds to the next step. If the determination result is no, the process ends.
遍历服务器中存储的频道列表数据键值映射中的key值,查找与运营商信息对应的运营商的最新频道列表的版本信息。The key value in the channel list data key value map stored in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched for.
作为本发明另一个实施例,最新频道列表版本信息获取请求携带有条件接收器标识,且该条件接收器标识已与运营商绑定,此时通过如下步骤在频道列表数据中查得最新频道列表版本信息:As another embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier, and the conditional receiver identifier is bound to the operator. At this time, the latest channel list is found in the channel list data by the following steps. Version Information:
根据条件接收器标识判断用户是否有权限获取最新频道列表,若判断结果为是,则进入下一步,若判断结果为否,则过程结束;Determining, according to the conditional receiver identifier, whether the user has the right to obtain the latest channel list. If the determination result is yes, the process proceeds to the next step. If the determination result is no, the process ends.
遍历服务器中频道列表数据键值映射中的key值,查找与运营商信息对应的运营商的最新频道列表的版本信息。The key value in the channel list data key value mapping in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched.
步骤S320,将查得的最新频道列表版本信息返回给所述终端设备。Step S320, returning the latest channel list version information that is found to the terminal device.
步骤S330,接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,在频道列表数据中查得最新频道列表信息。Step S330, receiving an latest channel list information acquisition request sent by the terminal device, and searching for the latest channel list information in the channel list data according to the latest channel list information acquisition request.
在本发明实施例中,在查找到最新频道列表版本信息key值对应的value处,查找到最新频道列表信息。In the embodiment of the present invention, the latest channel list information is found at the value corresponding to the latest channel list version information key value.
步骤S340,将查得的最新频道列表信息返回给所述终端设备。Step S340, returning the latest channel list information that is found to the terminal device.
可以看出,在上述的流程中,通过向服务器发送最新频道列表版本信息获取请求获取运营商的最新频道列表版本信息,当判断最新频道列表版本信息新于上一频道列表版本信息时,通过向服务器发送最新频道列表信息获取请求,直接从服务器获取最新频道列表信息,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。It can be seen that, in the foregoing process, by sending the latest channel list version information acquisition request to the server to obtain the latest channel list version information of the operator, when determining that the latest channel list version information is newer than the previous channel list version information, The server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server. When the latest channel list information is the latest channel list, the new channel list is directly written. When the latest channel list information is the channel list change attribute information, Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
实施例四Embodiment 4
图6示出了本发明实施例四提供的频道列表更新方法的流程,其与第三实施例相似,不同之处在于,在步骤S310之前,还包括:FIG. 6 is a flowchart of a channel list update method according to Embodiment 4 of the present invention, which is similar to the third embodiment, except that before step S310, the method further includes:
步骤S410,获取频道列表数据,并保存。In step S410, the channel list data is acquired and saved.
作为本发明一个实施例,频道列表数据为从云端直接获取的。As an embodiment of the present invention, the channel list data is directly obtained from the cloud.
作为本发明另一个实施例,频道列表数据为将云端通过数据挖掘等云技术得到的大量电视运营商的频道信息经过业务整合获得的。As another embodiment of the present invention, the channel list data is obtained by integrating the channel information of a large number of TV operators obtained by the cloud through cloud technologies such as data mining through service integration.
在本发明实施例中,频道信息包括频道名称、PF (Present Forward,当前节目与下一个节目)信息、频道类型(电视节目、音频广播),加密类型等。In the embodiment of the present invention, the channel information includes a channel name, PF (Present) Forward, current program and next program) information, channel type (television program, audio broadcast), encryption type, etc.
在本发明实施例中,业务整合即对各运营商的频道信息进行整理,得到频道列表键值映射的过程。从云端抓取的数据已经是各电视门户网站权威的数据了,所以名称与顺序会以云端数据为准,服务器会对数据做一个运营商分类的处理,将对应数据持久化到数据库,供终端设备请求访问。In the embodiment of the present invention, the service integration is to organize the channel information of each operator to obtain a channel list key value mapping process. The data captured from the cloud is already the authoritative data of each TV portal. Therefore, the name and order will be based on the cloud data. The server will process the data into a carrier classification, and the corresponding data will be persisted to the database for the terminal. The device requests access.
在本发明实施例中,服务器定期获取云端的电视运营商频道信息并对其进行业务整合,当某电视运营商的频道列表有变化时,生成频道列表标识信息和与之对应的新版本的频道列表或者频道列表标识信息和与之对应的频道列表变更属性信息,并通过替换频道列表键值映射中旧版本的频道列表标识信息和与之对应的频道列表的方式保存至服务器。In the embodiment of the present invention, the server periodically acquires channel information of the TV operator in the cloud and integrates the service. When a channel list of a TV operator changes, the channel list identification information and the corresponding new version of the channel are generated. The list or channel list identification information and the channel list change attribute information corresponding thereto are saved to the server by replacing the channel list identification information of the old version in the channel list key mapping and the channel list corresponding thereto.
根据终端设备发送的最新频道列表版本信息获取请求向终端设备返回运营商的最新频道列表版本信息,为终端设备提供判断最新频道列表版本信息是否新于上一频道列表版本信息的数据基础,根据终端设备发送的最新频道列表信息获取请求,直接向终端设备返回最新频道列表信息,以使终端根据最新频道列表信息实现频道列表的更新,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。Retrieving the latest channel list version information of the operator according to the latest channel list version information sent by the terminal device, and providing the terminal device with a data base for determining whether the latest channel list version information is new to the previous channel list version information, according to the terminal The latest channel list information acquisition request sent by the device directly returns the latest channel list information to the terminal device, so that the terminal implements the channel list update according to the latest channel list information, and directly writes the new channel list information when the latest channel list information is the latest channel list information. The channel list, when the latest channel list information is the channel list change attribute information, only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention and the prior art are adopted. It takes a few minutes to search or update the client software update channel list, which saves time and saves channel list update time.
实施例五Embodiment 5
图7示出了本发明实施例五提供的一种频道列表更新方法的实现流程,图3为上述方法中数据流向时序示意图。FIG. 7 is a flowchart showing an implementation of a channel list update method according to Embodiment 5 of the present invention, and FIG. 3 is a schematic diagram of data flow timing in the foregoing method.
步骤S510,终端设备接收频道列表更新命令。Step S510, the terminal device receives the channel list update command.
在本发明实施例中,频道列表更新命令可以是终端设备自动生成的,如用户手动搜台或者自动搜台后自动生成频道列表更新命令、终端设备与服务器重新建立网络连接后自动生成频道列表更新命令、终端设备重新启动后自动生成频道列表更新命令;也可以是用户录入的,如用户直接在终端设备通过操作按键等录入频道列表更新命令。In the embodiment of the present invention, the channel list update command may be automatically generated by the terminal device, such as automatically generating a channel list update command after the user manually searches for a station or automatically searching for a station, and automatically generating a channel list update after the terminal device re-establishes a network connection with the server. After the command and the terminal device are restarted, the channel list update command is automatically generated; or the user enters the command, for example, the user directly inputs the channel list update command by operating the button or the like on the terminal device.
步骤S520,终端设备根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求。Step S520: The terminal device sends the latest channel list version information acquisition request to the server according to the channel list update command.
作为本发明一个实施例,最新频道列表版本信息获取请求中携带有条件接收器标识和运营商信息。As an embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
作为本发明另一个实施例,最新频道列表版本信息获取请求携带有条件接收器标识,该条件接收器标识已与运营商绑定。As another embodiment of the present invention, the latest channel list version information acquisition request carries a conditional receiver identifier, which is bound to the operator.
在本发明实施例中,终端设备上的频道列表切换程序首次启动时,终端设备通过向服务器发送条件接收器标识,请求服务器鉴定该dongle的权限,当服务器判定dongle鉴权成功,并将判定结果返回终端设备后,终端设备进一步通过手动选择运营商或者根据连接的电视网络或者上一频道列表智能识别运营商,并向服务器发送运营商信息,通知服务器端该条件接收器标识与该运营商绑定。这样,下次再请求与该运营商的相关频道列表数据时,向服务器发送的最新频道列表版本信息获取请求中就不必再携带运营商信息,只要携带已与运营商绑定的条件接收器标识就可以了。In the embodiment of the present invention, when the channel list switching procedure on the terminal device is started for the first time, the terminal device sends a conditional receiver identifier to the server, requesting the server to authenticate the authority of the dongle, and when the server determines that the dongle authentication is successful, and determines the result. After returning to the terminal device, the terminal device further intelligently identifies the operator by manually selecting the operator or according to the connected television network or the previous channel list, and sends the operator information to the server, notifying the server that the conditional receiver identifier is tied to the operator. set. In this way, when the channel list data related to the operator is requested again, the latest channel list version information acquisition request sent to the server does not need to carry the operator information, and only carries the conditional receiver identifier that has been bound to the operator. That's it.
作为本发明一个实施例,运营商信息可以是运营商名称、运营商代码等具有运营商唯一标志作用的信息。As an embodiment of the present invention, the operator information may be information such as an operator name, an operator code, and the like having an operator unique identifier.
在本发明实施例中,通过发送HTTP请求的方式向服务器发送最新频道列表版本信息获取请求。In the embodiment of the present invention, the latest channel list version information acquisition request is sent to the server by sending an HTTP request.
步骤S530,服务器接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息。Step S530, the server receives the latest channel list version information acquisition request sent by the terminal device, and obtains the latest channel list version information in the channel list data according to the latest channel list version information acquisition request.
作为本发明一个实施例,最新频道列表版本信息获取请求携带有条件接收器标识和运营商信息,此时通过如下步骤在频道列表数据中查得最新频道列表版本信息:As an embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information. At this time, the latest channel list version information is found in the channel list data by the following steps:
根据条件接收器标识判断用户是否有权限获取最新频道列表,若判断结果为是,则进入步骤下一步,若判断结果为否,则过程结束;Determining, according to the conditional receiver identifier, whether the user has the right to obtain the latest channel list. If the determination result is yes, the process proceeds to the next step. If the determination result is no, the process ends.
遍历服务器中存储的频道列表数据键值映射中的key值,查找与运营商信息对应的运营商的最新频道列表的版本信息。The key value in the channel list data key value map stored in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched for.
作为本发明另一个实施例,最新频道列表版本信息获取请求携带有条件接收器标识,且该条件接收器标识已与运营商绑定,此时通过如下步骤在频道列表数据中查得最新频道列表版本信息:As another embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier, and the conditional receiver identifier is bound to the operator. At this time, the latest channel list is found in the channel list data by the following steps. Version Information:
根据条件接收器标识判断用户是否有权限获取最新频道列表,若判断结果为是,则进入下一步,若判断结果为否,则过程结束;Determining, according to the conditional receiver identifier, whether the user has the right to obtain the latest channel list. If the determination result is yes, the process proceeds to the next step. If the determination result is no, the process ends.
遍历服务器中频道列表数据键值映射中的key值,查找与运营商信息对应的运营商的最新频道列表的版本信息。The key value in the channel list data key value mapping in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched.
步骤S540,服务器将查得的最新频道列表版本信息返回给所述终端设备。In step S540, the server returns the latest channel list version information that is found to the terminal device.
步骤S550,终端设备接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息,若判断结果为是,则进入步骤S560,若判断结果为否,则过程结束。In step S550, the terminal device receives the latest channel list version information returned by the server, and determines whether the latest channel list version information is new to the previous channel list version information. If the determination result is yes, the process proceeds to step S560, and if the determination result is no. , the process ends.
在本发明实施例中,频道列表版本信息可以是字母、数字,或者字母与数字的组合所形成的字符串,该字符串的编排遵循一定的规律,如规定某运营商第一个版本的频道列表所对应的频道列表版本信息为v.s1.0.a,第二个版本的频道列表所对应的频道列表版本信息为v.s1.0.b,第三个版本的频道列表所对应的频道列表版本信息为v.s1.0.c。In the embodiment of the present invention, the channel list version information may be a string formed by a combination of letters, numbers, or letters and numbers, and the arrangement of the string follows a certain rule, such as specifying a channel of the first version of an operator. The channel list version information corresponding to the list is v.s1.0.a, and the channel list version information corresponding to the channel list of the second version is v.s1.0.b, and the third version of the channel list corresponds to The channel list version information is v.s1.0.c.
步骤S560,终端设备向服务器发送最新频道列表信息获取请求。Step S560, the terminal device sends the latest channel list information acquisition request to the server.
在本发明实施例中,通过发送HTTP请求的方式向服务器发送频道列表获取请求。In the embodiment of the present invention, the channel list acquisition request is sent to the server by sending an HTTP request.
作为本发明一个实施例,所述最新频道列表信息为最新频道列表。As an embodiment of the present invention, the latest channel list information is a latest channel list.
作为本发明另一个实施例,所述最新频道列表信息为频道列表变更属性信息。In another embodiment of the present invention, the latest channel list information is channel list change attribute information.
在本发明实施例中,所述频道列表变更属性信息包括频道对象、操作指令、频道名称和频道序号。In the embodiment of the present invention, the channel list change attribute information includes a channel object, an operation instruction, a channel name, and a channel number.
在本发明实施例中,每对上一频道列表做出一个修改,生成一个频道对象,各频道对象分别记录。In the embodiment of the present invention, each pair of previous channel lists is modified to generate a channel object, and each channel object is separately recorded.
在本发明实施例中,操作指令为对上一频道列表进行操作的命令字符串,包括增加(add)、删除(delete)和/或修改(modify)几种,可以理解,在本发明其它实施例中,操作指令还可以包括排序(order)、热门(hot)等。In the embodiment of the present invention, the operation instruction is a command string for operating the previous channel list, including adding, deleting, and/or modifying, which can be understood in other implementations of the present invention. In an example, the operation instructions may also include an order, a hot, and the like.
由于操作指令为一个命令字符串,在实际应用过程中,可根据实际情况对操作指令进行扩展,通过对操作指令的扩展可加入新的功能或者增值服务,可管可控,另外,由于操作指令可扩展,易于集成,便于增加更加丰富操作指令内容。Since the operation instruction is a command string, in the actual application process, the operation instruction can be extended according to the actual situation, and the new function or the value-added service can be added by expanding the operation instruction, which can be controlled and controlled, and, in addition, due to the operation instruction Scalable, easy to integrate, and easy to add richer instruction content.
步骤S570,服务器接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,查得最新频道列表信息。Step S570, the server receives the latest channel list information acquisition request sent by the terminal device, and searches for the latest channel list information according to the latest channel list information acquisition request.
在本发明实施例中,根据最新频道列表获取请求中携带的运营商信息或者与运营商信息绑定的条件接收器标识,遍历频道列表键值映射,查找到与运营商信息或者与运营商信息绑定的条件接收器标识对应的最新频道列表。In the embodiment of the present invention, the operator information carried in the request is obtained according to the latest channel list or the conditional receiver identifier bound to the operator information, and the channel list key value mapping is traversed to find the information with the operator or the operator information. The bound conditional receiver identifies the corresponding latest channel list.
步骤S580,服务器将查得的最新频道列表信息返回给所述终端设备。Step S580, the server returns the latest channel list information that is found to the terminal device.
步骤S590,终端设备接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。Step S590, the terminal device receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
在本发明实施例中,通过下载方式接收服务器返回的频道列表信息。In the embodiment of the present invention, the channel list information returned by the server is received by the download mode.
作为本发明一个实施例,当所述最新频道列表信息为最新频道列表时,根据所述最新频道列表信息对频道列表进行更新的方式为用最新频道列表替换上一频道列表。As an embodiment of the present invention, when the latest channel list information is the latest channel list, the channel list is updated according to the latest channel list information by replacing the previous channel list with the latest channel list.
作为本发明另一个实施例,当所述最新频道列表信息为频道列表变更属性信息时,根据所述最新频道列表信息对频道列表进行更新的方式为根据所述频道列表变更属性信息对上一频道列表中发生变更处进行更新。As another embodiment of the present invention, when the latest channel list information is the channel list change attribute information, the channel list is updated according to the latest channel list information, and the attribute information is changed to the previous channel according to the channel list. The changes in the list are updated.
例如,频道列表变更属性信息如表3所示。For example, the channel list change attribute information is as shown in Table 3.
在实际操作中,依次对上述频道列表变更属性信息进行读取,并根据频道对象的内容,对上一频道列表进行更新。In actual operation, the channel list change attribute information is sequentially read, and the previous channel list is updated according to the content of the channel object.
可以看出,在上述的流程中,通过向服务器发送最新频道列表版本信息获取请求获取运营商的最新频道列表版本信息,当判断最新频道列表版本信息新于上一频道列表版本信息时,通过向服务器发送最新频道列表信息获取请求,直接从服务器获取最新频道列表信息,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。It can be seen that, in the foregoing process, by sending the latest channel list version information acquisition request to the server to obtain the latest channel list version information of the operator, when determining that the latest channel list version information is newer than the previous channel list version information, The server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server. When the latest channel list information is the latest channel list, the new channel list is directly written. When the latest channel list information is the channel list change attribute information, Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
图8示出了本发明实施例六提供的终端设备频道列表更新装置10的结构,为了便于描述,仅示出了与本发明实施例相关的部分。该装置可以为终端设备的软件单元、硬件单元或者软硬结合的单元。FIG. 8 is a diagram showing the structure of a terminal device channel list updating apparatus 10 according to Embodiment 6 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. The device may be a software unit, a hardware unit or a unit of a soft and hard combination of the terminal device.
终端设备频道列表更新装置10包括:The terminal device channel list updating device 10 includes:
频道列表数据获取单元11,获取上一频道列表数据,并将所述频道列表数据保存至本地存储器12;The channel list data obtaining unit 11 acquires the previous channel list data, and saves the channel list data to the local memory 12;
命令录入单元13,接收频道列表更新命令;The command entry unit 13 receives the channel list update command;
频道列表版本信息请求单元14,根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;The channel list version information requesting unit 14 sends the latest channel list version information acquisition request to the server according to the channel list update command;
频道列表版本信息接收单元15,接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;The channel list version information receiving unit 15 receives the latest channel list version information returned by the server, and determines whether the latest channel list version information is new to the previous channel list version information;
频道列表请求单元16,当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表获取请求;以及The channel list requesting unit 16 sends a latest channel list acquisition request to the server when it is determined that the latest channel list version information is new to the previous channel list version information;
频道列表更新单元17,接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。The channel list updating unit 17 receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
在本发明实施例中,最新频道列表版本信息获取请求携带有条件接收器标识和运营商信息。In the embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier and the operator information.
在本发明实施例中,最新频道列表版本信息获取请求携带有与运营商绑定的条件接收器标识。In the embodiment of the present invention, the latest channel list version information acquisition request carries the conditional receiver identifier bound to the operator.
在本发明实施例中,频道列表版本信息接收单元15还包括版本信息判断单元151,用于判断所述最新频道列表版本信息是否新于上一频道列表版本信息。In the embodiment of the present invention, the channel list version information receiving unit 15 further includes a version information determining unit 151, configured to determine whether the latest channel list version information is newer than the previous channel list version information.
作为本发明一个实施例,当最新频道列表信息为最新频道列表时,所述频道列表更新单元17为列表替换单元,用于根据所述最新频道列表信息对频道列表进行更新的方式为用最新频道列表替换上一频道列表;As an embodiment of the present invention, when the latest channel list information is the latest channel list, the channel list updating unit 17 is a list replacing unit, and the method for updating the channel list according to the latest channel list information is to use the latest channel. The list replaces the previous channel list;
作为本发明另一个实施例,当最新频道列表信息为频道列表变更属性信息时,所述频道列表更新单元17为变更属性更新单元,用于根据所述最新频道列表信息对频道列表进行更新的方式为根据所述频道列表变更属性信息对上一频道列表中发生变更处进行更新。As another embodiment of the present invention, when the latest channel list information is the channel list change attribute information, the channel list update unit 17 is a change attribute update unit for updating the channel list according to the latest channel list information. In order to change the attribute information according to the channel list, the change in the previous channel list is updated.
可以看出,在上述的装置中,通过向服务器发送最新频道列表版本信息获取请求获取运营商的最新频道列表版本信息,当判断最新频道列表版本信息新于上一频道列表版本信息时,通过向服务器发送最新频道列表信息获取请求,直接从服务器获取最新频道列表信息,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。It can be seen that, in the foregoing apparatus, by sending the latest channel list version information acquisition request to the server to obtain the latest channel list version information of the operator, when it is determined that the latest channel list version information is newer than the previous channel list version information, The server sends the latest channel list information acquisition request, and obtains the latest channel list information directly from the server. When the latest channel list information is the latest channel list, the new channel list is directly written. When the latest channel list information is the channel list change attribute information, Only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention requires a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
图9示出了本发明实施例七提供的服务器频道列表更新装置20的结构,为了便于描述,仅示出了与本发明实施例相关的部分。该装置可以为服务器的软件单元、硬件单元或者软硬结合的单元。FIG. 9 shows the structure of the server channel list updating apparatus 20 provided in the seventh embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. The device may be a software unit, a hardware unit or a unit of a hard and soft combination of the server.
服务器频道列表更新装置20包括:The server channel list update device 20 includes:
频道列表数据获取单元21,用于获取频道列表数据,并保存至数据库22;Channel list data obtaining unit 21, for acquiring channel list data, and saving to the database 22;
频道列表版本信息获取请求处理单元23,用于接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;The channel list version information acquisition request processing unit 23 is configured to receive the latest channel list version information acquisition request sent by the terminal device, and obtain the latest channel list version information in the channel list data according to the latest channel list version information acquisition request;
最新频道列表版本信息返回单元24,用于将查得的最新频道列表版本信息返回给所述终端设备;The latest channel list version information returning unit 24 is configured to return the latest channel list version information that is found to the terminal device;
频道列表获取请求处理单元25,用于接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,在频道列表数据中查得最新频道列表信息;以及The channel list obtaining request processing unit 25 is configured to receive an latest channel list information obtaining request sent by the terminal device, and obtain the latest channel list information in the channel list data according to the latest channel list information obtaining request;
最新频道列表返回单元26,用于将查得的最新频道列表信息返回给所述终端设备。The latest channel list returning unit 26 is configured to return the latest channel list information that is found to the terminal device.
可以看出,在上述的装置中,根据终端设备发送的最新频道列表版本信息获取请求向终端设备返回运营商的最新频道列表版本信息,为终端设备提供判断最新频道列表版本信息是否新于上一频道列表版本信息的数据基础,根据终端设备发送的最新频道列表信息获取请求,直接向终端设备返回最新频道列表信息,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。 It can be seen that, in the foregoing device, the latest channel list version information obtained by the terminal device is requested to return the latest channel list version information of the operator to the terminal device, and the terminal device is provided with the latest channel list version information. The data base of the channel list version information is directly returned to the terminal device according to the latest channel list information acquisition request sent by the terminal device, and when the latest channel list information is the latest channel list, the new channel list is directly written. When the latest channel list information is the channel list change attribute information, only the change of the previous channel is updated, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention and the prior art are searched or updated. The client software update channel list takes a few minutes compared to the time-consuming, saving channel list update time.
图10示出了本发明实施例八提供的终端设备的结构,为了便于描述,仅示出了与本发明实施例相关的部分。该终端设备可以为服务器的软件单元、硬件单元或者软硬结合的单元。FIG. 10 shows the structure of a terminal device according to Embodiment 8 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. The terminal device may be a software unit, a hardware unit or a unit of a soft and hard combination of the server.
终端包括:The terminal includes:
终端设备频道列表更新装置10,与通信接口30连接,包括:The terminal device channel list updating device 10 is connected to the communication interface 30 and includes:
频道列表数据获取单元11,获取上一频道列表数据,并将所述频道列表数据保存至本地存储器12;The channel list data obtaining unit 11 acquires the previous channel list data, and saves the channel list data to the local memory 12;
命令录入单元13,接收频道列表更新命令;The command entry unit 13 receives the channel list update command;
频道列表版本信息请求单元14,根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;The channel list version information requesting unit 14 sends the latest channel list version information acquisition request to the server according to the channel list update command;
频道列表版本信息接收单元15,接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;The channel list version information receiving unit 15 receives the latest channel list version information returned by the server, and determines whether the latest channel list version information is new to the previous channel list version information;
频道列表请求单元16,当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表获取请求;以及The channel list requesting unit 16 sends a latest channel list acquisition request to the server when it is determined that the latest channel list version information is new to the previous channel list version information;
频道列表更新单元17,接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。The channel list updating unit 17 receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
输入设备40,与通信接口30连接,接收用户的播放指令并发送给通信接口30。在本发明实施例中,输入设备40包括但不限于,按钮、鼠标、键盘遥控器等。The input device 40 is connected to the communication interface 30, receives a play command of the user, and transmits it to the communication interface 30. In the embodiment of the present invention, the input device 40 includes, but is not limited to, a button, a mouse, a keyboard remote controller, and the like.
输出设备50,与通信接口30连接,接收通信接口30传送的、经终端设备频道列表更新装置10更新的频道列表,并输出。在本发明实施例中,输出设备50包括但不限于播放器、显示屏、喇叭等。The output device 50 is connected to the communication interface 30, and receives the channel list transmitted by the communication device interface 30 and updated by the terminal device channel list updating device 10, and outputs it. In the embodiment of the present invention, the output device 50 includes, but is not limited to, a player, a display screen, a speaker, and the like.
可以看出,在上述的终端设备中,通过向服务器发送最新频道列表版本信息获取请求获取运营商的最新频道列表版本信息,当判断最新频道列表版本信息新于上一频道列表版本信息时,通过向服务器发送最新频道列表信息获取请求,直接从服务器获取最新频道列表信息,当最新频道列表信息为最新频道列表时,直接写入新的频道列表,当最新频道列表信息为频道列表变更属性信息时,仅对上一频道发生变更处进行更新,被更新的数据明显减少,因此本发明实施例提供的频道列表更新方法与现有技术通过搜台或者更新客户端软件更新频道列表需要几分钟的时间相比,耗时短,节约了频道列表更新时间。It can be seen that, in the foregoing terminal device, by sending the latest channel list version information acquisition request to the server to obtain the latest channel list version information of the operator, when it is determined that the latest channel list version information is newer than the previous channel list version information, Sending the latest channel list information acquisition request to the server, directly obtaining the latest channel list information from the server, and directly writing the new channel list when the latest channel list information is the latest channel list, when the latest channel list information is the channel list change attribute information The update of the previous channel is only performed, and the updated data is significantly reduced. Therefore, the channel list update method provided by the embodiment of the present invention and the prior art require a few minutes to update the channel list by searching or updating the client software. Compared with the short time, it saves the channel list update time.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims (22)

  1. 一种频道列表更新方法,其特征在于,所述方法包括如下步骤: A channel list updating method, characterized in that the method comprises the following steps:
    接收频道列表更新命令;Receiving a channel list update command;
    根据接收的频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;Sending an latest channel list version information acquisition request to the server according to the received channel list update command;
    接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;Receiving the latest channel list version information returned by the server, and determining whether the latest channel list version information is new to the previous channel list version information;
    当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;When it is determined that the latest channel list version information is new to the previous channel list version information, sending an latest channel list information acquisition request to the server;
    接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。 Receiving the latest channel list information returned by the server, and updating the previous channel list according to the latest channel list information.
  2. 如权利要求1所述的频道列表更新方法,其特征在于,所述最新频道列表版本信息获取请求携带有条件接收器标识和运营商信息。 The channel list update method according to claim 1, wherein the latest channel list version information acquisition request carries a conditional receiver identifier and operator information.
  3. 如权利要求1所述的频道列表更新方法,其特征在于,所述最新频道列表版本信息获取请求携带有与运营商绑定的条件接收器标识。 The channel list update method according to claim 1, wherein the latest channel list version information acquisition request carries a conditional receiver identifier bound to an operator.
  4. 如权利要求1所述的方法,其特征在于,所述最新频道列表信息为最新频道列表。 The method of claim 1 wherein said up-to-date channel list information is a latest channel list.
  5. 如权利要求4所述的方法,其特征在于,当所述最新频道列表信息为最新频道列表时,根据所述最新频道列表信息对频道列表进行更新的方式为用最新频道列表替换上一频道列表。 The method according to claim 4, wherein when the latest channel list information is the latest channel list, the channel list is updated according to the latest channel list information by replacing the previous channel list with the latest channel list. .
  6. 如权利要求1所述的方法,其特征在于,所述最新频道列表信息为频道列表变更属性信息。 The method of claim 1, wherein the latest channel list information is channel list change attribute information.
  7. 如权利要求6所述的方法,其特征在于,当所述最新频道列表信息为频道列表变更属性信息时,根据所述最新频道列表信息对频道列表进行更新的方式为根据所述频道列表变更属性信息对上一频道列表中发生变更处进行更新。 The method according to claim 6, wherein when the latest channel list information is channel list change attribute information, the channel list is updated according to the latest channel list information by changing attributes according to the channel list The information is updated for changes that have occurred in the previous channel list.
  8. 如权利要求1所述的频道列表更新方法,其特征在于,在接收频道列表更新命令前,还包括:The channel list updating method according to claim 1, further comprising: before receiving the channel list update command, further comprising:
    获取原始频道列表数据的步骤。 The step to get the original channel list data.
  9. 一种频道列表更新方法,其特征在于,所述方法包括如下步骤:A channel list updating method, characterized in that the method comprises the following steps:
    接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;Receiving the latest channel list version information acquisition request sent by the terminal device, and obtaining the latest channel list version information in the channel list data according to the latest channel list version information obtaining request;
    将查得的最新频道列表版本信息返回给所述终端设备;Returning the latest channel list version information that is found to the terminal device;
    接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,在频道列表数据中查得最新频道列表信息;Receiving an latest channel list information acquisition request sent by the terminal device, and searching for the latest channel list information in the channel list data according to the latest channel list information acquisition request;
    将查得的最新频道列表信息返回给所述终端设备。 The latest channel list information found is returned to the terminal device.
  10. 如权利要求9所述的频道列表更新方法,其特征在于,所述最新频道列表版本信息获取请求携带有条件接收器标识和运营商信息。 The channel list update method according to claim 9, wherein the latest channel list version information acquisition request carries a conditional receiver identifier and operator information.
  11. 如权利要求9所述的频道列表更新方法,其特征在于,所述最新频道列表版本信息获取请求携带有与运营商绑定的条件接收器标识。 The channel list update method according to claim 9, wherein the latest channel list version information acquisition request carries a conditional receiver identifier bound to an operator.
  12. 如权利要求9所述的频道列表更新方法,其特征在于,在频道列表数据中查得最新频道列表版本信息包括以下步骤:The channel list updating method according to claim 9, wherein the finding the latest channel list version information in the channel list data comprises the following steps:
    根据条件接收器标识判断用户是否有权限获取最新频道列表,若判断结果为是,则进入步骤下一步,若判断结果为否,则过程结束;Determining, according to the conditional receiver identifier, whether the user has the right to obtain the latest channel list. If the determination result is yes, the process proceeds to the next step. If the determination result is no, the process ends.
    遍历服务器中存储的频道列表数据键值映射中的key值,查找与运营商信息对应的运营商的最新频道列表的版本信息。 The key value in the channel list data key value map stored in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched for.
  13. 如权利要求9所述的频道列表更新方法,其特征在于,在频道列表数据中查得最新频道列表版本信息包括以下步骤:The channel list updating method according to claim 9, wherein the finding the latest channel list version information in the channel list data comprises the following steps:
    根据条件接收器标识判断用户是否有权限获取最新频道列表,若判断结果为是,则进入下一步,若判断结果为否,则过程结束;Determining, according to the conditional receiver identifier, whether the user has the right to obtain the latest channel list. If the determination result is yes, the process proceeds to the next step. If the determination result is no, the process ends.
    遍历服务器中频道列表数据键值映射中的key值,查找与运营商信息对应的运营商的最新频道列表的版本信息。 The key value in the channel list data key value mapping in the server is traversed, and the version information of the latest channel list of the operator corresponding to the operator information is searched.
  14. 如权利要求9所述的频道列表更新方法,其特征在于,在接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息前,还包括:The channel list update method according to claim 9, wherein the latest channel list version information acquisition request sent by the terminal device is received, and the latest channel list version information acquisition request is used to find the latest in the channel list data. Before the channel list version information, it also includes:
    获取频道列表数据,并保存。 Get the channel list data and save it.
  15. 一种频道列表更新方法,其特征在于,所述方法包括如下步骤:A channel list updating method, characterized in that the method comprises the following steps:
    终端设备接收频道列表更新命令;The terminal device receives the channel list update command;
    终端设备根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;Receiving, by the terminal device, the latest channel list version information acquisition request to the server according to the channel list update command;
    服务器接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;The server receives the latest channel list version information acquisition request sent by the terminal device, and obtains the latest channel list version information in the channel list data according to the latest channel list version information acquisition request;
    服务器将查得的最新频道列表版本信息返回给所述终端设备;The server returns the latest channel list version information that is found to the terminal device;
    终端设备接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;Receiving, by the terminal device, the latest channel list version information returned by the server, and determining whether the latest channel list version information is new to the previous channel list version information;
    当判断所述最新频道列表版本信息是否新于上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;When it is determined whether the latest channel list version information is newer than the previous channel list version information, sending an latest channel list information acquisition request to the server;
    服务器接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,查得最新频道列表信息;Receiving, by the server, the latest channel list information obtaining request sent by the terminal device, and acquiring the latest channel list information according to the latest channel list information obtaining request;
    服务器将查得的最新频道列表信息返回给所述终端设备;The server returns the latest channel list information found to the terminal device;
    终端设备接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。 The terminal device receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
  16. 一种终端设备频道列表更新装置,其特征在于,所述装置包括:A terminal device channel list updating device, characterized in that the device comprises:
    频道列表数据获取单元,用于获取上一频道列表数据,并将所述频道列表数据保存至本地存储器;a channel list data obtaining unit, configured to acquire previous channel list data, and save the channel list data to a local memory;
    命令录入单元,用于接收频道列表更新命令;a command entry unit for receiving a channel list update command;
    频道列表版本信息请求单元,用于根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;a channel list version information requesting unit, configured to send, according to the channel list update command, a latest channel list version information acquisition request to the server;
    频道列表版本信息接收单元,用于接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;a channel list version information receiving unit, configured to receive the latest channel list version information returned by the server, and determine whether the latest channel list version information is new to the previous channel list version information;
    频道列表信息请求单元,用于当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;以及a channel list information requesting unit, configured to send an latest channel list information obtaining request to the server when determining that the latest channel list version information is new to the previous channel list version information;
    频道列表更新单元,用于接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。 The channel list update unit is configured to receive the latest channel list information returned by the server, and update the previous channel list according to the latest channel list information.
  17. 如权利要求16所述的装置,其特征在于,所述最新频道列表版本信息获取请求携带有条件接收器标识和运营商信息。 The apparatus according to claim 16, wherein said latest channel list version information acquisition request carries conditional receiver identification and operator information.
  18. 如权利要求16所述的装置,其特征在于,所述最新频道列表版本信息获取请求携带有与运营商绑定的条件接收器标识。 The apparatus according to claim 16, wherein the latest channel list version information acquisition request carries a conditional receiver identifier bound to an operator.
  19. 如权利要求16所述的装置,其特征在于,所述频道列表版本信息接收单元还包括版本信息判断单元,用于判断所述最新频道列表版本信息是否新于上一频道列表版本信息。 The apparatus according to claim 16, wherein the channel list version information receiving unit further comprises a version information determining unit, configured to determine whether the latest channel list version information is new to the previous channel list version information.
  20. 如权利要求16所述的装置,其特征在于,所述频道列表更新单元为列表替换单元或变更属性更新单元,The device according to claim 16, wherein the channel list update unit is a list replacement unit or a change attribute update unit.
    所述列表替换单元用于当所述最新频道列表信息为最新频道列表时,根据所述最新频道列表信息对频道列表进行更新的方式为用最新频道列表替换上一频道列表;The list replacing unit is configured to: when the latest channel list information is the latest channel list, update the channel list according to the latest channel list information to replace the previous channel list with the latest channel list;
    所述变更属性更新单元用于当所述最新频道列表信息为频道列表变更属性信息时,根据所述最新频道列表信息对频道列表进行更新的方式为根据所述频道列表变更属性信息对上一频道列表中发生变更处进行更新。 The change attribute updating unit is configured to: when the latest channel list information is the channel list change attribute information, update the channel list according to the latest channel list information, and change the attribute information to the previous channel according to the channel list. The changes in the list are updated.
  21. 一种服务器频道列表更新装置,其特征在于,所述装置包括:A server channel list updating device, characterized in that the device comprises:
    频道列表数据获取单元,用于获取频道列表数据,并保存至数据库;a channel list data obtaining unit, configured to acquire channel list data and save to a database;
    频道列表版本信息获取请求处理单元,用于接收终端设备发送的最新频道列表版本信息获取请求,并根据所述最新频道列表版本信息获取请求,在频道列表数据中查得最新频道列表版本信息;a channel list version information obtaining request processing unit, configured to receive a latest channel list version information acquisition request sent by the terminal device, and obtain the latest channel list version information in the channel list data according to the latest channel list version information obtaining request;
    最新频道列表版本信息返回单元,用于将查得的最新频道列表版本信息返回给所述终端设备;The latest channel list version information returning unit is configured to return the latest channel list version information that is found to the terminal device;
    频道列表获取请求处理单元,用于接收所述终端设备发送的最新频道列表信息获取请求,并根据所述最新频道列表信息获取请求,在频道列表数据中查得最新频道列表信息;以及a channel list obtaining request processing unit, configured to receive an latest channel list information obtaining request sent by the terminal device, and obtain the latest channel list information in the channel list data according to the latest channel list information obtaining request;
    最新频道列表返回单元,用于将查得的最新频道列表信息返回给所述终端设备。 The latest channel list returning unit is configured to return the latest channel list information that is found to the terminal device.
  22. 一种终端设备,其特征在于,所述终端设备包括一终端设备频道列表更新装置,A terminal device, wherein the terminal device includes a terminal device channel list update device,
    所述频道列表更新装置包括:The channel list update device includes:
    频道列表数据获取单元,用于获取上一频道列表数据,并将所述频道列表数据保存至本地存储器;a channel list data obtaining unit, configured to acquire previous channel list data, and save the channel list data to a local memory;
    命令录入单元,用于接收频道列表更新命令;a command entry unit for receiving a channel list update command;
    频道列表版本信息请求单元,用于根据所述频道列表更新命令,向服务器发送最新频道列表版本信息获取请求;a channel list version information requesting unit, configured to send, according to the channel list update command, a latest channel list version information acquisition request to the server;
    频道列表版本信息接收单元,用于接收服务器返回的最新频道列表版本信息,并判断所述最新频道列表版本信息是否新于上一频道列表版本信息;a channel list version information receiving unit, configured to receive the latest channel list version information returned by the server, and determine whether the latest channel list version information is new to the previous channel list version information;
    频道列表信息请求单元,用于当判断所述最新频道列表版本信息新于所述上一频道列表版本信息时,向服务器发送最新频道列表信息获取请求;以及a channel list information requesting unit, configured to send an latest channel list information obtaining request to the server when determining that the latest channel list version information is new to the previous channel list version information;
    频道列表更新单元,接收服务器返回的所述最新频道列表信息,根据所述最新频道列表信息对上一频道列表进行更新。 The channel list update unit receives the latest channel list information returned by the server, and updates the previous channel list according to the latest channel list information.
PCT/CN2014/094080 2014-10-28 2014-12-17 Channel list updating method and apparatus, and terminal device WO2016065705A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410592591.6A CN104469474B (en) 2014-10-28 2014-10-28 A kind of channel list update method, device and terminal device
CN201410592591.6 2014-10-28

Publications (1)

Publication Number Publication Date
WO2016065705A1 true WO2016065705A1 (en) 2016-05-06

Family

ID=52914726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094080 WO2016065705A1 (en) 2014-10-28 2014-12-17 Channel list updating method and apparatus, and terminal device

Country Status (2)

Country Link
CN (1) CN104469474B (en)
WO (1) WO2016065705A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445979B (en) * 2015-08-13 2019-04-05 北京字节跳动网络技术有限公司 A kind of intelligent channel sort method and device
CN105430525A (en) * 2015-12-01 2016-03-23 深圳Tcl数字技术有限公司 Method and system for displaying channel list
CN107346557B (en) * 2016-05-05 2019-06-04 北京京东尚科信息技术有限公司 Method and apparatus for updating animation
CN107371046A (en) * 2016-05-11 2017-11-21 陈鼎元 Video broadcast system and its method
CN106250558B (en) * 2016-08-16 2019-10-25 天脉聚源(北京)传媒科技有限公司 A kind of live streaming method for refreshing and device
CN106385618B (en) * 2016-09-12 2019-06-18 北京视信互动科技有限公司 The processing method and relevant device of channel list data
CN106331866A (en) * 2016-09-14 2017-01-11 广州视源电子科技股份有限公司 Method and device for digital satellite broadcasting channel sorting
CN107085603B (en) * 2017-03-31 2020-04-03 北京奇艺世纪科技有限公司 Data processing method and device
CN109040831B (en) * 2018-09-14 2022-01-04 深圳Tcl新技术有限公司 Playing method and device for multi-scene channel searching and computer readable storage medium
CN110290429B (en) * 2019-05-14 2021-09-14 聚好看科技股份有限公司 Column issuing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770838A (en) * 2004-09-08 2006-05-10 Lg电子株式会社 Cable program receiver and method of processing service information for the same
CN101600059A (en) * 2008-06-06 2009-12-09 乐金电子(中国)研究开发中心有限公司 The fast automatic update method and the device of digital television program
CN102984578A (en) * 2012-12-20 2013-03-20 深圳Tcl新技术有限公司 Method, video terminal and system for processing program channel list information
CN103108222A (en) * 2013-02-28 2013-05-15 青岛海信电器股份有限公司 Mobile terminal, television and system, device and method of digital program switching of television

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7545445B2 (en) * 2003-07-25 2009-06-09 Panasonic Corporation Broadcast channel change detection apparatus provided with detection device for detecting change of channel of the broadcast wave
CN101478357B (en) * 2009-01-09 2011-01-05 华为终端有限公司 Channel information processing method, communication system and communication device
CN102118647A (en) * 2009-12-31 2011-07-06 深圳Tcl新技术有限公司 Method for updating channel information of digital television set and digital television set thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770838A (en) * 2004-09-08 2006-05-10 Lg电子株式会社 Cable program receiver and method of processing service information for the same
CN101600059A (en) * 2008-06-06 2009-12-09 乐金电子(中国)研究开发中心有限公司 The fast automatic update method and the device of digital television program
CN102984578A (en) * 2012-12-20 2013-03-20 深圳Tcl新技术有限公司 Method, video terminal and system for processing program channel list information
CN103108222A (en) * 2013-02-28 2013-05-15 青岛海信电器股份有限公司 Mobile terminal, television and system, device and method of digital program switching of television

Also Published As

Publication number Publication date
CN104469474B (en) 2017-11-28
CN104469474A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
WO2016065705A1 (en) Channel list updating method and apparatus, and terminal device
WO2013151374A1 (en) Method and system for transfering data between plurality of devices
WO2014157886A1 (en) Method and device for executing application
WO2009134032A2 (en) Apparatus and method for providing broadcast contents in internet broadcast system
WO2014119889A1 (en) Method of displaying user interface on device, and device
WO2010079883A2 (en) Method and apparatus for reproducing content through integrated channel management
WO2011052951A2 (en) Method and apparatus for managing content service in network based on content use history
WO2016068622A1 (en) Terminal device and method of controlling same
WO2014069949A1 (en) Method and device for playing content
WO2014014302A1 (en) Method and device for sharing content
WO2018090823A1 (en) Method and system for protecting system partition key data, and terminal
WO2018040421A1 (en) Resource sharing method, apparatus, and system
WO2010021493A2 (en) Method and apparatus for transmitting broadcast data, and method and apparatus for receiving broadcast data
WO2018076864A1 (en) Data synchronization method, apparatus, storage medium and electronic device
WO2017028573A1 (en) Method and system for processing picture information based on mobile terminal
WO2020133978A1 (en) Electronic program guide generation method and device, and computer-readable storage medium
WO2018038579A1 (en) Apparatus and method for providing security service in communication system
WO2014182066A1 (en) Content providing method and device
WO2018076829A1 (en) Terminal data processing method, apparatus, system, storage medium and server
WO2017016310A1 (en) Method and apparatus for dynamically configuring remote control function data
WO2018076875A1 (en) Backup data synchronisation method, apparatus, storage medium, electronic device, and server
WO2018076811A1 (en) Data sharing method, device, system, storage medium and electronic device
WO2019156408A1 (en) Electronic device and operation method thereof
WO2018076873A1 (en) Data sharing method, apparatus, medium, electronic device and system
WO2019184436A1 (en) Video pushing method and apparatus, and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14904899

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/09/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 14904899

Country of ref document: EP

Kind code of ref document: A1