KR100551168B1 - Packet error prevention device of CDM communication system - Google Patents

Packet error prevention device of CDM communication system Download PDF

Info

Publication number
KR100551168B1
KR100551168B1 KR1019980062191A KR19980062191A KR100551168B1 KR 100551168 B1 KR100551168 B1 KR 100551168B1 KR 1019980062191 A KR1019980062191 A KR 1019980062191A KR 19980062191 A KR19980062191 A KR 19980062191A KR 100551168 B1 KR100551168 B1 KR 100551168B1
Authority
KR
South Korea
Prior art keywords
packet
signal
bit
communication system
error
Prior art date
Application number
KR1019980062191A
Other languages
Korean (ko)
Other versions
KR20000045624A (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 KR1019980062191A priority Critical patent/KR100551168B1/en
Publication of KR20000045624A publication Critical patent/KR20000045624A/en
Application granted granted Critical
Publication of KR100551168B1 publication Critical patent/KR100551168B1/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/009Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location arrangements specific to transmitters
    • 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/5625Operations, administration and maintenance [OAM]
    • H04L2012/5627Fault tolerance and recovery

Landscapes

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

Abstract

본 발명은 패킷의 시작과 끝을 표시하는 비트8 신호를 확장하고, 그 확장된 비트8 신호의 시작과 끝 값을 다르게 부여함으로써 잡음/오류에 의한 비트8 신호의 손실을 방지하여 패킷 깨어짐을 최소화하고 동시에 수신단에서 패킷 오류를 검출토록 한 시디엠에이 통신 시스템의 패킷 오류 방지장치에 관한 것으로서, 이러한 본 발명은, 패킷 시작/끝 신호 생성부에서 송신 중앙처리장치로부터 출력된 패킷 전송 어드레스를 받으면 수신단에서 전송 패킷을 추출할 수 있도록 패킷 시작을 알리는 비트8신호와 패킷 끝을 알리는 비트8신호를 확장하여 발생하고, 라우터에 송신할 패킷이 준비되었음을 알리는 신호를 전달해준다. 그리고 라우터에서는 패킷 시작/끝 신호 생성부에서 얻어지는 송신할 패킷이 준비되었음을 알리는 신호에 따라 선입선출부에서 얻어지는 데이터를 패킷 단위로 저장하고, 그 저장한 전송 패킷의 목적지를 추출한 후 해당 목적지로 전송 패킷을 라우팅 함으로써, 패킷 깨어짐을 최소화할 수 있다.The present invention extends the bit 8 signal indicating the start and end of the packet and minimizes packet breakage by preventing the loss of the bit 8 signal due to noise / error by assigning different start and end values of the extended bit 8 signal. The present invention relates to a packet error prevention device of a CD communication system which detects a packet error at a receiving end, and the present invention provides a receiving end when a packet start address output from a transmitting central processing unit is received at a packet start / end signal generation unit. It is generated by extending the bit 8 signal for notifying the start of the packet and the bit 8 signal for notifying the end of the packet so that the transport packet can be extracted. The signal is transmitted to the router indicating that the packet is ready for transmission. The router stores the data obtained by the first-in-first-out unit in packet units according to a signal indicating that the packet to be transmitted is obtained from the packet start / end signal generator, extracts the destination of the stored transport packet, and then transmits the packet to the corresponding destination. By routing the packet breakage can be minimized.

Description

시디엠에이 통신 시스템의 패킷 오류 방지장치Packet error prevention device of CDM communication system

본 발명은 코드분할 다원접속(CDMA) 통신 시스템의 패킷(PACKET) 오류 방지에 관한 것으로, 특히 패킷의 시작과 끝을 표시하는 비트8 신호를 확장하고, 그 확장된 비트8 신호의 시작과 끝 값을 다르게 부여함으로써 잡음/오류에 의한 비트8 신호의 손실을 방지하여 패킷 깨어짐을 최소화하고 동시에 수신단에서 패킷 오류를 검출토록 한 시디엠에이 통신 시스템의 패킷 오류 방지장치에 관한 것이다.The present invention relates to the prevention of packet errors in a code division multiple access (CDMA) communication system. In particular, the present invention extends the bit 8 signals indicating the start and end of a packet, and the start and end values of the extended bit 8 signal. The present invention relates to a packet error prevention device of a CD communication system which minimizes packet breakage by preventing a loss of a bit 8 signal due to noise / error and simultaneously detects a packet error at a receiving end.

일반적으로, 코드분할 다원접속 시스템은 선입선출(FIFO)기를 이용하여 패킷 통신을 수행하는 시스템이다. 즉, FIFO를 이용하여 패킷 단위로 데이터를 임시 저장하고, 그 저장된 데이터를 다시 패킷 단위로 출력한다.In general, a code division multiple access system is a system for performing packet communication using a first-in first-out (FIFO). That is, the data is temporarily stored in packet units using the FIFO, and the stored data is output again in packet units.

이러한 일반적인 CDMA 통신 시스템에 있어서, 패킷 전송시 패킷의 시작과 끝을 검출해야만 패킷 데이터의 처리가 가능하므로, 송신단에서는 패킷의 시작과 끝에 비트8(동기 바이트)을 "1"로 세팅하여 전송하고, 수신단에서는 동기 바이트를 검출한 후 비트8의 시작 "1"과 비트8의 끝 "1"을 검출하여 패킷을 추출한다. 즉 수신단은 비트8의 시작"1"과 끝"1" 사이의 데이터를 1개의 패킷으로 인식하게 된다.In such a general CDMA communication system, packet data can be processed only by detecting the start and end of a packet during packet transmission. Therefore, the transmitting end transmits bit 8 (synchronous byte) set to "1" at the beginning and end of the packet. After receiving the sync byte, the receiving end detects the start "1" of the bit 8 and the end "1" of the bit 8 to extract the packet. That is, the receiving end recognizes data between the start "1" and the end "1" of the bit 8 as one packet.

이러한 일반적인 CDMA 통신 시스템은, 비트8에 잡음이나 기타의 이유로 삭제/추가되어 수신단에서 잘못 인식되면, 수신단에서는 1개의 패킷만이 아닌 에러가 발생한 패킷 이후의 수신 패킷의 시작과 끝이 모두 잘못 인식되어 데이터의 처리가 불가능하므로 통화 품질을 보장할 수 없는 단점이 있었다.In such a general CDMA communication system, if the receiving end is erroneously recognized by being deleted / added to bit 8 due to noise or other reasons, the receiving end is incorrectly recognized as both the start and the end of the received packet after the packet in error. Since the data cannot be processed, the call quality cannot be guaranteed.

즉, 첨부한 도면 도1에 도시된 바와 같이, (a)와 같은 정상적인 패킷에서 (b)와 같이 잡음으로 비트8에 "1"이 추가되면 패킷1이 잘못 인식되므로, 이하의 패킷(패킷2, 패킷3, ..., 패킷n)도 잘못 인식되어 데이터가 손실되므로 통화 품질을 보장할 수 없게된다.That is, as shown in FIG. 1, when "1" is added to bit 8 by noise as shown in (b) in the normal packet as shown in (a), packet 1 is incorrectly recognized. , Packet 3, ..., packet n) are also misrecognized and data is lost, so the call quality cannot be guaranteed.

또한, 첨부한 도면 도2에 도시된 바와 같이, (a)와 같은 정상적인 패킷에서 (b)와 같이 잡음이나 기타 이유로 비트8의 "1"이 삭제된 경우에는 처음 패킷(패킷1)은 인식 가능하나, 비트8이 손상된 이후의 패킷은 추출이 불가능하므로, 데이터 손실이 발생하여 통화 품질이 저하되는 문제점을 발생한다.In addition, as shown in FIG. 2, the first packet (packet 1) is recognizable when "1" of bit 8 is deleted in the normal packet as shown in (a), for the reason of noise or other reasons as shown in (b). However, since the packet after the bit 8 is damaged cannot be extracted, data loss occurs, which causes a problem of degrading call quality.

이에 본 발명은 상기와 같은 일반적인 CDMA 통신 시스템에서 발생하는 제반 문제점을 해결하기 위해서 제안된 것으로서,Accordingly, the present invention has been proposed to solve various problems occurring in the general CDMA communication system as described above.

본 발명의 목적은, 패킷의 시작과 끝을 표시하는 비트8 신호를 확장하고, 그 확장된 비트8 신호의 시작과 끝 값을 다르게 부여함으로써 잡음/오류에 의한 비트8 신호의 손실을 방지하여 패킷 깨어짐을 최소화하고 동시에 수신단에서 패킷 오류를 검출토록 한 시디엠에이 통신 시스템의 패킷 오류 방지장치를 제공하는 데 있다.An object of the present invention is to extend a bit 8 signal indicating the start and end of a packet, and to give the start and end values of the extended bit 8 signal differently, thereby preventing loss of the bit 8 signal due to noise / error, thereby preventing the packet from being lost. It is to provide a packet error prevention device of a CD communication system that minimizes the break and at the same time to detect the packet error at the receiving end.

상기와 같은 목적을 달성하기 위한 본 발명의 기술적 사상은,Technical idea of the present invention for achieving the above object,

선입선출기를 이용한 패킷 통신시 패킷의 시작과 끝을 표시하는 비트8 신호의 전송을 1회에서 2회로 확장하고, 동시에 패킷의 시작과 끝 비트8 신호를 연속성을 갖도록 하며 그 연속성을 갖는 시작 및 끝 비트8신호를 서로 다르게 부여함으로써, 선입선출기를 이용한 패킷 통신시 비트8 신호의 잡음/오류에 의한 패킷 깨어짐을 최소화하도록 한다.In the case of packet communication using first-in-first-out, the transmission of bit 8 signal that indicates the start and end of the packet is extended from one to two times, and at the same time, the start and end of the bit 8 signal has continuity and the start and end with the continuity By differently assigning the bit 8 signal, it is possible to minimize packet breakage due to noise / error of the bit 8 signal during packet communication using the first-in, first-out.

상기와 같은 기술적 사상에 따른 본 발명의 패킷 오류 방지장치는,An apparatus for preventing a packet error of the present invention according to the technical spirit as described above,

전송할 패킷 데이터 및 어드레스를 발생하는 송신 중앙처리장치와;A transmitting central processing unit for generating packet data and an address to transmit;

상기 송신 중앙처리장치로부터 패킷 전송 어드레스를 받으면 수신단에서 전송 패킷을 추출할 수 있도록 패킷 시작을 알리는 비트8신호와 패킷 끝을 알리는 비트8신호를 확장하여 발생하고, 라우터에 송신할 패킷이 준비되었음을 알리는 신호를 전달해주는 패킷 시작/끝 신호 생성부와;When the packet transmission address is received from the transmitting central processing unit, the receiving end generates the extended bit 8 signal for notifying the beginning of the packet and the bit 8 signal for notifying the end of the packet so as to extract the transport packet, and notifies the router that the packet is ready for transmission. A packet start / end signal generator for transmitting a signal;

