[go: up one dir, main page]

KR19980034717A - Parity Method Using Parity Method - Google Patents

Parity Method Using Parity Method Download PDF

Info

Publication number
KR19980034717A
KR19980034717A KR1019960052865A KR19960052865A KR19980034717A KR 19980034717 A KR19980034717 A KR 19980034717A KR 1019960052865 A KR1019960052865 A KR 1019960052865A KR 19960052865 A KR19960052865 A KR 19960052865A KR 19980034717 A KR19980034717 A KR 19980034717A
Authority
KR
South Korea
Prior art keywords
frame
data
parity
path
storing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
KR1019960052865A
Other languages
Korean (ko)
Other versions
KR100211960B1 (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 KR1019960052865A priority Critical patent/KR100211960B1/en
Publication of KR19980034717A publication Critical patent/KR19980034717A/en
Application granted granted Critical
Publication of KR100211960B1 publication Critical patent/KR100211960B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 다수의 통신단말을 연결하여 이들 상호간에 데이터 교환기능을 수행하는 데이터 교환 시스템에 있어서 입력포트와 출력포트간의 데이터 경로에서 프레임의 경계를 구별하기 위하여 별도의 데이터 비트를 추가하지 않고 프레임을 전달할 수 있는 프레임 구별방법에 관한 것으로서, 종래 다수의 통신단말을 연결하여 이들 상호간에 데이터 교환기능을 수행하는 데이터 교환 시스템 등에서 내부 경로에서 프레임 구별을 위하여 스위치 수단으로 병렬 데이터를 사용하는 경우 병렬 데이터에 프레임 구별을 위한 부가적인 비트를 정의하여 사용함으로써 버퍼 메모리의 구현시에 비 상용 메모리를 사용해야 하고 부가적인 비트 추가로 인한 경로 자원의 비용이 증가하는 단점을 갖게 됨으로써, 이러한 문제점을 해결하기 위하여 본 발명의 프레임 구별 방법은, 프레임 전달 시에 내부 경로의 데이터 무결성을 위하여 사용하는 패리티 비트를 이용하여 프레임의 경계에서의 데이터를 에러 패리터를 사용하여 경로의 목적점 포트에서 패리티 에러를 검사하여 프레임을 구별함으로 인해 불필요한 비트를 포함한 메모리로 인한 설계 비용을 줄일 수 있고 부가적인 스위치 경로의 비트를 줄일 수 있는 효과가 있다.According to the present invention, in a data exchange system in which a plurality of communication terminals are connected to each other to perform a data exchange function, a frame is added without adding a separate data bit to distinguish a frame boundary in a data path between an input port and an output port. The present invention relates to a method of distinguishing frames that can be transmitted. In a data exchange system that connects a plurality of communication terminals and performs a data exchange function between them, parallel data is used as a switch means to distinguish frames in an internal path. By defining and using additional bits for frame discrimination, non-commercial memory must be used in the implementation of the buffer memory, and the cost of the path resource due to the addition of additional bits increases, which can solve the problem. Frame Another method is to distinguish the frames by checking the parity error at the destination port of the path using the error parity using the parity bits used for the data integrity of the internal path during frame forwarding. This reduces the design cost due to memory with unnecessary bits and reduces the bits in additional switch paths.

Description

패리티 방식을 이용한 프레임 구별방법Parity Method Using Parity Method

본 발명은 송신측과 수신측 간에 프레임 데이터를 전달함에 있어서 프레임의 경계를 구별할 수 있는 방법에 관한 것으로서, 다수의 통신단말을 연결하여 이들 상호간에 데이터 교환 기능을 수행하는 데이터 교환시스템의 입력 포트와 출력포트간에 프레임 데이터 전달에 대한 프레임의 처음과 끝을 구별하는 방법에 관한 것이다.The present invention relates to a method for distinguishing a frame boundary in transmitting frame data between a transmitting side and a receiving side. The present invention relates to an input port of a data exchange system that connects a plurality of communication terminals and performs a data exchange function therebetween. A method of distinguishing between the beginning and the end of a frame for frame data transfer between the and output ports.

따라서 다중 컴퓨터 시스템과, 멀티미디어 시스템과, 컴퓨터 클러스터링 등과 같이 대용량 정보 전달을 위해서는 이들 단위 컴퓨터타 프로세서 시스템 간을 고속으로 데이터를 교환하여야 한다Therefore, in order to transfer large amounts of information such as multiple computer systems, multimedia systems, and computer clustering, data must be exchanged at high speed between these computer and processor systems.

상기 기능을 수행하는 데이터 교환 시스템은 일반적으로 다수의 단위 컴퓨터나 프로세서 시스템을 접속하는 입출력 포트와 이들 입출력 포트 간의 데이터 경로를 제공하는 스위치 경로, 그리고 스위치 경로를 제어하는 스위치 스위치 제어부로 구성된다.A data exchange system that performs the above functions generally includes an input / output port for connecting a plurality of unit computers or processor systems, a switch path for providing a data path between these input / output ports, and a switch switch controller for controlling the switch path.

그러므로 상기 단말기로부터 수신된 프레임은 출력포트로 전달되기 전에 입력 포트에 저장되고 저장된 프레임은 프레임 단위로 설정된 스위치 경로를 통하여 출력포트로 전달된다.Therefore, the frame received from the terminal is stored in the input port before being transmitted to the output port and the stored frame is transmitted to the output port through the switch path set in units of frames.

이때 상기 단말로부터 수신될 때의 프레임 구별 방법을 내부의 스위치 경로에서 유지할 수 없다.At this time, the frame discrimination method when received from the terminal cannot be maintained in the internal switch path.

상기 프레임 구별방법은 일반적으로 직렬 스트림인 경우 스트림 수신시에 구별할 수 있는 특별히 정의된 코드(comma character)를 사용한다.The frame discrimination method generally uses a specially defined comma character that can be distinguished when receiving a stream in the case of a serial stream.

따라서 데이터 교환 시스템의 내부적으로 프레임 구별을 위한 방법이 제공되어야 한다.Therefore, a method for distinguishing frames internally of the data exchange system should be provided.

이를 위하여 종래 사용했던 방법은 스위치 수단으로 병렬 데이터를 사용하는 경우 병렬 데이터에 프레임 구별을 위한 부가적인 비트를 정의하여 사용했다.To this end, a conventional method has been used by defining additional bits for distinguishing frames in parallel data when parallel data is used as a switch means.

그리고 병렬 데이터를 사용하는 스위치 수단의 경우 스위치 경로에서의 데이터 무결성을 위하여 패리티 비트와 같은 비트를 추가적으로 사용함으로써, 다음과 같은 문제점이 발생했다.In addition, in the case of a switch means using parallel data, the following problems occur by additionally using bits such as parity bits for data integrity in the switch path.

상기 입력포트에서 단말로부터 프레임을 수신하면 입력버퍼에 프레임을 저장하는데, 앞에서 설명한 바와 같이 패리티 비트에 프레임 구별을 위한 패리티 비트를 추가하는 경우 1바이트 단위 데이터에 2비트 이상의 부가적인 비트가 필요하므로 10비트 이상의 메모리가 필요하고 스위치 경로에서도 부가적인 비트가 필요하다.When the frame is received from the terminal at the input port, the frame is stored in the input buffer. As described above, when the parity bit for distinguishing a frame is added to the parity bit, additional bits of at least two bits are required for 1-byte data. It requires more than a bit of memory and additional bits in the switch path.

이때 문제점이 10비트 이상의 메모리는 상용 메모리 단위가 아니므로 특별히 주문 제작하지 않으면 구현시에 필요한 비트 폭 이상의 메모리, 즉 4비트 혹은 8비트의 메모리를 사용하여야 한다.In this case, since the memory of 10 bits or more is not a commercial memory unit, unless a special order is made, a memory of more than a bit width necessary for implementation, that is, 4 or 8 bits of memory should be used.

상기 문제점을 해결하기 위하여 본 발명은 상기 입력포트에서 단말로부터 프레임을 수신하면 입력 버퍼에 프레임을 저장하는데, 상기 설명한 바와 같이 패리티 비트에 프레임 구별을 위한 패리티 비트를 추가하는 경우 1바이트 단위 데이터에 2비트 이상의 부가적인 비트가 필요하므로 10비트 이상의 메모리가 필요하고 스위치 경로에서도 부가적인 비트가 필요하다.In order to solve the above problem, the present invention stores a frame in an input buffer when a frame is received from the terminal at the input port. As described above, when a parity bit for distinguishing a frame is added to the parity bit, 2 to 1 byte unit data. More bits or more are required, so more than 10 bits of memory are needed and additional bits are required in the switch path.

이때 문제점이 10비트 이상의 메모리는 상용 메모리 단위가 아니므로 특별히 주문 제작하지 않으면 구현시에 필요한 비트 폭 이상의 메모리, 즉 4비트 혹은 8비트의 메모리가 필요하게 된다.In this case, since the memory of 10 bits or more is not a commercial memory unit, a memory having a bit width or more that is necessary for implementation, that is, 4 or 8 bits of memory, is required unless specially manufactured.

도 1은 본 발명을 사용하는 데이터 교환 시스템의 블럭 구성도,1 is a block diagram of a data exchange system using the present invention;

도 2는 본 발명의 패리티를 사용하는 프레임경계 구별수단을 갖는 데이터 교환시스템의 블럭 구성도,2 is a block diagram of a data exchange system having frame boundary discriminating means using parity of the present invention;

도 3은 본 발명에 따른 입력포트에서의 전송제어부의 동작 흐름도,3 is an operation flowchart of a transmission control unit in an input port according to the present invention;

도 4는 본 발명에 따른 입력포트에서의 전송제어부의 동작 흐름도,4 is an operation flowchart of a transmission control unit in an input port according to the present invention;

도 5는 본 발명에 따른 출력포트에서의 프레임 전달과정 흐름도.5 is a flowchart illustrating a frame transfer process at an output port according to the present invention.

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

10:데이터 교환 시스템20:통신 단말10: data exchange system 20: communication terminal

30:전송 링크31:수신 전송 링크30: outgoing link 31: incoming outgoing link

32:송신 전송 링크100:입출력 포트부32: Outgoing transmission link 100: I / O port section

100a:입력 포트부100b:출력 포트부100a: input port part 100b: output port part

110:프레임 수신부112:패리티 발생기 활성/비활성 제어수단110: frame receiving unit 112: parity generator active / inactive control means

113:수신 데이터 비트114:프레임 도착 알림 신호113: Receive data bit 114: Frame arrival notification signal

120:패리티 발생부130:입력 버퍼부120: parity generation unit 130: input buffer unit

140:전송 제어부145:경로제어 요구신호140: transmission control unit 145: path control request signal

150:경로제어 요구부154:경로제어 응답신호150: path control request unit 154: path control response signal

160:출력 버퍼부168:송신 데이터 비트160: output buffer unit 168: transmission data bits

170:패리티 검사부178:패리티 에러신호170: parity check unit 178: parity error signal

180:프레임 송신부200:스위치 경로부180: frame transmission unit 200: switch path unit

300:스위치 경로 제어부400:스위치 경로 입출력 신호300: switch path control unit 400: switch path input and output signal

410:스위치 경로 입력신호420:스위치 경로 출력신호410: switch path input signal 420: switch path output signal

500:경로제어 신호500: path control signal

상기 목적을 달성하기 위한 본 발명의 프레임 구별 방법은 프레임 전달시에 내부 경로의 데이터 무결성을 위하여 사용하는 패리티 비트를 이용하여 프레임의 경계에서의 데이터를 에러 패리티를 사용하여 경로의 목적점 포트에서 패리티 에러를 검사하여 프레임을 구별하는 것을 특징으로 한다.In order to achieve the above object, the frame discrimination method of the present invention uses parity bits used for data integrity of an internal path during frame forwarding to transmit data at the boundary of a frame using error parity. The frame may be distinguished by checking an error.

이하 첨부된 도면을 참조하여 본 발명을 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명을 사용하는 데이터 교한 시스템의 블럭 구성도이다.1 is a block diagram of a data exchange system using the present invention.

상기 데이터 교환시스템을 접속되는 통신단말(20)을 전송링크(30)를 통해 접속하는 입출력포트(100)와, 입출력포트간의 데이터 경로를 제공하는 스위치 경로부(200), 그리고 입출력포트로부터의 경로제어 요구에 따라 스위치 경로를 제어하는 경로제어부(300)로 구성된다.An input / output port 100 for connecting the communication terminal 20 to which the data exchange system is connected through the transmission link 30, a switch path section 200 for providing a data path between the input / output ports, and a path from the input / output port. Path control unit 300 for controlling the switch path in accordance with the control request.

다음의 도 2는 본 발명의 패리티를 사용하는 프레임 경계 구별수단을 갖는 데이터 교환시스템의 블럭구성도이다.2 is a block diagram of a data exchange system having frame boundary discrimination means using parity of the present invention.

상기 도시된 구성을 보면 수신 전송링크(31)를 통하여 프레임을 수신하는 프레임 수신부(110)와 수신된 프레임을 저장하는 입력 버퍼(130)와 데이터의 패리티 비트를 발생하는 패리티 발생부(120) 그리고 수신된 프레임을 출력 포트로 전송하기 위한 전송제어부(140)와 입력 포트와 출력 포트간의 스위치 경로(200)로 이루어져 있다.In the illustrated configuration, the frame receiving unit 110 receiving a frame through the receiving transmission link 31, the input buffer 130 storing the received frame, the parity generating unit 120 generating parity bits of the data, and It consists of a transmission controller 140 for transmitting the received frame to the output port and a switch path 200 between the input port and the output port.

또한 상기 스위치 경로의 설정을 요청하는 스위치 경로 제어부(300)와 스위치 경로를 통하여 전달된 프레임을 저장하는 출력 버퍼(160)와 저장된 출력 버퍼의 프레임을 송신 전송링크(32)를 통하여 전송하는 프레임 송신부(18)와 상기 출력 버퍼의 프레임을 읽을 때 패리티 비트 검사를 수행하는 패리티 검사부와 다수의 입력 포트의 경로 제어부로부터의 경로 제어요구에 대하여 중재 과정을 통하여 스위치 경로를 제어하는 출력 포트 중재부(300)로 구성되어 있다.In addition, the switch path controller 300 for requesting the setting of the switch path, the output buffer 160 for storing the frames transmitted through the switch path, and the frame transmitter for transmitting the frames of the stored output buffers through the transmission transmission link 32. 18 and an output port arbitration unit 300 for controlling a switch path through an arbitration process for a parity check unit performing parity bit check when a frame of the output buffer is read and a path control request from a path controller of a plurality of input ports. It consists of).

상기 구성에 따라 일반적으로 직렬 방식의 전송 링크(30)를 통하여 입력 포트(100a)로 수신된 프레임은 프레임의 경계를 나타내는 수단을 갖고 있다. 상기 수신된 프레임은 바이트(8비트) 혹은 워드(16비트)나 롱워드(32비트)단위의 데이터 폭으로 입력 버퍼(130)의 메모리에 저장한다.According to the above configuration, a frame received through the serial transmission link 30 through the input port 100a generally has a means of indicating a frame boundary. The received frame is stored in the memory of the input buffer 130 in the data width in units of bytes (8 bits) or words (16 bits) or long words (32 bits).

이때 전송 제어부(140)에서 입력 버퍼(130)의 데이터를 읽어 스위치 경로(200)를 통하여 전달하고자 할때 프레임의 경계를 구별할 수단이 필요하고, 스위치 경로(200)를 통하여 출력포트(100b)의 출력 버퍼(160)에 저장되어 프레임 송신부(180)에서 송신 전송링크(32)를 통하여 전송하고자 할 때에도 프레임의 경계를 구별하기 위한 수단이 필요하다.In this case, when the transmission control unit 140 reads the data of the input buffer 130 and transmits the data through the switch path 200, a means for distinguishing the boundary of the frame is required, and the output port 100b is provided through the switch path 200. A means for distinguishing a frame boundary is also required when the frame transmitter 180 transmits the data through the transmission transmission link 32.

상기 데이터 교환 시스템과 같은 구성에서 내부 스위치 경로의 데이터 무결성을 위하여 패리티 비트를 사용한다.Parity bits are used for data integrity of the internal switch path in configurations such as the data exchange system.

본 발명에서는 프레임 구별을 위한 별도의 데이터 비트를 부가적으로 사용하지 않고 내부 데이터 무결성을 위한 패리티 비트를 사용하여 프레임 구별수단을 제공한다.The present invention provides a frame discrimination means by using a parity bit for internal data integrity without additionally using a separate data bit for frame discrimination.

따라서 본 발명에서는 입력 버퍼(130)와 출력 버퍼(160)로 패리티 비트를 포함하는 버퍼 메모리를 사용한다.Therefore, in the present invention, a buffer memory including parity bits is used as the input buffer 130 and the output buffer 160.

그러므로 상기 도 2에서는 16비트 워드 단위로 데이터를 저장하는 경우로서 패리티를 포함하여 18비트 메모리를 사용한다.Therefore, in FIG. 2, an 18-bit memory including parity is used as a case of storing data in units of 16-bit words.

상기 18비트 혹은 9비트 단위의 메모리를 병렬로 사용하는 메모리는 일반 시장에서 쉽게 구입이 가능하다.The memory using the 18-bit or 9-bit unit in parallel can be easily purchased in the general market.

상기에서 입력포트(100a)의 패리티 발생기(120)는 프레임수신부(110)에서 활성 또는 비활성으로 제어할 수 있는 수단(112)를 갖는다.The parity generator 120 of the input port 100a has a means 112 that can be controlled by the frame receiving unit 110 to be active or inactive.

상기 패리티 발생기(120)는 상용 칩으로 제공되는 패리티 발생기를 사용할 수 있다.The parity generator 120 may use a parity generator provided as a commercial chip.

그리고 상기 입력 버퍼(130)는 18비트 선입선출(FIFO)메모리 혹은 9비트의 선입선출메모리를 병렬로 구성하여 사용할 수 있다.The input buffer 130 may be configured to use an 18-bit first-in, first-out (FIFO) memory or a 9-bit first-in, first-out memory in parallel.

또한 상기 출력포트(100b)에서는 입력버퍼와 마찬가지로 18비트의 선입선출 메모리를 사용하여 출력포트부(160)를 구성할 수 있고, 프레임 송신부(180)에서 출력버퍼의 데이터를 읽을 때 패리티를 검사할 수 있도록 패리티 검사기(170)를 사용한다.In addition, the output port 100b may be configured to use the 18-bit first-in first-out memory in the output port 100b to check parity when the frame transmitter 180 reads the output buffer data. The parity checker 170 is used to make this possible.

상기 프레임 송신부(180)에서는 출력 버퍼(160)를 읽을 때 패리티 에러(178)를 사용한다.The frame transmitter 180 uses the parity error 178 when reading the output buffer 160.

그리고 프레임 송신부(180)에서는 출력버퍼(160)를 읽을 때 패리티 에러(178)를 감지할 수 있다.The frame transmitter 180 may detect the parity error 178 when reading the output buffer 160.

다음 도 3은 본 발명에 따른 입력포트에서의 프레임수신부의 동작 흐름도이다.3 is a flowchart illustrating an operation of a frame receiver in an input port according to the present invention.

수신 링크를 통하여 프레임 수신부에서 프레임을 수신하면(1) 데이터 워드의 종류를 판단하여(2) 프레임 처음 워드인 경우 프레임의 최초 워드 데이터를 저장하기 전에 패리티 발생기의 동작을 비활성화시키고(3) 패리티 에러가 발생하도록 입력 버퍼에 프레임 시작 코드, 예를 들어 홀수(Odd) 패리티를 사용하는 경우에 0101H 데이터를 적고 패리티 발생기 비활성화시 패리티비트(P0,1)가 1로 세트되도록 구성하는 코드를 저장한다(4).When the frame receiving unit receives a frame through the reception link (1), the type of data word is determined (2) In the case of the first word of the frame, the operation of the parity generator is deactivated before the first word data of the frame is stored (3) Parity error When the frame start code, for example, odd parity, is used in the input buffer so that 0101H data is written in the input buffer, and the parity bit (P0,1) is set to 1 when the parity generator is disabled, 4).

저장한 다음 패리티 발생기를 정상으로 활성화시키고(5) 데이터 워드가 일반 데이터 워드인 경우 입력 버퍼에 저장된 데이터 워드와 함께 정상적인 프레임 데이터를 저장한다(6).After storing, the parity generator is normally activated (5). If the data word is a normal data word, normal frame data is stored together with the data word stored in the input buffer (6).

다음 상기 데이터 워드 판단 후 프레임 끝 워드인 경우는 마지막 워드를 입력버퍼에 저장하고(7) 패리티 발생기를 비 동작 모드로 만들고(8) 입력버퍼에 프레임 마지막 코드, 예를 들어 홀수 패리티를 사용하는 경우에 프레임 시작코드와 다른 1010H 데이터와 패리티 비트를 1로 세트하여 저장하고(9) 패리티 발생기를 활성화시킨다(10).Next, when the end of frame after the data word is determined, the last word is stored in the input buffer (7) and the parity generator is in an inoperative mode (8) when the last code of the frame is used in the input buffer, for example, odd parity. 1010H data and a parity bit which are different from the frame start code are set to 1 (9), and the parity generator is activated (10).

프레임 수신부에서 입력버퍼부에 프레임 저장을 한 후 전송제어부로 프레임 도착 알림 신호를 보낸다(11).The frame receiving unit stores the frame in the input buffer unit and sends a frame arrival notification signal to the transmission control unit (11).

도 4에서는 프레임 헤더의 목적점 주소를 이용하여 경로제어부를 통하여 출력포트중재기의 상호 작용으로 스위치 경로를 설정한 다음 해당 프레임을 끝까지 스위치 경로를 통하여 출력포트로 전달한다.In FIG. 4, the switch path is set by the interaction of the output port mediator through the path controller using the destination point address of the frame header, and then the corresponding frame is transmitted to the output port through the switch path.

다음의 도 4는 본 발명에 따른 입력포트에서의 전송제어부의 동작 흐름도이다.4 is an operation flowchart of a transmission control unit at an input port according to the present invention.

상기 도 4에서는 프레임 헤더의 목적점 주소를 이용하여 경로제어부를 통하여 출력포트 중재기의 상호 작용으로 스위치 경로를 설정한 다음 해당 프레임을 끝까지 스위치 경로를 통하여 출력 포트로 전달한다.In FIG. 4, the switch path is set by the output port arbiter through the path controller using the destination address of the frame header, and then the corresponding frame is transmitted to the output port through the switch path.

상기 전송제어부에서는 입력버퍼에 저장된 데이터를 스위치 경로를 통하여 전송하고자 할 때 패리티 검사 기능을 이용하여 패리티 에러를 검사하여 프레임의 경계를 구별하여 처리한다.The transmission control unit checks a parity error by using a parity check function to transmit data stored in an input buffer through a switch path, and distinguishes and processes a frame boundary.

상기 프레임이 도착했는지를 알리는 도착알림 신호를 판단하여(11) 도착하였으면 상기 입력버퍼의 데이터를 읽어서(12) 상기 프레임이 처음코드인지를 판단하여(13) 처음 프레임이 아니면 예외처리(14)를 하고 처음일 경우 프레임 헤더를 읽고 헤더를 저장한다(15).The arrival notification signal indicating whether the frame has arrived is determined (11). If it arrives, the data of the input buffer is read (12) to determine whether the frame is the first code (13). If it is the first time, the frame header is read and the header is stored (15).

상기 저장 후 경로 제어 요구부로 경로 설정 요구를 하여(16) 경로제어 응답 수신을 판단하여(17) 수신되지 않았으면 다시 경로제어 응답을 판단하고 응답이 수신되었으면 저장된 헤더를 스위치 경로를 통해 전송을 한다(18).After the storage, a path setting request is made to the path control request unit (16) and the path control response is received (17). If it is not received, the path control response is determined again. If the response is received, the stored header is transmitted through the switch path. (18).

전송 후 입력버퍼 데이터를 읽어서 스위치 경로를 통하여 출력버퍼의 출력버퍼로 전달하고(19) 프레임의 끝을 판단하여(20) 끝이 아니면 다시 상기 입력버퍼의 데이터를 읽고 프레임의 끝일 경우 경로 해제를 요구한(21) 다음 다시 상기 프레임 도착 알림 신호 판단으로 복귀한다.After transmission, the input buffer data is read and transferred to the output buffer of the output buffer through the switch path (19). The end of the frame is determined (20). If it is not the end, the data of the input buffer is read again. After 21, the process returns to the determination of the frame arrival notification signal.

다음 도 5는 본 발명에 따른 출력포트에서 프레임 전달과정 흐름도이다.5 is a flowchart illustrating a frame transfer process at an output port according to the present invention.

먼저 출력버퍼가 비어 있음을 판단하여(22) 비어 있지 않으면 출력버퍼를 읽고 패리티 검사를 하고 데이터 워드가 프레임 처음인지의 일반 데이터 코드인지 프레임 끝 코드인지를 판단한다(23).First, it is determined that the output buffer is empty (22). If it is not empty, the output buffer is read and parity checked, and it is determined whether the data word is a general data code of the beginning of the frame or the end of the frame (23).

상기 판단 후 프레임 처음 코드인 경우 전송링크의 프레임 처음 코드 전송을 하고(24), 일반데이터 코드일 경우 전송링크를 통하여 프레임 데이터 전송을 하고(25), 그리고 프레임 끝 코드일 경우 전송링크의 프레임 끝 코드 전송을 하여(26) 상기 전송된 값들을 다시 상기 출력버퍼의 빈 상태 판단으로 복귀한다.After the determination, if the frame is the first code, the first frame of the transmission link is transmitted (24), if it is a general data code, the frame data is transmitted through the transmission link (25). The code is sent (26) to return the transmitted values to the empty state determination of the output buffer.

이상에서 설명한 본 발명의 패리티를 사용한 프레임 구별방법은, 일반적으로 데이터 무결성을 사용하는 비트를 사용하므로 부가적인 비트를 사용하지 않고, 상용으로 쉽게 구입이 가능한 메모리를 사용함으로써 불필요한 비트를 포함한 메모리를 사용함으로 인한 설계 비용을 줄일 수 있고 부가적인 스위치 경로의 비트를 줄일 수 있는 효과가 있다.In the frame discrimination method using the parity of the present invention described above, since the bits using data integrity are generally used, the memory including unnecessary bits is used by using a commercially available memory without using additional bits. This reduces the design cost and reduces the bits in the additional switch path.

본 발명의 목적은 다수의 통신단말을 연결하여 이들 상호간에 데이터 교환 기능을 수행하는 데이터 교환 시스템에 있어서, 입력포트와 출력포트 간의 데이터 경로에서 프레임의 경계를 구별하기 위하여 별도의 데이터 비트를 추가하지 않고 프레임을 전달할 수 있는 프레임 구별방법을 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a data exchange system in which a plurality of communication terminals are connected to each other to perform a data exchange function. In the data exchange system, a separate data bit is not added to distinguish a frame boundary in a data path between an input port and an output port. It is to provide a frame discrimination method that can deliver a frame without.

Claims (4)

수신 전송링크를 통해 프레임을 수신하는 프레임 수신부, 수신된 프레임을 저장하는 입력버퍼와 데이터의 패리티 비트를 발생하는 패리티 발생부와, 상기 수신된 프레임을 출력포트로 전송하기 위한 전송 제어부, 입/출력포트간의 스위치 경로, 상기 경로의 설정을 요구하는 스위치 경로제어부, 스위치 경로를 통하여 전달된 프레임을 저장하는 프레임 송신부, 출력버퍼 프레임의 패리티 비트 검사를 수행하는 패리티 검사부, 다수의 입력포트의 경로제어부로부터 경로제어 요구에 대해 중재과정을 통하여 스위치 경로를 제어하는 출력포트 중재부로 구성되어 프레임을 구별하는 방법에 있어서,A frame receiving unit for receiving a frame through a receiving transmission link, an input buffer for storing the received frame, a parity generating unit for generating parity bits of data, a transmission control unit for transmitting the received frame to an output port, and input / output A switch path between ports, a switch path controller for requesting the setting of the path, a frame transmitter for storing frames transmitted through the switch path, a parity check unit for parity bit check of the output buffer frame, and a path controller of a plurality of input ports. In the method for distinguishing a frame comprising an output port arbitration unit for controlling the switch path through the arbitration process for the path control request, 직렬 방식의 전송 링크를 통하여 경계를 가진 프레임을 입력포트로 수신하는 제1과정과;Receiving a frame having a boundary to an input port through a serial transmission link; 상기 입력포트로 수신된 프레임을 스위치 경로를 통하여 전송하고자 할 때 패리티 에러 검사에 따라 프레임의 경계를 구별하고 상기 프레임의 헤더 목적지 주소를 이용하여 중재기의 상호 작용으로 스위치 경로를 설정한 다음, 해당 프레임을 프레임의 끝까지 상기 스위치 경로를 통하여 출력포트로 전달하는 제2과정과;When the frame received through the input port is to be transmitted through the switch path, the boundary of the frame is distinguished according to parity error check and the switch path is set by the mediator interaction using the header destination address of the frame. Transmitting a frame to an output port through the switch path to the end of the frame; 출력 버퍼를 읽어 프레임의 경계를 구별하고 프레임을 전송링크를 통하여 전송하는 제3과정 포함하는 것을 특징으로 하는 패리티 방식을 이용한 프레임 구별방법.And a third process of reading an output buffer to distinguish frame boundaries and transmitting the frames through a transmission link. 제1항에 있어서, 상기 제1과정은The method of claim 1, wherein the first process is 수신링크를 통하여 프레임 수신부에서 프레임을 수신하면 데이터 워드의 종류를 판단하여 프레임 처음 워드인 경우 프레임의 최초 워드 데이터를 저장하기 전에 패리티 발생기의 동작을 비활성화시키고 패리티 에러가 발생하도록 입력 버퍼에 프레임 시작 코드를 저장하는 제1단계와;When the frame receiving unit receives a frame through the receiving link, it determines the type of data word and, in the case of the first word of the frame, deactivates the operation of the parity generator before storing the first word data of the frame, and starts the frame start code in the input buffer to generate a parity error. A first step of storing; 상기 저장후 패리티 발생기를 정상으로 활성화시키고 데이터 워드가 일반 데이타 워드인 경우 입력버퍼에 저장된 데이터 워드와 함께 정상적인 프레임 데이터를 저장하는 제2단계와;A second step of activating the parity generator normally after the storage and storing normal frame data together with the data word stored in the input buffer when the data word is a normal data word; 상기 데이터 워드 판단 후 프레임 끝 워드인 경우는 마지막 워드를 입력버퍼에 저장하며 패리티 발생기를 비 동작 모드로 만들고 입력버퍼에 프레임 마지막 코드를 저장하는 제3단계와;A third step of storing a last word in an input buffer, making a parity generator in an inoperative mode, and storing a frame last code in the input buffer after the data word is determined; 상기 동작후 패리티 발생기를 정상으로 활성화시키는 제4단계를 포함하여 이루어진 것을 특징으로하는 패리티 방식을 이용한 프레임 구별방법.And a fourth step of activating the parity generator normally after the operation. 제1항에 있어서, 상기 제2과정은The method of claim 1, wherein the second process is 상기 전송제어부를 통하여 프레임이 도착했는지를 알리는 도착 알림 신호를 판단하여 도착하였으면 상기 입력 버퍼의 데이터를 읽어서 상기 프레임이 처음인지를 판단하여 처음 프레임이 아니면 예외처리를 하고 처음일 경우 프레임 헤더를 읽고 헤더를 저장하는 제1단계와;Upon arrival, the arrival notification signal indicating whether a frame arrives through the transmission control unit is determined, and when the arrival is performed, the data of the input buffer is read to determine whether the frame is the first one. A first step of storing; 상기 저장 후 경로제어 요구부로 경로 설정 요구를 하여 경로제어 응답 수신을 판단하여 수신되지 않았으면 다시 경로제어 응답을 판단하고 응답이 수신되었으면 저장된 헤더를 스위치 경로를 통해 전송을 하는 제2단계와; 상기 전송 후 입력버퍼 데이터를 읽어서 스위치 경로를 통하여 출력포트의 출력버퍼로 전달하고 프레임의 끝을 판단하여 끝이 아니면 다시 상기 입력버퍼의 데이터를 읽고 프레임의 끝일 경우 경로 해제를 요구한 다음 다시 상기 프레임 도착 알림신호 판단으로 복귀하는 제3단계를 포함하는 것을 특징으로 하는 패리티 방식을 이용한 프레임 구별방법.A second step of determining a path control response by receiving a path setting request from the path control request unit after the storing and determining a path control response again, and transmitting a stored header through the switch path if the response is received; After the transmission, the input buffer data is read and transferred to the output buffer of the output port through the switch path. If the end of the frame is not determined, the data of the input buffer is read again if the end of the frame is requested, and if the end of the frame is requested, the frame is released again. And a third step of returning to the determination of the arrival notification signal. 제1항에 있어서, 상기 제3과정은The method of claim 1, wherein the third process is 먼저 출력버퍼가 비어 있음을 판단하여 비어있지 않으면 출력버퍼를 읽고 패리티 검사를 하고 데이터 워드가 프레임 처음코드인지 일반데이터 코드인지 프레임 끝 코드인지를 판단하는 제1단계와;A first step of determining whether the output buffer is empty, if not, reading the output buffer, parity checking, and determining whether the data word is a frame first code, a general data code, or an end frame code; 상기 판단 후 프레임 처음 코드인 경우 전송링크의 프레임 처음 코드 전송을 하고 일반 데이터 코드일 경우 전송링크를 통하여 프레임 데이터 전송을 하고 프레임 끝 코드일 경우 전송링크의 프레임 끝 코드 전송을 하여 상기 전송된 값들을 다시 상기 출력버퍼의 빈 상태 판단으로 복귀시키는 제2단계를 포함하는 것을 특징으로 하는 패리티 방식을 이용한 프레임 구별방법.After the determination, if the first frame code is transmitted, the first frame of the transmission link is transmitted. If the normal data code is transmitted, the frame data is transmitted through the transmission link. And a second step of returning back to the determination of the empty state of the output buffer.
KR1019960052865A 1996-11-08 1996-11-08 Parity Method Using Parity Method Expired - Fee Related KR100211960B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960052865A KR100211960B1 (en) 1996-11-08 1996-11-08 Parity Method Using Parity Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960052865A KR100211960B1 (en) 1996-11-08 1996-11-08 Parity Method Using Parity Method

Publications (2)

Publication Number Publication Date
KR19980034717A true KR19980034717A (en) 1998-08-05
KR100211960B1 KR100211960B1 (en) 1999-08-02

Family

ID=19481220

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960052865A Expired - Fee Related KR100211960B1 (en) 1996-11-08 1996-11-08 Parity Method Using Parity Method

Country Status (1)

Country Link
KR (1) KR100211960B1 (en)

Also Published As

Publication number Publication date
KR100211960B1 (en) 1999-08-02

Similar Documents

Publication Publication Date Title
US4695952A (en) Dual redundant bus interface circuit architecture
US5020020A (en) Computer interconnect system with transmit-abort function
US5193149A (en) Dual-path computer interconnect system with four-ported packet memory control
US5187780A (en) Dual-path computer interconnect system with zone manager for packet memory
EP0606299B1 (en) Method and apparatus for concurrent packet bus
JP2720957B2 (en) Packet buffer device
US4554659A (en) Data communication network
US4332027A (en) Local area contention network data communication system
US4641307A (en) Data packet transmission using shared channel
US5553302A (en) Serial I/O channel having independent and asynchronous facilities with sequence recognition, frame recognition, and frame receiving mechanism for receiving control and user defined data
US4625307A (en) Apparatus for interfacing between at least one channel and at least one bus
EP0632913A1 (en) Fiber optic memory coupling system
US6182267B1 (en) Ensuring accurate data checksum
JPH05204804A (en) High speed transmission line interface
US4805170A (en) Data communication network
EP0525736B1 (en) Data storing system for a communication control circuit
US6157651A (en) Rogue data packet removal method and apparatus
US6915371B1 (en) Tunnel device for an input/output node of a computer system
KR100211960B1 (en) Parity Method Using Parity Method
EP0482828B1 (en) Message-oriented bank controller interface
US6282203B1 (en) Packet data transmitting apparatus, and method therefor
US6857033B1 (en) I/O node for a computer system including an integrated graphics engine and an integrated I/O hub
CN101189593A (en) Method for transmitting redundant data during address transmission on a multiplexed address/data bus
KR100208229B1 (en) Indoor Data Line Termination Matching Packet Service Device with Parallel Structure in Switching System
KR100451792B1 (en) PB bus interface logic with system of ISA bus

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

FPAY Annual fee payment

Payment date: 20080428

Year of fee payment: 10

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 10

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20090507

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20090507

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000