Set top box, automatic program management method thereof and computer readable storage medium

文档序号:1820100 发布日期:2021-11-09 浏览:31次 中文

阅读说明:本技术 一种机顶盒及其自动节目管理方法、计算机可读存储介质 (Set top box, automatic program management method thereof and computer readable storage medium ) 是由 戴长权 于 2021-08-04 设计创作,主要内容包括:本发明公开了一种机顶盒及其自动节目管理方法、计算机可读存储介质,方法包括:机顶盒接收TS流后进行解复用并解析得到已授权节目和默认节目的节目信息,已授权节目是默认节目的全部或者部分节目;根据本地存储的当前节目的节目信息以及已授权节目和默认节目的节目信息进行节目管理,如此可以实现节目的全自动管理,节目的自动更新可以直接在后台进行,从而解决了现有的软件模块因节目更新需重新搜台而造成用户观看的中断的问题,避免了因节目更新而造成用户观看体验的影响而被抱怨,无需终端用户任何额外操作可以实现节目管理,而且本发明还具体可以实现未授权节目的隐藏,以及增加、删除、更名以及节目列表显示位置顺序的自动调整。(The invention discloses a set-top box and an automatic program management method thereof, and a computer readable storage medium, wherein the method comprises the following steps: the set-top box receives the TS stream, then carries out demultiplexing and analysis to obtain program information of an authorized program and a default program, wherein the authorized program is all or part of the default program; the program management is carried out according to the program information of the current program and the program information of the authorized program and the default program which are locally stored, so that the full-automatic management of the program can be realized, the automatic updating of the program can be directly carried out in the background, the problem that the user watches the program and is interrupted due to the fact that the channel needs to be searched again due to the updating of the program of the existing software module is solved, the complaint caused by the influence of the watching experience of the user due to the updating of the program is avoided, the program management can be realized without any additional operation of a terminal user, and the hiding, adding, deleting, renaming and automatically adjusting the display position sequence of the program list can be specifically realized.)

1. A set top box automatic program management method is characterized by comprising the following steps:

and (3) analyzing: the set-top box receives the TS stream, then carries out demultiplexing and analysis to obtain program information of an authorized program and a default program, wherein the authorized program is all or part of the default program;

and (3) automatic program management: program management is carried out according to program information of a current program and program information of an authorized program and a default program which are locally stored;

the program information comprises a service _ id set and an LCN number set corresponding to the service _ id set;

wherein, the program automatic management step includes:

program hiding substep: and if a certain service _ id existing in the service _ id set of the default program does not exist in the service _ id set of the current program and the service _ id set of the authorized program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the current program does not exist in the service _ id set of the authorized program, executing a corresponding program hiding action aiming at the program of the certain service _ id.

2. The method of claim 1, wherein the program automatic management step further comprises:

and a program adding substep, if a certain service _ id existing in the service _ id set of the authorized program does not exist in the service _ id set of the default program and the service _ id set of the current program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the authorized program does not exist in the service _ id set of the current program, executing a corresponding program adding action aiming at the program of the certain service _ id.

3. The method of claim 1, wherein the program automatic management step further comprises:

and a program deleting substep, if a certain service _ id existing in the service _ id set of the current program does not exist in the service _ id sets of the default program and the authorized program, executing a corresponding program deleting action aiming at the program of the certain service _ id.

4. The method of claim 1, wherein the program automatic management step further comprises:

program reordering substep: if a certain service _ id which is consistent exists in the service _ id set of the current program and the service _ id set of the authorized program, comparing the LCN number corresponding to the certain service _ id in the default program with the LCN number corresponding to the authorized program, and if the LCN numbers are not consistent, reordering the programs of the certain service _ id according to the LCN number of the authorized program.

5. The method of claim 1, wherein the program information further comprises a set of program names corresponding to the service _ id set;

the program automatic management step further comprises a program renaming substep of: if a certain service _ id which is consistent exists in the service _ id set of the current program and the service _ id set of the authorized program/default program, comparing the program name corresponding to the certain service _ id in the current program with the program name corresponding to the authorized program/default program, and if the program names are different, renaming the program of the certain service _ id according to the program name corresponding to the authorized program/default program.

6. The method of claim 5,

