KR100428683B1 - Apparatus and method for boundary identification of received frame of GFP - Google Patents

Apparatus and method for boundary identification of received frame of GFP Download PDF

Info

Publication number
KR100428683B1
KR100428683B1 KR10-2001-0044248A KR20010044248A KR100428683B1 KR 100428683 B1 KR100428683 B1 KR 100428683B1 KR 20010044248 A KR20010044248 A KR 20010044248A KR 100428683 B1 KR100428683 B1 KR 100428683B1
Authority
KR
South Korea
Prior art keywords
frame
counter
gfp
boundary
error control
Prior art date
Application number
KR10-2001-0044248A
Other languages
Korean (ko)
Other versions
KR20030009687A (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 KR10-2001-0044248A priority Critical patent/KR100428683B1/en
Publication of KR20030009687A publication Critical patent/KR20030009687A/en
Application granted granted Critical
Publication of KR100428683B1 publication Critical patent/KR100428683B1/en

Links

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/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0085Formatting with cells
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5652Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly

Abstract

본 발명은 GFP 수신 프레임의 경계식별 장치 및 그 방법을 제공하기 위한 것으로, GFP(Generic Frame Procedure) 프레임 데이터를 매 4바이트씩 나우어 출력하는 카운터와, 상기 카운터에 의해 매 4바이트씩 나누어진 각각의 경우에 대해 헤더에러제어를 각각 수행하는 복수개의 HEC(Header Error Check) 계산부와, 상기 복수개의 HEC 계산부의 출력을 입력받아 논리합 연산하여 전동기 호출 신호를 생성하는 논리합 연산부와, 상기 논리합 연산부로부터 전동기 호출 신호를 입력받아 동기가 맞을때 다음 프레임의 경계위치를 판별하기 위해 길이 필드값을 출력하고 상기 길이 필드값이 특정값에 도달할 경우 이 위치를 다음 프레임의 경계로 식별하는 프레임 카운터와, 상기 프레임 카운터와 연결되고, GFP의 FCS(Frame Check Sequence) 필드의 위치를 항상 같은 값으로 고정시키기 위해 필요한 신호를 상기 프레임 카운터에 제공하고 상기 프레임카운터로부터 입력받은 길이필드값을 다운카운트하여 특정값에 도달될 경우 이를 프레임카운터로 출력하는 감소 카운터로 이루어진 경계식별부와; 상기 GFP 프레임 데이터에 대해 디스크램블링을 수행하는 디스크램블러를 포함하여 구성함으로써, GFP의 프레임 길이가 가변적인 것을 감안하여 그 경계를 식별하는데 있어서 그 길이 필드를 이용하여 프레임의 경계를 식별하고 4개의 헤더에러제어 계산을 수행하여 프레임의 경계를 식별하는데 소요되는 시간을 최소화할 수 있게 되는 것이다.An object of the present invention is to provide a device for identifying a boundary of a GFP received frame and a method thereof. The present invention provides a counter for outputting GFP (Generic Frame Procedure) frame data by 4 bytes, and each of the 4 bytes divided by the counter. In this case, a plurality of HEC (Header Error Check) calculation units respectively performing header error control, an OR operation unit for generating a motor call signal by performing an OR operation on the outputs of the plurality of HEC calculation units, and the OR operation unit from the OR operation unit. A frame counter that outputs a length field value to determine the boundary position of the next frame when the motor call signal is input and the synchronization is correct, and identifies the position as the boundary of the next frame when the length field value reaches a specific value; Connected to the frame counter, and always fix the position of the frame check sequence (FCS) field of the GFP to the same value To provide the necessary signal to the frame counter and the border consisting of the decrementing counter and outputting it to the frame counter when reaching a specified value to count down the length field value received from the frame counter identifying unit; By including a descrambler that performs descrambling on the GFP frame data, in consideration of the variable frame length of the GFP, in identifying the boundary, the boundary of the frame is identified using the length field and four headers are identified. By performing the error control calculation, it is possible to minimize the time required to identify the boundary of the frame.

Description

지에프피 수신 프레임의 경계식별 장치 및 그 방법{Apparatus and method for boundary identification of received frame of GFP}Apparatus and method for boundary identification of received frame of GFP}

본 발명은 GFP(Generic Frame Procedure) 수신 프레임의 경계식별 장치 및 그 방법에 관한 것으로, 특히 GFP의 프레임 길이가 가변적인 것을 감안하여 그 경계를 식별하는데 있어서 그 길이 필드를 이용하여 프레임의 경계를 식별하고 4개의 헤더에러제어(Header Error Control, HEC) 계산을 수행하여 프레임의 경계를 식별하는데 소요되는 시간을 최소화하기에 적당하도록 한 GFP 수신 프레임의 경계식별 장치 및 그 방법에 관한 것이다.The present invention relates to a device for identifying a boundary of a Generic Frame Procedure (GFP) received frame and a method thereof. In particular, in consideration of a variable frame length of a GFP, a frame boundary is identified using the length field in identifying the boundary. The present invention relates to an apparatus and method for identifying a boundary of a GFP received frame, which is suitable for minimizing a time required for identifying a frame boundary by performing four header error control (HEC) calculations.

일반적으로 GFP란 OSI-7(Open System Interconnection) 계층의 2번째 계층인 데이터링크 계층의 신호를 그 종류에 상관없이 특정한 형식으로 매핑하여 물리 계층에 전송하는 기술로서, 그 해당하는 페이로드는 이더넷(Ethernet), HDLC(High-level Data Link Control), POS(Packet Over SONET) 등의 데이터링크 계층의 신호이다.In general, GFP is a technology that transmits the signal of the data link layer, which is the second layer of the OSI-7 (Open System Interconnection) layer, to a physical layer by mapping it to a specific format regardless of its type. The corresponding payload is Ethernet ( It is a signal of a data link layer such as Ethernet, High-Level Data Link Control (HDLC), and Packet Over SONET (POS).

이러한 GFP의 그 가장 큰 장점은 적은 오버헤드이다. 특히 수신측에서 프레임의 경계를 식별해 내기 위한 특별한 오버헤드가 없는 것이 특징이다.The biggest advantage of this GFP is its low overhead. In particular, there is no special overhead for identifying the frame boundary at the receiving side.

도 1은 일반적인 GFP 처리 장치의 블록구성도이다.1 is a block diagram of a general GFP processing apparatus.

여기서 참조번호 1은 인캡슐레이션(Encapsulation)된 신호와 아이들 삽입(Idle Insertion) 신호를 입력받아 다중화하여 GFP 프레임으로 변환시키는 다중화부이고, 2는 상기 다중화부(1)에서 출력되는 GFP 프레임에 대해 스크램블링(Scrambling)을 수행하는 스크램블러(Scrambler)이고, 3은 상기 다중화부(1)에서 출력되는 GFP 프레임에 대해 HEC 생성을 수행하는 HEC 생성부이다.Here, reference numeral 1 denotes a multiplexer that receives an encapsulated signal and an idle insertion signal and multiplexes the converted signal into a GFP frame, and 2 denotes a GFP frame output from the multiplexer 1. Scrambling is a scrambler that performs scrambling, and 3 is an HEC generation unit that performs HEC generation on the GFP frame output from the multiplexer 1.

또한 참조번호 4는 SPE(Synchronous Payload Envelope) 매핑(Mapping)된 옥텟 스트림(Octet Stream)에 대해 디스크램블링(Descrambling)을 수행하는 디스크램블러(Descrambler)이고, 5는 SPE 매핑된 옥텟 스트림에 대해 HEC 점검을 수행하는 HEC 점검부이며, 6은 상기 디스크램블러(4)에서 디스크램블된 신호를 역다중화하여 디캡슐레이션(Decapsulation)의 수행과 아디들 종단(Idle Termination)에서 아이들 신호를 제거하는 역할을 수행하는 역다중화부이다.Also, reference numeral 4 is a descrambler that descrambles the Synchronous Payload Envelope (SPE) mapped octet stream, and 5 is a HEC check on the SPE mapped octet stream. 6 is a HEC check unit for performing a decapsulation operation by demultiplexing the descrambled signal in the descrambler 4 and removing an idle signal at an Idle termination. It is a demultiplexer.

그래서 도 1에서와 같이, OSI-7 계층에서 2계층의 모든 페이로드들은 인캡슐레이션(Encapsulation) 과정을 거쳐서 하나의 형식을 가진 GFP 프레임으로 변환된다. 그 후 스크램블링(scrambling)의 과정을 거치게 되는데, 이때 헤더에러체크(HEC)는 스크램블링에서 제외된다.Thus, as shown in FIG. 1, all payloads of the second layer in the OSI-7 layer are converted into a GFP frame having one format through encapsulation. After that, the scrambling process is performed. In this case, the header error checking (HEC) is excluded from the scrambling.

물리 계층에서는 연속적인 데이터의 흐름이 필요하므로 더 이상 보낼 페이로드가 없는 경우 아이들(idle)이라는 형식의 프레임을 보내게 된다.Since the physical layer requires a continuous flow of data, when there is no payload to send, the frame in the form of an idle is sent.

수신단에서는 스크램블링되지 않은 HEC를 검사하여 프레임의 경계식별을 하게 된다. 경계 식별에 성공하여 동기 상태가 된 경우 페이로드 부분을 디스크램블링(Descrambling) 한 후 디캡슐레이션(Decapsulation) 과정을 거쳐 다시 2계층의 신호를 생성하여 전송하게 된다.The receiver checks the unscrambled HEC to identify the frame boundary. If the boundary identification is successful and synchronized, the payload portion is descrambled and then decapsulated to generate and transmit a second layer signal again.

여기서 GFP의 경우 프레임의 경계를 식별하기 위한 별도의 필드를 두지 않는다. HDLC의 경우에는 플래그 필드를 둠으로써 경계 식별을 수행하게 되지만 GFP의 경우 따로 플래그 같은 필드를 두지 않고 기본적으로 ITU-T I.432에 제시되어 있는 경계 식별 방법을 사용한다.In the case of GFP, there is no separate field for identifying a frame boundary. In the case of HDLC, boundary identification is performed by leaving a flag field, but in the case of GFP, the boundary identification method described in ITU-T I.432 is basically used without leaving a flag-like field.

도 2는 일반적인 비동기 전송방식 셀의 구성도이며, 도 3은 일반적인 이더넷 프레임의 구성도이고, 도 4는 일반적인 HDLC 프레임의 구성도이다.FIG. 2 is a block diagram of a general asynchronous transmission cell, FIG. 3 is a block diagram of a general Ethernet frame, and FIG. 4 is a block diagram of a general HDLC frame.

그래서 ITU-T I.432에 기반한 방법은 셀에 기반을 둔 비동기 전송방식(ATM, Asynchronous Transfer Mode)에 사용되는 방법으로써, 인터페이스 구조는 53 바이트 셀의 연속적인 흐름으로 구성되어 있다.Thus, the ITU-T I.432-based method is used for cell-based Asynchronous Transfer Mode (ATM). The interface structure consists of a continuous flow of 53-byte cells.

셀에 기반을 둔 비동기 전송방식(ATM)에는 외부적인 프레임이 부가되어 있지 않기 때문에 동기화를 위한 어떤 형태가 필요하게 된다.Cell-based asynchronous transmission (ATM) requires some form of synchronization because no external frames are added.

동기화는 셀 헤더 에러 제어(Header Error Control, HEC) 필드에 근거하여 이루어진다.Synchronization is based on the Cell Header Error Control (HEC) field.

그리고 도 4를 보면, 이더넷(Ethernet) 프레임의 경우에는 7 바이트의 프리앰블과 한 바이트의 경계 식별 바이트가 존재함을 알 수 있다. 또한 도 5를 보면, HDLC의 경우 프레임의 경계식별을 위해 플래그(flag) 바이트를 사용함을 알 수 있다.4, in the case of an Ethernet frame, it can be seen that there are 7 bytes of preamble and 1 byte of boundary identification byte. 5, it can be seen that in the case of HDLC, a flag byte is used for boundary identification of a frame.

도 5는 종래 비동기 전송방식에서의 셀경계 식별에 대한 상태천이도이다.5 is a state transition diagram for cell boundary identification in the conventional asynchronous transmission method.

이는 헌팅(Hunting) 상태와 전동기(Pre sync) 상태와 동기(Sync) 상태로 구성된다.It consists of a hunting state, a pre-sync state and a sync state.

여기서 셀 경계 식별의 기본 상태는 헌팅(Hunting) 상태이다. 즉, 헌팅 상태는 셀의 경계 식별이 되지 않은 상태이다. 이 상태에서 경계 식별 알고리즘은 헤더에러제어(HEC)와 계산된 헤더에러제어(HEC)를 비교한다. 이때 맞는 헤더 에러 제어(HEC)가 발견되면, 헤더가 발견되었다고 가정하고 전동기 상태로 들어가게 된다.Here, the basic state of cell boundary identification is a hunting state. That is, the hunting state is a state in which cell boundaries are not identified. In this state, the boundary identification algorithm compares the header error control (HEC) with the calculated header error control (HEC). If the correct header error control (HEC) is found, it is assumed that the header has been found to enter the motor state.

전동기 상태에서는 셀 구조를 짐작하게 된다. 즉, 비동기 전송방식(ATM)의 셀은 고정 크기(53 바이트)이기 때문에 그 다음 셀의 위치를 알 수 있다. 그리고 그 다음 셀의 헤더에러제어(HEC)를 다시 검사하게 된다. 동일한 과정이 n번 반복되어 이루어지고, 그 과정에서 계속 헤더에러제어(HEC)가 맞다면 경계 식별 상태는 동기상태로 들어가게 된다.In the motor state, the cell structure is estimated. In other words, the cell of the Asynchronous Transfer Mode (ATM) has a fixed size (53 bytes), so the position of the next cell can be known. Then, the header error control (HEC) of the cell is checked again. If the same process is repeated n times, and the header error control (HEC) is correct in the process, the boundary identification state enters a synchronous state.

이때 n번의 검사 과정 중 한번이라도 헤더에러제어(HEC)가 틀리게 되면, 경계 식별 상태는 헌팅 상태로 넘어가게 된다.At this time, if the header error control (HEC) is wrong even in one of the n inspection processes, the boundary identification state is transferred to the hunting state.

동기 상태에서는 셀의 경계 식별이 되었다고 보고, 이때의 헤더에러제어(HEC)는 경계 식별용이 아닌 셀 헤더의 에러 검출을 위해 사용된다. 또한 연속적으로 헤더에러제어(HEC)가 m번 이상 틀릴 경우에는 경계 식별 정보를 분실했다고 판단하게 되어 다시 헌팅 상태로 들어가게 된다.In the synchronous state, it is assumed that cell boundary identification has been performed, and the header error control (HEC) at this time is used for error detection of the cell header, not for boundary identification. In addition, if the header error control (HEC) is continuously wrong more than m times, it is determined that the boundary identification information is lost and enters the hunting state again.

이때 n, m은 설계 파라미터이다. 큰 m의 값은 동기화하는데 더 많은 시간이 걸리게 하지만, 잘못된 셀 경계 식별을 줄일 수 있고, 큰 n의 값은 정렬이 되지 않았음을 인식하는데 더 많은 시간이 걸리게 하지만 잘못된 비정렬 인식을 줄일 수 있다.Where n and m are design parameters. Large m values take more time to synchronize, but can reduce false cell boundary identification, and large n values take more time to recognize that they are not sorted, but can reduce false misalignment recognition. .

그래서 비동기 전송방식(ATM)의 셀이 동기식 전송방식(SDH, SynchronousDigital Hierarchy) 기반의 물리 계층의 전송된다면 상기한 파라미터는 N=7, M=6의 값을 갖게 된다. 그리고 이 비동기 전송방식(ATM) 셀이 셀을 기반으로 물리 계층으로 전송된다면 상기한 파라미터는 n=7, m=8의 값을 갖게 된다.Therefore, if the cell of the asynchronous transmission method (ATM) is transmitted in the physical layer based on the synchronous transmission method (SDH, Synchronous Digital Hierarchy), the above parameters have values of N = 7 and M = 6. If the Asynchronous Cell is transmitted to the physical layer based on the cell, the above parameters have values of n = 7 and m = 8.

또한 경계 식별 과정 중에서 헤더에러제어(HEC)가 틀린 셀은 버려지게 된다.In addition, during the boundary identification process, the cell with the wrong header error control (HEC) is discarded.

그러나 이러한 종래의 기술은 어디까지나 비동기 전송방식(ATM)에 적용되는 기술이다. 비동기 전송방식(ATM)에 적용되는 종래의 기술을 그대로 GFP에 적용하려면 여러 가지의 새로운 기술적 요소가 필요하게 된다.However, this conventional technology is a technique applied to the asynchronous transmission method (ATM) to the last. In order to apply the conventional technology applied to the asynchronous transmission method (ATM) to the GFP as it is, various new technical elements are required.

먼저 비동기 전송방식(ATM)의 셀의 길이는 고정 길이이다. 이것은 한번 셀의 경계를 식별하면 다음 셀의 위치를 쉽게 알 수 있다는 뜻이 된다. 하지만 GFP의 프레임 길이는 10 내지 65539 바이트이다. 즉, 가변 길이의 프레임을 사용한다는 뜻이다. 이것은 한번 프레임의 경계를 찾았다고 해도 다음 프레임의 길이를 알 수 없다는 뜻이다. 결국 다음 프레임의 시작점을 알기 위해서는 새로운 필드가 필요함을 나타낸다.First, the cell length of the asynchronous transmission method (ATM) is a fixed length. This means that once you identify a cell boundary, you can easily determine the location of the next cell. However, the frame length of GFP is 10 to 65539 bytes. This means that a variable length frame is used. This means that once you find the boundary of a frame, you don't know the length of the next frame. After all, it indicates that a new field is needed to know the starting point of the next frame.

또한 비동기 전송방식(ATM)의 한 셀의 길이는 53 바이트로써 상대적으로 짧은 데이터를 포함하고 있다.In addition, an asynchronous transmission (ATM) cell is 53 bytes long and contains relatively short data.

하지만 GFP의 한 프레임 최대 길이는 65539 바이트이다. 즉, 경계 식별을 하는 과정에서 전동기 상태에서 동기 상태로 넘어가기 위해서는 7개의 프레임을 버려야만 하고, 이것은 너무 많은 데이터의 손실을 가져온다. 즉, 전동기 상태에서 동기 상태로 넘어갈 때 CRC 점검을 하는데, 이때 7번 연속으로 맞아야 하고, 최대 8번까지 수행하게 되는데, 이때 CRC 점검을 7번씩이나 하게 되어 7개의 프레임을 버리게 되는 것이다.However, the maximum length of one frame in GFP is 65539 bytes. In other words, in the process of boundary identification, seven frames must be discarded in order to move from the motor state to the synchronous state, which causes too much data loss. That is, CRC check is performed when the motor is moved from the motor state to the synchronous state. At this time, it must be corrected seven times in a row and performed up to eight times. At this time, the CRC check is performed seven times and seven frames are discarded.

이처럼 종래의 기술을 GFP에 그대로 적용할 경우 상기와 같은 많은 문제점이 있게 된다.As such, when the conventional technology is applied to the GFP as it is, there are many problems as described above.

이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은 GFP의 프레임 길이가 가변적인 것을 감안하여 그 경계를 식별하는데 있어서 그 길이 필드를 이용하여 프레임의 경계를 식별하고 4개의 헤더에러제어 계산을 수행하여 프레임의 경계를 식별하는데 소요되는 시간을 최소화할 수 있는 GFP 수신 프레임의 경계식별 장치 및 그 방법을 제공하는 데 있다.Accordingly, the present invention has been proposed to solve the above conventional problems, and an object of the present invention is to consider the boundary of a frame using the length field in identifying the boundary in consideration of the variable frame length of the GFP. An apparatus and method for identifying a boundary of a GFP received frame capable of minimizing time required for identifying and identifying a frame boundary by performing four header error control calculations.

상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 GFP 수신 프레임의 경계식별 장치는,GFP(Generic Frame Procedure) 프레임 데이터를 매 4바이트씩 나우어 출력하는 카운터와, 상기 카운터에 의해 매 4바이트씩 나누어진 각각의 경우에 대해 헤더에러제어를 각각 수행하는 복수개의 HEC(Header Error Check) 계산부와, 상기 복수개의 HEC 계산부의 출력을 입력받아 논리합 연산하여 전동기 호출 신호를 생성하는 논리합 연산부와, 상기 논리합 연산부로부터 전동기 호출 신호를 입력받아 동기가 맞을때 다음 프레임의 경계위치를 판별하기 위해 길이 필드값을 출력하고 상기 길이 필드값이 특정값에 도달할 경우 이 위치를 다음 프레임의 경계로 식별하는 프레임 카운터와, 상기 프레임 카운터와 연결되고, GFP의 FCS(Frame Check Sequence) 필드의 위치를 항상 같은 값으로 고정시키기 위해 필요한 신호를 상기 프레임 카운터에 제공하고 상기 프레임카운터로부터 입력받은 길이필드값을 다운카운트하여 특정값에 도달될 경우 이를 프레임카운터로 출력하는 감소 카운터로 이루어진 경계식별부와;상기 GFP 프레임 데이터에 대해 디스크램블링을 수행하는 디스크램블러를 포함하여 이루어짐을 그 기술적 구성상의 특징으로 한다.In order to achieve the above object, a boundary identification apparatus for a GFP reception frame according to an embodiment of the present invention includes a counter for outputting GFP frame data by 4 bytes, and the counter by the counter. A plurality of HEC (Header Error Check) calculation units which respectively perform header error control for each case divided by 4 bytes, and an OR operation unit which receives an output of the plurality of HEC calculation units and performs an OR operation to generate a motor call signal. And, when the motor call signal is inputted from the logical sum operation unit, when the synchronization is corrected, the length field value is output to determine the boundary position of the next frame, and when the length field value reaches a specific value, this position is the boundary of the next frame. The frame counter to identify and the frame counter connected to the frame counter always have the same position in the frame check sequence (FCS) field of the GFP. A boundary identifier configured to provide a signal necessary to fix the value to the frame counter, down-count the length field value input from the frame counter, and output a signal to the frame counter when a specific value is reached; The technical configuration is characterized by including a descrambler that performs descrambling on the frame data.

상기와 같은 목적을 달성하기 위하여 본 발명의 일실시예에 의한 GFP 수신 프레임의 경계식별 방법은,GFP프레임 경계 식별의 상태가 헌팅상태일 경우 모든 입력 데이터에 대해 매 4 바이트씩 헤더에러제어를 검사하고, 올바른 헤더에러제어를 찾았는지 판별하는 제 1 단계와;상기 올바른 헤더에러제어를 찾았을 경우, 프레임 경계 식별의 상태를 전동기 상태로 하고, 길이 필드를 각 바이트마다 하나씩 감소시켜 길이 필드의 값이 0이 되었는지 판별하는 제 2 단계와;상기 길이 필드 값이 0이면, 이 값의 위치를 이용하여 다음 프레임의 헤더에러제어 값을 계산한 후 헤더에러제어 값이 맞는지 판별하는 제 3 단계와;상기 헤더에러제어 값이 맞으면, 프레임 경계 식별의 상태를 동기 상태로 하고, 프레임 카운터와 길이 필드를 이용하여 프레임의 경계를 식별하는 제 4 단계를 포함하여 수행함을 그 기술적 구성상의 특징으로 한다.In order to achieve the above object, the boundary identification method of the GFP reception frame according to an embodiment of the present invention checks header error control every 4 bytes for all input data when the state of the GFP frame boundary identification is a hunting state. A first step of determining whether the correct header error control is found; when the correct header error control is found, the state of frame boundary identification is set to the motor state, and the length field is decreased by one for each byte to determine the value of the length field. A second step of determining whether the value is 0; a third step of determining whether the header error control value is correct after calculating the header error control value of the next frame using the position of the value if the length field value is 0; If the header error control value is correct, the state of frame boundary identification is set to a synchronous state, and the frame boundary and the length field are used to identify the frame boundary. Is characterized by its technical configuration, including performing a fourth step.

도 1은 일반적인 GFP 처리 장치의 블록구성도이고,1 is a block diagram of a general GFP processing apparatus;

도 2는 일반적인 비동기 전송방식 셀의 구성도이며,2 is a block diagram of a general asynchronous transmission cell,

도 3은 일반적인 이더넷 프레임의 구성도이고,3 is a configuration diagram of a general Ethernet frame,

도 4는 일반적인 HDLC 프레임의 구성도이며,4 is a configuration diagram of a typical HDLC frame,

도 5는 종래 비동기 전송방식에서의 셀경계 식별에 대한 상태천이도이고,5 is a state transition diagram for cell boundary identification in the conventional asynchronous transmission method,

도 6은 본 발명의 일실시예에 의한 GFP 수신 프레임의 경계식별 장치의 블록구성도이며,6 is a block diagram of an apparatus for identifying a boundary of a GFP received frame according to an embodiment of the present invention.

도 7은 도 6에서 경계식별부의 상세구성도이고,7 is a detailed configuration diagram of the boundary identification unit in FIG. 6,

도 8은 본 발명의 일실시예에 의한 GFP 수신 프레임의 경계식별 방법을 보인 흐름도이며,8 is a flowchart illustrating a boundary identification method of a GFP received frame according to an embodiment of the present invention.

도 9는 본 발명이 이용하는 GFP 프레임의 구성도이다.9 is a configuration diagram of a GFP frame used in the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : 디스크램블러 20 : 경계식별부10: descrambler 20: boundary identification unit

21 : 카운터 22 ~ 25 : 제 1 내지 제 4 HEC 계산부21: counter 22 to 25: first to fourth HEC calculator

26 ; 논리합연산부 27 : 프레임카운터26; Logic Unit 27: Frame Counter

28 : 감소카운터 30 : 역다중화부28: decrement counter 30: demultiplexer

이하, 상기와 같이 구성된 본 발명, GFP 수신 프레임의 경계식별 장치 및 그 방법의 기술적 사상에 따른 일실시예를 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention configured as described above, an apparatus for identifying a boundary of a GFP reception frame, and a method thereof will be described in detail with reference to the accompanying drawings.

도 6은 본 발명의 일실시예에 의한 GFP 수신 프레임의 경계식별 장치의 블록구성도이다.6 is a block diagram of an apparatus for identifying a boundary of a GFP received frame according to an embodiment of the present invention.

이에 도시된 바와 같이, GFP 프레임 데이터에 대해 디스크램블링을 수행하는 디스크램블러(10)와; GFP 프레임 데이터의 길이 필드를 이용하여 헤더에러제어(HEC) 계산을 수행하고 프레임의 경계를 식별하여 식별된 결과를 상기 디스크램블러(10)로 전송하여 경계식별이 성공한 경우에만 상기 디스크램블러(10)에서 디스크램블이 수행되도록 하는 경계식별부(20)를 포함하여 구성된다.As shown therein, a descrambler 10 which performs descrambling on the GFP frame data; The descrambler 10 performs a header error control (HEC) calculation using a length field of GFP frame data, identifies a frame boundary, and transmits the identified result to the descrambler 10 so that the delimiter 10 succeeds. It is configured to include a boundary identification unit 20 to perform descrambling in.

여기서 참조번호 30은 상기 디스크램블러(30)에서 디스크램블된 신호를 역다중화하여 디캡슐레이션(Decapsulation)을 수행하고 아디들 종단(Idle Termination)에서 아이들 신호를 제거하는 역할을 수행하는 역다중화부이다.Here, the reference numeral 30 is a demultiplexer which decapsulates the descrambled signal by the descrambler 30 and performs decapsulation and removes an idle signal at an Idle termination. .

도 7은 도 6에서 경계식별부의 상세구성도이다.7 is a detailed configuration diagram of the boundary identification unit in FIG. 6.

이에 도시된 바와 같이, 입력된 GFP 프레임 데이터를 복수개의 경우로 나누어 헤더에러제어를 수행하기 위해 필요한 카운터를 생성하는 카운터(21)와; 상기 카운터에 의해 나누어진 각각의 경우에 대해 헤더에러제어를 각각 수행하는 복수개의 HEC 계산부(22 ~ 25)와; 상기 복수개의 HEC 계산부(22 ~ 25)의 출력을 입력받아 논리합 연산하여 전동기 호출 신호(PSYN_LD)를 생성하는 논리합 연산부(26)와; 상기 논리합 연산부(26)로부터 전동기 호출 신호(PSYN_LD)를 입력받아 동기가 맞았을 경우 다음 프레임의 위치를 판별하기 위해 필요한 길이 필드를 추출하고, 최종적으로 동기가 맞았다고 판단될 경우 프레임이 유효함을 알려주는 프레임 카운터(27)와; 상기 프레임 카운터(27)와 연결되고, GFP의 FCS(Frame Check Sequence) 필드의 위치를 항상 같은 값으로 고정시키기 위해 필요한 신호(END_DNCNT)를 상기 프레임 카운터(27)에 제공하는 감소 카운터(28)를 포함하여 구성된다.As shown therein, a counter 21 for generating a counter necessary to perform header error control by dividing the input GFP frame data into a plurality of cases; A plurality of HEC calculators 22 to 25 which respectively perform header error control for each case divided by the counter; A logic sum calculator 26 that receives the outputs of the plurality of HEC calculators 22 to 25 to generate a logical sum operation to generate a motor call signal PSYN_LD; When the motor call signal PSYN_LD is input from the logical sum operation unit 26 and the synchronization is correct, the length field necessary to determine the position of the next frame is extracted, and when the final synchronization is determined, the frame is valid. A frame counter 27 for informing; A decrement counter 28 which is connected to the frame counter 27 and provides the frame counter 27 with a signal END_DNCNT necessary to always fix the position of a frame check sequence (FCS) field of a GFP to the same value. It is configured to include.

상기에서 복수개의 HEC 계산부(22 ~ 25)는, 상기 카운터(21)에 의해 나누어진 GFP 프레임 데이터에서 첫 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하고, 전동기 상태나 동기 상태에서는 데이터 길이 필드의 에러를 검출하는 제 1 HEC 계산부(22)와; 상기 카운터(21)에 의해 나누어진 GFP 프레임 데이터에서 두 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하는 제 2 HEC 계산부(23)와; 상기 카운터(21)에 의해 나누어진 GFP 프레임 데이터에서 세 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하는 제 3 HEC 계산부(24)와; 상기 카운터(21)에의해 나누어진 GFP 프레임 데이터에서 네 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하는 제 4 HEC 계산부(25)를 포함하여 구성된다.In the above, the plurality of HEC calculators 22 to 25 perform calculation of the header error control (HEC) corresponding to the first in the GFP frame data divided by the counter 21, and in the motor state or the synchronous state, A first HEC calculator 22 for detecting an error in the data length field; A second HEC calculator 23 for calculating a second header error control (HEC) corresponding to the second from the GFP frame data divided by the counter 21; A third HEC calculator 24 for calculating a third header error control (HEC) in the GFP frame data divided by the counter 21; And a fourth HEC calculator 25 for calculating a header error control (HEC) corresponding to the fourth in the GFP frame data divided by the counter 21.

도 8은 본 발명의 일실시예에 의한 GFP 수신 프레임의 경계식별 방법을 보인 흐름도이다.8 is a flowchart illustrating a boundary identification method of a GFP received frame according to an embodiment of the present invention.

이에 도시된 바와 같이, 프레임 경계 식별의 상태가 헌팅 상태일 때 모든 입력 데이터에 대해 일정 바이트씩 헤더에러제어(HEC)를 검사하고, 올바른 헤더에러제어를 찾았는지 판별하는 제 1 단계(ST11)(ST12)와; 상기 올바른 헤더에러제어를 찾았으면, 프레임 경계 식별의 상태를 전동기 상태로 하고, 길이 필드를 각 바이트마다 하나씩 감소시켜 길이 필드의 값이 0이 되었는지 판별하는 제 2 단계(ST13 ~ ST15)와; 상기 길이 필드 값이 0이면, 다음 프레임을 시작하고, 헤더에러제어(HEC) 값을 계산한 후 헤더에러제어(HEC) 값이 맞는지 판별하는 제 3 단계(ST16 ~ ST18)와; 상기 헤더에러제어 값이 맞으면, 프레임 경계 식별의 상태를 동기 상태로 하고, 프레임 카운터와 길이 필드를 이용하여 프레임의 경계를 식별하는 제 4 단계(ST19)(ST20)를 포함하여 수행한다.As shown in the drawing, when the frame boundary identification state is a hunting state, a first step (ST11) of checking the header error control (HEC) for every input data by a predetermined byte and determining whether the correct header error control is found ( ST12); A second step (ST13 to ST15) of determining whether the value of the length field is zero by reducing the length field by one for each byte when the correct header error control is found; A third step (ST16 to ST18) of starting a next frame, calculating a header error control (HEC) value and determining whether the header error control (HEC) value is correct when the length field value is 0; If the header error control value is correct, the frame boundary identification state is set as a synchronous state, and a fourth step (ST19) (ST20) of identifying a frame boundary using a frame counter and a length field is performed.

상기에서 제 1 단계는, 헤더에러제어를 수행할 때 4바이트씩 헤더에러제어를 수행한다.In the first step, the header error control is performed by 4 bytes when the header error control is performed.

이와 같이 구성된 본 발명에 의한 GFP 수신 프레임의 경계식별 장치 및 그 방법의 동작을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Operation of the boundary identification device and method of the GFP reception frame according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.

도 9는 본 발명이 이용하는 GFP 프레임의 구성도이다.9 is a configuration diagram of a GFP frame used in the present invention.

그래서 이더넷(Ethernet) 프레임의 경우에는 7 바이트의 프리앰블과 한 바이트의 경계 식별 바이트가 존재한다. HDLC의 경우 프레임의 경계식별을 위해 플래그(flag) 바이트를 사용한다.Thus, in the case of an Ethernet frame, there are 7 bytes of preambles and 1 byte of boundary identification bytes. In case of HDLC, a flag byte is used to identify a frame boundary.

반면에 본 발명에서 사용되는 GFP의 경우 이러한 별도의 경계식별 바이트가 존재하지 않고, 단지 HEC만으로 프레임 경계 식별을 수행하게 된다. HEC는 프레임의 경계식별에도 사용되지만 coreHeader의 에러 체크에도 사용된다. 따라서 단 두 바이트로 경계 식별과 에러체크를 같이 수행하게 되는 것이다.On the other hand, in the GFP used in the present invention, such a separate boundary identification byte does not exist, and frame boundary identification is performed only by HEC. HEC is also used for frame boundary identification, but also for error checking of coreHeader. Therefore, boundary identification and error checking are performed with only two bytes.

결과적으로 그렇게 함으로써 필요 없는 오버헤드를 줄일 수 있다. 또한 특정한 패턴의 경계식별 바이트를 쓰는 경우와는 달리 페이로드에 어떠한 신호가 실리게 되더라도 똑같은 경계식별 알고리즘을 적용할 수 있다.As a result, doing so can reduce unnecessary overhead. Also, unlike the case of writing a boundary pattern byte of a specific pattern, the same boundary identification algorithm can be applied to any signal loaded in the payload.

그리고 도 6은 GFP의 프레임 수신부이다. 이 경우 물리 계층의 신호인 SONET프레임 중 페이로드 부분만을 받아 들여 그 페이로드 중 GFP에 필요한 신호만을 추출하여 2계층으로 올려 보내는 역할을 한다.6 is a frame receiving unit of the GFP. In this case, it receives only the payload part of the SONET frame, which is a signal of the physical layer, and extracts only the signal necessary for the GFP among the payload, and sends it to the second layer.

이때 디스크램블러(Descrambler)(10)는 동기 상태에서만 동작하게 된다. 그리고 경계식별부(20)에서는 HEC를 검사하여 그 경계 식별이 성공한 경우에만 디스크램블링이 수행되도록 하고, 디스크램블링을 수행한 데이터는 그 헤더를 제거 한 후 다시 원래의 2계층 신호로 생성하게 된다. 여기서 생성된 2계층의 프레임은 각각의 포트를 통해 상위 계층에 전달 되게 된다. 그리고 아이들 단말(idle termination)은 물리 계층신호의 연속성을 위해 송신단에서 삽입한 아이들(idle) 프레임을 제거해 주는 역할을 수행한다.At this time, the descrambler 10 operates only in a synchronous state. The boundary identification unit 20 checks the HEC so that descrambling is performed only when the boundary identification is successful, and the descrambling data is generated as the original two-layer signal after removing the header. The frame of the second layer generated here is transmitted to the upper layer through each port. And the idle terminal (idle termination) serves to remove the idle frame inserted in the transmitter for continuity of the physical layer signal.

그리고 도 7에서, 카운터(21)는 입력된 GFP 프레임에 대해 복수개의 경우로나누어 헤더에러제어를 수행하기 위해 필요한 카운터를 생성한다. 즉, 들어오는 데이터를 네 가지의 경우로 나누어 헤더에러제어를 위한 카운터 신호(HEC_RST)를 만들어 출력한다.In FIG. 7, the counter 21 generates a counter necessary for performing header error control by dividing the input GFP frame into a plurality of cases. That is, the incoming data is divided into four cases, and the counter signal HEC_RST for header error control is generated and output.

제 1 HEC 계산부(22)는 카운터(21)에 의해 나누어진 GFP 프레임에서 첫 번째에 해당하는 데이터에 대해 헤더에러제어(HEC)의 계산을 수행하여 첫 번째 전동기 호출신호(PSYN_LD1)를 출력한다. 특히 이는 헌팅 상태에서는 첫 번째 경우의 헤더에러제어를 수행하지만, 전동기 상태나 동기 상태에서는 실제로 데이터 길이 필드의 에러를 검출하는데 사용된다.The first HEC calculator 22 calculates the header error control (HEC) for the first data in the GFP frame divided by the counter 21 and outputs the first motor call signal PSYN_LD1. . In particular, it performs header error control in the first case in the hunting state, but is actually used to detect an error in the data length field in the motor state or the synchronous state.

제 2 HEC 계산부(23)는 카운터(21)에 의해 나누어진 GFP 프레임 데이터에서 두 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하여 두 번째 전동기 호출신호(PSYN_LD2)를 출력한다.The second HEC calculator 23 calculates a second header error control HEC from the GFP frame data divided by the counter 21 and outputs a second motor call signal PSYN_LD2.

제 3 HEC 계산부(24)는 카운터(21)에 의해 나누어진 GFP 프레임 데이터에서 세 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하여 세 번째 전동기 호출신호(PSYN_LD3)를 출력한다.The third HEC calculator 24 calculates a third header error control HEC from the GFP frame data divided by the counter 21 and outputs a third motor call signal PSYN_LD3.

제 4 HEC 계산부(25)는 카운터(21)에 의해 나누어진 GFP 프레임 데이터에서 네 번째에 해당하는 헤더에러제어(HEC)의 계산을 수행하여 네 번째 전동기 호출신호(PSYN_LD4)를 출력한다.The fourth HEC calculator 25 calculates the header error control HEC corresponding to the fourth from the GFP frame data divided by the counter 21 and outputs the fourth motor call signal PSYN_LD4.

논리합 연산부(26)는 제 1 내지 제 4 HEC 계산부(22 ~ 25)에서 출력되는 전동기 호출신호(PSYN_LD1 ~ PSYN_LD4)를 입력받아 논리합 연산하여 전동기 호출 신호(PSYN_LD)를 생성하여 출력한다. 그래서 논리합 연산부(26)는 제 1 내지 제 4HEC 계산부(22 ~ 25) 중에서 하나라도 헤더에러제어 계산이 맞게 되면 전동기 호출신호를 출력하게 된다.The OR operation unit 26 receives the motor call signals PSYN_LD1 to PSYN_LD4 output from the first to fourth HEC calculators 22 to 25, and performs an OR operation to generate and output the motor call signal PSYN_LD. Thus, the logical sum operation unit 26 outputs an electric motor call signal when any one of the first to fourth HEC calculation units 22 to 25 is matched with the header error control calculation.

프레임 카운터(27)는 논리합 연산부(26)로부터 전동기 호출 신호(PSYN_LD)를 입력받아 동기가 맞았을 경우 다음 프레임의 위치를 판별하기 위해 필요한 길이 필드를 추출하는 역할을 수행한다. 또한 최종적으로 동기가 맞았다고 판단될 경우 프레임이 유효함을 알려주는 역할도 수행한다.The frame counter 27 receives the motor call signal PSYN_LD from the logical sum operation unit 26 and extracts a length field necessary for determining the position of the next frame when the synchronization is correct. It also plays a role in notifying that the frame is valid when it is finally determined that the synchronization is correct.

감소 카운터(28)는 GFP에 선택적으로 채택하게 되어 있는 FCS 필드의 위치를 항상 같은 값으로 고정시키기 위해 필요한 신호(END_DNCNT)를 프레임 카운터(27)에 제공하는 역할을 수행한다.The decrement counter 28 serves to provide the frame counter 27 with the signal END_DNCNT necessary to always fix the position of the FCS field, which is to be selectively adopted by the GFP, to the same value.

이러한 본 발명의 동작을 좀더 상세히 설명하면 다음과 같다.Referring to the operation of the present invention in more detail as follows.

먼저 물리 계층으로부터 GFP로의 입력은 바이트 단위로 이루어진다. 그리고 그때에는 프레임을 구별할 수 있는 다른 신호가 함께 오는 것이 아니라 단순히 데이터 스트림만이 입력으로 들어오게 된다.First, input to the GFP from the physical layer is made in bytes. And at that time, only the data stream comes into the input, not the other signals that distinguish the frames.

따라서 입력 데이터를 처리하기 위해서는 입력 데이터에 대해 그 프레임을 구별해낼 수 있는 어떤 알고리즘이 필요하게 되는 것이다.Therefore, in order to process the input data, an algorithm that can distinguish the frame from the input data is required.

도 9에서 보는 바와 같이, GFP의 프레임 구조는 맨 처음의 길이 필드와 그 길이 필드에 대한 에러를 검출하는 코드인 헤더에러제어 필드가 존재한다. 이 두 필드를 이용하여 프레임 경계를 식별할 수 있다.As shown in FIG. 9, in the frame structure of the GFP, there is a header error control field, which is a code for detecting an error for the first length field and the length field. These two fields can be used to identify frame boundaries.

그래서 헌팅 상태에서는 프레임의 시작 지점을 알 수 없음으로, 모든 입력 데이터에 대하여 매 4 바이트씩의 헤더에러제어를 검사한다. 그런데 첫 번째 4 바이트를 검사하고 있는 동안에도 계속해서 데이터는 입력되고 있다. 다시 말하면 4 바이트를 계산하기 위해 첫 번째 바이트부터 계산을 한다고 하면, 두 번째, 세 번째 바이트를 계산하는 동안 두 번째 바이트부터 시작하는 4 바이트는 계산을 할 수가 없게 되는 것이다.Therefore, in the hunting state, the starting point of the frame is unknown, so the header error control is checked every 4 bytes for all input data. However, while checking the first 4 bytes, data continues to be input. In other words, if you count from the first byte to count four bytes, the four bytes starting from the second byte cannot be counted while calculating the second and third bytes.

만일 4 개의 헤더에러제어 계산부(22 ~ 25) 중 어느 하나라도 올바른 헤더에러제어를 찾게 되면 곧바로 전동기 호출 신호(PSYN_LD#)를 발생하게 된다. 여기서 #은 각 헤더에러제어 계산부(22 ~ 25)의 번호를 나타낸다.If any one of the four header error control calculation units 22 to 25 finds the correct header error control, the motor call signal PSYN_LD # is immediately generated. Here, # represents the number of each header error control calculation unit 22 to 25.

각 HEC 제어부(22 ~ 25)에서 발생되는 PSYN_LD 신호는 발생이 됨과 동시에 프레임 카운터(27)로 전달된다.The PSYN_LD signal generated by each HEC control unit 22 to 25 is generated and transmitted to the frame counter 27.

이 신호를 받으면 프레임 경계 식별의 상태는 전동기 상태가 되고, 프레임 카운터(27)는 "0"으로 리셋된다. 그 후 프레임 카운터(27)는 PSYN_LD 신호 직후의 두 바이트, 즉 길이 필드의 값을 16비트 감소 카운터인 감소 카운터(28)로 보내준다.Upon receiving this signal, the state of frame boundary identification becomes the motor state, and the frame counter 27 is reset to "0". The frame counter 27 then sends the two bytes immediately after the PSYN_LD signal, the value of the length field, to the decrement counter 28, which is a 16-bit decrement counter.

16 비트 감소 카운터(28)는 이 길이 필드를 각 바이트마다 하나씩 거꾸로 감소시켜 나가는 연산을 수행하고, 그 값이 "0"되는 시점(END_DNCNT)을 프레임 카운터(27)에 알려준다. 16 비트 감소 카운터(28)의 값이 "0"이 되는 시점(END_DNCNT)이 다음 프레임의 시작을 나타내는 신호이다.The 16-bit decrement counter 28 decrements this length field by one backward for each byte, and informs the frame counter 27 of the time END_DNCNT when the value is " 0 ". The time END_DNCNT at which the value of the 16-bit decrement counter 28 becomes "0" is a signal indicating the start of the next frame.

프레임 카운터(27)는 다음 프레임의 시작을 나타내는 신호(NEXT_LOAD)를 제 1 HEC 계산부(22)로 전해준다. 이때부터 다른 HEC 제어부인 제 2 내지 제 4 HEC 제어부(23 ~ 25)는 동작하지 않고, 오직 제 1 HEC 계산부(22) 만이 계산을 수행하게된다.The frame counter 27 transmits a signal NEXT_LOAD indicating the start of the next frame to the first HEC calculator 22. At this time, the second to fourth HEC controllers 23 to 25, which are other HEC controllers, do not operate, and only the first HEC calculator 22 performs the calculation.

제 1 HEC 계산부(22)가 NEXT_LOAD 신호를 받은 직후 계산한 HEC 값이 맞는 값이라면 제 1 HEC 계산부(22)는 SYN_LOAD 신호를 발생한다. 그 이후에는 프레임 경계 식별 회로의 상태는 동기가 되고, 프레임 카운터와 길이 필드를 이용하여 프레임의 경계를 식별하게 된다.If the HEC value calculated immediately after the first HEC calculator 22 receives the NEXT_LOAD signal is a correct value, the first HEC calculator 22 generates a SYN_LOAD signal. After that, the state of the frame boundary identification circuit is synchronized, and the frame boundary and the length field are used to identify the frame boundary.

또한 NEXT_LOAD 신호를 받은 직후 계산한 HEC 계산값이 틀리면, 프레임 경계 식별의 상태는 헌팅이 되고, 다시 처음의 과정을 반복하게 된다.In addition, if the HEC calculation value calculated immediately after receiving the NEXT_LOAD signal is wrong, the state of frame boundary identification is hunting, and the first process is repeated.

이와 마찬가지로 동기 상태에서도 HEC 계산값이 한번이라도 틀리게 된다면, 프레임 경계 식별의 상태는 헌팅의 상태로 되고, 처음부터 모든 과정을 반복하게 된다.Likewise, if the HEC calculation value is wrong even in the synchronous state, the frame boundary identification state becomes hunting state, and all processes are repeated from the beginning.

그래서 본 발명은, 종래의 비동기 전송방식(ATM)에서의 셀 경계 식별과는 달리, 헌팅 상태에서 전동기 상태 그리고 전동기 상태에서 헌팅 상태 그리고 전동기 상태에서 동기 상태 그리고 동기 상태에서 헌팅 상태로 변하는 모든 과정이 한번의 수행으로 이루어지게 된다. 다시 말하면, 비동기 전송방식의 경우 전동기 상태에서 동기 상태로 넘어가려면 HEC 계산값이 7번 연속으로 맞는 값이 나와야 했으나, 본 발명에서는 단 한번만이라도 HEC 계산값이 맞게 되면 바로 전동기 상태에서 동기 상태로 넘어갈 수 있게 된다.Thus, the present invention, unlike the cell boundary identification in the conventional asynchronous transmission method (ATM), all the process from the hunting state to the motor state and the motor state to the hunting state and the motor state to the synchronous state and the synchronous state to the hunting state This is done in one run. In other words, in the case of the asynchronous transmission method, the HEC calculation value must be corrected seven times in order to move from the motor state to the synchronous state. It becomes possible.

이것은 상대적으로 비동기 전송방식의 셀 보다 GFP의 한 프레임의 크기가 훨씬 크므로, 버려지는 프레임의 수를 최소화할 수 있는 것이 된다.This is because the size of one frame of the GFP is much larger than the cells of the asynchronous transmission method, thereby minimizing the number of dropped frames.

경계식별부(20)에서 그 상태가 동기가 되지 않으면, 그 프레임은 쓸모없는값이라고 여겨져 버리게 되어 있기 때문이다.This is because, if the state is not synchronized in the boundary identification unit 20, the frame is considered to be useless value.

또한 여러 개의 HEC 계산 회로를 쓰는 대신 하나의 HEC 계산 회로와 버퍼를 사용할 수도 있으나, 여러 개의 HEC 계산 회로를 쓰는 것이 프레임의 경계를 더 빨리 찾을 수 있다.It is also possible to use a single HEC calculation circuit and a buffer instead of using several HEC calculation circuits, but using several HEC calculation circuits can find frame boundaries faster.

이처럼 본 발명은 GFP의 프레임 길이가 가변적인 것을 감안하여 그 경계를 식별하는데 있어서 그 길이 필드를 이용하여 프레임의 경계를 식별하고 4개의 헤더에러제어 계산을 수행하여 프레임의 경계를 식별하는데 소요되는 시간을 최소화하게 되는 것이다.As described above, the present invention considers that the frame length of the GFP is variable, and thus, the time required to identify the frame boundary by using the length field and perform four header error control calculations to identify the frame boundary is determined. Will be minimized.

이상에서 본 발명의 바람직한 실시예를 설명하였으나, 본 발명은 다양한 변화와 변경 및 균등물을 사용할 수 있다. 본 발명은 상기 실시예를 적절히 변형하여 동일하게 응용할 수 있음이 명확하다. 따라서 상기 기재 내용은 하기 특허청구범위의 한계에 의해 정해지는 본 발명의 범위를 한정하는 것이 아니다.Although the preferred embodiment of the present invention has been described above, the present invention may use various changes, modifications, and equivalents. It is clear that the present invention can be applied in the same manner by appropriately modifying the above embodiments. Accordingly, the above description does not limit the scope of the invention as defined by the limitations of the following claims.

이상에서 살펴본 바와 같이, 본 발명에 의한 GFP 수신 프레임의 경계식별 장치 및 그 방법은 GFP의 프레임 길이가 가변적인 것을 감안하여 그 경계를 식별하는데 있어서 그 길이 필드를 이용하여 프레임의 경계를 식별하고 4개의 헤더에러제어 계산을 수행하여 프레임의 경계를 식별하는데 소요되는 시간을 최소화 할 수 있고, 더욱 정확하게 프레임의 경계를 식별할 수 있는 효과가 있게 된다.As described above, the apparatus and method for identifying a boundary of a GFP received frame according to the present invention identify the boundary of the frame using the length field in identifying the boundary in consideration of the variable frame length of the GFP. It is possible to minimize the time required to identify the frame boundary by performing two header error control calculations, and the effect of identifying the frame boundary more accurately.

Claims (5)

GFP(Generic Frame Procedure) 프레임 데이터를 매 4바이트씩 나우어 출력하는 카운터와, 상기 카운터에 의해 매 4바이트씩 나누어진 각각의 경우에 대해 헤더에러제어를 각각 수행하는 복수개의 HEC(Header Error Check) 계산부와, 상기 복수개의 HEC 계산부의 출력을 입력받아 논리합 연산하여 전동기 호출 신호를 생성하는 논리합 연산부와, 상기 논리합 연산부로부터 전동기 호출 신호를 입력받아 동기가 맞을때 다음 프레임의 경계위치를 판별하기 위해 길이 필드값을 출력하고 상기 길이 필드값이 특정값에 도달할 경우 이 위치를 다음 프레임의 경계로 식별하는 프레임 카운터와, 상기 프레임 카운터와 연결되고, GFP의 FCS(Frame Check Sequence) 필드의 위치를 항상 같은 값으로 고정시키기 위해 필요한 신호를 상기 프레임 카운터에 제공하고 상기 프레임카운터로부터 입력받은 길이필드값을 다운카운트하여 특정값에 도달될 경우 이를 프레임카운터로 출력하는 감소 카운터로 이루어진 경계식별부와;A counter that outputs GFP (Generic Frame Procedure) frame data by 4 bytes each, and a plurality of HECs (Header Error Check) each of which performs header error control for each case divided by 4 bytes by the counter. A logic sum operation unit configured to generate a motor call signal by performing a logical sum operation based on a calculation unit, the outputs of the plurality of HEC calculation units, and to determine a boundary position of a next frame when the motor call signal is inputted from the logical sum calculation unit to be synchronized Outputs a length field value and when the length field value reaches a specific value, a frame counter identifying this position as a boundary of the next frame, connected with the frame counter, and determining the position of a frame check sequence (FCS) field of a GFP. To provide the necessary signal to the frame counter at all times A boundary identification unit comprising a decrement counter which down counts the received length field value and outputs it to the frame counter when a specific value is reached; 상기 GFP 프레임 데이터에 대해 디스크램블링을 수행하는 디스크램블러로 이루어진 것을 특징으로 하는 GFP 수신 프레임의 경계식별 장치.And a descrambler for descrambling the GFP frame data. 삭제delete 제 1 항에 있어서, 상기 복수개의 HEC 계산부는,The method of claim 1, wherein the plurality of HEC calculation unit, 상기 카운터에 의해 나누어진 GFP 프레임 데이터에서 첫 번째에 해당하는 헤더에러제어의 계산을 수행하고, 전동기 상태나 동기 상태에서는 데이터 길이 필드의 에러를 검출하는 제 1 HEC 계산부와;A first HEC calculator configured to calculate a header error control corresponding to the first in the GFP frame data divided by the counter, and detect an error of a data length field in an electric motor state or a synchronous state; 상기 카운터에 의해 나누어진 GFP 프레임 데이터에서 두 번째에 해당하는 헤더에러제어의 계산을 수행하는 제 2 HEC 계산부와;A second HEC calculator configured to calculate a second header error control in the GFP frame data divided by the counter; 상기 카운터에 의해 나누어진 GFP 프레임 데이터에서 세 번째에 해당하는 헤더에러제어의 계산을 수행하는 제 3 HEC 계산부와;A third HEC calculator configured to calculate a header error control corresponding to the third in the GFP frame data divided by the counter; 상기 카운터에 의해 나누어진 GFP 프레임 데이터에서 네 번째에 해당하는 헤더에러제어의 계산을 수행하는 제 4 HEC 계산부를 포함하여 구성된 것을 특징으로 하는 GFP 수신 프레임의 경계식별 장치.And a fourth HEC calculator configured to calculate a header error control corresponding to the fourth in the GFP frame data divided by the counter. GFP프레임 경계 식별의 상태가 헌팅상태일 경우 모든 입력 데이터에 대해 매 4 바이트씩 헤더에러제어를 검사하고, 올바른 헤더에러제어를 찾았는지 판별하는 제 1 단계와;A first step of checking header error control every 4 bytes for all input data when the state of the GFP frame boundary identification is hunting, and determining whether the correct header error control is found; 상기 올바른 헤더에러제어를 찾았을 경우, 프레임 경계 식별의 상태를 전동기 상태로 하고, 길이 필드를 각 바이트마다 하나씩 감소시켜 길이 필드의 값이 0이 되었는지 판별하는 제 2 단계와;A second step of determining whether the value of the length field is zero by reducing the length field by one for each byte when the correct header error control is found; 상기 길이 필드 값이 0이면, 이 값의 위치를 이용하여 다음 프레임의 헤더에러제어 값을 계산한 후 헤더에러제어 값이 맞는지 판별하는 제 3 단계와;If the length field value is 0, calculating a header error control value of a next frame using the position of the value and determining whether the header error control value is correct; 상기 헤더에러제어 값이 맞으면, 프레임 경계 식별의 상태를 동기 상태로 하고, 프레임 카운터와 길이 필드를 이용하여 프레임의 경계를 식별하는 제 4 단계를 포함하여 수행하는 것을 특징으로 하는 GFP 수신 프레임의 경계식별 방법.If the header error control value is correct, the frame boundary identification state is set to a synchronous state, and a fourth step of identifying a frame boundary using a frame counter and a length field is performed. Identification method. 삭제delete
KR10-2001-0044248A 2001-07-23 2001-07-23 Apparatus and method for boundary identification of received frame of GFP KR100428683B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0044248A KR100428683B1 (en) 2001-07-23 2001-07-23 Apparatus and method for boundary identification of received frame of GFP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0044248A KR100428683B1 (en) 2001-07-23 2001-07-23 Apparatus and method for boundary identification of received frame of GFP

Publications (2)

Publication Number Publication Date
KR20030009687A KR20030009687A (en) 2003-02-05
KR100428683B1 true KR100428683B1 (en) 2004-04-28

Family

ID=27716216

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0044248A KR100428683B1 (en) 2001-07-23 2001-07-23 Apparatus and method for boundary identification of received frame of GFP

Country Status (1)

Country Link
KR (1) KR100428683B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040048760A (en) * 2002-12-04 2004-06-10 삼성전자주식회사 The Circuit for Multi-channel GFP Frame Delineation using synchronous SRAM

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040010931A (en) * 2002-07-25 2004-02-05 삼성전자주식회사 Generic Framing Procedure Frame Delineation Detection Circuit in communication system
CN100464517C (en) * 2003-08-08 2009-02-25 华为技术有限公司 Recognition device and method for frame correction sequence in general frame treating package mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5570362A (en) * 1994-03-16 1996-10-29 Fujitsu Limited System for transferring variable length cells under ATM
KR19980020862A (en) * 1996-09-12 1998-06-25 양승택 Asynchronous transmission mode (ATM) cell-based transmission frame synchronizer
KR19980040996A (en) * 1996-11-30 1998-08-17 김영환 Asynchronous Transmission Mode (ATM) Cell Boundary Identification Device
KR19990050373A (en) * 1997-12-17 1999-07-05 이계철 Cell boundary identification method in synchronous digital layer based ATM network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5570362A (en) * 1994-03-16 1996-10-29 Fujitsu Limited System for transferring variable length cells under ATM
KR19980020862A (en) * 1996-09-12 1998-06-25 양승택 Asynchronous transmission mode (ATM) cell-based transmission frame synchronizer
KR19980040996A (en) * 1996-11-30 1998-08-17 김영환 Asynchronous Transmission Mode (ATM) Cell Boundary Identification Device
KR19990050373A (en) * 1997-12-17 1999-07-05 이계철 Cell boundary identification method in synchronous digital layer based ATM network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040048760A (en) * 2002-12-04 2004-06-10 삼성전자주식회사 The Circuit for Multi-channel GFP Frame Delineation using synchronous SRAM

Also Published As

Publication number Publication date
KR20030009687A (en) 2003-02-05

Similar Documents

Publication Publication Date Title
KR100211918B1 (en) Atm cell boundary discerning apparatus
US5568486A (en) Integrated user network interface device
US7940808B2 (en) Communications system with symmetrical interfaces and associated methods
US7710980B2 (en) Synchronization system and method
EP0503667B1 (en) A CRC operating method and an HEC synchronizing unit in the ATM switching method
US6034954A (en) Multiplexing apparatus for transit of signals between service provided by low-speed transmission path and ATM service provided by high-speed transmission path
US6678842B1 (en) Communications system and associated deskewing methods
US6675327B1 (en) Communications system including lower rate parallel electronics with skew compensation and associated methods
KR100428683B1 (en) Apparatus and method for boundary identification of received frame of GFP
US6275472B1 (en) Method and apparatus for achieving pass control of transmission cells
US6928080B2 (en) Transporting variable length ATM AAL CPS packets over a non-ATM-specific bus
US7525961B2 (en) Auto-adaptation to packet size on a physical medium
US6909727B1 (en) Communications system and associated methods with out-of-band control
KR100346793B1 (en) Subscriber matching structure of optic subscriber network
KR100241341B1 (en) New cell delineation method in atm network based on sdh
KR0185862B1 (en) Apparatus and method for extracting the boundary signal of structured data from the pointer of sdt in aal type 1
KR20030009700A (en) Apparatus and method for improving transmission efficiency by using buffer in GFP transmission
KR20040010931A (en) Generic Framing Procedure Frame Delineation Detection Circuit in communication system
KR19980017792A (en) Boundary Signal Extractor from Pointer with Structural Data Transfer Information in AAL Type 1 and Its Extraction Method

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
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: 20130319

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140317

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20150313

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee