CN114640889A - Method for filtering PSI/SI information of digital television set-top box - Google Patents

Method for filtering PSI/SI information of digital television set-top box Download PDF

Info

Publication number
CN114640889A
CN114640889A CN202210293490.3A CN202210293490A CN114640889A CN 114640889 A CN114640889 A CN 114640889A CN 202210293490 A CN202210293490 A CN 202210293490A CN 114640889 A CN114640889 A CN 114640889A
Authority
CN
China
Prior art keywords
filtering
task module
module
psi
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210293490.3A
Other languages
Chinese (zh)
Other versions
CN114640889B (en
Inventor
张令
刘非
沈建春
黄俊斌
刘建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Nationalchip Science & Technology Co ltd
Original Assignee
Hangzhou Nationalchip Science & Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Nationalchip Science & Technology Co ltd filed Critical Hangzhou Nationalchip Science & Technology Co ltd
Priority to CN202210293490.3A priority Critical patent/CN114640889B/en
Publication of CN114640889A publication Critical patent/CN114640889A/en
Application granted granted Critical
Publication of CN114640889B publication Critical patent/CN114640889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements

Abstract

The invention discloses a method for filtering PSI/SI information by a digital television set-top box. The invention comprises an application filtering module, a filtering task module, an analysis task module and a release filtering module. And the application filtering module applies for filter hardware according to the PDI, the TID and the matching condition, and creates a filtering task and a resolving task. And the filtering task module inquires the hardware state of the filter, reads the filtered PSI/SI data if the hardware state is not overtime, and sends the applied FIFO space. And the analysis task module reads and analyzes the PSI/SI data from the FIFO space and sends the analyzed PSI/SI data to a user. The release filtering module stops the filter hardware, destroys the analysis task module and destroys the filtering task module in sequence, destroys the residual data and finally releases the filter hardware. The invention realizes the concurrent execution of a plurality of filtering tasks and has high efficiency. The analysis task module is isolated from the filtering task module, and the two modules achieve the optimal effect.

Description

Method for filtering PSI/SI information of digital television set-top box
Technical Field
The invention belongs to the technical field of digital set-top boxes, and particularly relates to a method for filtering PSI/SI information of a digital television set-top box.
Background
PSI/SI (Program Specific Information/Service Information) is the basic Information source of DVB services, and all DVB-related services need to acquire the necessary Information of the services through the PSI/SI to be developed. PSI describes the content carried by the transport stream, including a description of the elementary streams that make up each program and a description of the program itself. DVB in turn prepares an open service information system (DVB-SI) to assist DVB signals in order to provide IRDs with more information needed for reception and decoding, supporting more complex applications. SI can describe technical features and other information of each service provided by a certain player, and with the help of SI, users can select services or events in the transport stream, and set-top boxes can complete automatic configuration and automatic reception by using SI information. All PSI/SI information is broadcast from the central system in the form of tables containing physical characteristics of the entire broadcast network and program information, all of which, when transmitted, are encapsulated in fixed-size blocks of data called sections.
It can be seen that if various services of DVB are required to be implemented, it is the basis to extract the information required for the services from PSI/SI. For example, searching for television programs requires acquiring program information from PAT and PMT in PSI; the EPG service needs to acquire EVENT information from the EIT in the SI.
Since the PSI/SI carries all service information of the whole DVB, a large amount of data is inevitably transmitted to the set-top box of the terminal through the transmission channel, and many information is real and effective, if the information cannot be received in time, the important information will be wrong, which results in that the service cannot be normally developed. Therefore, how to filter from massive data to needed PSI/SI quickly and efficiently is an important issue in the design of the set-top box system.
The filtering principle of PSI/SI is known to filter PSI/SI information: all service information of DVB exists in the form of tables, different tables belong to PSI or SI respectively, for example, a table required by two channel searching services of PAT and PMT belongs to PSI, EIT is a table required by EPG service and belongs to a filtering method of various tables defined in SI. In addition, even if filtering is performed once through PID and TID, the amount of information is sometimes too large, so that it is stipulated in the DVB standard that a required table can be further accurately filtered by matching header information of the table. Therefore, the basic principle for filtering PSI/SI information is: and matching the PID TID and the header information to obtain a required table. Generally, a PSI/SI filtering system in a set-top box needs a hardware filter and a set of software filtering methods, and the data volume and timeliness of PSI/SI information impose relatively high requirements on a PSI/SI filtering mechanism. A need exists for an efficient PSI/SI filtering method suitable for use with set-top boxes.
To summarize, filtering PSI/SI requires attention to several features: the data volume of PSI/SI is large; the data of the PSI/SI has timeliness requirements, and the filtering is required to be as fast as possible; the data filtering principle of the PSI/SI is standard, and the designed filtering method meets the standard requirement.
Disclosure of Invention
The invention aims to provide a method for filtering PSI/SI information by a digital television set-top box.
The invention comprises an application filtering module, a filtering task module, an analysis task module and a release filtering module.
The application filtering module is specifically as follows:
step (I), the user sends a request for applying for filtering PSI/SI to a filtering module, and sends PID, TID and matching conditions;
step (II) according to the PDI, the TID and the matching condition, applying for filter hardware; if the application is successful, the filter hardware starts to execute filtering, the step (III) is executed, if the application is failed, the step (II) is executed, and the application is continued;
step (III) a filtering task is established through a filtering task module, and applied filter hardware is monitored;
and (IV) creating an analysis task through an analysis task module, and monitoring the filtering task created by the filtering task module.
The filtering task module is specifically as follows:
step (A), a filtering task module queries the hardware state of a filter;
step (B) judging whether the hardware filtering of the filter is overtime: if yes, executing step (C), otherwise executing step (D);
step (C), the filtering task module informs the hardware of the external filter to filter overtime, and the filtering is finished at the present time;
step (D), the filtering task module reads the filtered PSI/SI data from the filter hardware;
step (E), a filtering task module applies for FIFO space;
step (F), the filtering task module judges whether the FIFO space application is successful: if successful, executing step (G), if failed, returning to step (E);
step (G), the filtering task module sends PSI/SI data to FIFO space;
and (H) the filtering task module informs the analysis task module of FIFO reading of PSI/SI data, and the step (A) is returned.
The analysis task module is specifically as follows:
step (a), an analysis task module waits for notification of a filtering task module;
step (b) the analysis task module reads PSI/SI data in FIFO space;
step (c), the analysis task module judges whether the read PSI/SI data has errors: if there is an error, executing step (d), otherwise executing step (e);
step (d) discarding the error data, returning to step (a) and continuing to wait;
step (e) analyzing the PSI/SI data obtained by the task analyzing module;
step (f), the analysis task module judges whether the analyzed PSI/SI data has errors: if there is an error, executing step (d), otherwise executing step (g);
and (g) the analysis task module sends the analyzed PSI/SI data to the user and returns to the step (a).
The release filter module is specifically:
step (1), a user sends a filter releasing command and sends PID, TID and matching conditions;
step (2), the release filtering module searches for filter hardware, a filtering task module and an analysis task module according to the PDI, the TID and the matching condition;
step (3) judging whether the filter hardware, the filtering task module and the analysis task module are searched successfully or not: if not successful, executing the step (4), and if completely successful, executing the step (5);
step (4) returning error information to the user, and ending;
step (5) stopping the filter hardware found in the step (2);
destroying the analysis task module found in the step (2);
step (7) destroying the filtering task module found in the step (2);
step (8) judging whether PSI/SI data residue filtered this time exists in FIFO space: if yes, executing step (9), otherwise, executing step (10);
step (9) obtaining a piece of residual data from the FIFO space, destroying the residual data, returning to step (8), and continuing to judge;
and (10) releasing the filter hardware found in the step (2).
The filtering task module adopts a concurrent mode and automatically matches the demux characteristic of hardware to execute the filtering tasks concurrently as much as possible, so that the efficiency of reading PSI/SI information by the filter hardware is maximized; the FIFO space adopts an interactive mode and a self-adaptive size design, so that the data receiving is not wrong, the data sending is rapid, and the storage space is maximized. The analysis task module also adopts a concurrent design, and is isolated from the filtering task module without mutual interference, so that the performances of the two modules can achieve the optimal effect.
Drawings
FIG. 1 is a schematic timing diagram illustrating the operation of the method;
FIG. 2 is a flow chart of a filtering module applied in the method;
FIG. 3 is a flow chart of a filtering task module in the method;
FIG. 4 is a flow chart of a task analysis module in the method;
FIG. 5 is a flow diagram of the release filter module of the present method.
Detailed Description
The invention is further described below with reference to the figures and examples.
A method for filtering PSI/SI information for a digital television set-top box has the operation time sequence shown in figure 1. The method comprises an application filtering module, a filtering task module, an analysis task module and a release filtering module.
As shown in fig. 2, the application for the filtering module specifically includes:
step (I), the user sends a request for applying for filtering PSI/SI to a filtering module and sends PID, TID and matching conditions;
step (II) according to the PDI, the TID and the matching condition, applying for filter hardware; if the application is successful, the filter hardware starts to execute the filtering and executes the step (III), and if the application is failed, the step (II) is executed and the application is continued;
step (III) a filtering task is established through a filtering task module, and applied filter hardware is monitored;
and (IV) creating an analysis task through an analysis task module, and monitoring the filtering task created by the filtering task module.
As shown in fig. 3, the filtering task module specifically includes:
step (A), a filtering task module queries the hardware state of a filter;
step (B) judging whether the hardware filtering of the filter is overtime: if yes, executing step (C), otherwise executing step (D);
step (C), the filtering task module informs the hardware of the external filter to filter overtime, and the filtering is finished at the present time;
step (D), the filtering task module reads the filtered PSI/SI data from the filter hardware;
step (E), a filtering task module applies for FIFO space;
step (F), the filtering task module judges whether the FIFO space is applied successfully: if successful, executing step (G), and if failed, returning to step (E);
step (G), the filtering task module sends PSI/SI data to FIFO space;
and (H) the filtering task module informs the analysis task module of FIFO reading of PSI/SI data, and the step (A) is returned.
As shown in fig. 4, the parsing task module specifically includes:
step (a), an analysis task module waits for notification of a filtering task module;
step (b) the analysis task module reads PSI/SI data in FIFO space;
step (c), the analysis task module judges whether the read PSI/SI data has errors: if there is an error, executing step (d), otherwise executing step (e);
step (d) discarding the error data, returning to step (a) and continuing to wait;
step (e) analyzing the PSI/SI data obtained by the task analyzing module;
step (f), the analysis task module judges whether the analyzed PSI/SI data has errors: if there is an error, executing step (d), otherwise executing step (g);
and (g) the analysis task module sends the analyzed PSI/SI data to the user, and the step (a) is returned.
As shown in fig. 5, the releasing filter module is specifically:
step (1), the user sends a filter releasing command and sends PID, TID and matching conditions;
step (2) the release filtering module searches for filter hardware, a filtering task module and an analysis task module according to the PDI, the TID and the matching condition;
step (3) judging whether the filter hardware, the filtering task module and the analysis task module are searched successfully or not: if not successful, executing the step (4), and if completely successful, executing the step (5);
step (4) returning error information to the user, and ending;
step (5) stopping the filter hardware found in the step (2);
destroying the analysis task module found in the step (2);
step (7) destroying the filtering task module found in the step (2);
step (8) judging whether PSI/SI data residue filtered this time exists in FIFO space: if yes, executing step (9), otherwise executing step (10);
step (9) obtaining a piece of residual data from the FIFO space, destroying the residual data, returning to step (8), and continuing to judge;
and (10) releasing the filter hardware found in the step (2).

Claims (1)

1. A method for filtering PSI/SI information of a digital television set-top box comprises an application filtering module, a filtering task module, an analysis task module and a release filtering module, and is characterized in that:
the application filtering module is specifically as follows:
step (I), the user sends a request for applying for filtering PSI/SI to a filtering module and sends PID, TID and matching conditions;
step (II) according to the PDI, the TID and the matching condition, applying for filter hardware; if the application is successful, the filter hardware starts to execute the filtering and executes the step (III), and if the application is failed, the step (II) is executed and the application is continued;
step (III) a filtering task is established through a filtering task module, and applied filter hardware is monitored;
step (IV) an analysis task is established through an analysis task module, and a filtering task established by the filtering task module is monitored;
the filtering task module is specifically as follows:
step (A), a filtering task module queries the hardware state of a filter;
step (B) judging whether the hardware filtering of the filter is overtime: if yes, executing step (C), otherwise executing step (D);
step (C), the filtering task module informs the hardware of the external filter to filter overtime, and the filtering is finished at the present time;
step (D), the filtering task module reads the filtered PSI/SI data from the filter hardware;
step (E), a filtering task module applies for FIFO space;
step (F), the filtering task module judges whether the FIFO space application is successful: if successful, executing step (G), and if failed, returning to step (E);
step (G), the filtering task module sends PSI/SI data to FIFO space;
step (H), the filtering task module informs the analysis task module to FIFO read PSI/SI data, and the step (A) is returned;
the analysis task module is specifically as follows:
step (a), an analysis task module waits for notification of a filtering task module;
step (b) the analysis task module reads PSI/SI data in FIFO space;
step (c), the analysis task module judges whether the read PSI/SI data has errors: if there is an error, executing step (d), otherwise executing step (e);
step (d) discarding the error data, returning to step (a) and continuing to wait;
step (e) analyzing the PSI/SI data obtained by the task analyzing module;
step (f), the analysis task module judges whether the analyzed PSI/SI data has errors: if there is an error, executing step (d), otherwise executing step (g);
step (g) the analysis task module sends the analyzed PSI/SI data to the user, and the step (a) is returned;
the release filter module is specifically as follows:
step (1), a user sends a filter releasing command and sends PID, TID and matching conditions;
step (2) the release filtering module searches for filter hardware, a filtering task module and an analysis task module according to the PDI, the TID and the matching condition;
step (3) judging whether the filter hardware, the filtering task module and the analysis task module are searched successfully or not: if not successful, executing the step (4), and if completely successful, executing the step (5);
step (4) returning error information to the user, and ending;
step (5) stopping the filter hardware found in the step (2);
destroying the analysis task module found in the step (2);
step (7) destroying the filtering task module found in the step (2);
step (8) judging whether PSI/SI data residue filtered this time exists in FIFO space: if yes, executing step (9), otherwise executing step (10);
step (9) obtaining a piece of residual data from the FIFO space, destroying the residual data, returning to step (8), and continuing to judge;
and (10) releasing the filter hardware found in the step (2).
CN202210293490.3A 2022-03-23 2022-03-23 Method for filtering PSI/SI information by digital television set top box Active CN114640889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210293490.3A CN114640889B (en) 2022-03-23 2022-03-23 Method for filtering PSI/SI information by digital television set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210293490.3A CN114640889B (en) 2022-03-23 2022-03-23 Method for filtering PSI/SI information by digital television set top box

Publications (2)

Publication Number Publication Date
CN114640889A true CN114640889A (en) 2022-06-17
CN114640889B CN114640889B (en) 2023-08-15

Family

ID=81950361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210293490.3A Active CN114640889B (en) 2022-03-23 2022-03-23 Method for filtering PSI/SI information by digital television set top box

Country Status (1)

Country Link
CN (1) CN114640889B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158876A1 (en) * 2003-02-07 2004-08-12 Shin-Jae Lee Apparatus and method for controlling program information display on electronic program guide screen
KR20050078952A (en) * 2004-02-03 2005-08-08 삼성전자주식회사 Method for searching program specific information
CN206775658U (en) * 2017-05-03 2017-12-19 迈科实业(深圳)有限公司 A kind of maskable Adult's Day purpose set top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158876A1 (en) * 2003-02-07 2004-08-12 Shin-Jae Lee Apparatus and method for controlling program information display on electronic program guide screen
KR20050078952A (en) * 2004-02-03 2005-08-08 삼성전자주식회사 Method for searching program specific information
CN206775658U (en) * 2017-05-03 2017-12-19 迈科实业(深圳)有限公司 A kind of maskable Adult's Day purpose set top box

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘雪;王保保;: "数字电视机顶盒EPG系统的设计与实现", 计算机工程与设计, no. 19 *
涂烨;杨帆;: "利用EPG实现节目过滤功能", 声屏世界, no. 12 *

Also Published As

Publication number Publication date
CN114640889B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
AU2005205497B8 (en) Method of transmitting digital services over a network and device implementing the method
CN1662988B (en) Appliance-guided edit-operations in advanced digital video recording systems
US7028331B2 (en) Content proxy method and apparatus for digital television environment
CN103718564A (en) Reception device, reception method, program, and information processing system
KR20080071585A (en) Triggerless interactive television
CN1157061C (en) Device for memory and search of audio/video data comprising additional information
KR100735264B1 (en) United EPG Prividing Method In Dual Mode DMB Receiver
CN101753979A (en) Method for updating programs of set-top box
CN1750637A (en) Broadcast metadata format independent of transmission standard
CN1801906A (en) Device for updating component of application software in digital broadcasting signal receiver and method thereof
US10869104B2 (en) Receiving apparatus, reception method, transmitting apparatus, transmission method, and program
CN102957941A (en) Program content broadcasting method and digital television front end
AU2007243966A1 (en) Method and apparatus for re-constructing media from a media representation
CN104053056A (en) Television program searching method and system of digital television set-top box
US20180332328A1 (en) Method and System for Implementing Conflict Resolution for Electronic Program Guides
CN114640889B (en) Method for filtering PSI/SI information by digital television set top box
US20080092196A1 (en) Non-provisional utility method and apparatus for receiving, storing, and executing data broadcast application
CN103002338A (en) Intelligent video play monitoring recognition system
US8272005B2 (en) Information monitoring and updating method and system for transport stream
KR20090063638A (en) Data broadcast receiver and method for gathering data boadcasting application
KR20180040333A (en) Method for Processing and Transmitting Supplementary Data of Terrestrial Broadcasting Signal
CN103501457A (en) Method and device for playing programs
CN101420571A (en) TV play recording method for PVR set-top box
CN109275041B (en) Method for automatically acquiring digital program information
KR100588883B1 (en) Operating method for digital broadcasting receiver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant