KR101517048B1 - Synchronizing pattern detection apparatus and method thereof - Google Patents

Synchronizing pattern detection apparatus and method thereof Download PDF

Info

Publication number
KR101517048B1
KR101517048B1 KR1020130076969A KR20130076969A KR101517048B1 KR 101517048 B1 KR101517048 B1 KR 101517048B1 KR 1020130076969 A KR1020130076969 A KR 1020130076969A KR 20130076969 A KR20130076969 A KR 20130076969A KR 101517048 B1 KR101517048 B1 KR 101517048B1
Authority
KR
South Korea
Prior art keywords
sync pattern
values
value
length
frames
Prior art date
Application number
KR1020130076969A
Other languages
Korean (ko)
Other versions
KR20150004038A (en
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 KR1020130076969A priority Critical patent/KR101517048B1/en
Publication of KR20150004038A publication Critical patent/KR20150004038A/en
Application granted granted Critical
Publication of KR101517048B1 publication Critical patent/KR101517048B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length

Abstract

본 발명은 싱크 패턴 검출 기술에 관한 것으로서, 더 상세하게는 데이터 스트림에서 프레임 동기를 맞추기 위한 싱크 패턴을 검출하는 싱크 패턴 검출기 및 그 검출방법에 대한 것이다.
본 발명에 따르면, 싱크 패턴의 위치 및 길이에 대한 정보가 주어지지 않은 상태에서도 간단한 연산을 통해 싱크 패턴을 신속하게 검출할 수 있는 효과가 있다.
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sync pattern detecting technique, and more particularly, to a sync pattern detector for detecting a sync pattern for synchronizing frames in a data stream and a method for detecting the same.
According to the present invention, there is an effect that a sync pattern can be detected quickly by a simple operation even when information on the position and length of the sync pattern is not given.

Description

싱크 패턴 검출기 및 검출방법{SYNCHRONIZING PATTERN DETECTION APPARATUS AND METHOD THEREOF}TECHNICAL FIELD [0001] The present invention relates to a sync pattern detector and a method for detecting a sync pattern,

본 발명은 싱크 패턴 검출 기술에 관한 것으로서, 더 상세하게는 데이터 스트림에서 프레임 동기를 맞추기 위한 싱크 패턴을 검출하는 싱크 패턴 검출기 및 그 검출방법에 대한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sync pattern detecting technique, and more particularly, to a sync pattern detector for detecting a sync pattern for synchronizing frames in a data stream and a method for detecting the same.

데이터가 비트열로 변환되어 직렬로 전송되는 데이터 스트림은 프레임 단위로 구분될 수 있으며, 각 프레임에는 프레임 간 동기화를 위한 싱크 패턴이 삽입된다. 싱크 패턴은 프레임마다 동일한 위치에 존재하는 것이 일반적이다.A data stream converted into a bit stream and transmitted serially can be divided into frames, and a sync pattern for inter-frame synchronization is inserted in each frame. It is general that the sync pattern exists at the same position in each frame.

이러한 싱크 패턴을 신속하고 정확하게 검출하는 것은 데이터를 처리하거나 데이터를 분석하는데 있어서 필수적으로 요구되는 사항이다. 이로 인하여, 싱크 패턴을 검출하는 방법에 대해서 많은 방법들이 소개되었다.Detecting such a sync pattern quickly and accurately is an essential requirement for processing data or analyzing data. As a result, many methods have been introduced for detecting a sync pattern.

그러나 군사적인 용도로서 적군의 데이터를 수신할 때와 같이 프레임 내 싱크 패턴의 위치가 알려지지 않은 경우에 위와 같이 상관관계를 통해 싱크 패턴을 검출하면 싱크 패턴이 프레임 내 어느 부분에 위치해 있는지 파악할 수 없어 프레임의 처음부터 끝까지 한 비트씩 이동하면서 상관관계를 모두 구하여야 하므로 연산이 많아지게 된다. 더욱이 싱크 패턴의 위치뿐만 아니라 싱크 패턴의 길이까지 모르는 경우에는 추정되는 싱크 패턴의 길이에 따라 단위를 변화시켜가면서 상관관계를 구하여야 하므로 연산이 더욱 복잡해지게 된다.However, when the position of the sync pattern in the frame is not known as in the case of receiving data of the enemy group as a military purpose, if the sync pattern is detected through the correlation as described above, The number of calculations is increased because all the correlations are calculated while moving by one bit from the beginning to the end. In addition, when not only the position of the sync pattern but also the length of the sync pattern are unknown, the correlation is calculated while changing the unit according to the estimated length of the sync pattern.

따라서, 이러한 상관관계를 통한 검출방법은 시간이 많이 소요되고, 연산 측면에서도 비효율적이다. 이는 국방분야, 항공분야 등 신속한 데이터 분석 및 처리가 요구되는 분야에서는 매우 치명적일 수 있다. 또한, 데이터를 전송하는 과정에서 비트에 에러가 발생할 수 있는데, 이러한 상관관계를 통한 검출방법은 오류환경에 취약하다는 문제점이 있다. Therefore, the detection method using such a correlation is time consuming and inefficient in terms of operation. This can be very lethal in areas where rapid data analysis and processing is required, such as defense and aviation. In addition, an error may occur in a bit in the process of transmitting data. The detection method using such a correlation is vulnerable to an error environment.

특히, 싱크 패턴 내에서 에러가 발생한 경우 이러한 문제점이 극명하게 드러난다. 즉, 싱크 패턴의 길이로 추정되는 비트들을 하나의 블록으로 보고 상관관계를 구하게 되므로 비트에 오류가 생겼을 때에는 블록의 크기값과 같은 상관관계 값이 도출될 수 없게 된다. 결과적으로 이러한 상관관계를 통한 검출방법에 의하면 블록안에서 하나의 비트라도 에러가 발생하면 싱크 패턴 판정에 많은 영향을 미치게 된다.In particular, this problem becomes apparent when an error occurs in the sync pattern. That is, since the bits estimated as the length of the sync pattern are regarded as a single block, the correlation is calculated. Therefore, when an error occurs in the bit, a correlation value such as a block size value can not be derived. As a result, according to the detection method using such a correlation, if an error occurs even in one bit in a block, it affects the determination of the sync pattern.

1. 미국등록특허 제5,148,453호1. U.S. Patent No. 5,148,453 2. 한국등록특허 제0253809호2. Korea Patent No. 0253809

본 발명은 위 배경기술에 따른 문제점을 해결하기 위하여 안출된 것으로서, 싱크 패턴에 대한 정보가 충분치 않은 상태에서도 싱크 패턴을 신속하게 검출할 수 있고, 이와 함께 오류환경에도 강인한 싱크 패턴 검출기 및 그 검출방법을 제공하는데 그 목적이 있다.The present invention has been made in order to solve the above problems, and it is an object of the present invention to provide a sync pattern detector capable of quickly detecting a sync pattern even when information on a sync pattern is insufficient, The purpose is to provide.

본 발은 위에서 제시된 과제를 달성하기 위해, 싱크 패턴에 대한 정보가 충분치 않은 상태에서도 싱크 패턴을 신속하게 검출할 수 있고, 이와 함께 오류환경에도 강인한 싱크 패턴 검출 방법을 제공한다.The present invention provides a method of detecting a sync pattern that can detect a sync pattern quickly even when information on the sync pattern is insufficient, and also provides a method of detecting a sync pattern that is robust against an error environment.

상기 싱크 패턴 검출 방법은, 데이터 스트림으로부터 병렬로 분리된 다수의 프레임에 순차적으로 열 인덱스 또는 행 인덱스를 부여하여 매트릭스를 생성하는 매트릭스 생성 단계; 상기 매트릭스의 데이터 값들과 정수를 맵핑하여 맵핑값들을 생성하는 맵핑 단계; 동일한 행 인덱스 또는 열 인덱스에 해당하는 맵핑값들을 합산하여 합산값들을 생성하는 합산값 산출 단계; 상기 합산값들의 절대값들이 비교값과 같은지를 비교하는 비교 단계; 비교결과, 비교값과 동일한 합산값들이 연속적으로 존재하는지를 확인하는 확인 단계; 확인결과, 연속된 합산값들의 연속횟수를 합하여 싱크 패턴 길이를 산출하는 싱크 패턴 길이 산출 단계; 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하는지를 판단하는 판단 단계; 및 판단 결과, 상기 싱크 패턴 길이 및 연속된 합산값들의 횟수가 나타나는 싱크 패턴 위치를 이용하여 싱크 패턴의 검출을 수행하는 싱크 패턴 검출 단계;를 포함한다.The sync pattern detecting method comprising: a matrix generating step of generating a matrix by sequentially assigning a column index or a row index to a plurality of frames separated in parallel from a data stream; A mapping step of mapping the data values of the matrix and integers to generate mapping values; A summation value calculating step of summing up the mapping values corresponding to the same row index or column index to generate summation values; Comparing the absolute values of the sum values with a comparison value; A confirming step of confirming whether the same summation values as the comparison value are continuously present as a result of the comparison; A sync pattern length calculation step of calculating a sync pattern length by summing consecutive times of consecutive sum values; A determination step of determining whether the sync pattern length matches a predetermined set value; And a sync pattern detection step of detecting a sync pattern using a sync pattern position where the length of the sync pattern and the number of consecutive sum values appear as a result of the determination.

또한, 상기 비교 단계에서 상기 합산값들의 절대값들이 비교값과 동일하지 않거나, 싱크 패턴 길이 산출 단계에서 비교값과 동일한 합산값들이 연속적으로 존재하지 않거나, 상기 판단 단계에서 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하지 않으면, 상기 다수의 프레임의 단위 길이를 변경하는 단계를 더 포함할 수 있다.If the absolute values of the summation values are not equal to the comparison value or the summation values equal to the comparison value do not exist consecutively in the calculating of the sync pattern length, And changing the unit length of the plurality of frames if the frame size does not match the set value.

또한, 상기 정수는 절대값이 같고, 부호가 서로 다른 수인 것을 특징으로 하며, 상기 싱크 패턴의 검출은 상기 싱크 패턴 길이 및 싱크 패턴 위치에 해당하는 데이터 값을 추출하거나, 또는 연속적으로 존재하는 비교값과 동일한 합산값들을 기초로하여 프레임 갯수와 맵핑 이전의 데이터 값을 통하여 이루어지는 것을 특징으로 할 수 있다.The method may further include extracting a data value corresponding to the sync pattern length and a sync pattern position, or extracting a continuous comparison value The number of frames and the data value before mapping are calculated based on the same summation values as in FIG.

이때, 상기 합산값들의 절대값과 상기 비교값의 관계는 다음식

Figure 112013059380676-pat00001
(여기서, S : 합산값, N : 프레임의 갯수, n : 맵핑한 정수를 나타낸다) 에 의해 표현되는 것을 특징으로 할 수 있다.At this time, the relationship between the absolute value of the summation values and the comparison value is
Figure 112013059380676-pat00001
(Where S is a summed value, N is the number of frames, and n is a mapped integer).

또한, 데이터의 비트 에러의 영향을 최소화하기 위해 상기 합산값들의 절대값들 중 미리 설정된 기준값 이상에 해당하는 합산값들을 상기 다수의 프레임의 갯수와 상기 정수의 절대값의 곱과 동일한 값으로 처리하는 단계를 더 포함하는 것을 특징으로 할 수 있다.In order to minimize the influence of the bit error of the data, sum values corresponding to a predetermined reference value or more among the absolute values of the sum values are processed to have the same value as the product of the number of the frames and the absolute value of the integer The method comprising the steps of:

또한, 상기 기준값은 다음식

Figure 112013059380676-pat00002
,
Figure 112013059380676-pat00003
(여기서, β : 기준값, N : 프레임의 갯수, α : 문턱계수, n : 맵핑한 정수를 각각 나타낸다)에 의해 표현되는 것을 특징으로 할 수 있다.In addition,
Figure 112013059380676-pat00002
,
Figure 112013059380676-pat00003
(Where β is a reference value, N is the number of frames, α is a threshold coefficient, and n is a mapped integer).

다른 한편으로, 본 발명의 다른 일실시예는, 데이터 스트림으로부터 병렬로 분리된 다수의 프레임에 순차적으로 열 인덱스 또는 행 인덱스를 부여하여 매트릭스를 생성하는 매트릭스 구성부; 상기 매트릭스의 데이터 값들과 정수를 맵핑하여 맵핑값들을 생성하는 정수 맵핑부; 동일한 행 인덱스 또는 열 인덱스에 해당하는 맵핑값들을 합산하여 합산값들을 생성하는 가산부; 상기 합산값들의 절대값들이 비교값과 같은지를 비교하고, 비교값과 동일한 합산값들이 연속적으로 존재하면 합산값들의 연속횟수를 합하여 싱크 패턴 길이를 산출하여 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하는지를 판단하여 싱크 패턴 여부를 판정하는 싱크 패턴 판정부; 및 상기 싱크 패턴 길이 및 연속된 합산값들의 횟수가 나타나는 싱크 패턴 위치를 이용하여 싱크 패턴의 검출을 수행하는 싱크 패턴 검출부;를 포함하는 싱크 패턴 검출기를 제공한다.According to another embodiment of the present invention, there is provided a method for generating a matrix by sequentially applying a column index or a row index to a plurality of frames separated in parallel from a data stream to generate a matrix; An integer mapping unit for mapping the data values of the matrix and integers to generate mapping values; An adder for summing up the mapping values corresponding to the same row index or column index to generate summed values; Comparing the absolute values of the sum values with a comparison value, calculating a sync pattern length by summing the consecutive times of the sum values when the same sum values as the comparison value are continuously present, A sync pattern determination unit determining whether the sync pattern is a sync pattern or not; And a sync pattern detector for detecting a sync pattern using a sync pattern position where the length of the sync pattern and the number of consecutive sum values are detected.

이때, 상기 싱크 패턴 판정부는, 상기 합산값들의 절대값들이 비교값과 동일하지 않거나, 비교값과 동일한 합산값들이 연속적으로 존재하지 않거나, 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하지 않으면, 상기 다수의 프레임의 단위 길이를 변경하는 것을 특징으로 할 수 있다.At this time, if the absolute values of the summation values are not equal to the comparison value, or the summation values equal to the comparison value do not exist continuously, or the sync pattern length does not match the predetermined set value, And the unit length of the plurality of frames is changed.

또한, 상기 싱크 패턴 판정부는, 데이터의 비트 에러의 영향을 최소화하기 위해 상기 합산값들의 절대값들 중 미리 설정된 기준값 이상에 해당하는 합산값들을 상기 다수의 프레임의 갯수와 상기 정수의 절대값의 곱과 동일한 값으로 처리하는 것을 특징으로 할 수 있다.In order to minimize the influence of the bit error of the data, the sync pattern determination unit may multiply sum values corresponding to a predetermined reference value or more among the absolute values of the sum values by a product of the number of the plurality of frames and the absolute value of the integer To the same value.

본 발명에 따르면, 싱크 패턴의 위치 및 길이에 대한 정보가 주어지지 않은 상태에서도 간단한 연산을 통해 싱크 패턴을 신속하게 검출할 수 있는 효과가 있다.According to the present invention, there is an effect that a sync pattern can be detected quickly by a simple operation even when information on the position and length of the sync pattern is not given.

또한, 본 발명의 다른 효과로서는 비트에러가 발생하였을 때 문턱계수를 적용하여 싱크 패턴을 검출함으로써 오류환경에 강인한 싱크 패턴 검출방법을 제공할 수 있다는 점을 들 수 있다.According to another aspect of the present invention, a method of detecting a sync pattern by detecting a sync pattern by applying a threshold coefficient when a bit error occurs can provide a robust sync pattern detection method.

도 1a는 본 발명의 일실시예에 따른 통신 시스템의 블록도이고, 도 1b는 도 1a에 도시된 싱크 패턴 검출기(100)의 블록도이다.
도 2a는 본 발명의 일실시예에 따른 총괄적인 데이터 동기화 과정을 보여주는 흐름도이고, 도 2b는 도 2a에 도시된 데이터 동기화 과정 중 싱크 패턴 검출 단계(S210)를 상세하게 보여주는 흐름도이다.
도 3 내지 도 6은 도 2a에 도시된 싱크 패턴 검출 단계(S210)의 개념을 보여주는 개념도이다.
FIG. 1A is a block diagram of a communication system according to an embodiment of the present invention, and FIG. 1B is a block diagram of the sync pattern detector 100 shown in FIG. 1A.
FIG. 2A is a flowchart illustrating a general data synchronization process according to an embodiment of the present invention, and FIG. 2B is a flowchart illustrating a sync pattern detection step (S210) in detail during the data synchronization process shown in FIG. 2A.
FIGS. 3 to 6 are conceptual diagrams showing the concept of the sync pattern detection step S210 shown in FIG. 2A.

비록 본 발명의 몇몇 실시예가 설명되나, 본 발명이 속하는 기술분야의 통상의 지식을 가진 당업자라면 본 발명의 기술적 사상을 벗어나지 않는 범위에서 본 실시예를 변형할 수 있음을 알 수 있을 것이다. 그러므로 본 발명의 보호범위는 첨부된 청구항과 그 균등물에 의해 정해져야 할 것이다. Although some embodiments of the present invention have been described, it will be apparent to those skilled in the art that modifications may be made without departing from the spirit of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims and their equivalents.

이하, 도면을 참조하여 본 발명의 구체적인 실시예들에 대해 설명하기로 한다.Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.

도 1a는 본 발명의 일실시예에 따른 통신 시스템의 블록도이다. 도 1a를 참조하면, 통신 시스템은 데이터 수신부(10), 데이터 수신부(10)에 의해 수신된 데이터로부터 싱크 패턴을 검출하는 싱크 패턴 검출기(100), 및 검출된 싱크 패턴을 이용하여 데이터를 동기화하는 동기화부(20) 등으로 구성된다. 여기서 싱크 패턴은 데이터 스트림의 프레임 간 동기화를 위해 각각의 프레임마다 일정한 위치에 삽입되는 비트열을 의미한다.1A is a block diagram of a communication system in accordance with an embodiment of the present invention. 1A, a communication system includes a data receiving unit 10, a sync pattern detector 100 for detecting a sync pattern from data received by the data receiving unit 10, and a sync pattern detector 100 for synchronizing data using the detected sync pattern A synchronization unit 20, and the like. Here, the sync pattern means a bit stream inserted at a predetermined position in each frame for inter-frame synchronization of the data stream.

도 1b는 도 1a에 도시된 싱크 패턴 검출기(100)의 블록도이다. 도 1을 참조하면, 싱크 패턴 검출기(100)는 매트릭스 구성부(110), 정수 맵핑부(120), 가산부(130), 싱크 패턴 판정부(140) 및 싱크 패턴 검출부(150) 등을 포함하여 구성된다.FIG. 1B is a block diagram of the sync pattern detector 100 shown in FIG. 1A. 1, the sync pattern detector 100 includes a matrix unit 110, an integer mapping unit 120, an adder 130, a sync pattern determination unit 140, a sync pattern detection unit 150, and the like. .

매트릭스 구성부(10)는 데이터 수신부(10)를 통해 수신된 데이터 스트림(Data Stream)을 미리 결정된 소정의 단위길이로 분리하여 복수의 프레임을 생성하고, 복수의 프레임을 나열하여 매트릭스를 구성한다. 이때, 데이터 스트림의 프레임 길이에 대한 정보가 사전에 알려져 있는 경우에는 그 프레임의 길이를 단위길이로 적용하여 분리하고, 프레임 길이가 알려지지 않은 경우에는 프레임 길이를 예측하여 단위길이를 결정한다. 이외에도, 예측되는 프레임 길이를 미리 저장하여 두고 상황에 맞는 프레임 길이를 적용할 수도 있을 것이다. 이러한 매트릭스 개념을 보여주는 도면이 도 3에 도시된다. 도 3에 대하여는 후술하기로 한다.The matrix forming unit 10 generates a plurality of frames by separating a data stream received through the data receiving unit 10 into predetermined predetermined unit lengths and arranges a plurality of frames to form a matrix. At this time, when information on the frame length of the data stream is known in advance, the length of the frame is separated by applying the unit length, and if the frame length is not known, the unit length is determined by predicting the frame length. In addition, the predicted frame length may be stored in advance and the frame length suited to the situation may be applied. A diagram showing such a matrix concept is shown in Fig. 3 will be described later.

정수 맵핑부(120)는 매트릭스 구성부(110)에 의하여 생성된 매트릭스를 구성하는 성분의 데이터 값에 대응하여 절대값이 같고, 부호가 서로 다른 정수를 일대일 맵핑(Mapping)한다. 절대값이 같고, 부호가 서로 다른 정수는 예컨대, 1과 -1이 될 수 있으나 반드시 이에 한정되는 것은 아니다. 이러한 맵핑 개념을 보여주는 도면이 도 4에 도시된다. 도 4에 대하여는 후술하기로 한다.The integer mapping unit 120 maps the integers having the same absolute value and different sign in one-to-one correspondence to the data values of the components constituting the matrix generated by the matrix construction unit 110. The integers having the same absolute value and different signs may be, for example, 1 and -1, but are not limited thereto. A diagram showing this mapping concept is shown in Fig. 4 will be described later.

가산부(130)는 매트릭스의 서로 다른 프레임에 속하는 성분 중 동일한 행 또는 열 인덱스를 가지는 성분의 맵핑된 값을 각각 합산한다. 이때, 서로 다른 프레임에 속하는 성분을 합산하므로 매트릭스 생성시 프레임을 나열한 방향에 따라 행 인덱스 또는 열 인덱스 중 택일적으로 합산될 인덱스가 결정된다. 이러한 합산 개념을 보여주는 도면이 도 5 및 도 6에 도시된다. 도 5 및 도 6에 대하여는 후술하기로 한다.The adder 130 sums the mapped values of components having the same row or column index among the components belonging to different frames of the matrix, respectively. At this time, since the components belonging to different frames are summed up, the index to be added to the row index or the column index is determined depending on the direction in which the frames are arranged when the matrix is generated. Figures 5 and 6 show a diagram showing such a summation concept. 5 and 6 will be described later.

싱크 패턴 판정부(140)는 가산부(130)를 통하여 합산된 값인 합산값(S)의 절대값 중 매트릭스 구성부(110)에 의하여 생성된 프레임의 갯수(N)와 정수 맵핑부(20)에 의하여 맵핑된 정수(n)의 절대값의 곱에 해당하는 값이 연속적으로 나타나는 위치와 연속횟수를 기초로 프레임 내 싱크 패턴의 위치와 싱크 패턴의 길이를 판정한다. 이러한 합산값(S)의 절대값, 프레임의 갯수(N), 및 맵핑된 정수(n)의 관계는 다음식으로 표현된다.The sync pattern determination unit 140 determines the number of frames N generated by the matrix unit 110 among the absolute values of the sum values S that are added through the adder 130 and the number of frames generated by the integer mapping unit 20, The position of the in-frame sync pattern and the length of the sync pattern are determined on the basis of the position and the continuous number of consecutive values corresponding to the product of the absolute value of the mapped integer (n) The relationship between the absolute value of the sum value S, the number of frames N, and the mapped integer n is expressed by the following equation.

[수학식 1] [ Equation 1 ]

Figure 112013059380676-pat00004
Figure 112013059380676-pat00004

여기서, S : 합산값, N : 프레임의 갯수, n : 맵핑한 정수.Here, S: sum value, N: number of frames, n: mapped integer.

따라서, 수학식 1에 따른 합산값(S)이 연속적으로 나타나는 위치를 토대로 프레임 내에서 싱크 패턴의 위치를 판정할 수 있고, 연속횟수를 기초로 싱크 패턴의 길이를 알 수 있다.Therefore, the position of the sync pattern can be determined in the frame based on the position where the summation value S according to Equation 1 continuously appears, and the length of the sync pattern can be found based on the number of consecutive times.

또한, 싱크 패턴 판정부(140)는 판정된 싱크 패턴의 길이가 미리 세팅된 싱크 패턴 길이값의 범위에 포함되는지 여부를 살펴 싱크 패턴이 올바르게 판정되었는지를 결정한다. 이를 위하여 싱크 패턴 판정부(140)에서 데이터의 표준형식, 종류, 용도 등 데이터의 다양한 속성을 고려하여 결정되는 싱크 패턴 길이값을 사전에 저장할 수 있다.The sync pattern determination unit 140 determines whether or not the sync pattern is correctly determined based on whether or not the length of the determined sync pattern is included in the preset range of the sync pattern length value. For this purpose, the sync pattern determination unit 140 may store a sync pattern length value determined in consideration of various attributes of data such as a standard format, a type, and an application of the data.

부연하면, 합산값(S)의 절대값 중에서 프레임의 갯수(N)와 맵핑한 정수(n)의 절대값의 곱에 해당하는 값이 없거나, 연속횟수에 따라 판정된 싱크 패턴의 길이가 예측되거나 알려진 싱크 패턴의 길이값에 부합하지 않는 경우가 발생할 수 있다. 예컨대, IRIG 텔레메트리 표준을 가지는 신호는 일반적으로 싱크 패턴의 길이가 16비트 이상이므로, 판정된 싱크 패턴의 길이가 이에 부합하지 않은 경우에는 프레임 길이를 잘못 예측한 것이 된다. 따라서, 이 경우에 싱크 패턴 판정부(140)는 단위길이를 재예측하는 등으로 단위길이를 변경하고, 매트릭스 구성부(110)는 변경된 단위길이를 프레임 길이로 적용하여 매트릭스를 구성함으로써 싱크 패턴의 위치와 길이의 재추정이 이루어질 수 있도록 한다.In other words, if there is no value corresponding to the product of the number N of frames and the absolute value of the mapped integer n among the absolute values of the sum value S or if the length of the sync pattern determined according to the number of consecutive times is predicted It may happen that the length value of the known sync pattern does not match. For example, a signal having an IRIG telemetry standard generally has a sync pattern length of 16 bits or more, so that if the length of the determined sync pattern does not match, the frame length is mispredicted. Therefore, in this case, the sync pattern determining unit 140 changes the unit length by re-predicting the unit length, and the matrix forming unit 110 constructs the matrix by applying the changed unit length to the frame length, So that re-estimation of position and length can be made.

한편으로, 데이터를 송수신하는 과정에서 비트 에러가 발생할 가능성이 있다. 이에 대하여 상관관계를 통한 싱크 패턴 검출방법은 여러 비트를 하나로 묶은 블록단위로 싱크 패턴을 검출하기 때문에 블록단위에서 하나의 비트에 에러가 발생하여도 싱크 패턴을 검출하는데 매우 취약하다는 단점이 있었다. 그러나, 본 발명의 실시예에 따른 싱크 패턴 검출기에 의하면 문턱값을 이용하여 위와 같은 비트 에러를 쉽게 보완할 수 있다.On the other hand, there is a possibility that a bit error occurs in the process of transmitting and receiving data. On the other hand, the sync pattern detection method based on the correlation has a disadvantage in that it is very vulnerable to detecting a sync pattern even if an error occurs in one bit in a block unit, because a sync pattern is detected in units of blocks grouped into several bits. However, according to the sync pattern detector according to the embodiment of the present invention, the bit error can be easily compensated using the threshold value.

부연하면, 프레임 내에서 싱크 패턴을 제외한 데이터인 워드가 모두 동일한 비트값을 가질 가능성은 매우 낮으므로, 매트릭스의 맵핑된 값을 합산한 합산값(S)은 대부분 프레임의 갯수(N)와 맵핑한 정수(n)의 곱보다 작은 값으로 나타나게 된다. In other words, since it is very unlikely that all the data words except the sync pattern in the frame have the same bit value, the sum S of the mapped values of the matrix is mostly mapped to the number of frames N Is less than the product of the integer (n).

따라서, 위와 같은 사실을 이용하여 싱크 패턴 판정부(140)는 기준값(β)을 결정하여 저장해 두고, 합산값(S)의 절대값 중에서 위의 기준값(β) 이상에 해당하는 값을 프레임의 갯수(N)와 맵핑한 정수(n)의 절대값과 동일한 값으로 처리하게 된다. 이를 수식으로 나타내면 다음과 같다.Therefore, the sync pattern determining unit 140 determines and stores the reference value beta using the above facts, and stores the value corresponding to the reference value beta or more among the absolute values of the sum value S as the number of frames (N) and the integer (n) mapped. The equation is expressed as follows.

Figure 112013059380676-pat00005
Figure 112013059380676-pat00005

여기서, S : 합산값, β : 기준값.Here, S: sum value, β: reference value.

기준값(β)은 다음의 수식과 같이 프레임의 갯수(N)와 문턱(threshold)계수(α)의 곱으로 정의될 수 있으며, 이때, 문턱계수(α)는 0과 맵핑한 정수(n)의 절대값 사이의 값을 가진다. The threshold value? May be defined as a product of the number N of frames and a threshold coefficient? As shown in the following equation. Here, the threshold coefficient? It has a value between absolute values.

Figure 112013059380676-pat00006
Figure 112013059380676-pat00006

여기서, β : 기준값, N : 프레임의 갯수, α : 문턱계수, n : 맵핑한 정수.Here, β is a reference value, N is the number of frames, α is a threshold coefficient, and n is a mapped integer.

예컨대, 맵핑한 정수(n)가 1과 -1일 때, 문턱계수(α)는 0과 1사이의 값을 가지며, 이때, 문턱계수(α)는 값을 변화시키면서 오류확률에 따른 싱크 패턴 추정 성공률을 계산하여 실험적으로 결정될 수 있다.For example, when the mapped integer n is 1 and -1, the threshold coefficient a has a value between 0 and 1. At this time, the threshold coefficient? It can be experimentally determined by calculating the success rate.

싱크 패턴 검출부(150)는 싱크 패턴 판정부(140)를 통하여 판정된 싱크 패턴의 위치와 싱크 패턴의 길이에 대응하여 싱크 패턴을 검출한다.The sync pattern detection unit 150 detects a sync pattern corresponding to the position of the sync pattern determined by the sync pattern determination unit 140 and the length of the sync pattern.

도 2a는 싱크 패턴을 이용하여 데이터를 동기화하는 과정을 보여주는 흐름도이다. 도 2a를 참조하면, 데이터가 입력되는 단계(S200), 입력된 데이터로부터 싱크 패턴을 검출하는 단계(S210), 검출된 싱크 패턴을 이용하여 프레임 동기화를 수행하는 단계(S220), 및 프레임 동기화가 수행된 데이터를 출력하는 단계(S230) 등으로 구성된다.2A is a flowchart illustrating a process of synchronizing data using a sync pattern. Referring to FIG. 2A, in operation S200, data is input, a sync pattern is detected from inputted data S210, a frame synchronization is performed using the detected sync pattern S220, And outputting the performed data (S230).

도 2b는 를 참조하면, 도 2a에 도시된 데이터 동기화 과정 중 싱크 패턴 검출 단계(S210)를 상세하게 보여주는 흐름도이다. 도 2b를 참조하면, 비트열로 구성되는 데이터 스트림(Data Stream)을 미리 결정된 소정의 단위길이로 분리하여 복수의 프레임을 생성하고, 생성된 프레임을 나열하여 매트릭스를 구성한다(단계 S211).Referring to FIG. 2B, a sync pattern detection step (S210) in the data synchronization process shown in FIG. 2A is illustrated in detail. Referring to FIG. 2B, a data stream composed of bit streams is divided into a predetermined unit length to generate a plurality of frames, and the generated frames are arranged to form a matrix (step S211).

매트릭스 구성이 이루어지면, 매트릭스를 구성하는 성분의 데이터 값에 대응하여 절대값이 같고, 부호가 서로 다른 정수를 일대일 맵핑(Mapping)한다(단계 S212).When the matrix configuration is performed, mapping is performed one-to-one with the constants having the same absolute value and different signs corresponding to the data values of the components constituting the matrix (step S212).

매트릭스 성분마다 정수를 맵핑하는 과정이 완료되면, 매트릭스의 서로 다른 프레임에 속하는 성분 중에서 동일한 행 인덱스 또는 열 인덱스를 가지는 성분들끼리 맵핑된 값을 합산한다(단계 S213). 이때, 서로 다른 프레임에 속하는 성분을 합산하므로 매트릭스 생성시 프레임을 나열한 방향에 따라 합산해야 할 인덱스가 달라진다. 부연하면, 도 5와 같이 열 인덱스를 기준으로 맵핑된 값을 합산하거나, 도 6에 도시된 바와 같이 행 인덱스를 기준으로 맵핑된 값을 합산하여 합산값(S)들을 구하게 된다. 도 5 및 도 6에 대하여는 후술하기로 한다.When the process of mapping integers for each matrix component is completed, the mapped values of the components having the same row index or column index among the components belonging to different frames of the matrix are summed up (step S213). At this time, since the components belonging to different frames are summed up, the index to be summed depends on the direction in which the frames are arranged when the matrix is generated. Further, as shown in FIG. 5, the values mapped on the basis of the column index are added, or the values mapped on the basis of the row index are summed to obtain sum values S as shown in FIG. 5 and 6 will be described later.

이후, 합산값(S)들의 절대값들과 비교값을 비교하여 비교값과 동일한 합산값(S)들이 있는 지를 확인하게 된다(단계 S215). 즉, 수학식 1과 같이, 합산값(S)의 절대값과 비교값(

Figure 112013059380676-pat00007
, 여기서 N은 프레임의 갯수이고, n은 맵핑한 정수를 나타낸다)의 관계를 만족하는 합산값(S)들이 있는지를 확인한다.Thereafter, the absolute values of the sum values S are compared with a comparison value, and it is confirmed whether or not the sum values S equal to the comparison value exist (step S215). That is, as shown in Equation (1), the absolute value of the sum value S and the comparison value
Figure 112013059380676-pat00007
, Where N is the number of frames and n is a mapped integer).

확인 결과, 수학식 1를 만족하는 합산값(S)들이 있으면, 이들 합산값들(S)이 연속적으로 나타나는 지를 확인하게 된다(단계 S216). 부연하면, 싱크 패턴은 비트열을 띠게 되므로, 연속적으로 나타나게 되므로, 이를 확인하는 과정이다.As a result of the check, if there are sum values S that satisfy Equation 1, it is confirmed whether these sum values S appear consecutively (Step S216). In other words, since the sync pattern is bit string, it appears continuously, so it is a process of confirming this.

확인 결과, 합산값(S)들이 연속적으로 나타나면, 연속된 합산값들의 연속횟수를 합하여 싱크 패턴 길이를 산출한다(단계 S217).If the sum values S continuously appear as a result of checking, the sync pattern length is calculated by summing the consecutive times of consecutive sum values (step S217).

산출된 싱크 패턴 길이가 미리 세팅되어 있는 설정값과 부합하는 지를 판단하게 된다(단계 S218). 부연하면, 설정값이 "9"라고 하면, 싱크 패턴 길이가 "9"가 되어야 이를 싱크 패턴의 위치로 판단하는 것이다.It is determined whether the calculated sync pattern length matches a predetermined set value (step S218). In other words, if the set value is "9", the sync pattern length should be "9" to determine the position of the sync pattern.

판단 결과, 싱크 패턴 길이가 설정값과 부합하면, 프레임 내에서의 싱크 패턴의 위치와 길이정보를 모두 알고 있으므로 최종적으로 싱크 패턴을 검출할 수 있게 된다(단계 S219). 즉, 싱크 패턴은 프레임의 동기화를 위한 것으로서 프레임마다 동일한 위치에 같은 패턴이 삽입되게 된다. 따라서, 각각의 프레임 내에서 싱크 패턴이 삽입된 위치에서는 모두 같은 비트값을 가지므로 동일한 정수값이 맵핑되고, 이로 인하여, 맵핑된 값을 모두 가산하면 프레임 갯수(N)의 배수 값이 도출되는 것이다. 이러한 논리를 적용하여 싱크 패턴의 프레임 내의 위치와 길이, 및 이에 따른 싱크 패턴을 검출할 수 있게 된다.As a result of the determination, if the sync pattern length matches the set value, both the position and the length information of the sync pattern in the frame are known, so that the sync pattern can be finally detected (step S219). That is, the sync pattern is for synchronizing frames, and the same pattern is inserted at the same position in each frame. Accordingly, the same integer value is mapped at the positions where the sync patterns are inserted in the respective frames, so that a multiple of the number of frames N is derived by adding all the mapped values . By applying such logic, it becomes possible to detect the positions and lengths of the sync patterns in the frame and the sync patterns corresponding thereto.

한편, 싱크 패턴의 검출은 프레임 내에서 판정된 싱크 패턴의 위치와 길이에 대응되는 데이터 값을 추출하여 이루어질 수 있다. 또는, 이와 달리 판정된 싱크 패턴의 위치와 길이에 해당하는 합산값(S)을 기초로 프레임 갯수(N)와 맵핑되기 이전의 데이터 값을 이용하여 싱크 패턴을 검출할 수도 있다. 예를 들어, 도 5에 도시된 합산값(S) 중 싱크 패턴에 해당하는 6 6 6 -6 6 -6 6 6 6 을 살펴보면, 프레임 갯수(N)는 6개이고, 비트값 1에는 1을 비트값 0에는 -1을 맵핑한 것을 기초로 싱크 패턴은 1 1 1 -1 1 -1 1 1 1이라는 것을 알 수 있다.On the other hand, the detection of the sync pattern can be performed by extracting data values corresponding to the positions and lengths of the sync patterns determined in the frame. Alternatively, the sync pattern may be detected using the number of frames N and the data value before being mapped based on the sum value S corresponding to the position and the length of the sync pattern determined otherwise. For example, referring to 6 6 6 -6 6 -6 6 6 6 corresponding to the sync pattern among the sum values S shown in FIG. 5, the number of frames N is 6, It can be seen that the sync pattern is 1 1 -1 -1 -1 -1 1 1 based on mapping -1 to the value 0.

그러나, 단계 S215에서 합산값(S)의 절대값 중에서 프레임의 갯수(N)와 맵핑한 정수(n)의 절대값의 곱에 해당하는 값이 없는 경우, 단계 S216에서 비교값과 동일한 합산값(S)이 연속적이지 못한 경우, 연속횟수에 따라 판정된 싱크 패턴의 길이가 예측되거나 알려진 싱크 패턴의 길이값에 부합하지 않는 경우, 프레임의 단위길이를 변경하여 단계 S211 내지 단계 S218를 반복수행하게 된다(S215-1). However, if there is no value corresponding to the product of the absolute value of the mapped integer n and the number N of frames in the absolute value of the sum value S in step S215, then in step S216, S are not consecutive, if the length of the sync pattern determined according to the number of consecutive times is predicted or does not match the length value of a known sync pattern, the unit length of the frame is changed to repeat steps S211 to S218 (S215-1).

부연하면, 이러한 상황은 단계 S211에서 적용된 프레임의 단위길이가 데이터 스트림의 실제 프레임 길이에 부합하지 않는 때에 발생하게 된다. 따라서, 이때는 단위길이를 재예측하는 등으로 단위길이를 변경하고, 변경된 단위길이를 프레임 길이로 재적용하여 앞선 과정들을 반복수행한다.In addition, this situation occurs when the unit length of the frame applied in step S211 does not match the actual frame length of the data stream. Therefore, at this time, the unit length is changed by re-predicting the unit length, and the above-described processes are repeated by re-applying the changed unit length to the frame length.

또한, 위에서 설명한 각 단계는 상황에 따라 적절히 추가, 변경, 생략되어 적용될 수 있음은 물론이다. 부연하면, 데이터를 송수신하는 과정에서 비트 에러가 발생할 가능성이 있다. 따라서, 이러한 비트 에러의 영향을 최소화하기 위하여 합산값(S)의 절대값 중 미리 세팅된 기준값(β) 이상에 해당하는 값을 프레임의 갯수(N)와 맵핑한 정수(n)의 절대값과 동일한 값으로 처리하는 단계(미도시)를 더 포함할 수 있다.It goes without saying that the above-described steps may be appropriately added, changed or omitted depending on the situation. In other words, there is a possibility that a bit error occurs in the process of transmitting and receiving data. Therefore, in order to minimize the influence of the bit error, a value corresponding to a value equal to or greater than a preset reference value (beta) among the absolute values of the sum value S is divided into an absolute value n (Not shown) of processing the same value.

이에 의하면, 합산값(S)에 대한 간단한 근사연산을 통하여 비트 에러에 따른 오류를 감소시킬 수 있다. 반면에, 종래의 상관관계를 통한 싱크 패턴 검출방법은 위와 같은 문턱계수를 적용하면 블록 크기보다 일정 상수만큼 작은 값도 싱크 패턴으로 판단하여 검출결과의 정확성이 급격히 떨어지게 되므로 본 발명의 실시예와 같이 문턱계수를 적용할 수도 없다.According to this, errors due to bit errors can be reduced through a simple approximation operation on the sum value (S). On the other hand, in the sync pattern detection method using the conventional correlation, when the threshold coefficient is applied, a value smaller than the block size is determined as a sync pattern, and the accuracy of the detection result is rapidly deteriorated. No threshold factor can be applied.

이때, 기준값(β)은 프레임의 갯수(N) 및 0과 맵핑한 정수(n)의 절대값 사이의 값을 가지는 문턱계수(α)의 곱으로 정의될 수 있음은 전술한 바와 같다.In this case, the reference value? Can be defined as the product of the number of frames N and the threshold coefficient? Having a value between 0 and the absolute value of the mapped integer n as described above.

도 3은 본 발명의 일실시예에 따른 매트릭스의 개념도이다. 도 3을 참조하면, 매트릭스의 형성은 생성된 복수의 프레임을 병렬로 나열하고, 이 다수의 프레임에 열 인덱스와 행 인덱스가 교차하게 부여함으로써 이루어진다. 부연하면, 도 3의 (a)와 같이 단위길이(310)로서 길이가 서로 동일한 복수의 프레임 1 내지 6에 순차적으로 행(row) 인덱스(321)를 부여하고 각 다른 프레임 1 내지 6에 열(col) 인덱스(320)를 부여함으로서 매트릭스가 생성될 수 있다. 즉, 프레임 1은 1행 인덱스에, 프레임 2는 2행 인덱스에 각각 배열된다. 이와 달리, 도 3의 (b)와 같이 프레임에 순차적으로 열(col) 인덱스를 부여하여 프레임 1은 1열 인덱스에, 프레임 2는 2열 인덱스에 위치하도록 매트릭스를 생성할 수도 있다.  3 is a conceptual diagram of a matrix according to an embodiment of the present invention. Referring to FIG. 3, the matrix is formed by arranging a plurality of generated frames in parallel, and by giving the column index and the row index to cross each other. 3 (a), a row index 321 is sequentially assigned to a plurality of frames 1 to 6 having the same length as a unit length 310, and a row index 321 is sequentially assigned to each of the other frames 1 to 6 col < / RTI > index 320. < RTI ID = 0.0 > That is, frame 1 is arranged in one row index and frame 2 is arranged in two row index. Alternatively, a matrix may be generated such that a column index is sequentially assigned to a frame as shown in FIG. 3 (b) so that frame 1 is positioned at one column index and frame 2 is positioned at a two-column index.

따라서, 도 3의 (a)에 도시된 바와 같이, 동일한 행 인덱스(320)를 가지는 성분들은 같은 프레임 내에 속하는 것이므로 동일한 열 인덱스(321)를 가지는 성분의 맵핑값을 합산하여 합산값을 도출한다. 반면에 도 3의 (b)와 같은 경우에는, 동일한 열 인덱스(320)를 가지는 성분들은 같은 프레임 내에 속하는 것이므로 이때에는 동일한 행 인덱스(321)를 가지는 성분의 맵핑값을 합산한다. 이러한 매트릭스는 싱크 패턴의 위치와 싱크 패턴 길이를 판정하는 기초가 된다.Therefore, as shown in FIG. 3A, components having the same row index 320 belong to the same frame, so that the sum of the mapped values of the components having the same column index 321 is derived. On the other hand, in the case of FIG. 3 (b), the components having the same column index 320 belong to the same frame, so that the mapping values of the components having the same row index 321 are added. This matrix serves as a basis for determining the positions of the sync patterns and the length of the sync patterns.

도 4는 형성된 매트릭스의 성분에 정수를 일대일 맵핑하는 과정을 설명하기 위한 도식도이다. 이하에서는 설명의 편의를 위하여 1과 -1을 맵핑하는 경우를 예로 들어 설명하기로 한다. 도 4의 (a)는 복수의 프레임을 나열하여 형성된 매트릭스의 예로서 맵핑전의 예시이다. 참고적으로 각 프레임은 도 3의 (a)와 같이 순차적인 행 인덱스를 가지도록 배열하였다. 도 4의 (a)와 같이 형성된 매트릭스 성분의 비트값에 따라 절대값이 같고 부호가 서로 다른 정수를 일대일 맵핑하면 도 4의 (b)가 된다. 부연하면, 도 4의 (a)에서 데이터 비트값"1"은 정수의 "1"로, "0"은 정수의 "-1"로 각각 맵핑하게 된다. FIG. 4 is a schematic diagram for explaining a process of mapping integers one by one to the components of the formed matrix. FIG. Hereinafter, for convenience of explanation, a case where 1 and -1 are mapped will be described as an example. Fig. 4A is an example of a matrix formed by arranging a plurality of frames before mapping. Fig. For reference, each frame is arranged to have a sequential row index as shown in FIG. 3 (a). 4 (b) is obtained by mapping the integers having the same absolute value and different signs according to the bit values of the matrix component formed as shown in FIG. 4 (a) one to one. More specifically, in FIG. 4A, the data bit value "1" is mapped to an integer "1", and "0" to an integer "-1".

도 4의 (b)는 맵핑후의 예시를 나타낸 것이다. 한편, 이와는 반대로 비트값이 1인 경우에는 -1로, 비트값이 0인 경우에 1로 맵핑할 수 있다. 4 (b) shows an example after mapping. On the other hand, if the bit value is 1, it can be mapped to -1, and when the bit value is 0, it can be mapped to 1.

도 5는 본 발명의 일실시예에 따른 동일한 열 인덱스를 이용하여 맵핑된 값을 합산하고 싱크 패턴의 위치·길이를 판정하는 개념도이다. 도 5를 참조하면, 도 5는 프레임에 순차적으로 행 인덱스를 부여하여 매트릭스를 생성한 경우를 상정한 것이다. 상술한 바와 같이, 동일한 행 인덱스는 같은 프레임에 속하는 성분이므로, 동일한 열 인덱스에 속하는 성분의 맵핑값을 합산하게 된다. 도 5에 따르면, 동일한 열 인덱스에 속하는 성분의 맵핑값을 합산한 합산값(S)들로서 [ 2 2 2 0 2 0 -2 6 6 6 -6 6 -6 6 6 6 2 2 2 ]가 도출된 것을 확인할 수 있다. 5 is a conceptual diagram for summing mapped values using the same column index according to an embodiment of the present invention and determining the position and length of a sync pattern. Referring to FIG. 5, FIG. 5 assumes that a matrix is generated by sequentially assigning a row index to a frame. As described above, since the same row index is a component belonging to the same frame, the mapping values of the components belonging to the same column index are added up. According to FIG. 5, [2 2 2 0 2 0 -2 6 6 6 -6 6 -6 6 6 2 2 2] is obtained as the sum values S of the sum of the mapping values of the components belonging to the same column index .

이때, 프레임 갯수(N)은 6이고, 맵핑한 정수(n)의 절대값은 1이므로 위의 합산값 중 6 또는 -6에 해당하는 값이 연속적으로 나타나는 것을 기초로 싱크 패턴을 검출 할 수 있다. 즉, 도 5에서는 6 또는 -6이 8열에서 16열까지 나타나므로 프레임 내의 8열 내지 16열에 해당하는 위치가 싱크 패턴의 위치이고, 9번 연속되어 나타나므로 싱크 패턴의 길이는 9비트인 것으로 판정할 수 있다. 이와 같은 방법으로, 만약에 맵핑한 정수가 2와 -2라면 합산값이 12 또는 -12에 해당하는 값을 기초로 싱크 패턴을 검출할 수 있을 것이다.At this time, since the frame number N is 6 and the absolute value of the mapped integer n is 1, a sync pattern can be detected on the basis that the values corresponding to 6 or -6 of the sum values above are consecutively displayed . That is, in FIG. 5, since 6 or -6 are represented in 8 rows to 16 columns, positions corresponding to columns 8 to 16 in the frame are positions of the sync patterns, and the positions of the sync patterns are 9 consecutive times. . In this way, if the mapped integer is 2 and -2, the sync pattern can be detected based on the value corresponding to the sum value of 12 or -12.

도 6은 본 발명의 다른 일실시예에 따른 동일한 행 인덱스를 이용하여 맵핑된 값을 합산하고 싱크 패턴의 위치·길이를 판정하는 개념도이다. 도 6을 참조하면, 도 6운 프레임에 순차적으로 열 인덱스를 부여하여 매트릭스를 생성한 경우를 상정한 것이다. 상술한 바와 같이, 동일한 열 인덱스는 같은 프레임에 속하는 성분이므로, 동일한 행 인덱스에 속하는 성분의 맵핑값을 합산하게 된다. 도 6에 따르면, 동일한 행 인덱스에 속하는 성분의 맵핑값을 합산한 합산값(S)들로서 도 5와 동일하게 [ 2 2 2 0 2 0 -2 6 6 6 -6 6 -6 6 6 6 2 2 2 ]가 도출된 것을 확인할 수 있다. 다만, 도 6의 경우, 이러한 합산값(S)들은 6 또는 -6이 8행에서 16행까지 나타나므로 프레임 내의 8행 내지 16행에 해당하는 위치가 싱크 패턴의 위치가 된다.
6 is a conceptual diagram for summing mapped values using the same row index according to another embodiment of the present invention and determining the position and length of a sync pattern. Referring to FIG. 6, it is assumed that a matrix is generated by sequentially assigning a column index to a frame in FIG. As described above, since the same column index belongs to the same frame, the mapping values of the components belonging to the same row index are added. 6, the sum values S of the sum of the mapping values of the components belonging to the same row index are [2 2 2 0 2 0 -2 6 6 6 -6 6 -6 6 6 2 2 2] can be obtained. However, in the case of FIG. 6, since the sum values S are 6 to 6 or 6 to 8 rows to 16 rows, positions corresponding to lines 8 to 16 in the frame are the positions of the sync patterns.

Claims (14)

데이터 스트림으로부터 병렬로 분리된 다수의 프레임에 순차적으로 열 인덱스 또는 행 인덱스를 부여하여 매트릭스를 생성하는 매트릭스 생성 단계;
상기 매트릭스의 데이터 값들과 정수를 맵핑하여 맵핑값들을 생성하는 맵핑 단계;
동일한 행 인덱스 또는 열 인덱스에 해당하는 맵핑값들을 합산하여 합산값들을 생성하는 합산값 산출 단계;
상기 합산값들의 절대값들이 비교값과 같은지를 비교하는 비교 단계;
비교결과, 비교값과 동일한 합산값들이 연속적으로 존재하는지를 확인하는 확인 단계;
확인결과, 연속된 합산값들의 연속횟수를 합하여 싱크 패턴 길이를 산출하는 싱크 패턴 길이 산출 단계;
상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하는지를 판단하는 판단 단계; 및
판단 결과, 상기 싱크 패턴 길이 및 연속된 합산값들의 횟수가 나타나는 싱크 패턴 위치를 이용하여 싱크 패턴의 검출을 수행하는 싱크 패턴 검출 단계;
를 포함하는 싱크 패턴 검출방법.
A matrix generation step of generating a matrix by sequentially assigning a column index or a row index to a plurality of frames separated in parallel from a data stream;
A mapping step of mapping the data values of the matrix and integers to generate mapping values;
A summation value calculating step of summing up the mapping values corresponding to the same row index or column index to generate summation values;
Comparing the absolute values of the sum values with a comparison value;
A confirming step of confirming whether the same summation values as the comparison value are continuously present as a result of the comparison;
A sync pattern length calculation step of calculating a sync pattern length by summing consecutive times of consecutive sum values;
A determination step of determining whether the sync pattern length matches a predetermined set value; And
A sync pattern detecting step of detecting a sync pattern using a sync pattern position where the length of the sync pattern and the number of consecutive sum values appear as a result of the determination;
And detecting the sync pattern.
제 1 항에 있어서,
상기 비교 단계에서 상기 합산값들의 절대값들이 비교값과 동일하지 않거나, 싱크 패턴 길이 산출 단계에서 비교값과 동일한 합산값들이 연속적으로 존재하지 않거나, 상기 판단 단계에서 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하지 않으면, 상기 다수의 프레임의 단위 길이를 변경하는 단계를 더 포함하는 것을 특징으로 하는 싱크 패턴 검출방법.
The method according to claim 1,
If the absolute values of the sum values are not equal to the comparison value in the comparison step, or the sum values equal to the comparison value do not exist continuously in the sync pattern length calculation step, or if the sync pattern length is less than a predetermined set value And changing the unit length of the plurality of frames if the frame length does not match the unit length of the plurality of frames.
제 1 항에 있어서,
상기 정수는 절대값이 같고, 부호가 서로 다른 수인 것을 특징으로 하는 싱크 패턴 검출방법.
The method according to claim 1,
Wherein said integers have the same absolute value and different signs.
제 1 항에 있어서,
상기 싱크 패턴의 검출은 상기 싱크 패턴 길이 및 싱크 패턴 위치에 해당하는 데이터 값을 추출하거나, 또는 연속적으로 존재하는 비교값과 동일한 합산값들을 기초로하여 프레임 갯수와 맵핑 이전의 데이터 값을 통하여 이루어지는 것을 특징으로 하는 싱크 패턴 검출방법.
The method according to claim 1,
The detection of the sync pattern may be performed by extracting a data value corresponding to the sync pattern length and the sync pattern position or by using the number of frames and the data value before mapping on the basis of the same summation values as the continuously- Wherein the sync pattern detection method comprises the steps of:
제 1 항에 있어서,
상기 합산값들의 절대값과 상기 비교값의 관계는 다음식
Figure 112013059380676-pat00008

(여기서, S : 합산값, N : 프레임의 갯수, n : 맵핑한 정수를 나타낸다) 에 의해 표현되는 것을 특징으로 하는 싱크 패턴 검출방법.
The method according to claim 1,
The relationship between the absolute value of the summation values and the comparison value is as follows:
Figure 112013059380676-pat00008

(Where S is a summed value, N is the number of frames, and n is a mapped integer).
제 1 항에 있어서,
데이터의 비트 에러의 영향을 최소화하기 위해 상기 합산값들의 절대값들 중 미리 설정된 기준값 이상에 해당하는 합산값들을 상기 다수의 프레임의 갯수와 상기 정수의 절대값의 곱과 동일한 값으로 처리하는 단계를 더 포함하는 것을 특징으로 하는 싱크 패턴 검출방법.
The method according to claim 1,
Processing sum values corresponding to a predetermined reference value or more among absolute values of the sum values to a value equal to a product of the number of the plurality of frames and an absolute value of the integer to minimize the influence of bit errors of data, And detecting the sync pattern.
제 6 항에 있어서,
상기 기준값은 다음식
Figure 112013059380676-pat00009
,
Figure 112013059380676-pat00010
(여기서, β : 기준값, N : 프레임의 갯수, α : 문턱계수, n : 맵핑한 정수를 각각 나타낸다)에 의해 표현되는 것을 특징으로 하는 싱크 패턴 검출방법.
The method according to claim 6,
The reference value is expressed by the following equation
Figure 112013059380676-pat00009
,
Figure 112013059380676-pat00010
(Where,?: Reference value, N: number of frames,?: Threshold coefficient, and n: mapped integer respectively).
데이터 스트림으로부터 병렬로 분리된 다수의 프레임에 순차적으로 열 인덱스 또는 행 인덱스를 부여하여 매트릭스를 생성하는 매트릭스 구성부;
상기 매트릭스의 데이터 값들과 정수를 맵핑하여 맵핑값들을 생성하는 정수 맵핑부;
동일한 행 인덱스 또는 열 인덱스에 해당하는 맵핑값들을 합산하여 합산값들을 생성하는 가산부;
상기 합산값들의 절대값들이 비교값과 같은지를 비교하고, 비교값과 동일한 합산값들이 연속적으로 존재하면 합산값들의 연속횟수를 합하여 싱크 패턴 길이를 산출하여 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하는지를 판단하여 싱크 패턴 여부를 판정하는 싱크 패턴 판정부; 및
상기 싱크 패턴 길이 및 연속된 합산값들의 횟수가 나타나는 싱크 패턴 위치를 이용하여 싱크 패턴의 검출을 수행하는 싱크 패턴 검출부;
를 포함하는 싱크 패턴 검출기.
A matrix generating unit for sequentially generating a matrix by applying a column index or a row index sequentially to a plurality of frames separated in parallel from a data stream;
An integer mapping unit for mapping the data values of the matrix and integers to generate mapping values;
An adder for summing up the mapping values corresponding to the same row index or column index to generate summed values;
Comparing the absolute values of the sum values with a comparison value, calculating a sync pattern length by summing the consecutive times of the sum values when the same summation values as the comparison value are continuously present, determining whether the sync pattern length matches the preset set value A sync pattern determination unit determining whether the sync pattern is a sync pattern or not; And
A sync pattern detector for detecting a sync pattern using a sync pattern position where the length of the sync pattern and the number of consecutive sum values appear;
And a sync pattern detector.
제 8 항에 있어서,
상기 싱크 패턴 판정부는, 상기 합산값들의 절대값들이 비교값과 동일하지 않거나, 비교값과 동일한 합산값들이 연속적으로 존재하지 않거나, 상기 싱크 패턴 길이가 미리 설정된 설정값과 부합하지 않으면, 상기 다수의 프레임의 단위 길이를 변경하는 것을 특징으로 하는 싱크 패턴 검출기.
9. The method of claim 8,
The sync pattern determination unit may determine that the absolute values of the sum values are not equal to the comparison value or if the same sum value as the comparison value does not exist continuously or if the sync pattern length does not match a predetermined set value, And the unit length of the frame is changed.
제 8 항에 있어서,
상기 정수는 절대값이 같고, 부호가 서로 다른 수인 것을 특징으로 하는 싱크 패턴 검출기.
9. The method of claim 8,
Wherein said integers have the same absolute value and different signs.
제 8 항에 있어서,
상기 싱크 패턴의 검출은 상기 싱크 패턴 길이 및 싱크 패턴 위치에 해당하는 데이터 값을 추출하거나, 또는 연속적으로 존재하는 비교값과 동일한 합산값들을 기초로하여 프레임 갯수와 맵핑 이전의 데이터 값을 통하여 이루어지는 것을 특징으로 하는 싱크 패턴 검출기.
9. The method of claim 8,
The detection of the sync pattern may be performed by extracting a data value corresponding to the sync pattern length and the sync pattern position or by using the number of frames and the data value before mapping on the basis of the same summation values as the continuously- A sync pattern detector characterized by.
제 8 항에 있어서,
상기 합산값들의 절대값과 상기 비교값의 관계는 다음식
Figure 112013059380676-pat00011

(여기서, S : 합산값, N : 프레임의 갯수, n : 맵핑한 정수를 나타낸다) 에 의해 표현되는 것을 특징으로 하는 싱크 패턴 검출기.
9. The method of claim 8,
The relationship between the absolute value of the summation values and the comparison value is as follows:
Figure 112013059380676-pat00011

(Where S is a summed value, N is the number of frames, and n is a mapped integer).
제 8 항에 있어서,
상기 싱크 패턴 판정부는, 데이터의 비트 에러의 영향을 최소화하기 위해 상기 합산값들의 절대값들 중 미리 설정된 기준값 이상에 해당하는 합산값들을 상기 다수의 프레임의 갯수와 상기 정수의 절대값의 곱과 동일한 값으로 처리하는 것을 특징으로 하는 싱크 패턴 검출기.
9. The method of claim 8,
Wherein the sync pattern determination unit determines summation values that are equal to or greater than a preset reference value among absolute values of the summation values to be equal to a product of the number of the plurality of frames and the absolute value of the integer, Value of the sync pattern.
제 13 항에 있어서,
상기 기준값은 다음식
Figure 112013059380676-pat00012
,
Figure 112013059380676-pat00013
(여기서, β : 기준값, N : 프레임의 갯수, α : 문턱계수, n : 맵핑한 정수를 각각 나타낸다)에 의해 표현되는 것을 특징으로 하는 싱크 패턴 검출기.
14. The method of claim 13,
The reference value is expressed by the following equation
Figure 112013059380676-pat00012
,
Figure 112013059380676-pat00013
(Where,?: Reference value, N: number of frames,?: Threshold coefficient, and n: mapped integer respectively).
KR1020130076969A 2013-07-02 2013-07-02 Synchronizing pattern detection apparatus and method thereof KR101517048B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130076969A KR101517048B1 (en) 2013-07-02 2013-07-02 Synchronizing pattern detection apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130076969A KR101517048B1 (en) 2013-07-02 2013-07-02 Synchronizing pattern detection apparatus and method thereof

Publications (2)

Publication Number Publication Date
KR20150004038A KR20150004038A (en) 2015-01-12
KR101517048B1 true KR101517048B1 (en) 2015-05-04

Family

ID=52476424

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130076969A KR101517048B1 (en) 2013-07-02 2013-07-02 Synchronizing pattern detection apparatus and method thereof

Country Status (1)

Country Link
KR (1) KR101517048B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345875A (en) 2000-06-06 2001-12-14 Mitsubishi Electric Corp Communication terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001345875A (en) 2000-06-06 2001-12-14 Mitsubishi Electric Corp Communication terminal

Also Published As

Publication number Publication date
KR20150004038A (en) 2015-01-12

Similar Documents

Publication Publication Date Title
MX2021006569A (en) Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device.
RU2012102842A (en) INCREASE DETECTION OF THE PREAMBLE
US20110268315A1 (en) Scalable Media Fingerprint Extraction
CN111935506B (en) Method and apparatus for determining repeating video frames
MX2021006631A (en) Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device.
RU2013102854A (en) METHOD AND DEVICE FOR INCREASING PERSONNEL FREQUENCY OF IMAGE FLOW WITH USE, AT LEAST, ONE IMAGE FLOW WITH MORE HIGH FRAME
US11222209B2 (en) Comparing video sequences using fingerprints
CN106250499B (en) Video pair mining method and device
KR101517048B1 (en) Synchronizing pattern detection apparatus and method thereof
CN105678083A (en) Rapid detection method capable of performing single-bit frequency detection and frequency detection within block
CN111327946A (en) Video quality evaluation and feature dictionary training method, device and medium
US11586956B2 (en) Searching apparatus utilizing sub-word finite state machines
CN106650240A (en) Construction method of parallel hash function
CN109993338B (en) Link prediction method and device
CN107844526B (en) Knowledge base-based vocabulary relation chain analysis method, system and device
KR101384582B1 (en) Synchronizing pattern detection apparatus by the histogram analysis of data stream and method thereof
CN105323055B (en) Sequence detecting method and device
Lin et al. Exact computation of the null distribution of a test for multiple outliers in an exponential sample
CN109417391A (en) Index in compressed video data
EP3482235B1 (en) Method of characterising a subsurface region using multiple point statistics
KR101594833B1 (en) Device and method for synchronized pattern detection using periodicity of data thereof
JP2008159015A (en) Frequent pattern mining system and frequent pattern mining method
KR102053175B1 (en) Method and system for detecting frequent pattern in graph streams
CN105634662B (en) Frame kind identification method and device
KR101509380B1 (en) Blind detection method and apparatus of line coding

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180409

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190402

Year of fee payment: 5