KR20100071181A - A method for section filtering and an apparatus thereof - Google Patents

A method for section filtering and an apparatus thereof Download PDF

Info

Publication number
KR20100071181A
KR20100071181A KR1020080129808A KR20080129808A KR20100071181A KR 20100071181 A KR20100071181 A KR 20100071181A KR 1020080129808 A KR1020080129808 A KR 1020080129808A KR 20080129808 A KR20080129808 A KR 20080129808A KR 20100071181 A KR20100071181 A KR 20100071181A
Authority
KR
South Korea
Prior art keywords
filter
section
application
negative
filtering
Prior art date
Application number
KR1020080129808A
Other languages
Korean (ko)
Inventor
이윤이
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020080129808A priority Critical patent/KR20100071181A/en
Publication of KR20100071181A publication Critical patent/KR20100071181A/en

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/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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4382Demodulation or channel decoding, e.g. QPSK demodulation
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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

PURPOSE: A section filtering method and a device thereof are provided to remove a phenomenon that an application is filter-blocked by an error when an application starts section filtering. CONSTITUTION: A demodulator(312) demodulates a received digital broadcasting signal. A processor(350) receives a section filtering request from an application. The processor extracts filter parameters included in the received request. When a negative filter mask parameter is a specific value which blocks a section filter among the extracted filter parameters, the processor returns determined values for exception-handle in an application.

Description

A method for section filtering and an apparatus

The present invention relates to a method of filtering a section and a device thereof, and more particularly, to a method of filtering a section so as to handle an error that may occur when an application starts to filter a section. And to an apparatus.

Conventional services have been limited to audio and video, but recently, various and complicated applications are gradually coming out due to high specification of hardware. Accordingly, one application may be recognized and used as one service.

Accordingly, the broadcast environment is also changing to enable such applications. For example, if a user wants to operate and output multiple applications on one screen, the broadcast environment should be able to adequately support this.

In order for an application to operate according to a user's request or the like, broadcast data of a transmitting side is required, and a receiving side must provide section-filtered broadcast data according to a request of an application. However, there is a problem in that the section filter is blocked because the filter parameter value is incorrectly set due to other reasons such as the application is not intended.

In the present invention, to solve the above problems, an object of the present invention is to provide a section filtering method that can eliminate the phenomenon that the filter is blocked by an error when the application starts the section filtering.

Another object of the present invention is to enable the middleware to safely exception or generate an event so that the application can cope with a problem occurring in the section filtering process.

It is still another object of the present invention to provide a method and an apparatus capable of performing section filtering as described above.

In order to achieve the above object, an example of a section filtering method according to the present invention comprises: receiving a section filtering request including filter parameters for filtering a specific section from an application; Extracting filter parameters from the received section filtering request; And if the negative filter mask parameter among the extracted filter parameters is a value for blocking a section filter, returning a value designated for exception processing in the application.

In this case, the method may further include receiving a broadcast signal including tables including at least one section.

The filter parameters may include a packet ID, a table ID, a positive filter definition, a positive filter mask, and a negative filter definition. ) May be further included.

In addition, the filter parameters may further include an offset.

The specific value may include '0'.

In addition, the section filter may include at least one of a simple section filter, a ring section filter, and a table section filter.

And determining whether the extracted negative filter mask parameter is a specific value.

Another example of a section filtering method according to the present invention comprises the steps of: receiving a broadcast signal including tables consisting of at least one section; Receiving a section filtering request including filter parameters for filtering a specific section from an application; Extracting a negative filter difference and a negative filter mask parameter among filter parameters from the received section filtering request; Performing a first operation on the extracted negative filter deviation parameter and a negative filter mask parameter; Performing a second operation on the extracted negative filter mask parameter and corresponding section data in the received broadcast signal; Performing a third operation on the result of performing the first operation and the result of performing the second operation; And returning, to the application, a specific event indicating that section filtering cannot be performed when the result of performing the third operation is a specific value resulting in blocking of the section filter.

In this case, the first to third operations may include an AND operation.

The filter parameters may include a packet ID, a table ID, a positive filter definition, a positive filter mask, and a negative filter definition. ) May be further included.

In addition, the filter parameters may further include an offset.

The specific value may include '0'.

In addition, the section filter may include at least one of a simple section filter, a ring section filter, and a table section filter.

And determining whether the extracted negative filter mask parameter is a specific value.

One example of a digital broadcast receiver according to the present invention includes: a tuner unit configured to receive a digital broadcast signal including a table composed of at least one section by tuning a specific channel; A demodulator for demodulating the received digital broadcast signal; And receiving a section filtering request from an application, controlling to extract filter parameters included in the received request, and if the negative filter mask parameter among the extracted filter parameters is a specific value that blocks the section filter, the application may make an exception. And a processor for controlling to return a predetermined value.

In this case, when the negative filter mask parameter is not a specific value for blocking a section filter, the processor may control to filter a desired section in the application.

And a demultiplexer for filtering a desired section in the application under the control of the processor.

The apparatus may further include a media decoder for extracting the filter parameters under the control of the processor.

The processor may first calculate a negative filter difference parameter and a negative filter mask parameter among the extracted filter parameters, perform a second operation on section data and a negative filter mask parameter, and generate the first operation result and the second operation. The operation result may be controlled to perform a third operation.

In addition, when the third operation result is a specific value that results in the section filter being blocked, the processor may generate a specific event that is designated to be exception-processed in the application.

Thus, according to the present invention,

First, there is an effect that can eliminate the filter block by an error when the application starts filtering the section.

Second, the middleware safely exceptions or raises an event, so that the application can cope with problems occurring in the section filtering process.

Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention that can specifically realize the above object will be described. At this time, the configuration and operation of the present invention shown in the drawings and described by it will be described as at least one embodiment, by which the technical spirit of the present invention and its core configuration and operation is not limited.

The terms used in the present invention have been selected as general terms widely used as possible in consideration of the functions in the present invention, but may vary according to the intention or custom of a person skilled in the art or the emergence of a new technology. In addition, in certain cases, there is also a term arbitrarily selected by the applicant, in which case the meaning will be described in detail in the description of the invention. Therefore, it is intended that the terms used in the present invention should be defined based on the meanings of the terms and the general contents of the present invention rather than the names of the simple terms.

In this regard, the term "middleware (M / W)" in the present specification, the middleware that runs on the data broadcasting platform (Data Broadcasting Platform), hereinafter referred to as MHP (Multimedia Home Platform), OCAP (OpenCable Application Platform), ACAP For example, middleware executed on a data broadcast platform such as an advanced common application platform.

The term "application" includes all applications for digital broadcasting, but exemplifies an application executed on a data broadcasting platform, that is, executed on the above-described middleware base.

Hereinafter, the technical spirit of the present invention will be described in detail with reference to the accompanying drawings.

The application can reserve the section filter resource and begin filtering the section through the section filter API (Section Filter Application Programming Interface). The application may receive the filtered section through the section filtering.

1A to 1B are diagrams for explaining a negative filter in connection with the present invention.

The application may give a filter definition (FD) in starting section filtering. The filter definition FD is largely divided into a positive filter definition (PFD) and a negative filter definition (NFD). Each of the filter divisions FD may be used to filter each of the positive filter masks (PFMs) and the negative filter masks (NFMs), and sections of desired portions. The above-described passive & negative mask filter algorithm can implement an operation similar to an appropriate hardware filter.

Here, the passive filter mask (PFM) is a general mask operation in which given data and filter mask values are compared with comp after an AND operation, and takes a specific bit pattern as a matching condition. In this case, the data may be a value of the filter division FD, that is, the positive filter division PFD. Therefore, in the case of the positive filter, the AND operation of the given PPFD and the PPP mask is performed, and the AND of the section header and the PPP mask is calculated. The values match each other.

Negative Filter Mask (NFM), on the other hand, is an action that takes a given data and mask value as a match condition if the bit pattern differs from the given comp value after an AND operation. In this case, the data may be a value of a negative filter division (NFD). Thus, in the case of a negative filter, as shown in Fig. 1 (a), an AND operation of a given negative filter difference (NFD) and a negative filter mask (NFM) is performed, and as shown in Fig. 1 (b), After an AND operation of the section header and the negative filter mask (NFM), the calculated values do not coincide with each other. As a result, when the negative filter is applied, the section data can be filtered only when the AND operation of the NFD-n and the NFM-n is different from the AND operation of the SD-n and the NFM-n as shown in FIG. 1.

Therefore, the positive filter mask (PFM) is implemented to pass a specific bit string, and the negative filter mask (NFM) is implemented to pass the time when the current condition is changed. Therefore, a functional filter can be used to filter the desired section. However, a negative filter is used to prevent the CPU from being used excessively without ignoring unnecessary repetitive data.

In relation to this, conventionally, in relation to the validity of a positive filter mask (PFM) or a negative filter mask (NFM), since a mask is used for determining a specific bit string, the extraction of a specific bit string is completely performed regardless of which filter mask comes. The mask is used on the assumption that it is possible. However, if the negative filter mask NFM is '0', the role of the negative filter is lost, and the filter is blocked. This may be an error in the receiving system, causing a malfunction or incapacity.

For example, to filter the Program Association Table (PAT) (PID: 0x0) of a transport stream (TS), the filter definition (FD) when an application starts a SectionFilter. By Positive Filter Definition (PFD) {12, 34}, Positive Filter Mask (PFM) {0xFF, 0xFF}, Negative Filter Definition (NFD) {56, 78}, Negative Filter Mask (NFM) { Suppose you gave it 0,0}. Here, the result of ANDing the negative filter division (NFD) and the negative filter mask (NFM) will always be '0'. Therefore, the result of ANDing the section data and the negative filter mask (NFM) actually coming into the digital broadcast receiver will always be '0'. As a result, the results of each operation are not always equal to each other, and according to the above, the filter is always blocked.

Relatedly, data broadcasting related standards, for example, the Multimedia Home Platform (MHP) or the Digital Audio-Visual Council (DAVIC) standard do not specify the restriction of such mask values. Therefore, the application can use '0' as the negative filter mask (NFM), which may cause the filter to block and the system to stop as described above. Of course, the positive filter mask (PFM) may also use '0'. However, this is not a problem because the application uses '0' for intentional purposes. The problem is that the negative filter mask (NFM) is zero.

In the present invention, as described above, the negative filter mask becomes '0' to solve the problem that a filter block phenomenon may occur and further cause a problem in the system. That is, in the present invention, when the application starts the section filter, the filter block phenomenon is mainly eliminated when the negative filter mask NFM of the filter division FD is set to '0', and the negative filter mask ( By defining the effective value of the NFM, the middleware can be safely handled so that the application can respond to the problem more proactively. To this end, in the present specification, for convenience of description, two embodiments will be described, but the present invention is not limited thereto. One is for the middleware to handle exceptions, and the other is for the middleware to generate and handle incomplete filtering events. Each embodiment is described below in order.

First, an embodiment of exception processing in middleware will be described.

2 is a structural diagram illustrating a hierarchy of a section filter 200 in relation to the present invention.

Referring to FIG. 2, the section filter 200 includes a simple section filter 210, a ring section filter 220, and a table section filter 230. There are several types. Each section filter is for filtering different sections. The simple section filter 210 is for filtering one section, the ring section filter 220 is for setting the section size and filtering the sections that fit the size, and the table section filter 230 is for the table. To filter the whole section of a table.

3 is a block diagram of a broadcast receiver configured according to an embodiment of the present invention.

Referring to FIG. 3, the broadcast receiver 300 according to the present invention includes a tuner unit 311, a demodulator 312, a CA unit 313, a demultiplexer 314, a media decoder 315, and a user interface. The unit 321, a storage medium 322, a network interface unit 323, and a processor 350 are provided. Here, the tuner unit 311, the demodulator 312, the CA unit 313, the demultiplexer 314, the media decoder 315, the user interface unit 321, the storage medium 322, and the network interface unit 323 and the processor 350 are components corresponding to resources of the broadcast receiver.

The tuner 311 receives broadcast data from at least one of the terrestrial wave, satellite, and cable, and outputs the broadcast data to the demodulator 312. That is, the tuner 311 tunes a frequency of a specific channel among the broadcast signals 301 input through at least one of an antenna, a cable, and a satellite, and outputs the tuned frequency to the demodulator 312. The tuner unit 311 may be provided for each broadcast source, for example, terrestrial wave, cable, and satellite, or may be an integrated tuner. In addition, when the tuner unit 311 is assumed to be a terrestrial broadcast tuner, at least one digital tuner and an analog tuner may be provided, respectively, or may be a digital / analog integrated tuner. When the terrestrial wave is an example, the tuner 311 tunes a terrestrial broadcast content transmitted through an antenna, that is, a broadcast signal of a channel selected by a user from among broadcast signals, and outputs the tuned signal to the demodulator 312.

Here, the broadcast data received by the tuner unit 311 includes at least one of A / V data, MPEG section data, and application data. A / V data means audio data or video data. In addition, the MPEG section data may be data including System Information (SI), EAS, Application Information Table (AIT), and eXtended AIT (XAIT). In particular, the AIT refers to a table including information on the application running in the receiver for data service, and in some cases is also called AMT. These AITs provide information about the application, such as the name of the application, the version of the application, the priority of the application, the ID of the application, the status of the application (auto-start, user-managed, kill, etc.), the type of application. (Java or HTML), the location of the stream containing the classes and data files of the application, the base directory of the application, the location of the icon of the application, and the like.

Application data refers to data including the program code of the application 370. The processor 350 may determine a transmission mode based on the AIT and control to download application data in the determined transmission mode. Here, the transmission mode refers to a transmission method and a type of transmission medium for receiving broadcast data. The transmission method refers to the type of protocol used for each network layer, and DSM-CC User-to-User, Data and Object Carousel protocols, HTTP, TCP, UDP, IP, MPEG-2 Transport Stream, Ethernet protocol, etc. Can be used. In addition, the transmission scheme may be Broadcast Channel Protocols and Interaction Channel Protocols defined in the relevant standard. Types of transmission media may include terrestrial, satellite, cable and Internet networks.

In addition, the transmission mode may include a transmission mode in which a transmission method and a transmission path vary depending on the type of broadcast data. That is, the broadcast receiver 300 may support a transmission mode in which A / V data is received through a cable and application data is received through an internet network.

In addition, the processor 350 may detect the application information using the AIT. As a method of detecting application information using AIT, component_tag, original_network_id, transport_stream_id, and service_id may be detected. The component_tag refers to an elementary stream carrying the DSI of the corresponding object carousel, and the original_network_id represents the DVB- of the transport stream TS providing a transport connection. SI original_network_id. In addition, the transport_stream_id refers to the MPEG TS of the transport stream (TS) providing the transport connection, and the service_id refers to the DVB-SI of the service providing the transport connection. The original_network_id, transport_stream_id, and service_id may be used to obtain information on a specific channel.

The network interface 323 receives broadcast data through the Internet network, and outputs the received broadcast data to the CA unit 313 or the communication control unit 388.

The demodulator 312 demodulates the signal output from the tuner 311 and outputs the demodulated signal to the CA unit 313. The CA unit 313 descrambles the signal output from the demodulator 312 or the signal output from the network interface unit 323 and outputs the descrambled signal to the demultiplexer 314. The demultiplexer 314 is a digital data stream that is a signal output from the CA unit 313 in the form of a data stream (for example, MPEG-2 format) representing audio and video and a DSM-CC object carousel that is repeatedly broadcast. Demultiplex with data for applications Here, in another embodiment of the broadcast receiver capable of interfacing with the non-broadcast delivery channels, the tuner 311 may be replaced with a network interface suitable for the non-broadcast delivery channels. The non-broadcast delivery channel may be an internet protocol (IP) based delivery channel.

The media decoder 315 decodes the audio stream and the video stream demultiplexed by the demultiplexer 314 into audio 302 and video 303 which can be displayed, respectively. To this end, the media decoder 315 may include an audio decoder and a video decoder. Here, the displayed video 303 may include an image output from the user interface 321.

Process 350 executes application 370 and middleware 380.

The middleware 380 includes a tuner 311, a demodulator 312, a CA 313, a demultiplexer 314, a media decoder 315, a user interface 321, a storage medium 322, and a network interface 323. ) Is controlled or managed and assigned to the application 370. To this end, the middleware 380 may include a tuner control unit 381, a CA control unit 382, an MPEG-2 section filter unit 383, a service information processing unit 384, a DSM-CC 385, and a media control unit (3). 386, a storage control unit 387, and a communication control unit 388.

The tuner controller 381 controls the tuner 311 to allocate the tuner 311 to the application 370 or to change the tuning frequency of the tuner 811 according to a command of the application 370. The CA controller 382 controls the CA 313 to cause the CA 313 to descramble the signal output from the demodulator 312.

The MPEG-2 section filter unit 383 extracts information for displaying the video by filtering a data stream related to the video demultiplexed by the demultiplexer 314, and the service information processor 384 extracts the information for the demultiplexer 314. The service information is extracted from the demultiplexed data and processed. That is, the MPEG-2 section filter unit 383 extracts MPEG section data from the received broadcast data. The MPEG-2 section filter unit 383 may extract host access guide information, which is guide information on a transmission mode, from the received broadcast data. In this case, the host access guide information may be included in the AIT and transmitted as an example. In this case, the MPEG-2 section filter unit 383 may extract host access guide information by extracting AIT from broadcast data.

In relation to the present invention, the middleware 380 receives a section filtering request from the application 370 and controls the MPEG-2 section filter 383 to control section filtering in the demultiplexer 314. Here, the application requests section filtering to the middleware 380 including the filter parameters necessary to filter the desired section. The middleware 380 extracts filter parameters included in the section filtering request of the application. In addition, the middleware 380 may determine whether the section filtering process is performed by determining the validity of the negative filter mask (NFM) parameter among the extracted filter parameters, in particular, according to an embodiment of the present invention. At this time, if the negative filter mask (NFM) parameter is invalid as a result of the determination, the middleware 380 may return an exception to the application 370 so that the application 370 may handle the exception. Alternatively, the middleware 380 proceeds with the filtering process based on the extracted filter parameter according to another embodiment of the present invention, and as a result, a specific event for notifying the application of an exceptional situation when the filtering process cannot be performed completely. Generate and send a file so that the application can handle the exception.

The DSM-CC 385 parses application data demultiplexed by the demultiplexer 314 to extract application program and application information, and stores the extracted information in the storage medium 322. The application program stored in the storage medium 322 is executed in the process 350.

The media controller 386 controls the media decoder 315 to display the audio 302 and the video 303. In addition, the media control unit 386 retrieves the host access guide information extracted by the MPEG-2 section filter unit 383 associated with the data access information stored in the storage medium 322, and transmits the information indicated by the retrieved host access guide information. The tuner 311 or the network interface 323 may be controlled to receive broadcast data in the mode. Here, instead of directly controlling the network interface 323, the media controller 386 allows the communication controller 388 to control the network interface 323 so that the host access guide information retrieved by the network interface 323 is indicated. The broadcast data can be received in the transmission mode.

The storage control unit 387 stores the audio stream, the video stream, the application program, the application information, and the service information in the storage medium 322, and the audio stream, the video stream, the application program, the application information, and the service information stored in the storage medium 322. Control access to The storage medium 322 may be any one of a RAM memory, a FLASH memory, and a hard disk (HDD), or may include a RAM memory, a FLASH memory, and a hard disk (HDD). The hard disk HDD may be an internal hard disk or an external hard disk.

The communication controller 388 supports the application 370 to enable network communication, and controls the network interface 323 for this purpose. In addition, the communication control unit 388 controls the network interface 323 to receive broadcast data. The communication control unit 388 may extract the application data from the broadcast data received by the network interface 323 and provide it to the storage control unit 387 so as to be stored in the storage medium. The / V data may be controlled to be output to the CA 313.

Here, the process 380 may be implemented as a single process or a multi-process, the tuner control unit 381, CA control unit 382, MPEG-2 section filter unit 383, service information processing unit 384 of the middleware 380 ), The DSM-CC 385, the media control unit 386, the storage control unit 387, and the communication control unit 388 may be hardware or firmware, respectively. In this case, the middleware 380 includes a tuner control unit 381, a CA control unit 382, an MPEG-2 section filter unit 383, a service information processing unit 384, and a DSM-CC in which the application 370 is hardware or firmware. 385, the media controller 386, the storage controller 387, and the communication controller 388 are used to mediate the use.

4 is a flowchart illustrating a process of section filtering according to an embodiment of the present invention.

FIG. 4 is a diagram illustrating a processing process in middleware (M / W) of a receiver according to a section filtering request of an application.

A digital broadcast signal is received (S401). In this case, the digital broadcast signal includes a plurality of tables, and each table includes a plurality of sections.

The application requests the section filtering to the middleware (M / W) including the filter parameters necessary to filter the desired section (S402). Here, the filter parameters may include, for example, a packet IDentifier (PID), a table ID, a positive filter division (PFD), a positive filter mask (PFM), and a negative filter division (NFD). And negative filter masks (NFM).

When the middleware (M / W) receives a section filtering request including filter parameters from the application (S403), the middleware (M / W) starts a section filtering process for filtering the section desired by the application from the received broadcast signal.

Hereinafter, the section filtering process according to the request of the application in the middleware (M / W) will be described in more detail.

The middleware (M / W) extracts filter parameters included in the section filtering request of the received application (S404).

The middleware (M / W) determines whether to proceed with the section filtering process based on the negative filter mask (NFM) parameter among the extracted filter parameters. To this end, the middleware (M / W) determines whether the value of the negative filter mask (NFM) parameter is '0' (S405).

When the middleware (M / W) determines in step S405 that the value of the negative filter mask (NFM) parameter is '0', a section filter is blocked by the negative filter mask (NFM) parameter value. As you can, do not proceed with the section filtering process anymore. That is, in this case, the middleware (M / W) returns a specific value to the corresponding application so as to make an exception in the corresponding application (S406). Here, the returned specific value may be, for example, an IllegalFilterDefinitionException. The middleware (M / W) may return the IllegalFilterDefinitionException to an application to handle the exception in the corresponding application, and as described above, may cause the section filter to be blocked, thereby ending without proceeding with the further section filtering process. . Therefore, the application can know that the filter definition FD is set incorrectly from the IllegalFilterDefinitionException value returned from the middleware M / W, and can cope with it.

However, when the middleware (M / W) determines in step S405 that the value of the negative filter mask (NFM) parameter is not '0', the middleware (M / W) is desired by the application based on the extracted at least one filter parameter. The section filter is controlled to perform section filtering to filter the section (S407).

In the above, the section filter includes all of the section filters shown in FIG. 2, for example. Thus, the present invention is applicable to all of the section filters shown in FIG.

According to one embodiment of the present invention, when the middleware (M / W) receives a section filtering request from an application, the middleware (M / W) is a filter parameter value, that is, a negative filter mask that may result in a filter block in the step of starting the section filtering process. If the (NFM) parameter value is '0' and the validity of the mask is judged and it is not valid, it is possible to prevent the filter block phenomenon and system error by returning to the application for exception processing. Efficiency can also be improved.

In relation to the present invention, the related standard has conventionally described as follows.

"The third and last option adds another step for the filter process. In many cases, changes to any part of the header require the trigger of the filter. For example, a field such as the version_number field of a section may change. In order to do this, the other filter steps are required, and these filters are called negative filters.

In addition, the negative filter uses mask and value parameters. However, the negative filter triggers only when Equation 1 below.

value & mask! = header & mask

(The third and final option adds another step to the filter process.In many situations it is needed to trigger a filter when a part of the header changes.For example when of a certain section such as the version_number field changes.To be able to do this another filter step is necessary.This filter is called a Negative Filter.

The Negative Filter also uses the mask and value parameters, but the Negative Filter triggers when:

value & mask! = header & mask). "

As described above, when the negative filter mask NFM is '0' in the related art, the above-described problem may occur, but a solution for this is not suggested. Therefore, when the negative filter mask NFM is '0' according to the present invention, the intermediate result is always '0'. Therefore, the application should not use mask 0 that causes the filter to block.However, the negative mask 0 always makes right hand and left hand result 0. Therefore, application shall not use the mask 0 which will result in blocking filter. It would be desirable to be treated as in the present invention.

5 to 6 are diagrams for explaining the startFiltering object according to an embodiment of the present invention.

In addition, the section filter object portion of the relevant specification will need to be changed.

Referring to FIG. 5, in the related standard, the filter division FD includes a negative filter division PFD, a negative filter mask PFM, a negative filter division NFD, and a negative filter mask. NFMs were defined to be illegal if they were not all the same size or if their length was greater than the system's filtering capacity. However, according to the present invention, it may be preferable to include the case even if the negative filter mask NFM is 'illegal' (The filter definition specified is illegal either because the arrays posFilterDef, posFilterMask, negFilterDef, negFilterMask are not all the same size or because their length is beyond the filtering capacity of the system or because the negative filter mask is 0).

Referring to FIG. 6, in the related standard, the filter division FD may include a negative filter division PFD, a negative filter mask PFM, a negative filter division NFD, and a negative filter mask ( NFM) is defined to be illegal if they are not all the same size, or their length is greater than the system's filtering capacity, or if the offset is too large, in which case it returns an IllegalFilterDefinitionException function. However, according to the present invention, it may be preferable to include the case where the negative filter mask NFM is 'illegal' and also return the IllegalFilterDefinitionException function in this case. (The filter definition specified is illegal either because the arrays posFilterDef, posFilterMask, negFilterDef, negFilterMask are not all the same size or because their length is beyond the filtering capacity of the system or because the specified offset is too large or because the negative filter mask is 0).

Hereinafter, a section filtering method according to another embodiment of the present invention will be described.

In the above-described embodiment, when the application requests filtering for a desired section that meets a specific condition, the receiver performs a filtering process by checking the validity of the negative filter mask (NFM) before entering the actual filtering process. When the negative filter mask NFM is '0', exception processing is performed to prevent the filter block.

However, in the present embodiment, as shown in FIG. 1 (a), the receiver of the given negative filter division NFD and the negative filter mask NFM corresponding to the section filtering request of the aforementioned application is different from the receiver. AND operation and AND operation of the section header and the negative filter mask (NFM), as shown in FIG. 1 (b), after each calculated value does not coincide or not coincide with each other, rather than the negative filter mask (NFM). Since '0'0 is always' 0', an incomplete filtering event (IncompleteFilteringEvent) is generated to return to the corresponding application that section filtering cannot be performed.

Referring to the relevant specification, incomplete filtering events stop the filtering process for table section filters. IncompleteFilteringEvent, the filter process for a TableSectionFilter was stopped because the filter parameters have been incompletely defined, resulting in a blocking filter or a non MPEG-2 compliant result).

Therefore, according to the present invention, the same applies to not only the table section filter but also all the section filters, that is, the simple section filter and the ring section filter. That is, the middleware (M / W) of the receiver generates the incomplete filtering event when the negative filter mask (NFM) of the filter parameters received from the application is '0' and thus cannot filter the corresponding section requested from the application. Generate and transmit to the application, and the application may recognize that the value of the negative filter mask is set incorrectly and set the filter division FD again. By doing so, the filter block phenomenon can be prevented and the overall system efficiency can be increased.

7 is a flowchart illustrating a process of performing section filtering in a digital broadcast receiver according to another embodiment of the present invention.

A digital broadcast signal is received (S701). As described above, the digital broadcast signal includes a plurality of tables, and each table is composed of a plurality of sections.

The application requests the section filtering to the middleware (M / W) including the filter parameters necessary to filter the desired section (S702). Here, the filter parameters may include, for example, a packet IDentifier (PID), a table ID, a positive filter division (PFD), a positive filter mask (PFM), and a negative filter division (NFD). And negative filter masks (NFM).

When the middleware (M / W) receives a section filtering request including filter parameters from the application (S703), the middleware (M / W) starts a section filtering process for filtering the section desired by the application from the received broadcast signal.

Hereinafter, the section filtering process according to the request of the application in the middleware (M / W) will be described in more detail.

The middleware (M / W) extracts filter parameters included in the section filtering request of the received application (S704).

The middleware (M / W) proceeds with a process for section filtering based on the extracted filter parameters. In this case, the middleware M / W performs an AND operation on a negative filter difference (NFD) parameter and a negative filter mask (NFM) parameter among the filter parameters, as shown in FIGS. 1A and 1B. First operation) and AND operation (second operation) of the section data SD and the negative filter mask NFM parameter in the received broadcast signal (S705). The middleware M / W performs an AND operation (third operation) on the first operation value and the second operation value (S706).

The middleware M / W determines whether to continue the section filtering process based on the third operation value. That is, the middleware M / W determines whether or not the third operation value is a specific value '0' that results in the section filter being blocked (S707).

If the third operation value is not a specific value as a result of the determination of step S707, the middleware proceeds with the process of filtering the negative or negative section accordingly because the first operation value and the second operation value do not coincide or coincide (S708). ).

However, when the third operation value is a specific value as a result of the determination of the step S707, the middleware M / W does not proceed with the section filtering process since the section filter is blocked unlike the step S708 described above. Therefore, since the middleware (M / W) cannot proceed with the section filtering process as described above, the middleware (M / W) generates a specific event (incomplete filtering event) for exception processing in the corresponding application, and returns the generated specific event to the application. (S710).

Although the preferred embodiments of the present invention have been shown and described above, the present invention is not limited to the specific embodiments described above, and the present invention is not limited to the specific scope of the present invention as claimed in the claims. Anyone skilled in the art can make various modifications, as well as such modifications are within the scope of the claims.

1 is a view for explaining a negative filter in connection with the present invention,

FIG. 2 is a structural diagram for explaining a hierarchy of section filters in relation to the present invention;

3 is a block diagram of a broadcast receiver configured according to an embodiment of the present invention.

4 is a flowchart illustrating a process of filtering a section according to an embodiment of the present invention.

5 to 6 are diagrams for explaining the startFiltering object according to an embodiment of the present invention.

* Description of the main symbols in the drawing

311; Tuner 312; Demodulator

313; CA 314; Demultiplexer

315; Media decoder 321; User interface

322; Storage medium 323; Network interface

350; Process 370; application

380; Middleware 381; Tuner controls

382; CA control unit 383; MPEG-2 section filter section

384; A service information processor 385; DSM-CC

386; Media control unit 387; Storage control

388; Communication control unit

Claims (20)

Receiving a section filtering request including filter parameters for filtering a specific section from an application; Extracting filter parameters from the received section filtering request; And And returning, if the negative filter mask parameter among the extracted filter parameters is a value that blocks a section filter, a value predetermined for exception processing in the application. The method of claim 1, Receiving a broadcast signal comprising a table consisting of at least one section; section filtering method further comprising. The method of claim 1, The filter parameters, And further including a packet pid, a table id, a positive filter definition, a positive filter mask, and a negative filter definition. Characterized in section filtering method. The method of claim 3, The filter parameters, Section filtering method further comprises an offset (offset). The method of claim 1, And the specific value comprises '0'. The method of claim 1, The section filter, And at least one of a simple section filter, a ring section filter, and a table section filter. The method according to claim 1 or 2, And determining whether the extracted negative filter mask parameter is a specific value. Receiving a broadcast signal comprising tables comprised of at least one section; Receiving a section filtering request including filter parameters for filtering a specific section from an application; Extracting a negative filter difference and a negative filter mask parameter among filter parameters from the received section filtering request; Performing a first operation on the extracted negative filter deviation parameter and a negative filter mask parameter; Performing a second operation on the extracted negative filter mask parameter and corresponding section data in the received broadcast signal; Performing a third operation on the result of performing the first operation and the result of performing the second operation; And And returning a specific event indicating that section filtering cannot be performed to the application when the result of performing the third operation is a specific value resulting in blocking of the section filter. . The method of claim 8, The first to third operations, A section filtering method comprising an AND operation. The method of claim 8, The filter parameters, And further including a packet pid, a table id, a positive filter definition, a positive filter mask, and a negative filter definition. Characterized in section filtering method. The method of claim 10, The filter parameters, Section filtering method further comprises an offset (offset). The method of claim 8, And the specific value comprises '0'. The method of claim 8, The section filter, And at least one of a simple section filter, a ring section filter, and a table section filter. The method of claim 8, And determining whether the extracted negative filter mask parameter is a specific value. A tuner unit configured to receive a digital broadcast signal including a table composed of at least one section by tuning a specific channel; A demodulator for demodulating the received digital broadcast signal; And Receive a section filtering request from an application, control to extract the filter parameters included in the received request, and if the negative filter mask parameter among the extracted filter parameters is a specific value that blocks the section filter, the application may make an exception. And a processor unit for controlling to return a predetermined value. The method of claim 15, The processor unit, And if the negative filter mask parameter is not a specific value for blocking a section filter, controlling the application to filter a desired section. The method of claim 16, And a demultiplexer for filtering a desired section in the application under the control of the processor. The method of claim 17, And a media decoder for extracting the filter parameters under control of the processor. The method of claim 15, The process unit, Among the extracted filter parameters, a first operation is performed on a negative filter difference parameter and a negative filter mask parameter, a second operation is performed on section data and a negative filter mask parameter, and a third operation is performed on the first operation result and the second operation result. And control to calculate. The method of claim 19, The process unit, And when the third operation result is a specific value that results in the section filter being blocked, generating a specific event designated to be exception-processed in the application.
KR1020080129808A 2008-12-19 2008-12-19 A method for section filtering and an apparatus thereof KR20100071181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080129808A KR20100071181A (en) 2008-12-19 2008-12-19 A method for section filtering and an apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080129808A KR20100071181A (en) 2008-12-19 2008-12-19 A method for section filtering and an apparatus thereof

Publications (1)

Publication Number Publication Date
KR20100071181A true KR20100071181A (en) 2010-06-29

Family

ID=42368721

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080129808A KR20100071181A (en) 2008-12-19 2008-12-19 A method for section filtering and an apparatus thereof

Country Status (1)

Country Link
KR (1) KR20100071181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016064151A1 (en) * 2014-10-21 2016-04-28 엘지전자 주식회사 Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016064151A1 (en) * 2014-10-21 2016-04-28 엘지전자 주식회사 Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method
US10887353B2 (en) 2014-10-21 2021-01-05 Lg Electronics Inc. Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method
US11336699B2 (en) 2014-10-21 2022-05-17 Lg Electronics Inc. Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method

Similar Documents

Publication Publication Date Title
US9264757B2 (en) Service executing apparatus
US20060179465A1 (en) Handling feature availability in a broadcast
US20090172784A1 (en) Apparatus and method for processing data broadcast signal
KR20080042489A (en) A receiver and a processing method for broadcasting signal
JP2007300610A (en) Apparatus and method for upgrading codec
WO2008069501A1 (en) Apparatus and method for configuring and executing function of application appropriate to broadcast-receiving device
KR100507808B1 (en) Method for display controlling ETT information in electric program guide image of a digital television
KR100577146B1 (en) Apparatus for digital broadcasting receiving
KR20120080517A (en) Method for managing contents and display device therefor
KR101046867B1 (en) Apparatus and methods, and related products, for performing conditional execution decisions in relation to received services and for generating information messages related to the services
EP3242490B1 (en) Self-adaptive streaming media processing method and device
KR20100071181A (en) A method for section filtering and an apparatus thereof
US8272005B2 (en) Information monitoring and updating method and system for transport stream
CN106210816A (en) A kind of transport stream TS de-scrambling method and device
KR20070095946A (en) Bypass dsmcc middleware via section filter mechanism
KR101088121B1 (en) Receiver in a content transmission system, and method of managing a list of services at the level of the receiver
KR20080005693A (en) Data broadcasting signal, a receiver and a processing method for data broadcasting signal
KR101366328B1 (en) a receiver and a processing method for data broadcasting signal
KR20110022015A (en) Digital television transmitter, digital television receiver and method for processing a broadcast signal
CN1166189C (en) Digital television system and method for managing service information in relative receiver
KR102640666B1 (en) A method for receiving a broadcast signal and an apparatus for receiving a broadcast signal
KR101781857B1 (en) Broadcast receiver and management method for reserving content using organizer program
KR100766285B1 (en) Apparatus and method for receiving and filtering transmitted programs
KR101586315B1 (en) A broadcasting receiver and a method for monitoring a network device
KR19990075943A (en) Graphical User Interface Update Method in Digital Broadcast Receiver

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination