KR100698149B1 - Method and Apparatus for Section data filtering - Google Patents
Method and Apparatus for Section data filtering Download PDFInfo
- Publication number
- KR100698149B1 KR100698149B1 KR1020050019087A KR20050019087A KR100698149B1 KR 100698149 B1 KR100698149 B1 KR 100698149B1 KR 1020050019087 A KR1020050019087 A KR 1020050019087A KR 20050019087 A KR20050019087 A KR 20050019087A KR 100698149 B1 KR100698149 B1 KR 100698149B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- section
- filtering
- length
- reference data
- Prior art date
Links
- 238000001914 filtration Methods 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000000873 masking effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 239000002699 waste material Substances 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P7/00—Arrangements for regulating or controlling the speed or torque of electric DC motors
- H02P7/06—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current
- H02P7/18—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power
- H02P7/24—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices
- H02P7/28—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices
- H02P7/285—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only
- H02P7/29—Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only using pulse modulation
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P8/00—Arrangements for controlling dynamo-electric motors rotating step by step
- H02P8/36—Protection against faults, e.g. against overheating or step-out; Indicating faults
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/51—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
- H03K17/78—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used using opto-electronic devices, i.e. light-emitting and photoelectric devices electrically- or optically-coupled
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
본 발명은 섹션 데이터의 필터링 방법 및 장치에 관한 것이다. 본 발명은, 입력되는 섹션 데이터 중 실제 필터링에 사용되는 필드만을 편집하여 재정렬하는 필터 입력 제어기와, 상기 재정렬을 위해 PID별로 섹션 필터링을 위한 필드를 바이트별로 지정한 정보가 저장된 레지스터와, 상기 실제 섹션 필터링에 사용되는 참조 데이터 필드만을 저장하는 FIFO와, 상기 재정렬된 입력 섹션 데이터와 상기 FIFO에 저장된 참조 데이터를 비교하여 매칭되는 데이터를 출력하는 섹션 필터를 포함하여 구성되는 섹션 데이터의 필터링 장치를 제공한다. 따라서, 본 발명에 의하면, 섹션 필터링시 입력 섹션 데이터로부터 필요한 필드만을 재구성하여 필터링함으로써 불필요한 참조 데이터의 저장을 줄일 수 있어 하드웨어 절감에 따른 비용을 최소화하는 효과가 있다.The present invention relates to a method and apparatus for filtering section data. The present invention provides a filter input controller that edits and rearranges only fields used for actual filtering among input section data, registers storing field-specific information for byte filtering by PID for reordering, and the actual section filtering. An apparatus for filtering section data comprising a FIFO storing only a reference data field used in the and a section filter for comparing the rearranged input section data with reference data stored in the FIFO and outputting matching data. Therefore, according to the present invention, it is possible to reduce the storage of unnecessary reference data by reconfiguring and filtering only necessary fields from the input section data during section filtering, thereby minimizing the cost of hardware saving.
섹션 데이터, 필터링, PID, 참조 데이터, 필터 입력 제어기 Section Data, Filtering, PID, Reference Data, Filter Input Controllers
Description
도 1은 ISO/IEC 13818-1에서 규정한 프라이빗 섹션을 나타낸 도면1 shows a private section as defined in ISO / IEC 13818-1.
도 2는 종래 기술에 따른 섹션 필터링 방법을 나타낸 도면2 is a diagram illustrating a section filtering method according to the prior art.
도 3은 일반적인 ATSC에서 사용되는 PSIP의 구조를 나타낸 도면3 is a diagram illustrating a structure of a PSIP used in a general ATSC
도 4는 본 발명에 따른 섹션 필터의 구성을 나타낸 도면4 is a view showing the configuration of a section filter according to the present invention.
도 5는 본 발명에 따른 섹션 필터 필드 설정 레지스터의 설정 예를 나타낸 도면5 is a diagram illustrating an example of setting a section filter field setting register according to the present invention.
도 6은 본 발명에 따른 필터 입력 제어기에서 편집된 데이터의 구성을 나타낸 도면6 is a diagram showing the configuration of data edited in a filter input controller according to the present invention.
- 도면의 주요부분에 대한 부호의 설명 --Explanation of symbols for the main parts of the drawings-
100 : 필터 입력 제어기 200 : 섹션 필터 필드 설정 레지스터100: filter input controller 200: section filter field setting register
300 : 섹션 필터 400 : 참조 데이터 FIFO300: section filter 400: reference data FIFO
본 발명은 섹션 데이터의 필터링에 관한 것으로, 보다 상세하게는 MPEG 2 섹 션 데이터의 필터링시 입력 섹션 데이터로부터 필요한 필드만을 재구성하여 필터링하는 방법 및 장치에 관한 것이다.The present invention relates to filtering of section data, and more particularly, to a method and apparatus for reconstructing and filtering only necessary fields from input section data when filtering
최근, 동영상 압축 및 송수신을 위해 여러 디지털 방송에서는 MPEG 2 규격을 많이 사용하고 있다. 상기 규격 중 압축된 비디오나 오디오 데이터를 전송하기 위한 규격인 MPEG 2 시스템 규격(ISO/IEC 13818-1)에서는 전송된 오디오, 비디오, 기타 데이터에 대한 프로그램 정보로 PSI(Program Specific Information)를 함께 전송하는 것을 규정하고 있다.Recently, many digital broadcasts use the
또한, 상기 MPEG 2에서 규정된 PSI 데이터 외에도 다양한 형태의 프로그램 정보를 전송하기 위해 ATSC(Advanced Television System Committee)에서는 PSIP(Program and System Information Protocol)를, DVB(Digital Video Broadcast)에서는 SI(System Information) 등을 규정하고 있다.In addition, in order to transmit various types of program information in addition to the PSI data defined in the MPEG 2, ATSC (Advanced Television System Committee) uses PSIP (Program and System Information Protocol), and DVB (Digital Video Broadcast) (SI) Etc. are prescribed.
이러한 프로그램 데이터들은 오디오나 비디오 데이터와는 달리 사용자가 언제라도 정확한 프로그램 정보를 얻도록 하기 위해 같은 정보를 주기적으로 전송하고 있다.Unlike the audio and video data, such program data transmits the same information periodically so that a user can obtain accurate program information at any time.
따라서, 수신기의 시스템 디코더(system decoder)에서는 프로그램 데이터의 중복 디코딩을 피하기 위해 필터(Filter)를 설치하고 원하는 데이터만을 골라내도록 하고 있다.Therefore, in order to avoid redundant decoding of program data, a system decoder of a receiver installs a filter and selects only desired data.
이와 같은 프로그램 정보는 MPEG 2 시스템 규격에 정의된 섹션 데이터 형식으로 전송되는데, 이 데이터를 필터링 하는 것을 섹션 필터링(Section Filtering)이라고 한다.Such program information is transmitted in the section data format defined in the
도 1은 ISO/IEC 13818-1에서 규정한 프라이빗 섹션을 나타낸 도면이다.1 is a view showing a private section defined in ISO / IEC 13818-1.
도 1과 같은 섹션 형식은 MPEG 2 규격을 따르는 모든 방송이 취하고 있는 형식이다. 물론, PSI 데이터도 각 필드의 용도에 차이는 있지만 기본적으로 프라이빗 섹션(private section)을 따른다.The section format as shown in FIG. 1 is a format that all broadcasts following the
상기 도 1의 프라이빗 섹션에 따르면, "section_syntax_indicator"의 값에 따라 "data_byte" 필드 부분을 제외한 섹션 헤더의 길이가 달라질 수 있다.According to the private section of FIG. 1, the length of the section header excluding the “data_byte” field part may vary according to the value of “section_syntax_indicator”.
하지만, 대개의 섹션 필터는 "table_ID" 필드로부터 이어지는 8바이트의 데이터를 필터링하거나, PSIP나 SI에 규정된 별도의 포맷에 따라 8바이트외에 몇 바이트를 더 필터링하기도 한다.However, most section filters filter 8 bytes of data from the "table_ID" field, or a few more bytes in addition to 8 bytes, depending on the separate format specified in the PSIP or SI.
이러한 필터링 방법을 첨부한 도면을 참조하여 설명하면 다음과 같다.This filtering method will be described with reference to the accompanying drawings.
도 2는 종래 기술에 따른 섹션 필터링 방법을 나타낸 도면이다.2 is a diagram illustrating a section filtering method according to the prior art.
도 2와 같이, 섹션 필터링 장치는, 전송된 입력 섹션과 저장된 참조 데이터를 비교하여 일치하는 섹션을 출력하는 섹션 필터(Section filter)(10)와, 참조 데이터(reference data) 및 마스크 데이터(Mask data)가 저장된 FIFO(First In First Out)(메모리, 레지스터 등의 저장 매체)(20)를 포함하여 구성된다.As shown in FIG. 2, the section filtering apparatus includes a
이와 같이 구성된 필터링 장치는 상기 섹션 필터(10)에서 입력된 섹션 중 "table_id" 필드로부터 8바이트 내지는 그 이상의 필터링에 사용될 데이터를 입력받아, 참조 데이터 FIFO(20)에 저장된 데이터와 비교하여 일치하는 데이터를 출력하는 방법으로 필터링이 수행된다.The filtering device configured as described above receives data to be used for filtering for 8 bytes or more from the “table_id” field among the sections input by the
이때, 상기 섹션 필터(10)로 입력되는 데이터는 "table_id" 필드부터 시작하 여 연속되는 데이터의 모음인데, 대부분 상기 "table_id"부터 연속되는 데이터가 필터링에 모두 사용되지는 않는다. 따라서, 섹션 필터(10)에 입력된 데이터 중 필터링에 사용할 데이터를 표시하기 위해, 참조 데이터와 함께 마스크(mask)를 함께 저장하여 사용하게 된다.In this case, the data input to the
또한, 방송 규격마다 다르게 사용되고 있는 "Private_data_byte" 필드 부분은 필터링이 끝나면 저장되었다가, 필요에 따라 소프트웨어(S/W)가 파싱(parsing)하게 된다.In addition, the "Private_data_byte" field part, which is used differently for each broadcast standard, is stored after filtering, and then parsed by software (S / W) as necessary.
그러나, 이와 같은 "table_id" 필드에서부터 연속되는 고정된 길이의 데이터를 수집하여 필터링하는 방법은, 필터링에 사용하지 않을 데이터까지 수집될 뿐 아니라, 같은 위치에 해당하는 참조 데이터까지도 FIFO를 차지하게 되어, 상기 참조 데이터 FIFO(20)의 낭비를 가져오게 된다.However, the method of collecting and filtering continuous fixed length data from the "table_id" field not only collects data that will not be used for filtering, but also occupies reference data corresponding to the same location. This leads to waste of the
그리고, 하드웨어에 의해 필터링된 데이터 이후의 "Private_data_byte" 필드 부분에 대한 추가적인 필터링이 필요할 경우 확장성이 떨어져, 상기 데이터에 대한 처리는 고스란히 CPU의 부담으로 작용하게 된다.In addition, if additional filtering is required for the "Private_data_byte" field portion after the data filtered by the hardware, scalability is reduced, and the processing of the data is a burden on the CPU.
한편, 도 3은 일반적인 ATSC에서 사용되는 PSIP의 구조를 나타낸 도면이다.On the other hand, Figure 3 is a diagram showing the structure of the PSIP used in the general ATSC.
도 3과 같이, ATSC의 PSIP 구조는 ISO/IEC 13818-1의 프라이빗 섹션에서 규정된 "Last_section_number" 필드 이후에 "Protocol_version" 필드를 두어 데이터 영역을 제외한 9 바이트의 헤더 영역을 기본적으로 정의하고 있다.As shown in FIG. 3, the PSIP structure of ATSC basically defines a header area of 9 bytes excluding the data area by placing a "Protocol_version" field after the "Last_section_number" field defined in the private section of ISO / IEC 13818-1.
이와 같이, 각 방송 규격별로 다른 형식을 가질 수 있고, 상기 데이터 부분 또한 프로그램 정보의 종류에 따라 추가적인 필터링을 요구하는 경우도 발생한다.As such, each broadcasting standard may have a different format, and the data portion may also require additional filtering according to the type of program information.
그러나, 종래의 방법에서는, 예를 들어 "table_id"와 "Protocol_version"만을 필터링하고자 하는 경우, 그 사이에 있는 "section_number", "last_section_number"등의 필드도 입력 섹션으로부터 수집되어 섹션 필터(10)로 입력될 뿐 아니라, 참조 데이터 FIFO(20)에도 바이트 위치(position)를 맞추기 위해 갖은 형식의 데이터를 입력해야 한다. 즉, 상기 참조 데이터 FIFO(20)의 첫 바이트에 "table_id"의 참조 데이터를 저장한 뒤 "Protocol_version" 데이터를 저장하기 위해, 그 사이에 존재하는 필드에 해당하는 바이트 위치도 상기 FIFO(20)에서 확보해야 하므로 FIFO(20)의 낭비를 가져오게 되는 것이다.However, in the conventional method, for example, when only the "table_id" and the "Protocol_version" are to be filtered out, fields such as "section_number" and "last_section_number" between them are also collected from the input section and input to the
또한, 같은 방법으로 데이터 영역까지 필터링을 확장할 경우 그 낭비의 정도는 더욱 심화된다.In addition, extending the filtering to the data domain in the same manner further increases the waste.
따라서, 참조 데이터 FIFO(20)를 효율적으로 사용하고, 데이터 부분까지 필터링을 확장할 수 있는 새로운 필터링 방법이 요구되고 있다.Therefore, there is a need for a new filtering method that can efficiently use the
본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 입력된 섹션 데이터 중 섹션 필터링에 사용할 데이터를 사용자가 직접 지정할 수 있도록 하여, 섹션 필터 내의 하드웨어 활용도를 높이고 좀 더 많은 데이터에 대한 필터링을 수행할 수 있도록 하는 섹션 필터링 방법 및 장치를 제안하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to allow a user to directly designate data to be used for section filtering among inputted section data, thereby improving hardware utilization in a section filter and for more data. It is an object of the present invention to propose a section filtering method and apparatus for performing filtering.
상기 목적을 달성하기 위하여, 본 발명은, 입력되는 섹션 데이터 중 실제 필터링에 사용되는 필드만을 편집하여 재정렬하는 필터 입력 제어기와, 상기 재정렬 을 위해 PID별로 섹션 필터링을 위한 필드를 바이트별로 지정한 정보가 저장된 레지스터와, 상기 실제 섹션 필터링에 사용되는 참조 데이터 필드만을 저장하는 FIFO와, 상기 재정렬된 입력 섹션 데이터와 상기 FIFO에 저장된 참조 데이터를 비교하여 매칭되는 데이터를 출력하는 섹션 필터를 포함하여 구성되는 섹션 데이터의 필터링 장치를 제공한다.In order to achieve the above object, the present invention provides a filter input controller for editing and reordering only fields used for actual filtering among input section data, and information for specifying a field for section filtering by PID for byte reordering is stored. A section data including a register, a FIFO storing only a reference data field used for the actual section filtering, and a section filter for comparing the rearranged input section data with reference data stored in the FIFO and outputting matching data. Provides a filtering device.
상기 레지스터는 PID 별로 설정되며, PID 별로 설정된 레지스터의 각 비트는 상기 입력 섹션 데이터의 각 바이트를 가르키는 것을 특징으로 한다.The register is set for each PID, and each bit of the register set for each PID indicates each byte of the input section data.
상기 필터 입력제어기는 상기 재정렬된 섹션 필터 데이터의 길이에 대한 마스킹 신호를 생성하여 출력하는 것을 특징으로 한다.The filter input controller generates and outputs a masking signal corresponding to the length of the rearranged section filter data.
상기 참조 데이터 FIFO는 상기 재정렬된 섹션 데이터를 구분하기 위한 마스크 데이터를 포함하여 저장하는 것을 특징으로 한다.The reference data FIFO may include and store mask data for distinguishing the rearranged section data.
본 발명은, 입력되는 섹션 데이터 중 실제 필터링에 사용되는 필드만을 재정렬하기 위한 정보를 저장하는 단계와, 상기 저장된 정보에 따라 상기 입력되는 섹션 데이터를 편집하여 재정렬 하는 단계와, 상기 실제 섹션 필터링에 사용되는 참조 데이터 필드를 저장하는 단계와, 상기 재정렬된 입력 섹션 데이터와 상기 참조 데이터 필드를 비교하여 매칭되는 데이터를 출력하는 단계를 포함하여 이루어지는 섹션 데이터의 필터링 방법을 제공한다.According to the present invention, there is provided a method of storing information for rearranging only fields used for actual filtering among input section data, editing and rearranging the input section data according to the stored information, and using the actual section filtering. And storing the reference data field, and comparing the rearranged input section data with the reference data field and outputting matching data.
상기 입력되는 섹션 데이터 중 실제 필터링에 사용되는 필드만을 재정렬하기 위해 PID 별로 섹션 필터링을 위한 필드를 바이트별로 지정하여 저장하는 것을 특징으로 한다.In order to reorder only fields used for actual filtering among the input section data, a field for section filtering for each PID may be designated and stored for each byte.
따라서, 본 발명에 의하면, 섹션 필터링시 입력 섹션 데이터로부터 필요한 필드만을 재구성하여 필터링함으로써 불필요한 참조 데이터의 저장을 줄일 수 있어 하드웨어 절감에 따른 비용을 최소화하는 효과가 있다.Therefore, according to the present invention, it is possible to reduce the storage of unnecessary reference data by reconfiguring and filtering only necessary fields from the input section data during section filtering, thereby minimizing the cost of hardware saving.
이하 상기의 목적을 구체적으로 실현할 수 있는 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 설명한다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention that can specifically realize the above object will be described.
아울러, 본 발명에서 사용되는 용어는 현재 널리 사용되는 일반적인 용어를 선택하였으나, 새로운 기술의 출현에 따라 본 발명에서 출원인이 가장 적합하다고 판단한 용어도 임의로 사용하였으며, 이에 대해서는 해당 설명부에서 용어의 의미를 명확히 설명하기로 한다. 따라서, 본 발명을 이해함에 있어 단순한 용어의 명칭이 아닌 용어가 가지는 의미로서 본 발명을 파악하여야 됨을 밝혀 두고자 한다.In addition, the term used in the present invention was selected a general term that is widely used at present, but according to the emergence of a new technology, the term that the applicant deemed most appropriate in the present invention was arbitrarily used, and the meaning of the term in the corresponding description. It will be explained clearly. Therefore, in the understanding of the present invention, it is intended that the present invention should be understood as the meaning of terms rather than simple names of terms.
도 4는 본 발명에 따른 섹션 필터의 구성을 나타낸 도면이다. 설명에 앞서 본 발명의 좀 더 상세한 설명이 필요한 곳에서는 첨부한 도면을 참조하여 설명함을 밝혀둔다.4 is a view showing the configuration of a section filter according to the present invention. Where the more detailed description of the present invention is required before the description will be described with reference to the accompanying drawings.
도 4와 같이, 본 발명에 따른 섹션 필터링 장치는, 입력되는 섹션 데이터를 섹션 필터링을 위해 편집하는 필터 입력 제어기(Filter Input Controller)(100)와, PID(Packet IDentifier) 별로 섹션 필터링을 위한 필드를 바이트별로 지정하는 레지스터(200)와, 섹션 필터(300) 및 참조 데이터 FIFO(400)를 포함하여 구성된다.As shown in FIG. 4, the section filtering apparatus according to the present invention includes a
이와 같이 구성되는 섹션 필터링 장치는, 실제 섹션 필터링에 사용되는 필드만을 상기 참조 데이터 FIFO(400)에 저장함으로써 상기 FIFO(400)의 효율을 극대화하게 된다.The section filtering apparatus configured as described above maximizes the efficiency of the
이를 위해, 상기 입력되는 섹션 데이터에 대해서도 상기 FIFO(400)에 저장된 패턴과 같은 패턴으로 재구성하는 작업이 필요하며 이러한 작업을 상기 필터 입력 제어기(100)가 수행하게 된다.To this end, the input section data is also required to reconstruct the same pattern as the pattern stored in the
즉, "table_ID" 필드부터 차례대로 입력되는 입력 데이터 섹션 중 실제로 필터링하고자 하는 필드만 뽑아내어 이를 섹션 필터(300)의 입력으로 만들어주는 것이다.That is, only the fields to be actually filtered are extracted from the input data section sequentially inputted from the "table_ID" field and made into the input of the
또한, 상기와 같은 작업을 위해, PID별로 섹션 필터의 헤더 및 데이터를 포함한 필터링에 사용하고자 하는 필드를 바이트별로 지정하는 레지스터(200)를 두게 된다.In addition, for the above operation, the
상기 섹션 필터 필드 설정 레지스터(200)에 대해 좀 더 자세히 설명하면 다음과 같다.The section filter
상기 레지스터(200)의 목적은, 전술한바와 같이, 필터 입력 제어기(100)가 입력되는 섹션 데이터로부터 실제 필터링에 사용할 데이터만을 뽑아내어 섹션 필터(300)로 넘겨주도록 하기 위해, 상기 입력되는 섹션 데이터 중에서 필터링에 실제 사용할 데이터를 렌덤하게 지정하는데 있다.As described above, the purpose of the
이를 위해, 상기 레지스터(200)는 PID별로 설정되며, 상기 PID별로 할당된 레지스터의 각 비트는 입력 섹션 데이터의 각 바이트를 가르키게 된다. 즉, 상기 레지스터(200)의 각 비트 위치가 입력 데이터 섹션의 바이트 위치를 가르키는 것이다. 상기 비트는 MSB(Most Significant Bit) 순으로 적용되며, 따라서 레지스터(200)의 MSB가 입력 섹션 데이터의 "table_ID"를 가르키게 된다.To this end, the
상기 레지스터(200)의 총 비트수는 입력 섹션 데이터에서 섹션 필터링에 사용될 데이터를 뽑아낼 수 있는 범위를 나타낸다. 즉, 32비트 레지스터를 사용할 경우에는 입력 섹션 데이터 중에서 "table_ID" 필드부터 시작하여 32 바이트내의 데이터 중 원하는 데이터를 설정할 수 있는 것이다.The total number of bits in the
또한, 총 비트 중 인에이블(enable)되는 비트 수는 섹션 필터(300)가 필터링 할 수 있는 최대 바이트 수, 즉 사용하게 될 참조 데이터 FIFO(400)가 갖는 바이트 넓이에 따라 제한된다.Also, the number of enabled bits among the total bits is limited according to the maximum number of bytes that the
이를 예를 들어 설명하면, 상기 섹션 필터(300)가 최대 8바이트까지 필터링을 한다고 하면, 참조 데이터 FIFO(400)의 데이터 넓이는 8바이트가 되고, 각 필드 제어 레지스터(200)가 가지는 인에이블 비트 수는 8개로 제한되는 것이다. 만일, 이때 상기 레지스터(200)가 갖는 인에이블 비트 수가 8개 이상이라면 MSB 순으로 우선 순위를 갖도록 한다.For example, if the
한편, 상기 PID 별로 설정되어 있는 레지스터(200)의 내용은 하나의 트랜스포트 패킷(Transport Packet)에 다수개의 섹션이 포함되어 있는 경우에도 패킷내의 모든 섹션에 적용한다. 다만, 이러한 경우 패킷내의 여러 섹션에 서로 다른 마스크(mask)를 적용시키기 위해 참조 데이터 FIFO(400)의 마스크를 이용한다.The contents of the
이러한, 섹션 필터 필드 설정 레지스터(200)에서 실제 레지스터를 설정하는 예는 첨부한 도 5에 도시한바, 도 5를 참조하여 설명하면 다음과 같다.An example of setting an actual register in the section filter
도 5와 같이, 섹션 필터 필드 설정 레지스터(200)가 설정된 경우, 입력되는 데이터는 "table_id"와, "section_length"의 하위 8비트를 제외한 5번째 바이트, 10번째 바이트, 11번째 바이트, 12번째 바이트, 13번째 바이트의 총 6바이트의 필드를 필터링에 사용할 수 있다.As shown in FIG. 5, when the section filter
이와 같이, 섹션 필터 필드 설정 레지스터(200)에서 설정된 내용에 따라 필터 입력 제어기(100)는 입력되는 섹션 데이터로부터 섹션 필터링에 사용될 데이터를 편집하게 된다.As such, the
이를 위해, 상기 필터 입력 제어기(100)는 먼저 해당 트랜스포트 패킷이 어떤 PID를 갖고 어떤 PID 필터를 통과했는지에 대한 정보를 넘겨받아, 이에 대응하는 상기 섹션 필터 필드 설정 레지스터(200)를 읽어온다.To this end, the
상기 레지스터(200)에는 전술한 바와 같이 도 5와 같은 실제 필터링에 사용되어야 할 필드에 대한 정보가 담겨 있다.As described above, the
따라서, 도 5와 같은 설정이라면, 필터 입력 제어기(100)는 입력 섹션 데이터로부터 "table_id", 5번째 바이트, 10번째 바이트, 11번째 바이트, 12번째 바이트, 13번째 바이트의 모두 6바이트의 데이터를 구성하게 되는 것이다.Therefore, if the setting is the same as that of FIG. 5, the
상기 데이터를 입력 받은 섹션 필터(300)는 참조 데이터 FIFO(400)에 저장된 참조 데이터를 읽어들여 필터링하게 된다.The
이때, 상기 섹션 필터(300)의 길이는 미리 정해져 있어야 하는데, 이에 따라 참조 데이터 FIFO(400)의 바이트 길이가 정해짐은 전술한바 있다. 그러나, 필터링을 위해 재구성된 데이터가 6바이트일 때, 섹션 필터(300)의 필터링 길이가 6바이트 이상이고, 이에 따라 참조 데이터 FIFO(400)로부터 읽어들인 바이트가 6바이트 이상이라면, 상기 재구성된 데이터와 참조 데이터간 어떤 위치의 바이트 데이터를 비교해야 할 지 알 수 없게 된다.In this case, the length of the
따라서, 재구성한 섹션 데이터와 함께 최대 필터링 길이의 데이터에 대해 재구성된 데이터가 몇 바이트인지에 대한 제어 신호도 섹션 필터(300)에 함께 전송해 주어야 한다. 즉, 만약 필터링 길이가 8바이트라고 하면, 6바이트의 데이터와 함께 8바이트 중 6바이트의 데이터만 비교하면 된다는 마스킹 데이터를 함께 넘겨주어야 하는 것이다.Therefore, together with the reconstructed section data, a control signal for how many bytes of the reconstructed data for the data of the maximum filtering length should also be transmitted to the
따라서, 상기 필터 입력 제어기(100)의 출력은 섹션 필터 데이터와 최대 섹션 필터링 바이트 길이 중 필터 입력 제어기(100)가 넘겨주는 데이터의 길이에 대한 마스킹 신호가 된다.Accordingly, the output of the
첨부한 도 6은 본 발명에 따른 필터 입력 제어기에서 편집된 데이터의 구성을 나타낸 도면이다.6 is a diagram illustrating a configuration of data edited in the filter input controller according to the present invention.
도 6과 같은 구성은 전술한 도 5의 필드 설정에 따른 데이터 편집 예를 나타낸 것으로, 섹션 필터(300)의 최대 필터링 길이가 8바이트인 경우를 나타내었다.6 illustrates a data editing example according to the field setting of FIG. 5 described above, and illustrates a case in which the maximum filtering length of the
즉, 원래의 입력 섹션 데이터를 섹션 필터링 필드 설정 레지스터(200)에 저장된 마스킹 데이터에 따라 "table_id", 5번째 바이트, 10번째 바이트, 11번째 바이트, 12번째 바이트, 13번째 바이트의 총 6바이트의 길이로 편집하고, 최대 필터링 길이는 8바이트이므로 마스킹 데이터는 후단의 두 비트가 0인 8비트 길이의 마스킹 데이터를 생성하여 출력하게 된다.That is, according to the masking data stored in the section filtering
한편, 본 발명에 따른 방법은 실제 필터링에 사용할 데이터만을 상기 필터 입력 제어기(100)를 통해 생성하기 때문에, 참조 데이터 FIFO(400)에도 각 재구성 된 데이터의 바이트 위치를 맞추어 실제 필터링에 필요한 참조 데이터만을 저장하게 된다.On the other hand, since the method according to the present invention generates only the data to be used for the actual filtering through the
즉, 도 6과 같이, 입력 섹션 데이터가 재구성된 경우에는, 참조 데이터 FIFO(400)에 도 6과 같은 바이트 포지션을 갖도록 참조 "table_id", 5번째 데이터, 10번째 데이터, 11번째 데이터, 12번째데이터, 13번째 데이터가 차례로 저장되어야 하는 것이다.That is, as shown in FIG. 6, when the input section data is reconstructed, the reference "table_id", the fifth data, the tenth data, the eleventh data, and the twelfth so that the
따라서, 최대 필터링 길이가 8바이트이더라도 이에 대한 마스킹 데이터가 필터 입력 제어기(100)로부터 생성되므로, 전단의 6바이트만 필터링에 사용되는 유효한 데이터가 된다.Therefore, even if the maximum filtering length is 8 bytes, since masking data for this is generated from the
상기 참조 데이터 FIFO(400)에서 마스크 데이터는 필터 입력 제어기(100)로부터 생성되는 마스킹 데이터와 별도로 재구성된 섹션 데이터의 내부에서 다시 마스크를 사용하여 구분을 두고자 할때 사용된다.The mask data in the
한편, 본 발명에서 사용되는 섹션 필터(300)는 필터 입력 제어기(100)로부터 필터링에 필요한 데이터만을 재구성한 섹션 데이터와 마스킹 데이터를 입력 받는다. 그리고, 참조 데이터 FIFO(400)로부터 데이터를 읽어 들여 입력된 섹션 데이터와 매칭되는지의 여부를 판단하여 매칭되는 데이터를 출력하게 된다. 이때, 필터 입력 제어기(100)로 부터 입력되는 마스킹 데이터와 참조 데이터 FIFO(400)에 저장되어 있는 마스크 데이터는 서로 AND 관계에 있다.Meanwhile, the
본 발명은 상술한 실시예에 한정되지 않으며, 첨부된 청구범위에서 알 수 있는 바와 같이 본 발명이 속한 분야의 통상의 지식을 가진 자에 의해 변형이 가능하 고 이러한 변형은 본 발명의 범위에 속한다.The present invention is not limited to the above-described embodiments, and can be modified by those skilled in the art as can be seen from the appended claims, and such modifications are within the scope of the present invention. .
상기에서 설명한 본 발명에 따른 섹션 데이터의 필터링 방법 및 장치의 효과를 설명하면 다음과 같다.The effects of the method and apparatus for filtering section data according to the present invention described above are as follows.
첫째, 섹션 필터링시 입력 섹션 데이터로부터 필요한 필드만을 재구성하여 필터링함으로써 불필요한 참조 데이터의 저장을 줄일 수 있어 하드웨어 절감에 따른 비용을 최소화하는 효과가 있다.First, by reconfiguring and filtering only necessary fields from the input section data when filtering the section, unnecessary storage of reference data can be reduced, thereby minimizing the cost of hardware saving.
둘째, 한정된 하드웨어를 사용하여 필터링에 포함시킬 수 있는 섹션 데이터의 범위 확장이 용이하며, 이에 따라 소프트웨어의 부하가 줄어들어 CPU 리소스를 확보하는 효과가 있다.Second, it is easy to expand the range of the section data that can be included in the filtering using limited hardware, thereby reducing the load on the software, thereby freeing up CPU resources.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050019087A KR100698149B1 (en) | 2005-03-08 | 2005-03-08 | Method and Apparatus for Section data filtering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050019087A KR100698149B1 (en) | 2005-03-08 | 2005-03-08 | Method and Apparatus for Section data filtering |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060098017A KR20060098017A (en) | 2006-09-18 |
KR100698149B1 true KR100698149B1 (en) | 2007-03-22 |
Family
ID=37629536
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050019087A KR100698149B1 (en) | 2005-03-08 | 2005-03-08 | Method and Apparatus for Section data filtering |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100698149B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101390824B1 (en) * | 2012-12-14 | 2014-04-30 | 주식회사 텔레칩스 | Apparatus and method of section data filtering |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020074565A (en) * | 2001-03-20 | 2002-10-04 | 엘지전자 주식회사 | apparatus and method for data filtering with programmable field |
KR20040067288A (en) * | 2003-01-22 | 2004-07-30 | 엘지전자 주식회사 | Apparatus for Controlling Multi-Transport System Parser |
-
2005
- 2005-03-08 KR KR1020050019087A patent/KR100698149B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020074565A (en) * | 2001-03-20 | 2002-10-04 | 엘지전자 주식회사 | apparatus and method for data filtering with programmable field |
KR20040067288A (en) * | 2003-01-22 | 2004-07-30 | 엘지전자 주식회사 | Apparatus for Controlling Multi-Transport System Parser |
Non-Patent Citations (2)
Title |
---|
1020020074565 * |
1020040067288 * |
Also Published As
Publication number | Publication date |
---|---|
KR20060098017A (en) | 2006-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6654423B2 (en) | PID/section filter in digital television system | |
JP3919860B2 (en) | Demultiplexer | |
JPH06291780A (en) | Method for transmitting/receiving data packet | |
KR100555658B1 (en) | Stream decoder | |
US6807585B2 (en) | Method and system for parsing section data | |
JP2000511025A (en) | A flexible multiplexed signal transmission system. | |
US8861519B2 (en) | Data filtering apparatus and data filtering method | |
EP1613057A1 (en) | Method and apparatus for filtering section data | |
US20020012361A1 (en) | Method and device for generating a multiplexed MPEG signal | |
US7664113B2 (en) | Apparatus and methods for system multiplexing and program element identification | |
KR100698149B1 (en) | Method and Apparatus for Section data filtering | |
JP2000078193A (en) | Packet filtering device | |
US20070177595A1 (en) | DTV decoding system and de-multiplexing method thereof | |
KR100587284B1 (en) | Method for PSI filtering | |
KR101141644B1 (en) | Apparatus and Method of PSI converting | |
EP1175086A1 (en) | Network storage device including a demultiplexer | |
JP2006033812A (en) | Method of managing auxiliary programs and corresponding receiver and system | |
KR101087105B1 (en) | Method and Apparatus for Section data filtering | |
KR101290072B1 (en) | Section filter of linked-list type for transport stream parsing for low power set-top boxes | |
EP1965587A2 (en) | Digital content reproducing and storing apparatus, digital content reproducing and storing method, digital content storing apparatus, digital content reproducing apparatus, and computer readable medium storing digital content reproducing and storing program | |
KR100226826B1 (en) | Decoding apparatus of a satellite broadcasting receiver and method thereof | |
JP2001157156A (en) | Digital broadcasting receiver | |
US20090041127A1 (en) | Flexible length decoder | |
KR101363847B1 (en) | Psip-table structure and control device for storing psip-table in digital broadcasting receiver | |
JP2003229906A (en) | Transport stream processing apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130226 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140224 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150224 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20160224 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20170214 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |