CN111343494B - Data filtering method, demultiplexer and digital signal processing device - Google Patents

Data filtering method, demultiplexer and digital signal processing device Download PDF

Info

Publication number
CN111343494B
CN111343494B CN201811557754.1A CN201811557754A CN111343494B CN 111343494 B CN111343494 B CN 111343494B CN 201811557754 A CN201811557754 A CN 201811557754A CN 111343494 B CN111343494 B CN 111343494B
Authority
CN
China
Prior art keywords
filter
virtual
filtering
demultiplexer
filters
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.)
Active
Application number
CN201811557754.1A
Other languages
Chinese (zh)
Other versions
CN111343494A (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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201811557754.1A priority Critical patent/CN111343494B/en
Publication of CN111343494A publication Critical patent/CN111343494A/en
Application granted granted Critical
Publication of CN111343494B publication Critical patent/CN111343494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a data filtering method, a demultiplexer and digital signal processing equipment, wherein the data of a transmission stream is filtered through a filter in the demultiplexer to obtain at least one application data; the demultiplexer comprises a primary filter, a secondary filter and a virtual filter corresponding to each secondary filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter. In the application, when new application data needs to be filtered out, the new application data can be realized by creating a new virtual filter. Because the filtering condition of the virtual filter is set according to the filtering condition of the secondary filter, the primary filter and the secondary filter do not need to be stopped when the virtual filter is created, so that the data filtering is not stopped, and the data filtering efficiency is improved. And the demultiplexer has no limitation on the number of creation of virtual filters, so that a multi-application scenario can be satisfied by creating a plurality of virtual filters.

Description

Data filtering method, demultiplexer and digital signal processing device
Technical Field
The present application relates to the field of digital television technologies, and in particular, to a data filtering method, a demultiplexer, and a digital signal processing device.
Background
After receiving a Transport Stream (TS), the digital television receiver needs to filter out application data such as television programs, stocks, government information and the like at different frequency points.
In the prior art, a demultiplexer (Demux) is typically used to filter the data of the transport stream. The demultiplexer includes a primary filter and a plurality of secondary filters created on the basis of the primary filter, and different application data are obtained by filtering with the secondary filters. When new application data needs to be filtered out with a demultiplexer, then a new secondary filter needs to be created. This requires that the primary filter and other secondary filters below the primary filter be shut down before a new secondary filter is created. And then restarting the first filter, other second filters below the first filter and the newly created second filter to filter the transmission flow.
However, stopping the primary and secondary filters briefly terminates the data filtering, reducing the data filtering efficiency. Also, the demultiplexer has a limit to the number of creation of secondary filters, and thus cannot create too many secondary filters to satisfy a multi-application scenario.
Disclosure of Invention
Based on the defects in the prior art, the application provides a data filtering method, a demultiplexer and digital signal processing equipment, so that the data filtering efficiency is improved, and the multi-application scene can be met.
In order to solve the above problems, the following solutions have been proposed:
the first aspect of the application discloses a data filtering method, which comprises the following steps:
a filter in the demultiplexer filters data of the transport stream to obtain at least one application data;
the demultiplexer comprises a primary filter, a secondary filter and a virtual filter corresponding to each secondary filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter.
Optionally, in the above data filtering method, the creating method of the virtual filter includes:
receiving a creation request of a filter, wherein the creation request carries a filter condition of the filter;
if the demultiplexer comprises a primary filter and a secondary filter which meet the filtering condition, creating a virtual filter corresponding to the filtering condition.
Optionally, in the above data filtering method, the method further includes:
if the demultiplexer comprises a primary filter meeting the filtering condition and does not comprise a secondary filter meeting the filtering condition, stopping the primary filter meeting the filtering condition, and creating a secondary filter corresponding to the filtering condition;
and starting a primary filter meeting the filtering condition and a secondary filter corresponding to the primary filter, and creating a virtual filter corresponding to the filtering condition.
Optionally, in the above data filtering method, the method further includes:
if the demultiplexer does not comprise a primary filter meeting the filtering condition, respectively creating a primary filter and a secondary filter corresponding to the filtering condition;
starting the created primary filter and secondary filter, and creating a virtual filter corresponding to the filtering condition.
Optionally, in the above data filtering method, the primary filter of the demultiplexer corresponds to a secondary filter, and a secondary filter corresponds to a plurality of virtual filters, and each of the virtual filters to obtain application data.
Optionally, in the above data filtering method, the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter, including:
the filtering range of the filtering condition of the virtual filter is smaller than that of the corresponding secondary filter.
The second aspect of the present application discloses a demultiplexer comprising: the system comprises a primary filter, a secondary filter and a virtual filter corresponding to each secondary filter, wherein the filtering conditions of the virtual filters are set according to the filtering conditions of the corresponding secondary filters;
the primary filter, the secondary filter and the virtual filter in the demultiplexer are used for filtering the data of the transport stream in sequence to obtain at least one application data.
Optionally, in the above demultiplexer, a primary filter of the demultiplexer corresponds to a secondary filter, and a secondary filter corresponds to a plurality of virtual filters, and each of the virtual filters obtains application data.
The third aspect of the present application discloses a processing apparatus for digital signals, comprising: a demultiplexer as disclosed in any one of the above second aspects, and a filter creation unit;
wherein the filter creation unit is configured to create a primary filter, a secondary filter, and a virtual filter corresponding to each of the secondary filters in the demultiplexer.
Optionally, in the above digital signal processing apparatus, when the filter creation unit creates the virtual filter, the filter creation unit is configured to:
receiving a creation request of a filter, wherein the creation request carries a filter condition of the filter; if the demultiplexer comprises a primary filter and a secondary filter which meet the filtering condition, creating a virtual filter corresponding to the filtering condition.
According to the technical scheme, in the data filtering method provided by the application, the data of the transmission stream is filtered through the filter in the demultiplexer to obtain at least one application data. The demultiplexer comprises a primary filter, a secondary filter and a virtual filter corresponding to each secondary filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter. When new application data needs to be filtered out, this can be achieved by creating new virtual filters. Because the filtering condition of the virtual filter is set according to the filtering condition of the secondary filter, the primary filter and the secondary filter do not need to be stopped when the virtual filter is created, so that the data filtering is not stopped, and the data filtering efficiency is improved. And the demultiplexer has no limitation on the number of creation of virtual filters, so that a multi-application scenario can be satisfied by creating a plurality of virtual filters.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a prior art demultiplexer;
FIG. 2 is a schematic diagram of a demultiplexer according to an embodiment of the present application;
FIG. 3 is a flow chart of a method for creating a virtual filter according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a digital signal processing apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, in the prior art, a demultiplexer includes a primary filter and a plurality of secondary filters created on the basis of the primary filter, and different application data are obtained by filtering with the secondary filters. The primary filter and the secondary filter are physical filters, that is, when the primary filter and the secondary filter data in a transport stream, the data is filtered through a hardware interface in a software development kit (Software Development Kit, SDK).
When new application data needs to be filtered out with a demultiplexer, then a new secondary filter needs to be created. Because the creation of a new secondary filter requires the recall of the hardware interface in the software development kit SDK, the primary filter and other secondary filters under the primary filter need to be closed, and then the hardware interface in the SDK is recalled to create a new secondary filter. And then restarting the first filter, other second filters below the first filter and the newly created second filter to filter the transmission flow.
However, stopping the primary and secondary filters briefly terminates the data filtering, reducing the data filtering efficiency. Also, the demultiplexer has a limit to the number of creation of secondary filters, and thus cannot create too many secondary filters to satisfy a multi-application scenario.
In view of the above problems, the present application discloses a data filtering method, a demultiplexer and a digital signal processing device.
The embodiment of the application provides a data filtering method, which comprises the following steps:
the filter in the demultiplexer filters the data of the transport stream to obtain at least one application data.
Referring to fig. 2, the demultiplexer includes a primary filter, a secondary filter, and a virtual filter corresponding to each secondary filter, and filtering conditions of the virtual filter are set according to filtering conditions of the corresponding secondary filter.
It should be noted that, the primary filter and the secondary filter are physical filters, that is, in the process that the primary filter and the secondary filter the data of the transport stream, the primary filter and the secondary filter need to call a hardware interface in the SDK, and filter the data of the transport stream according to the program operation.
The demultiplexer may include at least one primary filter, at least one secondary filter, and at least one virtual filter. The number of primary filters, secondary filters, and virtual filters may vary depending on the filtering conditions. The filtering condition corresponding to the primary filter may include a Packet Identifier (PID), and after the primary filter filters the transport stream data, a transport stream Packet having the PID corresponding to the primary filter is obtained. The filtering conditions corresponding to the secondary filter may include a table identifier (table_id), data bytes and other filtering conditions, and after the secondary filter filters the transport stream packet, various application data satisfying the filtering conditions are obtained. The condition of the virtual filter is set according to the corresponding secondary filter, so the type of the filtering condition of the virtual filter is the same as that of the secondary filter, but the filtering range of the filtering condition corresponding to the virtual filter is smaller than that of the secondary filter. Each virtual filter filters a plurality of application data to obtain one application data.
The filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter, and only the data filtered by the secondary filter corresponding to the virtual filter is distributed in the process of filtering the data by the virtual filter. Therefore, the virtual filter is different from the primary filter and the secondary filter, when a new virtual filter is created to filter data, a new SDK hardware interface is not required to be called, and when the new virtual filter is created, the primary filter and the secondary filter corresponding to the primary filter are not influenced, the primary filter and the secondary filter are not required to be stopped to create the virtual filter, and the data filtering efficiency is improved.
Meanwhile, the primary filter and the secondary filter can be filtered only by calling the hardware interfaces of the SDK, so that the number of the primary filter and the secondary filter to be created is limited by the number of the hardware interfaces in the SDK, and excessive primary filters and secondary filters cannot be created. The virtual filter does not need to call the SDK hardware interface, so the purpose of filtering out a plurality of applications can be achieved by creating a plurality of virtual filters. In addition, the SDK hardware interface does not allow creation of filters of the same filtering conditions, but since the virtual filter does not need to call the SDK hardware interface, a virtual filter of the same filtering conditions can be created.
Alternatively, in an embodiment of the present application, the primary filter of the demultiplexer may correspond to a secondary filter, and a secondary filter corresponds to a plurality of virtual filters, where each virtual filter filters to obtain application data.
In the demultiplexer, when one primary filter corresponds to one secondary filter, a filtering range which is wide enough is set for the filtering condition corresponding to the secondary filter, and the secondary filter is only required to be established once. When new application data needs to be filtered, a secondary filter does not need to be created any more, and only a virtual filter corresponding to the filtering condition needs to be created, so that the data filtering efficiency is greatly improved. It should be noted that, the primary filter of the demultiplexer may also correspond to a plurality of secondary filters, and the plurality of secondary filters respectively correspond to a plurality of virtual filters.
Alternatively, in another embodiment of the present application, the filtering range of the filtering condition of the virtual filter may be smaller than the filtering condition of the corresponding secondary filter.
For example, the filtering condition corresponding to the secondary filter may be various table_ids, so that the data carrying various table_ids is obtained after the transport stream packet passes through the secondary filter. The filtering condition of each virtual filter corresponding to the secondary filter may be one of multiple table_ids, and after each virtual filter filters the data carrying multiple table_ids, the data carrying one of the table_ids, that is, one application data, is obtained.
The filtering range of the filtering condition of the virtual filter may be equal to the filtering condition of the corresponding secondary filter. For example, in practical application, only the demultiplexer is required to filter out one application data, so that the filtering range of the secondary filter is not required to be set as large, the filtering condition of the secondary filter may be a table_id, the filtering condition corresponding to the virtual filter is the same as that of the secondary filter, and after the transport stream packet passes through the secondary filter and the virtual filter, the data carrying only one table_id, that is, one application data, is obtained. However, since the virtual filter is created by the secondary filter, the filtering range of the filtering condition of the virtual filter cannot be larger than that of the secondary filter.
Optionally, referring to fig. 3, in another specific embodiment of the present application, a method for creating a virtual filter may include:
s301, receiving a creation request of a filter, wherein the creation request carries a filter condition of the filter.
Specifically, the filter conditions carried in the creation request can be understood as filter conditions including a primary filter, a secondary filter, and a virtual filter. Further, since the filtering condition of the virtual filter is set in accordance with the filtering condition of the secondary filter, it is understood that the filtering condition of the virtual filter is a filtering condition smaller than the range of the filtering condition of the secondary filter.
Thus, in general, the filtering conditions carried in the creation request can be basically understood as filtering conditions for the primary filter that needs to be created, and filtering conditions for creating the secondary filter and the virtual filter that correspond. The type of the filtering condition of the secondary filter is the same as the type of the filtering condition of the virtual filter, but the range of the filtering condition of the secondary filter is larger than the range of the filtering condition of the corresponding virtual filter.
The filtering condition corresponding to the primary filter may include a Packet Identifier (PID), and after the primary filter filters the transport stream data, a transport stream Packet having the PID corresponding to the primary filter is obtained.
The filtering conditions corresponding to the secondary filter may include a table identifier (table_id), data bytes and other filtering conditions, and after the secondary filter filters the transport stream packet, various application data satisfying the filtering conditions are obtained.
The conditions of the virtual filter are set according to the corresponding secondary filter, so the type of the filtering conditions of the virtual filter is the same as the secondary filter, but the filtering range of the filtering conditions corresponding to the virtual filter is smaller than that of the secondary filter. Each virtual filter filters a plurality of application data to obtain one application data.
S302, judging whether a first-stage filter meeting a filtering condition is included in the demultiplexer.
If it is determined that the demultiplexer includes a first filter satisfying the filtering condition, S304 is performed.
The filters in the demultiplexer have respective corresponding primary filter lists, secondary filter lists, and virtual filter lists. If the primary filter list includes the PID of the primary filter in the creation request, it is indicated that the demultiplexer includes the primary filter satisfying the filtering condition.
S304, judging whether a secondary filter meeting the filtering condition is included in the demultiplexer.
And screening the filtering conditions of the secondary filters in the creation request in the list of the secondary filters created on the primary filter meeting the filtering conditions, and if the screening results in the secondary filters meeting the filtering conditions of the secondary filters in the creation request, namely, the filtering range of the filtering conditions in the creation request is smaller than or equal to the filtering range of the filtering conditions in the list of the secondary filters, indicating that the demultiplexer comprises the secondary filters meeting the filtering conditions.
Specifically, each secondary filter in the list of secondary filters is provided with a certain filtering depth, typically 8-16 bytes. In addition, the filtering condition of the secondary filter in the creation request also reflects the filtering depth of the secondary filter to be created, so when the filtering condition of the secondary filter in the creation request is screened in the list of the secondary filters, bytes corresponding to each secondary filter in the list of the secondary filters need to be compared byte by byte according to a formula, if the filtering range of the filtering condition of the secondary filter in the creation request is found to be larger than the bytes corresponding to the secondary filters in the list of the secondary filters, a new secondary filter needs to be created, otherwise, a new secondary filter does not need to be created.
It should be noted that, the newly created secondary filter needs to replace the original secondary filter, that is, the filtering condition of the secondary filter in the creation request needs to be replaced by the original filtering condition in the list of the secondary filters.
If the demultiplexer includes a secondary filter satisfying the filtering condition, S308 is executed to create a virtual filter corresponding to the filtering condition.
Specifically, in the virtual filter list created on the secondary filter meeting the filtering conditions, the filtering conditions of the virtual filter in the creation request are bound, so that the creation of the virtual filter is realized.
Alternatively, referring also to fig. 3, if it is determined that the demultiplexer does not include a secondary filter satisfying the filtering condition, steps S305 to S307 and step S308 set forth above are performed.
S305, stopping the first-stage filter meeting the filtering condition.
If the demultiplexer does not include a secondary filter that satisfies the filtering condition, it is described that a new secondary filter needs to be created again, but since the secondary filter is a physical filter, creating a new secondary filter needs to call a hardware interface in the SDK, which may affect the primary filter in the working state, and therefore, it is necessary to control the primary filter that satisfies the filtering condition in the creation request to stop working.
It should be noted that, the demultiplexer is a first-stage filter including a plurality of first-stage filters, and the first-stage filter does not satisfy the filtering condition in the creation request, and is not affected, and does not need to stop working.
And, typically, one primary filter corresponds to one secondary filter. However, if a primary filter satisfying the filtering condition in the creation request is itself provided with a plurality of secondary filters, it is necessary to stop the operation of the other secondary filters corresponding to the primary filter in addition to the operation of the primary filter.
S306, creating a secondary filter corresponding to the filtering condition.
Specifically, in the secondary filter list created on the primary filter meeting the filtering conditions, the filtering conditions of the secondary filters in the creating request are bound, so that the secondary filters are created.
In general, one primary filter corresponds to one secondary filter, if a secondary filter list originally exists in the secondary filter list, when a secondary filter corresponding to the filtering condition is to be created, the filtering condition in the creating request needs to be covered by the original filtering condition on the secondary filter list, so that the creation of the secondary filter is realized, that is, the newly created secondary filter replaces the original secondary filter. The coverage of the filtering condition of the newly created secondary filter is larger than that of the originally existing secondary filter.
Optionally, if the primary filter corresponds to a plurality of secondary filters, when a secondary filter corresponding to a filtering condition needs to be created, the filtering condition of the secondary filter in the creation request may be bound in the secondary filter list, but the original filtering condition on the secondary filter list is not covered, so that the creation of the secondary filter is realized. The newly created secondary filter does not replace the existing secondary filter, and the filtering ranges of the filtering conditions of the plurality of secondary filters do not overlap with each other, so that no intersection exists.
S307, starting a primary filter meeting the filtering condition and a secondary filter corresponding to the primary filter.
After the secondary filter is built, the virtual filter is built without calling a hardware interface in the SDK, so that the primary filter which is stopped and the secondary filter corresponding to the primary filter can be started first, and the problem caused by long-time shutdown of the filter is avoided.
Of course, after step S308 is performed, S307 may be performed again.
It should also be noted that, in general, the first-stage filter provided in the demultiplexer basically meets the requirements of various applications. That is, when new application data is required to be obtained by filtering with the filter, the demultiplexer includes a first-stage filter that satisfies the filtering condition.
Optionally, if the original primary filter in the demultiplexer cannot meet the requirement for a certain newly added application, step S302 determines that the demultiplexer does not include the primary filter that meets the filtering condition, and step S303 and steps S306 to S308 provided above may be executed.
S303, creating a first-stage filter corresponding to the filtering condition.
Wherein, the first-level filter is created, namely, the screening condition of the first-level filter in the binding creation request is in the first-level filter list.
Based on the data filtering method disclosed in the embodiment of the present application, the embodiment of the present application correspondingly discloses a demultiplexer, including: a primary filter, a secondary filter, and a virtual filter corresponding to each secondary filter. The filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter. The primary filter, the secondary filter and the virtual filter in the demultiplexer are used for filtering the data of the transport stream in sequence to obtain at least one application data.
Optionally, the first filter of the demultiplexer corresponds to a second filter, and the second filter corresponds to a plurality of virtual filters, and each virtual filter filters to obtain application data.
The specific principle and implementation process of the demultiplexer disclosed in the above embodiment of the present application are the same as those of the demultiplexer disclosed in the above embodiment of the present application, and may refer to the corresponding parts of the data filtering method disclosed in the above embodiment of the present application, which are not described in detail herein.
The demultiplexer provided by the application comprises a primary filter, a secondary filter and a virtual filter corresponding to each secondary filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter. The primary filter, the secondary filter and the virtual filter in the demultiplexer are used for filtering the data of the transport stream in sequence to obtain at least one application data. When new application data needs to be filtered out, this can be achieved by creating new virtual filters. Because the filtering condition of the virtual filter is set according to the filtering condition of the secondary filter, the primary filter and the secondary filter do not need to be stopped when the virtual filter is created, so that the data filtering is not stopped, and the data filtering efficiency is improved. And the demultiplexer has no limitation on the number of creation of virtual filters, so that a multi-application scenario can be satisfied by creating a plurality of virtual filters.
Referring to fig. 4, an embodiment of the present application discloses a digital signal processing apparatus 400. Alternatively, the digital signal processing apparatus 400 refers generally to a set-top box, a digital television receiver, or the like, is provided with a demultiplexer, and is operable to receive a transport stream, and filters data in the transport stream by the provided demultiplexer.
Referring to fig. 4, the processing apparatus 400 of a digital signal includes a demultiplexer 401 and a filter creation unit 402.
Wherein the demultiplexer 401 comprises: the system comprises a primary filter, a secondary filter and a virtual filter corresponding to each secondary filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter. The primary filter, the secondary filter and the virtual filter in the demultiplexer 401 are used for sequentially filtering the data of the transport stream to obtain at least one application data.
A filter creation unit 402 for creating a primary filter, a secondary filter, and a virtual filter corresponding to each secondary filter in the demultiplexer 401.
In the digital signal processing apparatus disclosed in this embodiment, a filter in the demultiplexer 401 filters data of a transport stream to obtain at least one application data. The demultiplexer 401 includes a primary filter, a secondary filter, and a virtual filter corresponding to each secondary filter, and the filtering condition of the virtual filter is set according to the filtering condition of the corresponding secondary filter. When new application data needs to be filtered out, the new virtual filter can be created by the filter creation unit 402, and the filter creation unit 402 does not need to stop the primary filter and the secondary filter when creating the virtual filter because the filtering condition of the virtual filter is set according to the filtering condition of the secondary filter, so that the data filtering is not stopped, and the data filtering efficiency is improved. And the demultiplexer 401 has no limitation on the number of creation of virtual filters, so that a multi-application scenario can be satisfied by creating a plurality of virtual filters.
Optionally, in another embodiment of the present application, the primary filter of the demultiplexer 401 corresponds to a secondary filter, and a secondary filter corresponds to a plurality of virtual filters, and each of the virtual filters obtains an application data.
In this embodiment, the specific configuration principle and operation process of the filter in the demultiplexer 401 are referred to as corresponding method embodiments, and are not described herein.
Alternatively, in another embodiment of the present application, when the filter creation unit 402 creates a virtual filter, it is configured to: a request for creation of a filter is received. The method comprises the steps that a request is created, wherein the request carries a filtering condition of a filter; if the demultiplexer 401 includes a primary filter and a secondary filter satisfying the filtering condition, a virtual filter corresponding to the filtering condition is created.
Alternatively, in another embodiment of the present application, if the demultiplexer 401 includes a primary filter that satisfies the filtering condition and does not include a secondary filter that satisfies the filtering condition, the filter creating unit 402 is configured to, when creating the virtual filter: stopping the primary filter meeting the filtering condition, and creating a secondary filter corresponding to the filtering condition; and starting the primary filter meeting the filtering condition and the secondary filter corresponding to the primary filter, and creating a virtual filter corresponding to the filtering condition.
Alternatively, in another embodiment of the present application, if the demultiplexer 401 does not include a primary filter that satisfies the filtering condition, the filter creating unit 402 is configured to: respectively creating a primary filter and a secondary filter corresponding to the filtering conditions; and starting the created primary filter and secondary filter, and creating a virtual filter corresponding to the filtering condition.
In the above embodiments of the present application, the specific working process of the filter creation unit 402 is referred to as a corresponding method embodiment, and is not described herein.
Those skilled in the art will be able to make or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method of data filtering, comprising:
a filter in the demultiplexer filters data of the transport stream to obtain at least one application data;
the demultiplexer comprises a first-stage filter, a second-stage filter and a virtual filter corresponding to each second-stage filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding second-stage filter, the filtering range of the filtering condition of the virtual filter is smaller than that of the second-stage filter, and the first-stage filter and the second-stage filter are both physical filters;
the filter in the demultiplexer filters the data of the transport stream to obtain at least one application data, including:
the first-stage filter filters data of the transport stream to obtain transport stream packets;
the secondary filter filters the transport stream packets to obtain various application data meeting the filtering conditions of the secondary filter;
and each virtual filter filters the plurality of application data to obtain application data.
2. The method of claim 1, wherein the method of creating the virtual filter comprises:
receiving a creation request of a filter, wherein the creation request carries a filter condition of the filter;
if the demultiplexer comprises a primary filter and a secondary filter which meet the filtering condition, creating a virtual filter corresponding to the filtering condition.
3. The method as recited in claim 2, further comprising:
if the demultiplexer comprises a primary filter meeting the filtering condition and does not comprise a secondary filter meeting the filtering condition, stopping the primary filter meeting the filtering condition, and creating a secondary filter corresponding to the filtering condition;
and starting a primary filter meeting the filtering condition and a secondary filter corresponding to the primary filter, and creating a virtual filter corresponding to the filtering condition.
4. A method according to claim 2 or 3, further comprising:
if the demultiplexer does not comprise a primary filter meeting the filtering condition, respectively creating a primary filter and a secondary filter corresponding to the filtering condition;
starting the created primary filter and secondary filter, and creating a virtual filter corresponding to the filtering condition.
5. The method of claim 1, wherein a primary filter of the demultiplexer corresponds to a secondary filter and a secondary filter corresponds to a plurality of virtual filters, each of the virtual filters filtering to obtain an application data.
6. A demultiplexer, comprising: the device comprises a first-stage filter, a second-stage filter and a virtual filter corresponding to each second-stage filter, wherein the filtering condition of the virtual filter is set according to the filtering condition of the corresponding second-stage filter, the filtering range of the filtering condition of the virtual filter is smaller than that of the second-stage filter, and the first-stage filter and the second-stage filter are both physical filters;
the primary filter, the secondary filter and the virtual filter in the demultiplexer are used for filtering data of a transmission stream in sequence to obtain at least one application data;
the first-stage filter is used for filtering data of a transport stream to obtain a transport stream packet;
the secondary filter is used for filtering the transport stream packet to obtain various application data meeting the filtering conditions of the secondary filter;
each virtual filter is used for filtering the plurality of application data to obtain application data.
7. The demultiplexer of claim 6, wherein a primary filter of the demultiplexer corresponds to a secondary filter and a secondary filter corresponds to a plurality of virtual filters, each of the virtual filters filtering to obtain an application data.
8. A digital signal processing apparatus, comprising: the demultiplexer of claim 6 or 7, and a filter creation unit;
wherein the filter creation unit is configured to create a primary filter, a secondary filter, and a virtual filter corresponding to each of the secondary filters in the demultiplexer.
9. The apparatus according to claim 8, wherein when the filter creation unit creates the virtual filter, the filter creation unit is configured to:
receiving a creation request of a filter, wherein the creation request carries a filter condition of the filter; if the demultiplexer comprises a primary filter and a secondary filter which meet the filtering condition, creating a virtual filter corresponding to the filtering condition.
CN201811557754.1A 2018-12-19 2018-12-19 Data filtering method, demultiplexer and digital signal processing device Active CN111343494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811557754.1A CN111343494B (en) 2018-12-19 2018-12-19 Data filtering method, demultiplexer and digital signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811557754.1A CN111343494B (en) 2018-12-19 2018-12-19 Data filtering method, demultiplexer and digital signal processing device

Publications (2)

Publication Number Publication Date
CN111343494A CN111343494A (en) 2020-06-26
CN111343494B true CN111343494B (en) 2023-08-15

Family

ID=71186921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811557754.1A Active CN111343494B (en) 2018-12-19 2018-12-19 Data filtering method, demultiplexer and digital signal processing device

Country Status (1)

Country Link
CN (1) CN111343494B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271492A (en) * 1997-07-24 2000-10-25 卡纳尔股份有限公司 Digital transport stream processing
CN1729654A (en) * 2002-02-27 2006-02-01 诺基亚公司 Boolean protocol filtering
CN102065334A (en) * 2010-07-21 2011-05-18 深圳创维数字技术股份有限公司 Digital television receiver and operation method of demultiplex equipment in mixed application environment
CN105472445A (en) * 2015-11-19 2016-04-06 四川长虹电器股份有限公司 Ts flow de-multiplexing method
CN109597673A (en) * 2017-09-30 2019-04-09 华为技术有限公司 Create the method and controlling equipment of virtual machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010075755A (en) * 2000-01-17 2001-08-11 구자홍 structure for Extender Text Table discrimination of Electronic Program Guide in digital TV

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271492A (en) * 1997-07-24 2000-10-25 卡纳尔股份有限公司 Digital transport stream processing
CN1729654A (en) * 2002-02-27 2006-02-01 诺基亚公司 Boolean protocol filtering
CN102065334A (en) * 2010-07-21 2011-05-18 深圳创维数字技术股份有限公司 Digital television receiver and operation method of demultiplex equipment in mixed application environment
CN105472445A (en) * 2015-11-19 2016-04-06 四川长虹电器股份有限公司 Ts flow de-multiplexing method
CN109597673A (en) * 2017-09-30 2019-04-09 华为技术有限公司 Create the method and controlling equipment of virtual machine

Also Published As

Publication number Publication date
CN111343494A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN111865736A (en) Equipment control method and device
CN101197775B (en) Method, device and system for implementing port mirror-image
CN104581995A (en) Method and device for assisting in network connection through mobile terminal
CN111343494B (en) Data filtering method, demultiplexer and digital signal processing device
US10740161B2 (en) Broadcast message sending method and apparatus, and mobile terminal
CN103763504A (en) Control method and terminal of broadcast channel and broadband channel
CN104516704B (en) Application activation control method and device in multi-screen system and mobile terminal
CN107846500A (en) The scene indicating means and terminal device of terminal device
CN113259757A (en) Method for video screen projection by being convenient and fast to be compatible with multiple applications
CN105592361A (en) Set top box background program cleaning method, device and system
US20170085682A1 (en) Method and system for interchangeable network communications protocol configurations
CN107222300B (en) Carrier aggregation information reporting method and system
CN105245246A (en) Method for eliminating self-interference by full-duplex wireless communication system and receiver
CN103931257A (en) Methods and apparatus for sending and receiving paging messages
CN202713455U (en) Video signal processing device
CN108521601B (en) Method and device for rapidly playing non-standard code stream
CN112787828A (en) Application flow statistical method and device and mobile electronic device
CN105704561A (en) Screen protection launching method, screen protection device, and intelligent terminal
CN114650445B (en) TLV data packet filtering method, storage medium and terminal equipment
CN101742272B (en) PSI/SI (program specific information/service information) information broadcasting method, code stream equipment, multiplexer and system
CN106412659B (en) Television control method and device and television
CN105137882B (en) A kind of method and device for playing the control of end response control end
CN105187820B (en) A kind of signal transfer management method and set top box
CN103888795A (en) Digital screen on time broadcasting system and method thereof
JPS6149574A (en) Program transmission method

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