상기 패킷 시작/끝 신호 생성부에서 생성된 비트8신호를 입력되는 바이트 단위 데이터의 마지막 비트에 삽입하여 패킷 데이터를 선입선출 하는 선입선출부와;A first-in, first-out unit for inserting first-in first-out packet data by inserting a bit 8 signal generated by the packet start / end signal generator into the last bit of input byte unit data;

상기 패킷 시작/끝 신호 생성부에서 얻어지는 송신할 패킷이 준비되었음을 알리는 신호에 따라 상기 선입선출부에서 얻어지는 데이터를 패킷 단위로 저장하고, 그 저장한 전송 패킷의 목적지를 추출한 후 해당 목적지로 전송 패킷을 라우팅 하는 라우터로 이루어짐을 그 기술적 수단의 특징으로 한다.According to a signal indicating that a packet to be transmitted is obtained from the packet start / end signal generator, data obtained by the first-in-first-out unit is stored in packet units, the destination of the stored transport packet is extracted, and the transport packet is transmitted to the corresponding destination. It is characterized by its technical means consisting of routers that route.

상기에서, 라우터는 추출한 목적지로 패킷 전송이 완료되면 목적지 수신 중앙처리장치에 패킷 전송 완료를 나타내는 신호를 전송해주어 목적지 수신 중앙처리장치가 전송된 패킷을 액세스하도록 한다.In the above, when the packet transmission is completed to the extracted destination, the router transmits a signal indicating completion of packet transmission to the destination receiving central processing unit so that the destination receiving central processing unit accesses the transmitted packet.

이하, 상기와 같은 기술적 사상에 따른 본 발명의 바람직한 실시예를 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention according to the technical spirit as described above in detail.

첨부한 도면 도3은 본 발명에 의한 CDMA 통신 시스템의 패킷 오류 방지장치 블록도이다.3 is a block diagram of a packet error prevention apparatus of a CDMA communication system according to the present invention.

이에 도시된 바와 같이, 전송할 패킷 데이터(Data) 및 어드레스(Addr)를 발생하는 송신 중앙처리장치(10)와, 상기 송신 중앙처리장치(10)로부터 패킷 전송 어드레스를 받으면 수신단에서 전송 패킷을 추출할 수 있도록 확장된 시작 비트8신호와 끝 비트8신호를 발생하고, 라우터에 송신할 패킷이 준비되었음을 알리는 신호를 전달해주는 패킷 시작/끝 신호 생성부(20)와, 상기 패킷 시작/끝 신호 발생부(20)에서 생성된 비트8신호를 입력되는 바이트 단위 데이터의 마지막 비트에 삽입하여 패킷 데이터를 선입선출 하는 선입선출부(30)와, 상기 패킷 시작/끝 신호 생성부(20)에서 얻어지는 송신할 패킷이 준비되었음을 알리는 신호에 따라 상기 선입선출부(30)에서 얻어지는 데이터를 패킷 단위로 저장하고, 그 저장한 전송 패킷의 목적지를 추출한 후 해당 목적지로 전송 패킷을 라우팅 하는 라우터(40)와, 상기 라우터(40)를 통해 송신된 패킷을 수신하여 저장하는 듀얼 포트 램(50)과, 상기 듀얼 포트 램(50)에서 수신한 패킷 데이터를 액세스하여 처리하는 수신 중앙처리장치(60)로 구성된다.As shown in the drawing, when receiving the packet transmission address from the transmission central processing unit 10 generating the packet data (Data) and the address (Addr) to be transmitted, and receiving the packet transmission address from the transmission central processing unit 10, the receiving end may extract the transmission packet. A packet start / end signal generator 20 generating a start bit 8 signal and an end bit 8 signal extended so as to transmit a signal indicating that a packet to be transmitted to the router is ready, and the packet start / end signal generator A first-in, first-out unit 30 for first-in, first-out of the packet data by inserting the bit 8 signal generated in step 20 into the last bit of the input byte unit data, and the transmission start / end signal generation unit 20 to be transmitted. According to a signal indicating that the packet is ready, the data obtained by the first-in, first-out unit 30 are stored in packet units, and the destination of the stored transport packet is extracted and then sent to the corresponding destination. A router 40 for routing a song packet, a dual port RAM 50 for receiving and storing a packet transmitted through the router 40, and packet data received by the dual port RAM 50 are accessed and processed. It consists of a receiving central processing unit 60.

이와 같이 구성된 본 발명에 의한 패킷 오류 장치의 작용을 첨부한 도면 도4 내지 도6을 참조하여 상세히 설명하면 다음과 같다.The operation of the packet error apparatus according to the present invention configured as described above will be described in detail with reference to FIGS. 4 to 6 as follows.

먼저, 송신단의 송신 중앙처리장치(10)는 패킷 통신을 위해 데이터 버스로 연결된 선입선출부(30)에 바이트 단위로 패킷 데이터를 기록하게 된다.First, the transmitting central processing unit 10 of the transmitting end records packet data in units of bytes in the first-in, first-out unit 30 connected by a data bus for packet communication.

여기서 송신 중앙처리장치(10)는 특정 어드레스 영역(예를 들어, 91000000 ~ 91000080)을 선입선출부(30)의 영역으로 설정하게 되는데, 이때 패킷 시작/끝 신호 생성부(20)는 상기 특정 어드레스 영역중 시작 어드레스(91000000)의 비트8에 "1"이, 그리고 시작 어드레스와 끝 어드레스의 사이 어드레스의 비트8에는 "0"이 기록되도록 비트8 신호를 생성하여 상기 선입선출부(30)에 전달해준다.In this case, the transmission central processing unit 10 sets a specific address area (for example, 91000000 to 91000080) as an area of the first-in, first-out unit 30. At this time, the packet start / end signal generator 20 sets the specific address. A bit 8 signal is generated and transmitted to the first-in first-out section 30 so that " 1 " is written in bit 8 of the start address (91000000) in the area, and " 0 " is written in bit 8 of the address between the start address and the end address. Do it.

아울러 송신 중앙처리장치(10)에서 얻어지는 어드레스가 끝 어드레스 일 경우에는 끝 어드레스(91000080)의 바로 이전 어드레스(9100007f)와 끝 어드레스(91000080)의 비트8에 "1"이 기록되도록 비트8신호를 생성하여 상기 선입선출부(30)에 전달해줌과 동시에 송신할 패킷이 준비되었음을 알려주는 신호(Pktrdy)를 라우터(40)에 전달해준다.In addition, when the address obtained from the transmission central processing unit 10 is the end address, a bit 8 signal is generated such that "1" is recorded in the bit 8 of the last address 9100007f and the end address 91000080 before the end address 91000080. Then, the first-in, first-out unit 30 transmits a signal Pktrdy indicating that the packet is ready for transmission to the router 40.

즉, 패킷 시작/끝 신호 생성부(20)는, 도4와 같은 타이밍에 의거 시작 어드레스(91000000), 끝 어드레스 바로 이전 어드레스(9100007F), 끝 어드레스(91000080)에서 비트8 신호가 "1"이 되도록 비트8 신호를 생성한다. 이렇게 함으로써 라우터(40)가 선입선출부(30)로부터 패킷 이동시 비트8 신호를 참조할 때 10(시작) --> 11(끝) --> 10(시작) --> 11(끝)의 흐름을 추출하고, 비트8 신호의 값이 다를 경우에는 패킷이 손상된 것으로 간주하여 송신중인 패킷을 버리고 송신 선입선출부(20)를 초기화시켜 피해를 최소화하고 지속적인 통신이 이루어지도록 한다.That is, the packet start / end signal generation unit 20 has a bit 8 signal of " 1 " at the start address (91000000), the immediately preceding address (9100007F), and the end address (91000080) based on the timing as shown in FIG. Generate a bit 8 signal if possible. In this way, when the router 40 refers to the bit 8 signal when moving the packet from the first-in, first-out part 30, the flow of 10 (start)-> 11 (end)-> 10 (start)-> 11 (end) If the value of the bit 8 signal is different, the packet is regarded as damaged and discards the packet being transmitted, and the transmission first-in, first-out unit 20 is initialized to minimize damage and allow continuous communication.

여기서 도면에는 도시하지 않았지만 패킷 시작/끝 신호 생성부(20)의 비트8 신호 생성 타이밍은 도4와 같으며, 그 비트8 신호 생성 로직을 구현하기 위한 프로그램은 다음과 같다.Although not shown in the drawing, the timing of generating the bit 8 signal of the packet start / end signal generator 20 is shown in FIG. 4, and a program for implementing the bit 8 signal generating logic is as follows.

/STCS = /TXFIFOCS*/PIAWE*/A7*/A6*/A5*/A4*/A3*/A2*/A1*/A0*;/ STCS = / TXFIFOCS * / PIAWE * / A7 * / A6 * / A5 * / A4 * / A3 * / A2 * / A1 * / A0 *;

/ENDCS = /TXFIFOCS*/PIAWE*/A7*/A6*/A5*/A4*/A3*/A2*/A1*/A0*;/ ENDCS = / TXFIFOCS * / PIAWE * / A7 * / A6 * / A5 * / A4 * / A3 * / A2 * / A1 * / A0 *;

/BEFOEND = /TXFIFOCS*/PIAWE*/A7*/A6*/A5*/A4*/A3*/A2*/A1*/A0*;/ BEFOEND = / TXFIFOCS * / PIAWE * / A7 * / A6 * / A5 * / A4 * / A3 * / A2 * / A1 * / A0 *;

/MIDCS = /TXFIFOCS*/PIAWE*/STCS*/ENDCS*/A7;/ MIDCS = / TXFIFOCS * / PIAWE * / STCS * / ENDCS * / A7;

PKTRDY.D = 0;PKTRDY.D = 0;

PKTRDY.CLKF = ENDCS;PKTRDY.CLKF = ENDCS;

PKTRDY.SETF = /CHKEN*/RDYCLR+/RESET;PKTRDY.SETF = / CHKEN * / RDYCLR + / RESET;

BIT.D = 1;BIT.D = 1;

BIT.8CLKF = /(STCS*ENDCS*BEFOEND);BIT.8CLKF = / (STCS * ENDCS * BEFOEND);

BIT8.RSTF = /MIDCS;BIT8.RSTF = / MIDCS;

상기와 같은 패킷 시작/끝 신호 생성부(20)의 비트8 신호 생성 방법에 의해 비트8 신호를 생성하여 패킷을 완료하게 되면, 그 패킷 구조는 첨부한 도면 도5와 같다.When the bit 8 signal is generated by the method of generating the bit 8 signal by the packet start / end signal generator 20 as described above, the packet is completed.

한편, 선입선출부(30)는 입력되는 패킷 데이터를 바이트 단위로 출력하여 라우터(40)에 전달해줌과 동시에 비트8 데이터(D[8])를 상기 라우터(40)에 전달해준다.On the other hand, the first-in, first-out unit 30 outputs the input packet data by byte unit to the router 40 and at the same time transfers bit 8 data D [8] to the router 40.

이에 따라 라우터(40)는 송신할 패킷이 준비되었음을 알려주는 신호(Pktrdy)가 어서트(Assert)되면, 내부 버퍼를 개방하여 상기 선입선출부(30)에서 얻어지는 패킷 데이터를 임시로 저장하게 되며, 도면에는 도시하지 않았지만 목적지 추출부로부터 패킷 데이터의 목적지가 추출되면 패킷을 목적지로 전송하게 된다.Accordingly, when the signal Pktrdy indicating that the packet to be transmitted is asserted is asserted, the router 40 temporarily opens the internal buffer to temporarily store the packet data obtained from the first-in-first-out unit 30. Although not shown in the drawing, when the destination of the packet data is extracted from the destination extraction unit, the packet is transmitted to the destination.

여기서 패킷 전송시 라우터(40)는 패킷의 길이를 참조할 수 없으므로 상기 선입선출부(30)에서 얻어지는 비트8신호(D[8])를 참조하여 시작 "1"에서 시작하여 다음 "1"이 검출될 때까지 계속해서 상기 선입선출부(30)에서 전송 패킷 데이터를 패치(Fetch)한다. 이 과정에서 패킷 전송 시작시 상기 Pktrdy신호를 클리어 시키고(선입선출부에 새로운 전송 패킷이 준비되었을 때 이를 알 수 있도록 하기 위함), 아울러 패킷 전송 완료시(끝 비트8신호가 "1") 수신단에 이를 알리는 신호(Done신호)를 보내 목적지 중앙처리장치가 패킷 도착을 인지하고 전송 패킷을 액세스하도록 한다.In this case, since the router 40 cannot refer to the length of the packet during packet transmission, the router 40 starts from the beginning " 1 " with reference to the bit 8 signal D [8] obtained from the first-in, first-out part 30, and then the next " 1 " The first-in first-out section 30 fetches the transport packet data until it is detected. In this process, the Pktrdy signal is cleared at the start of packet transmission (to know when a new transport packet is prepared in the first-in, first-out), and at the end of packet transmission (end bit 8 signal is "1"). This signal (Done signal) is sent to the destination CPU to acknowledge the arrival of the packet and access the transport packet.

그리고, 상기 선입선출부(30)에 기록된 패킷을 라우터(40)가 읽어 들일 경우, 시작 플래그가 {10}이고, 끝 플래그가 {11}이 아니고 잡음에 의해 {10}으로 검출되면, 이 패킷은 비트8 신호가 손상되었으므로, 송신단의 선입선출부(30)를 클리어 할 수 있도록 신호(txfifoclr)를 상기 패킷 시작/끝 신호 생성부(20)에 전달한다.When the router 40 reads the packet recorded in the first-in-first-out unit 30, if the start flag is {10} and the end flag is not {11} and is detected as {10} due to noise, Since the bit 8 signal is damaged, the packet transmits a signal txfifoclr to the packet start / end signal generator 20 to clear the first-in, first-out part 30 of the transmitter.

이때 생각할 수 있는 에러의 경우로서 시작 플래그에 오류가 있는 경우는 {11}뒤에 {10}이 아닌 {11}이 오는 경우가 있다. 이 경우에도 상기와 같이 동작하여 송신단의 선입선출부(30)를 클리어 할 수 있도록 txfifoclr신호를 상기 패킷 시작/끝 신호 생성부(20)에 전달한다.At this time, in case of an error that can be considered, if there is an error in the start flag, {11} may be followed by {11} instead of {10}. In this case, the txfifoclr signal is transmitted to the packet start / end signal generator 20 so as to operate as described above to clear the first-in, first-out part 30 of the transmitter.

이와 같은 논리에 의하면 참조할 수 있는 모든 플래그의 경우는 오로지 {10},{11}의 2가지로서 곱셈에 의한 참조 값은 "1"과 "0"뿐이다.According to this logic, all the flags that can be referred to are only {10} and {11}, and the reference values by multiplication are only "1" and "0".

즉, 라우터(40)는 {10}이 들어온 후에 계속 데이터 전송을 하며, 다음 "1"이 들어오면 그 다음 비트8신호를 더 기다려 "1"이 아니고 "0"의 값이 검출되면 비트8신호에 에러가 발생한 경우이므로 선입선출부 클리어 컨트롤신호를 상기 패킷 시작/끝 신호 생성부(20)에 전달한다.That is, the router 40 continues to transmit data after {10} comes in. When the next " 1 " arrives, the router 40 waits for the next bit 8 signal, and if the value of " 0 " In this case, the first-in, first-out unit clear control signal is transmitted to the packet start / end signal generator 20.

예를 들어, 도6과 같은 패킷이 라우터(40)에 입력된다고 가정할 때,For example, assuming that a packet as shown in Fig. 6 is input to the router 40,

우선 정상적인 패킷 전송시(도6의 패킷0) 3개의 "1"이 중첩되는 구조를 이루게되어 잡음에 의한 오류를 최소화 할 수 있으며, 패킷1에서 끝 플래그가 {10}이 되어 시작 플래그와 같으므로 오류가 검출되어 선입선출부(30)는 클리어 되며, 동시에 참조 값도 클리어 한다.First, when a normal packet is transmitted (packet 0 of FIG. 6), three "1s" overlap each other, thereby minimizing an error due to noise. In the packet 1, the end flag becomes {10}, which is the same as the start flag. An error is detected and the first-in, first-out unit 30 is cleared, and at the same time, the reference value is also cleared.

또한 패킷2와 같이 패킷 중간에 잡음이 들어간 경우에는 1비트 에러인 경우 즉시 오류가 검출되며, 2비트 에러{11}인 경우에는 끝 플래그와 비교함으로써 오류가 검출된다.In addition, when a noise enters the middle of a packet such as packet 2, an error is immediately detected in the case of a 1-bit error. In the case of a 2-bit error {11}, an error is detected by comparing with an end flag.

또한 패킷3에서와 같이 시작 플래그가 1비트 시프트된 경우에 있어서는 오류가 검출되지 않는 반면에 에러는 그 패킷에 한정되어지며, 다음 패킷에는 그 오류가 영향을 미치지 않아 손실을 최소화할 수 있다.In addition, when the start flag is shifted 1 bit as in packet 3, no error is detected, whereas the error is limited to the packet, and the error does not affect the next packet, thereby minimizing the loss.

다음은 상기 라우터(40)가 비트8 신호를 참조한 후 선입선출부(30)를 클리어 하는 로직 구현을 위한 프로그램이다.The following is a program for implementing a logic for clearing the first-in, first-out unit 30 after the router 40 references the bit 8 signal.

Bitdly.T = bit 8 Clocked by mclk;Bitdly.T = bit 8 Clocked by mclk;

bit 8 = D{8];bit 8 = D {8];

Compare_value = bit 8 * bitdly;Compare_value = bit 8 * bitdly;

TXFIFOCLR = (compare_value o befo_value);TXFIFOCLR = (compare_value o befo_value);

Befo_value rst_BY TXFIFOCLR;Befo_value rst_BY TXFIFOCLR;

다음은 상기 패킷 시작/끝 신호 생성부(20)가 상기 라우터(40)로부터 선입선출부(30) 클리어 컨트롤 신호를 전달받은 후 상기 선입선출부(30)를 클리어 하는 로직을 구현하기 위한 프로그램이다.The following is a program for implementing the logic for clearing the first-in, first-out unit 30 after the packet start / end signal generator 20 receives the first-in first-out unit 30 clear control signal from the router 40. .

TXCLR = /(/TXIACLRB + /LRESETB + /TFCSB * /PIAWEB * A[7] * A[6] * A[5] * A[4] * A[3] * A[2] * A[1] * A[0];TXCLR = / (/ TXIACLRB + / LRESETB + / TFCSB * / PIAWEB * A [7] * A [6] * A [5] * A [4] * A [3] * A [2] * A [1] * A [0];

한편, 수신단의 듀얼 포트 램(50)은 상기 라우터(40)에서 전송된 패킷 데이터를 수신한 후 임시 저장하게 되고, 수신 중앙처리장치(60)의 데이터 출력 요구시 그 임시 저장한 데이터를 데이터 버스를 통해 상기 수신 중앙처리장치(60)에 전달해준다.Meanwhile, the dual port RAM 50 of the receiving end receives the packet data transmitted from the router 40 and temporarily stores the data, and when the data output request of the receiving central processing unit 60 requests the data bus, the data port is temporarily stored. It delivers to the receiving central processing unit 60 through.

아울러 수신 중앙처리장치(60)는 상기 라우터(40)로부터 패킷이 전송되었음을 알려주는 Done신호가 전달되면, 상기 듀얼 포트 램(50)에서 수신된 패킷을 액세스하여 처리하게 된다.In addition, when the Done signal indicating that the packet is transmitted from the router 40 is transmitted, the receiving central processing unit 60 accesses and processes the packet received by the dual port RAM 50.

첨부한 도면 도7은 본 발명의 다른 실시예를 설명하기 위한 패킷 구조도이다.7 is a diagram illustrating a packet structure for explaining another embodiment of the present invention.

비트8 신호에 오류가 발생된 경우, 본 발명에 의해 패킷의 연속적인 깨어짐을 방지할 수 있다. 그러나 비트 혹은 바이트 단위의 오류로 인하여 적어도 1패킷 이상의 데이터를 버리게 된다.When an error occurs in the bit 8 signal, the present invention can prevent the continuous breaking of the packet. However, at least one packet of data is discarded due to a bit or byte error.

이와 같은 문제는 패킷 송신시 먼저 송신단의 중앙처리장치가 선입선출부 시작 어드레스와 끝 어드레스에 특정 값(예를 들어, e7, 81)을 기록하고, 그때의 바이트 값(e&, 81)을 확인하여 일치하면 패킷을 유효하게 인식해 전송하는 방법이 있을 수 있다.The problem is that when the packet is transmitted, the central processing unit first writes a specific value (e.g., e7, 81) at the first-in, first-out address and end address, and checks the byte value (e &, 81) at that time. If there is a match, there may be a method of validly recognizing and transmitting the packet.

이와 같은 방법은 에러가 검출된 경우에 있어서만 바이트 체크를 하게 되므로 라우터 퍼포먼스(performance)를 저해하지 않는다.This method does a byte check only when an error is detected, and thus does not impede router performance.

이러한 복합적인 오류 방지 선입선출기 패킷 통신을 적용했을 경우의 패킷 구조는 첨부한 도면 도7과 같다.The packet structure in the case of applying such complex error prevention first-in-first-out packet communication is as shown in FIG.

즉, 끝 플래그를 검출하여 그 값이 {11}이 아니고 {10}인 경우 플로우에 따라 바이트 데이터를 읽어보면, 패킷 끝 데이터 값(81)과 일치하므로 패킷 끝으로 인정하여 오류 처리를 하지 않고 정상적으로 패킷을 전송한다.That is, if the end flag is detected and the value is not {11} but {10}, when byte data is read according to the flow, it matches the packet end data value 81. Therefore, the packet is recognized as the end of the packet and no error processing is performed. Send the packet.

이상에서 상술한 바와 같이 본 발명은, 선입선출기를 이용한 패킷 통신시 비트8 신호에 잡음이 유입되어 오류가 발생된 경우에도 연속적인 패킷 깨어짐을 방지할 수 있는 효과가 있다.As described above, the present invention has an effect of preventing continuous packet breaking even when an error occurs due to noise flowing into a bit 8 signal during packet communication using a first-in, first-out.

또한, 복합적인 오류 방지를 위한 패킷 구조를 적용하는 경우에는 비트 또는 바이트 단위의 오류시에도 패킷 깨어짐을 방지할 수 있어 시스템의 통신 품질을 향상시킬 수 있는 효과가 있다.In addition, in the case of applying a packet structure for complex error prevention, it is possible to prevent the packet break even in the case of bit or byte error, thereby improving the communication quality of the system.

도1은 일반적인 CDMA 통신 시스템에서 비트8에 "1"이 추가될 경우 발생되는 데이터 손실을 설명하기 위한 패킷 구조도,1 is a packet structure diagram for explaining data loss caused when " 1 " is added to bit 8 in a general CDMA communication system.

도2는 일반적인 CDMA 통신 시스템에서 비트8의 "1"이 삭제된 경우 발생하는 데이터 손실을 설명하기 위한 패킷 구조도,FIG. 2 is a packet structure diagram for explaining data loss occurring when " 1 " of bit 8 is deleted in a general CDMA communication system.

도3은 본 발명에 의한 CDMA 통신 시스템의 패킷 오류 방지장치 블록도,3 is a block diagram of an apparatus for preventing a packet error in a CDMA communication system according to the present invention;

도4는 본 발명에서 비트8 신호의 타이밍도,4 is a timing diagram of a bit 8 signal in the present invention;

도5는 본 발명에서 패킷 오류 방지를 위한 전송 패킷의 구조도,5 is a structural diagram of a transport packet for packet error prevention in the present invention;

도6은 본 발명에서 라우터에 입력되는 패킷의 일예도,Figure 6 is an example of a packet input to the router in the present invention,

도7은 본 발명에서 패킷 오류 방지를 위한 전송 패킷의 다른 구조도.7 is another structural diagram of a transport packet for packet error prevention in the present invention;

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

10 : 송신 중앙처리장치 10: transmitting central processing unit

20 : 패킷 시작/끝 신호 생성부20: packet start / end signal generation unit

30 : 선입선출부30: first-in, first-out

40 : 라우터40: router

50 : 듀얼 포트 램50: dual port ram

60 : 수신 중앙처리장치60: receiving central processing unit

Claims (5)

선입선출기를 이용하여 패킷 통신을 구현하는 시디엠에이 이동통신 시스템에 있어서,In a CDA mobile communication system implementing packet communication using a first-in, first-out, 전송할 패킷 데이터 및 어드레스를 발생하는 송신 중앙처리장치와;A transmitting central processing unit for generating packet data and an address to transmit; 상기 송신 중앙처리장치로부터 패킷 전송 어드레스를 받으면 수신단에서 전송 패킷을 추출할 수 있도록 패킷 시작을 알리는 비트8신호와 패킷 끝을 알리는 비트8신호를 확장하여 발생하고, 라우터에 송신할 패킷이 준비되었음을 알리는 신호를 전달해주는 패킷 시작/끝 신호 생성부와;When the packet transmission address is received from the transmitting central processing unit, the receiving end generates the extended bit 8 signal for notifying the beginning of the packet and the bit 8 signal for notifying the end of the packet so as to extract the transport packet, and notifies the router that the packet is ready for transmission. A packet start / end signal generator for transmitting a signal; 상기 패킷 시작/끝 신호 생성부에서 생성된 비트8신호를 입력되는 바이트 단위 데이터의 마지막 비트에 삽입하여 패킷 데이터를 선입선출 하는 선입선출부와;A first-in, first-out unit for inserting first-in first-out packet data by inserting a bit 8 signal generated by the packet start / end signal generator into the last bit of input byte unit data; 상기 패킷 시작/끝 신호 생성부에서 얻어지는 송신할 패킷이 준비되었음을 알리는 신호에 따라 상기 선입선출부에서 얻어지는 데이터를 패킷 단위로 저장하고, 그 저장한 전송 패킷의 목적지를 추출한 후 해당 목적지로 전송 패킷을 라우팅 하는 라우터를 포함하여 구성된 것을 특징으로 하는 시디엠에이 이동통신 시스템의 패킷 오류 방지장치.According to a signal indicating that a packet to be transmitted is obtained from the packet start / end signal generator, data obtained by the first-in-first-out unit is stored in packet units, the destination of the stored transport packet is extracted, and the transport packet is transmitted to the corresponding destination. Packet error prevention device of a CDA mobile communication system, characterized in that configured to include a router for routing. 제1항에 있어서, 상기 패킷 시작/끝 신호 생성부는, 패킷 시작 비트8 신호와 패킷 끝 비트8 신호 이외에 패킷 끝 어드레스 이전의 어드레스에 해당하는 비트8 신호에도 비트8 신호로 "1"을 발생하여 비트8 신호를 확장하여 발생하는 것을 특징으로 하는 시디엠에이 이동통신 시스템의 패킷 오류 방지장치.The bit start / end signal generation unit of claim 1, wherein the packet start / end signal generator generates a bit 8 signal as a bit 8 signal in addition to the packet start bit 8 signal and the packet end bit 8 signal. Packet error prevention device of a CDA mobile communication system, characterized in that generated by extending the bit 8 signal. 제1항에 있어서, 상기 라우터는, 비트8 신호를 검출한 후 비트8 신호에 에러가 발생된 경우에는 패킷 전송을 중지하고, 상기 패킷 시작/끝 신호 생성부에 선입선출부를 클리어 하라는 제어신호를 발생해주는 것을 특징으로 하는 시디엠에이 이동통신 시스템의 패킷 오류 방지장치.The control signal according to claim 1, wherein the router stops packet transmission when an error occurs in the bit 8 signal after detecting the bit 8 signal, and sends a control signal to clear the first-in, first-out part to the packet start / end signal generation unit. Packet error prevention device of a CDA mobile communication system, characterized in that it generates. 제1항 또는 제3항에 있어서, 상기 라우터는, 추출한 목적지로 패킷 전송이 완료되면 목적지 수신 중앙처리장치에 패킷 전송 완료를 나타내는 신호를 전송해주어 목적지 수신 중앙처리장치가 전송된 패킷을 액세스하도록 하는 것을 특징으로 하는 시디엠에이 이동통신 시스템의 패킷 오류 방지장치.The method according to claim 1 or 3, wherein the router transmits a signal indicating completion of packet transmission to the destination receiving central processing unit when the packet transmission is completed to the extracted destination so that the destination receiving central processing unit can access the transmitted packet. Packet error prevention device of a CDA mobile communication system, characterized in that. 제1항에 있어서, 상기 패킷 시작/끝 신호 생성부는, 패킷의 시작 어드레스와 끝 어드레스에 특정 값(e7, 81)을 기록해주어 비트8 신호의 오류시에도 패킷을 유효하게 인식토록 해주는 것을 특징으로 하는 시디엠에이 이동통신 시스템의 패킷 오류 방지장치.The method of claim 1, wherein the packet start / end signal generator records specific values (e7, 81) at the start address and the end address of the packet so that the packet can be recognized effectively even when an error of the bit 8 signal occurs. Packet error prevention device of the CD M mobile communication system.
KR1019980062191A 1998-12-30 1998-12-30 Packet error prevention device of CDM communication system KR100551168B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980062191A KR100551168B1 (en) 1998-12-30 1998-12-30 Packet error prevention device of CDM communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980062191A KR100551168B1 (en) 1998-12-30 1998-12-30 Packet error prevention device of CDM communication system

Publications (2)

Publication Number Publication Date
KR20000045624A KR20000045624A (en) 2000-07-25
KR100551168B1 true KR100551168B1 (en) 2006-05-25

Family

ID=19568878

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980062191A KR100551168B1 (en) 1998-12-30 1998-12-30 Packet error prevention device of CDM communication system

Country Status (1)

Country Link
KR (1) KR100551168B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6167342A (en) * 1984-09-11 1986-04-07 Sumitomo Electric Ind Ltd Multi-frame synchronizing method and its device
JPS61260734A (en) * 1985-05-14 1986-11-18 Komatsu Ltd Detection of bit synchronization
JPS63190445A (en) * 1987-02-02 1988-08-08 Matsushita Electric Ind Co Ltd Signal transmitter
JPH10247899A (en) * 1997-03-04 1998-09-14 Hitachi Ltd Serial transmission method and synchronization error detection method therefor
KR100358398B1 (en) * 1994-07-25 2003-01-24 소니 가부시끼 가이샤 Packet transmission method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6167342A (en) * 1984-09-11 1986-04-07 Sumitomo Electric Ind Ltd Multi-frame synchronizing method and its device
JPS61260734A (en) * 1985-05-14 1986-11-18 Komatsu Ltd Detection of bit synchronization
JPS63190445A (en) * 1987-02-02 1988-08-08 Matsushita Electric Ind Co Ltd Signal transmitter
KR100358398B1 (en) * 1994-07-25 2003-01-24 소니 가부시끼 가이샤 Packet transmission method
JPH10247899A (en) * 1997-03-04 1998-09-14 Hitachi Ltd Serial transmission method and synchronization error detection method therefor

Also Published As

Publication number Publication date
KR20000045624A (en) 2000-07-25

Similar Documents

Publication Publication Date Title
US6687255B1 (en) Data communication circuit having FIFO buffer with frame-in-FIFO generator
US6345052B1 (en) Method and apparatus for the reliable transition of status signals from an interface device when using a localized sampling architecture
JPH0241221B2 (en)
JPH06112975A (en) System and method for packet changeover-type communication
WO2000052879A3 (en) Method and apparatus for data re-assembly with a high performance network interface
CN111651256B (en) FreeRTOS-based serial communication data synchronization method
JPH02226943A (en) System for analyzing and processing high level data link control sequence frame
US7069407B1 (en) Method and apparatus for a multi-channel high speed framer
US6661792B1 (en) Apparatus for processing data packet of ethernet switch system and method thereof
KR20030019093A (en) Packet control system and communication method
KR100551168B1 (en) Packet error prevention device of CDM communication system
US6823137B2 (en) Optical line protection device and optical line protection method
JP3731283B2 (en) Signal processing circuit and method thereof
US20030079118A1 (en) Bit synchronous engine and method
JPS6359042A (en) Communication interface equipment
US6868091B1 (en) Apparatus and method for depacketizing and aligning packetized input data
CN113688083A (en) Data frame header identification system and method based on synchronous 422 interface
US6591316B1 (en) Avoiding fragmentation loss in high speed burst oriented packet memory interface
KR100231286B1 (en) The packet router
KR100186270B1 (en) Apparatus and method for transmitting packet data
US6108371A (en) System and method for writing mixed interleaved and non-interleaved data to a modem register
KR100198789B1 (en) Receiving connecting network interface structure
JP2699881B2 (en) ATM cell synchronization circuit that does not require ATM cells for establishing synchronization
JP2967703B2 (en) Sync detection circuit
JP2833619B2 (en) Signal arrival confirmation circuit and information communication network system using the same

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
N231 Notification of change of applicant
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee