A region-based set-top box channel filtering method, system, device and medium
By obtaining the set-top box's local area code and area filtering information, a channel filtering list is created and filtered, which solves the shortcomings of area filtering in set-top box channel management and improves the convenience and flexibility of channel management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FUJIAN NEWLAND COMM SCI TECH
- Filing Date
- 2022-12-06
- Publication Date
- 2026-06-19
AI Technical Summary
The lack of flexible regional filtering methods in existing set-top box channel management makes it difficult for operators to effectively manage regional channels, affecting the convenience and flexibility of channel management.
By obtaining the set-top box's local area code and area filtering information, a channel filtering list is created, and channels are filtered based on this list. This includes parsing the service group association table to obtain area filtering information, comparing channel area codes in a loop, and storing the filtered channel information.
It enables channel filtering by region, improving the convenience and flexibility of channel management, and making it easier for operators to allocate channels and differentiate between regional channels.
Smart Images

Figure CN116233562B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of set-top box technology, and in particular to a region-based set-top box channel filtering method, system, device and medium. Background Technology
[0002] With the development of digital television, set-top boxes have become widespread and developed in various regions, and each region also has its own local digital television broadcast channels, resulting in a large number of channels. In order to facilitate channel management, it is necessary to filter channels by region, with each region only managing the channels within its own region.
[0003] Currently, set-top box channel search is mainly based on the nit table (Network Information Table) and sdt table (Service Description Table), and then the bat table (Service Group Association Table) is used to filter unwanted channels. The lack of a front-end that can flexibly control the set-top box to filter channels by region makes it difficult for operators to manage regional channels.
[0004] Therefore, how to provide a region-based set-top box channel filtering method, system, device, and medium to achieve channel filtering by region, thereby improving the convenience and flexibility of channel management, has become an urgent technical problem to be solved. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a method, system, device and medium for filtering set-top box channels based on region, so as to improve the convenience and flexibility of channel management.
[0006] In a first aspect, the present invention provides a region-based set-top box channel filtering method, comprising the following steps:
[0007] Step S10: Obtain the local area code and area filtering information of the set-top box;
[0008] Step S20: Create a channel filtering list based on the local area code and area filtering information;
[0009] Step S30: The set-top box searches for channels and filters the searched channels based on the channel filter list.
[0010] Further, step S10 specifically includes:
[0011] When the set-top box is powered on, the local area code is obtained through the CA interface;
[0012] When the set-top box performs a channel search, it locks onto a preset main frequency point, then obtains the service group association table under the main frequency point, and parses the service group association table to obtain regional filtering information including channel area codes.
[0013] Further, step S20 specifically includes:
[0014] Create a channel filter list, and iteratively compare the local area code with the channel area codes in the area filter information. Add the channels corresponding to the channel area codes that do not match the local area code to the channel filter list.
[0015] Further, step S30 specifically includes:
[0016] The set-top box searches all channels, filters the searched channels based on the channel filter list, and stores the channel information of the filtered channels in the database and flash memory.
[0017] Secondly, the present invention provides a region-based set-top box channel filtering system, comprising the following modules:
[0018] The area information acquisition module is used to acquire the set-top box's local area code and area filtering information;
[0019] The channel filter list creation module is used to create a channel filter list based on the local area code and area filter information.
[0020] The channel filtering module is used by the set-top box to search for channels and filter the searched channels based on the channel filtering list.
[0021] Furthermore, the area information acquisition module is specifically used for:
[0022] When the set-top box is powered on, the local area code is obtained through the CA interface;
[0023] When the set-top box performs a channel search, it locks onto a preset main frequency point, then obtains the service group association table under the main frequency point, and parses the service group association table to obtain regional filtering information including channel area codes.
[0024] Furthermore, the channel filter list creation module is specifically used for:
[0025] Create a channel filter list, and iteratively compare the local area code with the channel area codes in the area filter information. Add the channels corresponding to the channel area codes that do not match the local area code to the channel filter list.
[0026] Furthermore, the channel filtering module is specifically used for:
[0027] The set-top box searches all channels, filters the searched channels based on the channel filter list, and stores the channel information of the filtered channels in the database and flash memory.
[0028] Thirdly, the present invention provides a region-based set-top box channel filtering device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect.
[0029] Fourthly, the present invention provides a region-based set-top box channel filtering medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0030] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0031] By obtaining the set-top box's local area code and area filtering information, a channel filtering list is created based on the local area code and area filtering information. When the set-top box searches for channels, the searched channels are filtered based on the channel filtering list. In other words, the set-top box can filter channels by area code, allowing the front end to better allocate channels and making it easier for the set-top box to distinguish regional channels. Ultimately, this enables channel filtering by region, greatly improving the convenience and flexibility of channel management.
[0032] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0034] Figure 1 This is a flowchart of a region-based set-top box channel filtering method according to the present invention.
[0035] Figure 2 This is a schematic diagram of the structure of a region-based set-top box channel filtering system according to the present invention.
[0036] Figure 3 This is a schematic diagram of the structure of a region-based set-top box channel filtering device according to the present invention.
[0037] Figure 4 This is a schematic diagram of the structure of a region-based set-top box channel filtering medium according to the present invention. Detailed Implementation
[0038] This application provides a region-based set-top box channel filtering method, system, device, and medium to achieve channel filtering by region, thereby improving the convenience and flexibility of channel management.
[0039] The technical solution in this application embodiment has the following general idea: channel filtering is performed through regional codes, which allows the front end to better allocate channels and makes it easier for the set-top box to distinguish regional channels, thereby improving the convenience and flexibility of channel management.
[0040] Example 1
[0041] This embodiment provides a region-based set-top box channel filtering method, such as... Figure 1 As shown, it includes the following steps:
[0042] Step S10: Obtain the local area code and area filtering information of the set-top box;
[0043] Step S20: Create a channel filtering list based on the local area code and area filtering information;
[0044] Step S30: The set-top box searches for channels and filters the searched channels based on the channel filter list.
[0045] Step S10 specifically involves:
[0046] When the set-top box is powered on, the local area code (zoneid) is obtained through the interface function of the CA (ConditionalAccess) interface;
[0047] When the set-top box performs a channel search, it locks the preset main frequency point, and then obtains the service group association table (bat table) under the main frequency point. It parses 0x3, 0x4a, 0xfe, and 0x6e of the service group association table to obtain regional filtering information including channel area codes.
[0048] The specific area filtering information includes: 1. CA replacement service channel information; 2. Channel TSDID, ServiceID, and NetID with area control; 3. Channel area code described for each channel; 4. LCN (International Chinese Network Inc. / TV Network) corresponding to the area.
[0049] Step S20 specifically involves:
[0050] Create a channel filter list, and iteratively compare the local area code with the channel area codes in the area filter information. Add the channels corresponding to the channel area codes that do not match the local area code to the channel filter list.
[0051] If the local area code is not among the channel area codes described in the channel description, it means that the channel corresponding to the channel area code does not belong to the local area and needs to be filtered, so it is added to the channel filtering list. Channel descriptions in the BAT table are separated by bouquetid. One area code can only filter one channel per bouquet, and each bouquet contains a CA replacement service channel and an LCN. If all channels in a bouquet are filtered, the CA replacement service channel is not filtered, and the LCN described in that bouquet must be modified to match the LCN described in that bouquet.
[0052] Step S30 specifically involves:
[0053] The set-top box searches all channels, obtains channel information for all channels through the nit table and sdt table, filters the searched channels based on the channel filtering list, and stores the channel information of the filtered channels in the database and flash memory.
[0054] Filter the channel by comparing serviceid, tsid, and netid. If they are all the same, filter the channel.
[0055] Example 2
[0056] This embodiment provides a region-based set-top box channel filtering system, such as... Figure 2 As shown, it includes the following modules:
[0057] The area information acquisition module is used to acquire the set-top box's local area code and area filtering information;
[0058] The channel filter list creation module is used to create a channel filter list based on the local area code and area filter information.
[0059] The channel filtering module is used by the set-top box to search for channels and filter the searched channels based on the channel filtering list.
[0060] The area information acquisition module is specifically used for:
[0061] When the set-top box is powered on, the local area code (zoneid) is obtained through the interface function of the CA (ConditionalAccess) interface;
[0062] When the set-top box performs a channel search, it locks the preset main frequency point, and then obtains the service group association table (bat table) under the main frequency point. It parses 0x3, 0x4a, 0xfe, and 0x6e of the service group association table to obtain regional filtering information including channel area codes.
[0063] The specific area filtering information includes: 1. CA replacement service channel information; 2. Channel TSDID, ServiceID, and NetID with area control; 3. Channel area code described for each channel; 4. LCN (International Chinese Network Inc. / TV Network) corresponding to the area.
[0064] The channel filter list creation module is specifically used for:
[0065] Create a channel filter list, and iteratively compare the local area code with the channel area codes in the area filter information. Add the channels corresponding to the channel area codes that do not match the local area code to the channel filter list.
[0066] If the local area code is not among the channel area codes described in the channel description, it means that the channel corresponding to the channel area code does not belong to the local area and needs to be filtered, so it is added to the channel filtering list. Channel descriptions in the BAT table are separated by bouquetid. One area code can only filter one channel per bouquet, and each bouquet contains a CA replacement service channel and an LCN. If all channels in a bouquet are filtered, the CA replacement service channel is not filtered, and the LCN described in that bouquet must be modified to match the LCN described in that bouquet.
[0067] The channel filtering module is specifically used for:
[0068] The set-top box searches all channels, obtains channel information for all channels through the nit table and sdt table, filters the searched channels based on the channel filtering list, and stores the channel information of the filtered channels in the database and flash memory.
[0069] Filter the channel by comparing serviceid, tsid, and netid. If they are all the same, filter the channel.
[0070] Based on the same inventive concept, this application provides an electronic device embodiment corresponding to Embodiment 1, as detailed in Embodiment 3.
[0071] Example 3
[0072] This embodiment provides a region-based set-top box channel filtering device, such as... Figure 3 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can implement any of the embodiments in Example 1.
[0073] Since the electronic device described in this embodiment is the device used to implement the method in Embodiment 1 of this application, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the method described in Embodiment 1 of this application. Therefore, how the electronic device implements the method in the embodiment of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiment of this application falls within the scope of protection of this application.
[0074] Based on the same inventive concept, this application provides a storage medium corresponding to Embodiment 1, as detailed in Embodiment 4.
[0075] Example 4
[0076] This embodiment provides a region-based set-top box channel filtering medium, such as... Figure 4 As shown, a computer program is stored thereon, which, when executed by a processor, can implement any of the embodiments in Example 1.
[0077] The technical solutions provided in this application embodiment have at least the following technical effects or advantages:
[0078] By obtaining the set-top box's local area code and area filtering information, a channel filtering list is created based on the local area code and area filtering information. When the set-top box searches for channels, the searched channels are filtered based on the channel filtering list. In other words, the set-top box can filter channels by area code, allowing the front end to better allocate channels and making it easier for the set-top box to distinguish regional channels. Ultimately, this enables channel filtering by region, greatly improving the convenience and flexibility of channel management.
[0079] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0080] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0081] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0082] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0083] While specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and not intended to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A region-based set-top box channel filtering method, characterized in that: Includes the following steps: Step S10: When the set-top box is powered on, obtain the local area code through the CA interface; When the set-top box performs a channel search, it locks onto a preset main frequency point, then obtains the service group association table under the main frequency point, and parses the service group association table to obtain regional filtering information including channel area codes; the regional filtering information specifically includes CA replacement service channel information, channels with regional control, channel area codes for each channel description, and LCNs corresponding to the regions. Step S20: Create a channel filtering list based on the local area code and area filtering information; Step S30: The set-top box searches for channels and filters the searched channels based on the channel filter list; Step S20 specifically involves: Create a channel filter list, and iteratively compare the local area code with the channel area codes in the area filter information. Add the channels corresponding to the channel area codes that do not match the local area code to the channel filter list.
2. The region-based set-top box channel filtering method as described in claim 1, characterized in that: Step S30 specifically involves: The set-top box searches all channels, filters the searched channels based on the channel filter list, and stores the channel information of the filtered channels in the database and flash memory.
3. A region-based set-top box channel filtering system, characterized in that: Includes the following modules: The area information acquisition module is used to obtain the local area code through the CA interface when the set-top box is powered on; When the set-top box performs a channel search, it locks onto a preset main frequency point, then obtains the service group association table under the main frequency point, and parses the service group association table to obtain regional filtering information including channel area codes; the regional filtering information specifically includes CA replacement service channel information, channels with regional control, channel area codes for each channel description, and LCNs corresponding to the regions. The channel filter list creation module is used to create a channel filter list based on the local area code and area filter information. The channel filtering module is used by the set-top box to search for channels and filter the searched channels based on the channel filtering list; The channel filter list creation module is specifically used for: Create a channel filter list, and iteratively compare the local area code with the channel area codes in the area filter information. Add the channels corresponding to the channel area codes that do not match the local area code to the channel filter list.
4. The region-based set-top box channel filtering system as described in claim 3, characterized in that: The channel filtering module is specifically used for: The set-top box searches all channels, filters the searched channels based on the channel filter list, and stores the channel information of the filtered channels in the database and flash memory.
5. A region-based set-top box channel filtering device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 2.
6. A region-based set-top box channel filtering medium, on which a computer program is stored, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 2.