Channel searching method and device, equipment and storage medium
By obtaining and parsing the unified channel description file and building a local channel list, the problems of development complexity and inconsistent user experience caused by different channel requirements in different regions are solved, and simplified development and unified channel management are achieved.
Patent Information
- Application Number
- CN202411767685.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-01
AI Technical Summary
TV terminal software developers need to develop specific software for different regions to adapt to channel requirements in each region, resulting in increased development cycle and cost and inconsistent user experience.
By responding to a TV channel search request, use the target frequency to obtain the unified channel description file of the TV broadcast network broadcast, parse the file to obtain channel information and presentation rules, and build a local channel list.
It simplifies the development process of TV terminal software, reduces development cycle and cost, and ensures consistency in channel management in different regions, improving user experience.
Smart Images

Figure CN119743651A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart televisions, and in particular to a channel search method, device, equipment and storage medium. Background Art
[0002] Currently, television broadcasting networks publish digital television broadcasting service information based on PSI (Program Specific Information) specifications and SI (Service Information) specifications.
[0003] However, the PSI and SI specifications do not form standardized technical standards for channel sorting, channel grouping / classification, etc., and the channel sorting, channel grouping / classification, etc. rules issued by TV broadcasting networks in different regions are different. Due to the fact that there are a large number of existing terminals, it is impossible for operators across the country to abandon the original PSI / SI regional rules and switch to a set of national PSI / SI rules. This has led to the need for TV terminal software developers to develop specific TV terminal software for different regions to adapt to the channel requirements of each region, which not only increases the development cycle and cost, but also leads to inconsistent user experience. Summary of the invention
[0004] The present application provides a channel search method, apparatus, device and storage medium to solve the technical problem that developers of television terminal software need to develop specific television terminal software for different regions to adapt to the channel requirements of each region, which not only increases the development cycle and cost, but also leads to inconsistent user experience.
[0005] In a first aspect, the present application provides a channel search method, the method comprising:
[0006] In response to a television channel search request, using a target frequency point to obtain a unified channel description file broadcasted externally by a television broadcast network through the target frequency point, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels of a code stream in the television broadcast network;
[0007] Parsing the unified channel description file to obtain channel information and channel presentation rules of each channel therein;
[0008] A local channel list is constructed according to the channel information of each channel and a channel presentation rule.
[0009] In a possible implementation manner, constructing a local channel list according to the channel information of each channel and a channel presentation rule includes:
[0010] Get the user category to which the current user belongs;
[0011] Determining a target channel that the current user is allowed to watch according to the channel presentation rule of each channel and the user category;
[0012] A local channel list is constructed according to the channel information of the target channel and a channel presentation rule.
[0013] In a possible implementation, the channel presentation rule indicates one or more of the following: channel order, channel classification, channel number, channel name;
[0014] The constructing a local channel list according to the channel information of each channel and the channel presentation rule comprises:
[0015] In the case where the channel presentation rule indication includes a channel ranking, constructing a local channel list conforming to the channel ranking according to the channel information of each channel;
[0016] In the case where the channel presentation rule indicates that the channel presentation rule includes a channel classification, constructing local channel lists of different categories according to the channel classification based on the channel information of each channel;
[0017] In the case where the channel presentation rule indication includes a channel number, constructing a local channel list according to the channel number based on the channel information of each channel;
[0018] In the case where the channel presentation rule indicates that the channel name is included, a local channel list is constructed according to the channel name based on the channel information of each channel.
[0019] In a possible implementation, the method further includes:
[0020] Determining a default channel according to the channel presentation rule of each channel;
[0021] The default channel is recorded so as to control the television to jump to the default channel for channel playback each time the television is turned on.
[0022] In a possible implementation, the method further includes:
[0023] In response to a play instruction for a first channel, when it is determined according to a channel presentation rule of the first channel that the first channel has an associated channel, the television is controlled to jump to the associated channel for channel play.
[0024] In a possible implementation, the method further includes:
[0025] In a case where it is determined according to the unified channel description file that the television broadcast network has an additional frequency point, using the additional frequency point to obtain an additional channel description file broadcasted externally by the television broadcast network through the additional frequency point;
[0026] An additional channel is added to the local channel list according to the additional channel description file.
[0027] In a possible implementation manner, the television channel search request is a television channel update search request. After the local channel list is constructed according to the channel information of each channel and the channel presentation rule,
[0028] The original local channel list is replaced with the newly constructed local channel list.
[0029] In a second aspect, the present application provides a channel search device, the device comprising:
[0030] A channel search module, for responding to a television channel search request, using a target frequency point to obtain a unified channel description file broadcasted externally by a television broadcast network through the target frequency point, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels of the code stream in the television broadcast network;
[0031] A channel parsing module, used to parse the unified channel description file to obtain channel information and channel presentation rules of each channel therein;
[0032] The channel construction module is used to construct a local channel list according to the channel information of each channel and the channel presentation rule.
[0033] In a possible implementation manner, the channel construction module is specifically used to:
[0034] Get the user category to which the current user belongs;
[0035] Determining a target channel that the current user is allowed to watch according to the channel presentation rule of each channel and the user category;
[0036] A local channel list is constructed according to the channel information of the target channel and a channel presentation rule.
[0037] In a possible implementation, the channel presentation rule indicates one or more of the following: channel order, channel classification, channel number, channel name;
[0038] The channel construction module is specifically used for:
[0039] In the case where the channel presentation rule indication includes a channel ranking, constructing a local channel list conforming to the channel ranking according to the channel information of each channel;
[0040] In the case where the channel presentation rule indicates that the channel presentation rule includes a channel classification, constructing local channel lists of different categories according to the channel classification based on the channel information of each channel;
[0041] In the case where the channel presentation rule indication includes a channel number, constructing a local channel list according to the channel number based on the channel information of each channel;
[0042] In the case where the channel presentation rule indicates that the channel name is included, a local channel list is constructed according to the channel name based on the channel information of each channel.
[0043] In a possible implementation, the device further includes:
[0044] A channel confirmation unit, configured to determine a default channel according to a channel presentation rule of each channel;
[0045] The channel control unit is used to record the default channel so as to control the television to jump to the default channel for channel playback each time the television is turned on.
[0046] In a possible implementation, the device further includes:
[0047] The associated channel control unit is used to control the television to jump to the associated channel for channel playback in response to a play instruction for the first channel, if it is determined according to the channel presentation rule of the first channel that the first channel has an associated channel.
[0048] In a possible implementation, the device further includes:
[0049] A frequency acquisition unit, configured to, when it is determined according to the unified channel description file that the television broadcast network has an additional frequency, use the additional frequency to acquire an additional channel description file broadcasted externally by the television broadcast network through the additional frequency;
[0050] A channel adding unit is used to add an additional channel to the local channel list according to the additional channel description file.
[0051] In a possible implementation manner, the television channel search request is a television channel update search request. After the local channel list is constructed according to the channel information of each channel and the channel presentation rule,
[0052] The original local channel list is replaced with the newly constructed local channel list.
[0053] In a third aspect, the present application provides a device, comprising: a processor and a memory, wherein the processor is used to execute a channel search program stored in the memory to implement the channel search method described in any one of the first aspects.
[0054] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the channel search method described in any one of the above items of the present application.
[0055] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application, by responding to a TV channel search request, uses the target frequency point to obtain a unified channel description file broadcast by the TV broadcast network through the target frequency point. Parse the unified channel description file to obtain the channel information and channel presentation rules of each channel therein. Construct a local channel list based on the channel information and channel presentation rules of each channel. In this way, there is no need to develop TV terminal software adaptation codes separately for each region. It is only necessary to develop a set of TV terminal software that does not distinguish between regions for a unified channel description file, thereby greatly simplifying the development process of TV terminal software and reducing the development cycle and cost. In addition, TV terminals in different regions construct local channel lists according to the channel presentation rules in the unified channel description file, ensuring consistency in channel management such as channel sorting, channel classification / grouping, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0058] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0059] Figure 1 A flow chart of an embodiment of a channel search method provided in an embodiment of the present application.
[0060] Figure 2 A flow chart of another embodiment of a channel search method provided in an embodiment of the present application.
[0061] Figure 3 A flow chart of another embodiment of a channel search method provided in an embodiment of the present application.
[0062] Figure 4 A channel searching device is provided in an embodiment of the present application.
[0063] Figure 5 A schematic diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0065] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0066] In order to solve the technical problem that developers of TV terminal software in the prior art need to develop specific TV terminal software for different regions to adapt to the channel requirements of each region, which not only increases the development cycle and cost, but also leads to inconsistent user experience, the present application provides a channel search method, which can greatly simplify the development process of TV terminal software, reduce the development cycle and cost, and ensure the consistency of channel management such as channel sorting, channel classification / grouping in different regions, thereby improving user experience.
[0067] Figure 1 The flowchart of a channel search method provided in an embodiment of the present application. In one embodiment, the method is applied to a device. When the device is hardware, it can be various electronic devices that support parsing the unified channel description file provided in the embodiment of the present application, including but not limited to set-top boxes, smart TVs, etc. When the device is software, it can be installed in the above-mentioned device. Figure 1 As shown, the process includes the following steps:
[0068] Step 101, in response to a TV channel search request, use a target frequency to obtain a unified channel description file broadcast by a TV broadcast network through the target frequency, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels in the TV broadcast network.
[0069] The frequency of a channel signal sent by a television broadcasting network refers to the frequency at which the television broadcasting network sends its channel signal. The frequency information of television broadcasting networks in different regions is usually different. For example, the broadcast frequency of the news broadcast of Beijing Radio and Television Station is FM94.5MHz / AM828kHz, and the broadcast frequency of the comprehensive broadcast of Hebei Radio and Television Station is FM104.3MHz / AM1278kHz. Among them, the channel signal can be in DVB (Digital Video Broadcasting) format, and can also be a channel signal in other formats, which is not limited by the embodiments of the present application.
[0070] Bit rate refers to the amount of data transmitted per unit time, also known as bit rate. Generally, TV broadcasting networks transmit video and audio files in TV channels in the form of bit streams.
[0071] The unified channel description file provided in the technical solution of the embodiment of the present application encapsulates all channel information and channel presentation rules of the code stream in the television broadcast network. As a possible implementation method, the television broadcast network packages the channel information and channel presentation rules of different regions into a unified channel description file, and broadcasts the unified channel description file externally at a frequency point (for the convenience of description, referred to as the target frequency point). For example, the channel information and channel presentation rules of the above-mentioned Beijing Radio and Television News Broadcast and Hebei Radio and Television Comprehensive Broadcast in two different regions are packaged into a channel description file, and only one broadcast frequency, that is, one frequency point, is needed to broadcast the channel information externally. Then, the TV terminal software only needs to search for one target frequency point to obtain the channel information and channel presentation rules of all channels, thereby improving the efficiency of TV channel search, and at the same time facilitating the unified management of channel information in TV terminals in various regions.
[0072] The unified channel description file may be a file in .json format. In addition, it may also be a file in other formats, which is not limited in the embodiment of the present application.
[0073] In one embodiment, in response to a TV channel search request, a specific implementation method of using a target frequency to obtain a unified channel description file that is broadcast externally through the target frequency is as follows: during the initialization setup of the TV terminal (such as a TV or a set-top box, hereinafter collectively referred to as a TV terminal) when it is turned on for the first time after leaving the factory, a TV channel search request is triggered, thereby responding to the TV channel search request and using the target frequency to obtain a unified channel description file that is broadcast externally through the target frequency.
[0074] In another embodiment, in response to a TV channel search request, a specific implementation method of using a target frequency to obtain a unified channel description file that the TV broadcast network broadcasts externally through the target frequency is: the TV terminal responds to a channel update operation triggered by a user, triggers the TV channel search request, and thereby responds to the TV channel search request and uses the target frequency to obtain a unified channel description file that the TV broadcast network broadcasts externally through the target frequency.
[0075] Step 102: parse the unified channel description file to obtain channel information and channel presentation rules of each channel therein.
[0076] Channel information is used to describe the characteristics and services of a definable channel, including information from multiple aspects, such as channel information including but not limited to identification, audio and video type, frequency, audio and video service network protocol, etc. Among them, audio and video type may include but not limited to video format and audio format, and frequency may include but not limited to audio frequency and video frequency.
[0077] Channel presentation rules are a series of criteria and specifications used to indicate how channels are displayed on a TV terminal. These criteria and specifications can be used to indicate but are not limited to the following display rules: channel sorting, channel classification, channel number, channel name, channel icon, etc. Among them, the channel name is the name in the channel list, the channel number is the number displayed on the TV screen when switching to the channel, and the channel sorting is the order of the channel in the constructed local channel list. Channel classification refers to the category to which the channel belongs, such as sports category, economic category, etc. In addition, it may also include other presentation rules, which are not limited by this application.
[0078] In one embodiment, the specific implementation method of parsing the unified channel description file to obtain the channel information and channel presentation rules of each channel therein is: when the unified channel description file is searched for the target frequency point, the unified channel description file is downloaded, the unified channel description file is parsed, and the channel information and channel presentation rules of each channel therein are obtained.
[0079] As a possible implementation method, an algorithm that can parse a unified channel description file is encapsulated in the TV terminal software. Then, the unified channel description file is parsed using the TV terminal software to obtain the channel information and channel presentation rules of each channel therein.
[0080] As another possible implementation, an algorithm capable of parsing the unified channel description file is encapsulated in the set-top box. Then, the set-top box is used to parse the unified channel description file to obtain the channel information and channel presentation rules of each channel therein.
[0081] Step 103: Construct a local channel list according to the channel information of each channel and the channel presentation rule.
[0082] In one embodiment, the specific implementation method of constructing a local channel list according to the channel information of each channel and the channel presentation rule is as follows: when the channel presentation rule indicates that the channel ranking is included, a local channel list that conforms to the channel ranking is constructed according to the channel information of each channel. When the channel presentation rule indicates that the channel classification is included, local channel lists of different categories are constructed according to the channel classification according to the channel information of each channel. When the channel presentation rule indicates that the channel number is included, a local channel list is constructed according to the channel number according to the channel information of each channel. When the channel presentation rule indicates that the channel name is included, a local channel list is constructed according to the channel name.
[0083] Exemplarily, the channel presentation rule for parsing a channel includes channel sorting, channel classification, channel number, and channel name, as shown in Table 1 below:
[0084] Table 1
[0085]
[0086] Based on the channel presentation rules shown in Table 1 above, the channel name of the first channel in Table 1 is named cctv3, the channel is sorted second in the constructed channel list, the channel number of the channel is set to 3, and the channel is classified into the cctv category channel list.
[0087] It can be seen from the description of steps 101 to 103 that the technical solution provided in the embodiment of the present application applies unified channel information and channel presentation rules to ensure consistency in channel sorting, channel grouping / classification, etc. in different regions.
[0088] The method provided in the embodiment of the present application uses the target frequency point to obtain a unified channel description file broadcast by the television broadcast network through the target frequency point in response to a television channel search request. The unified channel description file is parsed to obtain the channel information and channel presentation rules of each channel therein. A local channel list is constructed based on the channel information and channel presentation rules of each channel. In this way, there is no need to develop television terminal software adaptation codes separately for each region. It is only necessary to develop a set of television terminal software that does not distinguish between regions for a unified channel description file, thereby greatly simplifying the development process of television terminal software and reducing development cycles and costs. In addition, television terminals in different regions construct local channel lists according to the channel presentation rules in the unified channel description file, ensuring consistency in channel management such as channel sorting, channel classification / grouping, and improving user experience.
[0089] Figure 2 A flowchart of another channel search method provided in an embodiment of the present application is provided. Figure 2 The embodiment shown in Figure 1 Based on the process shown, the following mainly describes how to construct a local channel list according to the channel information of each channel and the channel presentation rule, including the following steps:
[0090] Step 201, in response to a TV channel search request, use a target frequency to obtain a unified channel description file broadcast by a TV broadcast network through the target frequency, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels in the TV broadcast network.
[0091] Step 202: parse the unified channel description file to obtain channel information and channel presentation rules of each channel therein.
[0092] For a detailed description of steps 201 to 202, see Figure 1 The description of the process shown will not be repeated here.
[0093] Step 203: Obtain the user category to which the current user belongs; determine the target channel that the current user is allowed to watch according to the channel presentation rule and user category of each channel.
[0094] The current user refers to the user currently logged in on the TV terminal.
[0095] User categories refer to the classification of users as needed. For example, user categories include but are not limited to ordinary users, VIP users, hotel users and the like. In addition, other user categories may also be included, which is not limited in the embodiments of the present application.
[0096] The target channel refers to the channel that the current user is allowed to watch.
[0097] In one embodiment, the user category to which the current user belongs is obtained, and according to the channel presentation rules and user category of each channel, a specific implementation method for determining the target channel that the current user is allowed to watch is as follows: the user category to which the current user belongs is obtained, and according to the channel presentation rules of each channel, the user category specified by the channel that is allowed to view the channel is determined, and then the user category to which the current user belongs is matched with the user category corresponding to each channel. When the two are consistent, it is determined to save the channel, and the channel is the target channel.
[0098] Exemplarily, if the user category in the channel presentation rule is ordinary user and the user category of the current user is ordinary user, the channel is determined to be the target channel and the channel information is saved; if the user category in the channel presentation rule is VIP user and the user category of the current user is ordinary user, the channel is not saved.
[0099] It can be seen that by applying the technical solution provided by the embodiment of the present application, while ensuring the consistency of basic aspects such as channel sorting, channel classification / grouping in different regions, different channel lists can be constructed for different categories of users, thereby achieving flexible differential management. For example, the TV terminal channel list of hotel users can be different from that of ordinary users.
[0100] Step 204: construct a local channel list according to the channel information of the target channel and the channel presentation rule.
[0101] Based on the target channel determined and saved in the above steps, the channel information and channel presentation rules of the target channel are obtained. According to the obtained channel information and channel presentation rules, the detailed description of constructing the local channel list is shown in the above Figure 1 The description of the process shown will not be repeated here.
[0102] Through the above Figure 2 The illustrated embodiment can realize how to build a local channel list based on the channel information and channel presentation rules of each channel. This method realizes the ability to provide different channel lists to different categories of users through user classification rules, can meet the different needs of different user categories, avoids the development of multiple different categories of TV terminal software, reduces the development cycle and cost, and can improve the user experience.
[0103] See also Figure 3 , Figure 3 This is a flow chart of another channel search method according to an embodiment of the present application. Figure 3 The embodiment shown in Figure 1 Based on the process shown, the following mainly describes how to construct a local channel list in response to a TV channel update search request, including the following steps:
[0104] Step 301, in response to a TV channel update search request, use the target frequency to obtain a unified channel description file broadcast by the TV broadcast network through the target frequency, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels in the TV broadcast network.
[0105] The TV channel update search request may be triggered by the user or automatically by the TV terminal software. In addition, it may be triggered by other methods, which is not limited by the embodiments of the present application.
[0106] As a possible implementation method, a user manually triggers a TV channel search update request through a display screen of a TV terminal software.
[0107] As another possible implementation method, the TV broadcast network changes or updates the code stream, channel information and channel presentation rules of the relevant channels. After receiving the channel update instruction, the TV terminal software automatically triggers a channel update search request to search for the updated unified channel description file.
[0108] In one embodiment, in response to a TV channel update search request, a specific implementation method of using a target frequency to obtain a unified channel description file that is broadcast externally by a TV broadcast network through the target frequency is as follows: a TV terminal receives a TV channel update search request, and the TV terminal searches for the unified channel description file that is broadcast externally by a TV broadcast network through the target frequency on the target frequency, and obtains an updated unified channel description file.
[0109] Step 302: parse the unified channel description file to obtain channel information and channel presentation rules of each channel therein.
[0110] Step 303: construct a local channel list according to the channel information of each channel and the channel presentation rule.
[0111] For detailed description of steps 302 to 303, see the above Figure 1 Description of the steps shown.
[0112] Step 304: Replace the original local channel list with the newly constructed local channel list.
[0113] It can be seen from the above description that an updated unified channel description file is obtained, a new local channel list is constructed according to channel information and channel presentation rules, and the original local channel list is replaced with the newly constructed local channel list.
[0114] pass Figure 3In the embodiment shown, a unified channel description file is transmitted using a target frequency. When the channel presentation rules change, there is no need to replace the set-top box. The terminal only needs to implement the ability to parse and apply the channel presentation rules. Television terminals in different regions can define and describe requirements for channel presentation based on the channel presentation rules.
[0115] Based on any of the above embodiments, the present application also provides the following embodiments:
[0116] In one embodiment, a default channel is determined according to a channel presentation rule of each channel, and the default channel is recorded so as to control the television to jump to the default channel for channel playback each time the television is turned on.
[0117] As an optional implementation, a specific mark is used in the channel presentation rule of the channel to indicate the default channel. For example, if the value of the default channel information field in the channel presentation rule of the TV channel name cctv1 is 1, it means that the channel is the default channel, and if the value of the default channel information field in the channel presentation rule of the TV channel name city channel is 0, it means that the channel is a non-default channel. Usually, only one default channel is set.
[0118] In this embodiment, each time the TV is turned on, it can directly jump to the default channel for playback, such as playing CCTV1.
[0119] In this way, the television broadcasting network can meet the setting and management of default channels for each region.
[0120] In one embodiment, in response to a play instruction for a first channel, when it is determined according to a channel presentation rule of the first channel that the first channel has an associated channel, the television terminal is controlled to jump to the associated channel for channel play.
[0121] The first channel may be any channel, and for the convenience of description, it is referred to as the first channel.
[0122] In this embodiment, in response to a play instruction for the first channel, rather than directly jumping to the first channel for play, the channel presentation rule of the first channel is first obtained. When the presentation rule of the first channel indicates that the first channel has an associated channel, the TV terminal is controlled to jump to the associated channel for channel play.
[0123] Exemplarily, the channel presentation rule of cctv1 has an associated channel cctv1-g. When the TV terminal receives a play instruction to play cctv1, the TV is controlled to automatically jump to cctv1-g for play and display.
[0124] Here, as an exemplary application scenario, the above-mentioned associated channel is a high-definition channel, and the first channel is a standard-definition channel. Then, by responding to the play instruction of the first channel, automatically jumping to the high-definition channel of the first channel for play, it is possible to intelligently meet the user's high-definition video viewing needs and improve the user experience.
[0125] In one embodiment, when it is determined according to the unified channel description file that there are additional frequency points in the television broadcast network, the additional frequency points are used to obtain additional channel description files broadcasted externally by the television broadcast network through the additional frequency points.
[0126] Specifically, the additional frequency point information in the unified channel description file is obtained, and the TV terminal searches on each additional frequency point. When an additional channel description file broadcast by the TV broadcast network through the additional frequency point is found, the additional channel description file is saved, and the additional channel is constructed into the local channel list according to the channel information in the additional channel description file and the channel presentation rules.
[0127] Exemplarily, the additional frequency points are used to broadcast channel information of some county-level units, for example: XX county channel.
[0128] Exemplarily, when the unified channel description file contains three additional frequency points: 20MHz, 30MHz, and 60MHz, the TV terminal searches on the three additional frequency points respectively. When the channel description file is found, the additional channel information and channel presentation rules on the additional frequency points are saved and added to the constructed local channel list.
[0129] By allowing the setting of additional frequencies while setting a unified target frequency, it is possible to flexibly meet the specific channel broadcasting needs of different regions, thereby further improving the user experience.
[0130] See also Figure 4 , is a block diagram of an embodiment of a channel search device provided in an embodiment of the present application, such as Figure 4 As shown, the device comprises:
[0131] The channel search module 41 is used to respond to the TV channel search request and use the target frequency point to obtain a unified channel description file broadcasted externally by the TV broadcast network through the target frequency point, wherein the unified channel description file encapsulates the channel information and channel presentation rules of all channels of the code stream in the TV broadcast network;
[0132] A channel parsing module 42, used to parse the unified channel description file to obtain channel information and channel presentation rules of each channel therein;
[0133] The channel construction module 43 is used to construct a local channel list according to the channel information of each channel and the channel presentation rule.
[0134] In a possible implementation manner, the channel construction module 43 is specifically configured to:
[0135] Get the user category to which the current user belongs;
[0136] Determining a target channel that the current user is allowed to watch according to the channel presentation rule of each channel and the user category;
[0137] A local channel list is constructed according to the channel information of the target channel and a channel presentation rule.
[0138] In a possible implementation, the channel presentation rule indicates one or more of the following: channel order, channel classification, channel number, channel name;
[0139] The channel construction module 43 is specifically used for:
[0140] In the case where the channel presentation rule indication includes a channel ranking, constructing a local channel list conforming to the channel ranking according to the channel information of each channel;
[0141] In the case where the channel presentation rule indicates that the channel presentation rule includes a channel classification, constructing local channel lists of different categories according to the channel classification based on the channel information of each channel;
[0142] In the case where the channel presentation rule indication includes a channel number, constructing a local channel list according to the channel number based on the channel information of each channel;
[0143] In the case where the channel presentation rule indicates that the channel name is included, a local channel list is constructed according to the channel name based on the channel information of each channel.
[0144] In a possible implementation, the device further includes:
[0145] A channel confirmation unit, configured to determine a default channel according to a channel presentation rule of each channel;
[0146] The channel control unit is used to record the default channel so as to control the television to jump to the default channel for channel playback each time the television is turned on.
[0147] In a possible implementation, the device further includes:
[0148] The associated channel control unit is used to control the television to jump to the associated channel for channel playback in response to a play instruction for the first channel, if it is determined according to the channel presentation rule of the first channel that the first channel has an associated channel.
[0149] In a possible implementation, the device further includes:
[0150] A frequency acquisition unit, configured to, when it is determined according to the unified channel description file that the television broadcast network has an additional frequency, use the additional frequency to acquire an additional channel description file broadcasted externally by the television broadcast network through the additional frequency;
[0151] A channel adding unit is used to add an additional channel to the local channel list according to the additional channel description file.
[0152] In a possible implementation manner, the television channel search request is a television channel update search request. After the local channel list is constructed according to the channel information of each channel and the channel presentation rule,
[0153] The original local channel list is replaced with the newly constructed local channel list.
[0154] like Figure 5 As shown, an embodiment of the present application provides a device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0155] Memory 113, used for storing computer programs;
[0156] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the channel search method provided by any of the above method embodiments, including:
[0157] In response to a television channel search request, using a target frequency point to obtain a unified channel description file broadcasted externally by a television broadcast network through the target frequency point, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels of a code stream in the television broadcast network;
[0158] Parsing the unified channel description file to obtain channel information and channel presentation rules of each channel therein;
[0159] A local channel list is constructed according to the channel information of each channel and a channel presentation rule.
[0160] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the channel search method provided in any of the aforementioned method embodiments are implemented.
[0161] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0163] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0164] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A channel search method, characterized in that: The method comprises: In response to a television channel search request, using a target frequency point to obtain a unified channel description file broadcasted externally by a television broadcast network through the target frequency point, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels of a code stream in the television broadcast network; Parsing the unified channel description file to obtain channel information and channel presentation rules of each channel therein; A local channel list is constructed according to the channel information of each channel and a channel presentation rule.
2. The method according to claim 1, characterized in that The constructing a local channel list according to the channel information of each channel and the channel presentation rule comprises: Get the user category to which the current user belongs; Determining a target channel that the current user is allowed to watch according to the channel presentation rule of each channel and the user category; A local channel list is constructed according to the channel information of the target channel and a channel presentation rule.
3. The method according to claim 1, characterized in that The constructing a local channel list according to the channel information of each channel and the channel presentation rule comprises: In the case where the channel presentation rule indication includes a channel ranking, constructing a local channel list conforming to the channel ranking according to the channel information of each channel; In the case where the channel presentation rule indicates that the channel presentation rule includes a channel classification, constructing local channel lists of different categories according to the channel classification based on the channel information of each channel; In the case where the channel presentation rule indication includes a channel number, constructing a local channel list according to the channel number based on the channel information of each channel; In the case where the channel presentation rule indicates that the channel name is included, a local channel list is constructed according to the channel name based on the channel information of each channel.
4. The method according to claim 1, characterized in that: The method further comprises: Determining a default channel according to the channel presentation rule of each channel; The default channel is recorded so as to control the television to jump to the default channel for channel playback each time the television is turned on.
5. The method according to claim 1, characterized in that The method further comprises: In response to a play instruction for a first channel, when it is determined according to a channel presentation rule of the first channel that the first channel has an associated channel, the television is controlled to jump to the associated channel for channel play.
6. The method according to claim 1, characterized in that The method further comprises: In a case where it is determined according to the unified channel description file that the television broadcast network has an additional frequency point, using the additional frequency point to obtain an additional channel description file broadcasted externally by the television broadcast network through the additional frequency point; An additional channel is added to the local channel list according to the additional channel description file.
7. The method according to claim 1, characterized in that The television channel search request is a television channel update search request. After the local channel list is constructed according to the channel information of each channel and the channel presentation rule, The original local channel list is replaced with the newly constructed local channel list.
8. A channel search device, characterized in that: The device comprises: A channel search module, for responding to a television channel search request, using a target frequency point to obtain a unified channel description file broadcasted externally by a television broadcast network through the target frequency point, wherein the unified channel description file encapsulates channel information and channel presentation rules of all channels of the code stream in the television broadcast network; A channel parsing module, used to parse the unified channel description file to obtain channel information and channel presentation rules of each channel therein; The channel construction module is used to construct a local channel list according to the channel information of each channel and the channel presentation rule.
9. A device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a channel search program stored in the memory to implement the channel search method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the channel search method according to any one of claims 1-7.