the analyzing step specifically comprises: and after receiving the TS stream, carrying out mediation to obtain an SDT table and a BAT table, analyzing a real-time program name from the SDT table, and analyzing authorized program information and default program information from the BAT table based on a program analysis protocol acquired from a CA system.

7. The method according to any one of claims 1-6, further comprising:

and a program editing step: the front end of the television station edits the editing information of the program, multiplexes the editing information into TS stream for modulation and transmits the TS stream through a television tower.

8. A set top box, comprising:

the analysis module is used for demultiplexing after receiving the TS stream and analyzing to obtain program information of an authorized program and a default program;

the program automatic updating module is used for carrying out program management according to the program information of the current program stored locally and the program information of the authorized program and the default program;

the program information comprises a service _ id set and an LCN number set corresponding to the service _ id set;

the program automatic updating module comprises a program hiding sub-module, and is used for executing a corresponding program hiding action aiming at a program of a certain service _ id when the certain service _ id existing in the service _ id set of the default program does not exist in the service _ id set of the current program and the service _ id set of the authorized program, or when the certain service _ id existing in the service _ id set of the default program and the service _ id set of the current program does not exist in the service _ id set of the authorized program.

9. A set-top box comprising a processor and a memory, said memory storing a computer program which, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-6.

Technical Field

The invention relates to the field of set top boxes, in particular to a set top box, an automatic program management method thereof and a computer readable storage medium.

Background

The set-top box stores program information for operating a remote controller to view the program information and play programs, but because the programs are changed, if the set-top box needs to update the programs, the set-top box generally notifies a user through a popup window, and when the user confirms the update, the set-top box obtains the updated program information through a channel searching mode.

Disclosure of Invention

The present invention is directed to a set top box, an automatic program management method thereof, and a computer readable storage medium thereof, which are provided to overcome the above-mentioned drawbacks of the prior art.

The technical scheme adopted by the invention for solving the technical problems is as follows: a method for automatically managing programs of a set top box is constructed, and comprises the following steps:

and (3) analyzing: the set-top box receives the TS stream, then carries out demultiplexing and analysis to obtain program information of an authorized program and a default program, wherein the authorized program is all or part of the default program;

and (3) automatic program management: program management is carried out according to program information of a current program and program information of an authorized program and a default program which are locally stored;

the program information comprises a service _ id set and an LCN number set corresponding to the service _ id set;

wherein, the program automatic management step includes:

program hiding substep: and if a certain service _ id existing in the service _ id set of the default program does not exist in the service _ id set of the current program and the service _ id set of the authorized program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the current program does not exist in the service _ id set of the authorized program, executing a corresponding program hiding action aiming at the program of the certain service _ id.

Preferably, the program automatic management step further includes:

and a program adding substep, if a certain service _ id existing in the service _ id set of the authorized program does not exist in the service _ id set of the default program and the service _ id set of the current program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the authorized program does not exist in the service _ id set of the current program, executing a corresponding program adding action aiming at the program of the certain service _ id.

Preferably, the program automatic management step further includes:

and a program deleting substep, if a certain service _ id existing in the service _ id set of the current program does not exist in the service _ id sets of the default program and the authorized program, executing a corresponding program deleting action aiming at the program of the certain service _ id.

Preferably, the program automatic management step further includes:

program reordering substep: if a certain service _ id which is consistent exists in the service _ id set of the current program and the service _ id set of the authorized program, comparing the LCN number corresponding to the certain service _ id in the default program with the LCN number corresponding to the authorized program, and if the LCN numbers are not consistent, reordering the programs of the certain service _ id according to the LCN number of the authorized program.

Preferably, the program information further includes a set of program names corresponding to the service _ id set;

the program automatic management step further comprises a program renaming substep of: if a certain service _ id which is consistent exists in the service _ id set of the current program and the service _ id set of the authorized program/default program, comparing the program name corresponding to the certain service _ id in the current program with the program name corresponding to the authorized program/default program, and if the program names are different, renaming the program of the certain service _ id according to the program name corresponding to the authorized program/default program.

Preferably, the analyzing step specifically includes: and after receiving the TS stream, carrying out mediation to obtain an SDT table and a BAT table, analyzing a real-time program name from the SDT table, and analyzing authorized program information and default program information from the BAT table based on a program analysis protocol acquired from a CA system.

Preferably, the method further comprises:

and a program editing step: the front end of the television station edits the editing information of the program, multiplexes the editing information into TS stream for modulation and transmits the TS stream through a television tower.

In another aspect of the present invention, a set top box is constructed, including:

the analysis module is used for demultiplexing after receiving the TS stream and analyzing to obtain program information of an authorized program and a default program;

the program automatic updating module is used for carrying out program management according to the program information of the current program stored locally and the program information of the authorized program and the default program;

the program information comprises a service _ id set and an LCN number set corresponding to the service _ id set;

the program automatic updating module comprises a program hiding sub-module, and is used for executing a corresponding program hiding action aiming at a program of a certain service _ id when the certain service _ id existing in the service _ id set of the default program does not exist in the service _ id set of the current program and the service _ id set of the authorized program, or when the certain service _ id existing in the service _ id set of the default program and the service _ id set of the current program does not exist in the service _ id set of the authorized program.

Another aspect of the invention is to construct a set-top box comprising a processor and a memory, the memory storing a computer program which, when executed by the processor, implements the steps performed by the set-top box in the method as described above.

Another aspect of the invention constitutes a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps performed by a set-top box as in the method described above.

The set top box, the automatic program management method thereof and the computer readable storage medium have the following advantages that: the invention edits the editing information of the program through the front end of the television station, multiplexes the editing information into the TS stream for modulation, and transmits the TS stream through the television tower, the set-top box demultiplexes and analyzes the TS stream to obtain the program information of the authorized program and the default program after receiving the TS stream, and then performs program management, thereby realizing the full-automatic management of the program, and the automatic updating of the program can be directly performed in the background, thereby solving the problem that the user watches are interrupted because the program needs to be searched again in the existing software module, avoiding the complaint caused by the influence of the user watching experience because of the program updating, realizing the program management without any additional operation of the terminal user, and specifically realizing the hiding of the unauthorized program, and the automatic adjustment of the sequence of the display positions of the addition, deletion, renaming and the program list.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts:

FIG. 1 is an application scenario of the present invention;

FIG. 2 is a flow chart of a method for automatic program management of a set-top box of the present invention;

fig. 3 is a schematic structural diagram of the set-top box of the present invention.

Detailed Description

To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Exemplary embodiments of the invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the embodiments and specific features in the embodiments of the present invention are described in detail in the present application, but not limited to the present application, and the features in the embodiments and specific features in the embodiments of the present invention may be combined with each other without conflict.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.

Example one

Referring to fig. 1, the application scenario of the present invention relates to a tv station front end and a set-top box, and the editing (adding, deleting, authorizing, renaming, and adjusting program list numbers) of programs is controlled by the tv station front end, and after the editing is completed, the programs are multiplexed into a TS stream and then modulated and transmitted through a tv tower. The signal transfer propagation equipment in the application scene graph is an artificial satellite, the modulation mode of the satellite receiver is DVB-S2, the signal transfer propagation equipment can be correspondingly applied to a ground receiver and a cable receiver, and a ground satellite antenna is connected to a set top box after receiving signals.

Referring to fig. 1, the set-top box automatic program management method of the present invention includes:

program editing step S101: the main execution body of the step is the front end of the television station, the front end of the television station edits the editing information of the program, then multiplexes the editing information into TS stream for modulation and transmits the TS stream through a television tower, and the hiding, adding, deleting, reordering and renaming of the program are realized through the editing information, in particular to edit an SDT table and a BAT table.

The SDT table mainly carries service _ id and program name, and the service _ id can uniquely mark one program. The BAT table carries Bouquet _ id, service _ id and LCN number. The Bouquet _ id has two values respectively representing whether the program is an authorized program or a default program, and the interpretation can be written into a program analysis protocol and sent to the set-top box through a CA system so as to be analyzed by the set-top box.

It should be noted that the default program in the present invention includes all programs, and the authorized program is all or part of the default program. Therefore, the service _ id set, the LCN number set, and the name set of the authorized program belong to a subset of the service _ id set, the LCN number set, and the name set of the default program.

In addition, the execution main bodies of other steps after the step S101 is executed are all set top boxes.

Analysis step S102: the set top box receives the TS stream, then carries out demultiplexing and analysis to obtain program information of an authorized program and a default program;

the data content obtained by demultiplexing contains audio, video, PSI/SI and other data of the program, and the invention needs SDT and BAT table after TS stream demultiplexing to obtain real-time program information of the front end of the television station.

The program information comprises a service _ id set, an LCN number set corresponding to the service _ id set and a set of program names corresponding to the service _ id set. Specifically, the step receives the TS stream and then mediates the TS stream to obtain an SDT table and a BAT table, analyzes a real-time program name from the SDT table, analyzes authorized program information and default program information from the BAT table based on a program analysis protocol acquired from the CA system, for example, separates Bouquet _ id representing the authorized program and corresponding service _ id and LCN number to obtain a service _ id set and an LCN number set of the authorized program, and separates Bouquet _ id representing the default program and corresponding service _ id and LCN number to obtain a service _ id set and an LCN number set of the default program.

Program automatic management step S103: and the set top box performs program management according to the locally stored program information of the current program and the program information of the authorized program and the default program.

Wherein, the program automatic management step S103 includes:

program hiding substep S1031: and if a certain service _ id existing in the service _ id set of the default program does not exist in the service _ id set of the current program and the service _ id set of the authorized program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the current program does not exist in the service _ id set of the authorized program, executing a corresponding program hiding action aiming at the program of the certain service _ id. Executing the corresponding program hiding action mainly means not displaying the related information of the program.

And a program adding substep S1032, if a certain service _ id existing in the service _ id set of the authorized program does not exist in the service _ id set of the default program and the service _ id set of the current program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the authorized program does not exist in the service _ id set of the current program, executing a corresponding program adding action aiming at the program of the certain service _ id. Executing the corresponding program adding action mainly means displaying the related information of the program and adding the related information of the program locally, and may also be understood as adding the program to the local current program data.

And a program deletion substep S1033, if a certain service _ id existing in the service _ id set of the current program does not exist in the service _ id sets of the default program and the authorized program, executing a corresponding program deletion action for the program of the certain service _ id. Executing the corresponding program deleting action mainly means deleting the program from the local current program.

The programs related to this embodiment are hidden, added, and deleted, which are summarized as the following table 1:

TABLE 1

And a program reordering substep S1034, if a certain service _ id exists in the service _ id set of the current program and the service _ id set of the authorized program, comparing the LCN number corresponding to the certain service _ id in the default program with the LCN number corresponding to the authorized program, and if the LCN numbers do not coincide, reordering the programs of the certain service _ id according to the LCN number of the authorized program, mainly overwriting the LCN number of the authorized program into the LCN number of the local current program, and simultaneously performing sequencing display according to the latest LCN number.

The reordering involved in this example is summarized in Table 2 below:

TABLE 2

LCN number of current program Authorized program LCN number Whether or not they are the same Performing an action
Is provided with Is provided with Is not the same Program reordering
Is provided with Is provided with Are identical to each other Do no action
Is provided with Is not provided with - Do no action

A program renaming substep S1035, if a certain service _ id exists in the service _ id set of the current program and the service _ id set of the authorized program/default program, comparing the program name corresponding to the certain service _ id in the current program with the program name corresponding to the authorized program/default program, if the program names are different, renaming the program of the certain service _ id according to the program name corresponding to the authorized program/default program, mainly overwriting the name of the authorized program/default program into the local name of the current program, and displaying according to the latest name.

The program related to this embodiment is renamed and summarized in table 3 below:

TABLE 3

Name of current program SDT program title Whether or not they are the same Performing an action
Is provided with Is provided with Is not the same Program name update
Is provided with Is provided with Are identical to each other Do no action
Is provided with Is not provided with - Do no action

In the embodiment, the editing information of the program is edited by the front end of the television station, then the editing information is multiplexed into the TS stream for modulation and is transmitted out through the television tower, the set top box receives the TS stream, then the set top box demultiplexes and analyzes the TS stream to obtain the program information of the authorized program and the default program, and then program management is performed, so that full-automatic management of the program can be realized, automatic updating of the program can be directly performed in the background, the problem that the program is required to be searched again due to updating of the program in the conventional software module is solved, complaints caused by influences of user viewing experience due to updating of the program are avoided, program management can be realized without any additional operation of a terminal user, and the invention can also specifically realize hiding of unauthorized programs, and automatic adjustment of the sequence of display positions of addition, deletion, renaming and program lists.

Example two

The embodiment discloses a set-top box, comprising:

the analysis module 201 is configured to demultiplex and analyze the TS stream to obtain program information of an authorized program and a default program;

the program automatic updating module 202 is configured to perform program management according to locally stored program information of a current program and program information of an authorized program and a default program;

the program information comprises a service _ id set and an LCN number set corresponding to the service _ id set;

wherein the program automatic update module 202 includes:

the program hiding sub-module 2021 is configured to execute a corresponding program hiding action for a certain service _ id existing in the service _ id set of the default program when the certain service _ id does not exist in the service _ id set of the current program and the service _ id set of the authorized program, or when the certain service _ id existing in the service _ id set of the default program and the service _ id set of the current program does not exist in the service _ id set of the authorized program.

And the program adding submodule 2022 is configured to, when a certain service _ id existing in the service _ id set of the authorized program does not exist in the service _ id set of the default program and the service _ id set of the current program, or a certain service _ id existing in the service _ id set of the default program and the service _ id set of the authorized program does not exist in the service _ id set of the current program, perform a corresponding program adding action for the program of the certain service _ id. Executing the corresponding program adding action mainly means displaying the related information of the program and adding the related information of the program locally, and may also be understood as adding the program to the local current program data.

And the program deleting submodule 2023 is configured to, when a certain service _ id existing in the service _ id set of the current program does not exist in the service _ id sets of the default program and the authorized program, execute a corresponding program deleting action for the program of the certain service _ id. Executing the corresponding program deleting action mainly means deleting the program from the local current program.

The program reordering sub-module 2024 is configured to compare an LCN number corresponding to the certain service _ id in the default program with an LCN number corresponding to the authorized program when a certain service _ id is consistent in the service _ id set of the current program and the service _ id set of the authorized program, and reorder the program of the certain service _ id according to the LCN number of the authorized program if the LCN numbers are not consistent, mainly overwrite the LCN number of the authorized program into the LCN number of the local current program, and display the LCN number according to the latest LCN number in an ordered manner.

The program renaming sub-module 2025 is configured to, when a certain service _ id exists in the service _ id set of the current program and the service _ id set of the authorized program/default program, compare the program name corresponding to the certain service _ id in the current program with the program name corresponding to the authorized program/default program, and if the program names are different, rename the program of the certain service _ id according to the program name corresponding to the authorized program/default program, mainly overwrite the name of the authorized program/default program into the local name of the current program, and display the name according to the latest name.

The functions of the functional modules of the set-top box according to the embodiments of the present invention may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the description related to the embodiments of the method, which is not described herein again.

The above description relates to various modules. These modules typically include hardware and/or a combination of hardware and software (e.g., firmware). The modules may also include computer-readable media (e.g., non-transitory media) containing instructions (e.g., software instructions) that, when executed by a processor, perform various functional features of the present invention. Accordingly, the scope of the invention is not limited by the specific hardware and/or software characteristics of the modules explicitly mentioned in the embodiments, unless explicitly claimed. As a non-limiting example, the present invention may in embodiments be implemented by one or more processors executing software instructions. It should be noted that the above description of the various modules is divided into these modules for clarity of illustration. However, in actual implementation, the boundaries of the various modules may be fuzzy. For example, any or all of the functional modules herein may share various hardware and/or software elements. Also for example, any and/or all of the functional modules herein may be implemented in whole or in part by a common processor executing software instructions. Additionally, various software sub-modules executed by one or more processors may be shared among the various software modules. Accordingly, the scope of the present invention is not limited by the mandatory boundaries between the various hardware and/or software elements, unless explicitly claimed otherwise.

EXAMPLE III

The embodiment discloses a set top box, which includes a processor and a memory, where the memory stores a computer program, and the computer program, when executed by the processor, implements the steps executed by the set top box according to the embodiment, that is, implements steps S102 to S103, and the specific implementation process may refer to the description of the above method embodiment, and is not described herein again.

Example four

The present embodiment discloses a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps executed by a set top box according to the embodiment are implemented, that is, steps S102 to S103 are executed, and the specific implementation process may refer to the description of the above method embodiment, and is not described herein again.

While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:内容提供设备、内容提供设备的控制方法及其记录介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类