[go: up one dir, main page]

KR101298544B1 - Apparatus and method for processing of received packets in mobile communication system - Google Patents

Apparatus and method for processing of received packets in mobile communication system Download PDF

Info

Publication number
KR101298544B1
KR101298544B1 KR1020060016145A KR20060016145A KR101298544B1 KR 101298544 B1 KR101298544 B1 KR 101298544B1 KR 1020060016145 A KR1020060016145 A KR 1020060016145A KR 20060016145 A KR20060016145 A KR 20060016145A KR 101298544 B1 KR101298544 B1 KR 101298544B1
Authority
KR
South Korea
Prior art keywords
packet
tcp
processing unit
mac
retransmission
Prior art date
Application number
KR1020060016145A
Other languages
Korean (ko)
Other versions
KR20070082987A (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 KR1020060016145A priority Critical patent/KR101298544B1/en
Publication of KR20070082987A publication Critical patent/KR20070082987A/en
Application granted granted Critical
Publication of KR101298544B1 publication Critical patent/KR101298544B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1848Time-out mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

본 발명은 이동통신 시스템의 수신 패킷 처리 장치 및 방법에 관한 것으로서, 이동통신 시스템에서 수신 패킷 처리 방법은, 수신되는 소정 개수의 프레임을 이용하여 해당 패킷을 복원하였을 시, MAC 처리부가 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하는 과정과, 상기 판단에 따라 MAC 처리부가 TCP 헤더의 하나의 구간을 이용하여 상기 복원된 패킷에 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보를 설정하고, 상기 복원된 패킷을 IP 처리부로 전송하는 과정을 포함하여, MAC 계층에서 순서복원을 하지 않고도 TCP 계층의 동작을 수정하여 MAC 계층에서 순서복원을 하는 경우와 거의 동일한 성능을 기대할 수 있으며, MAC 처리부가 순서복원을 하지 않기 때문에 상기 MAC 처리부에 필요한 버퍼크기와 상위 계층과의 인터페이스 속도를 줄여 구현을 쉽도록 하는 이점이 있다. The present invention relates to an apparatus and a method for processing a received packet in a mobile communication system. The method for processing a received packet in a mobile communication system includes: when a MAC processor restores a packet by using a predetermined number of frames, the MAC processing unit transmits to a previous packet. Determining whether or not to wait for retransmission, and setting information indicating whether the MAC processor is waiting for retransmission for the previous packet to the restored packet using one section of the TCP header according to the determination. Including the process of transmitting the restored packet to the IP processing unit, it is possible to expect almost the same performance as the case of performing the restoration in the MAC layer by modifying the operation of the TCP layer without performing the restoration in the MAC layer. Since additional order restoration is not performed, the buffer size required for the MAC processing unit The advantage is that the speed of the interface is reduced to make implementation easier.

MAC, IP, TCP, 순서 복원, 패킷 복원 MAC, IP, TCP, Sequence Restoration, Packet Restoration

Description

이동통신 시스템의 수신 패킷 처리 장치 및 방법{APPARATUS AND METHOD FOR PROCESSING OF RECEIVED PACKETS IN MOBILE COMMUNICATION SYSTEM} Apparatus and method for receiving packet processing in mobile communication system {APPARATUS AND METHOD FOR PROCESSING OF RECEIVED PACKETS IN MOBILE COMMUNICATION SYSTEM}

도 1은 본 발명에 따른 이동통신 시스템의 수신 패킷 처리 장치의 구성을 도시한 블럭도,1 is a block diagram showing the configuration of a receiving packet processing apparatus of a mobile communication system according to the present invention;

도 2는 본 발명의 실시 예에 따른 이동통신 시스템에서 MAC 처리부의 수신 패킷 처리 방법의 절차를 도시한 흐름도,2 is a flowchart illustrating a procedure of a received packet processing method of a MAC processing unit in a mobile communication system according to an embodiment of the present invention;

도 3은 본 발명의 실시 예에 따른 이동통신 시스템에서 TCP 처리부의 수신 패킷 처리 방법의 절차를 도시한 흐름도, 3 is a flowchart illustrating a procedure of a received packet processing method of a TCP processing unit in a mobile communication system according to an embodiment of the present invention;

도 4는 본 발명에 따른 TCP 헤더의 포맷을 도시한 도면, 및4 illustrates a format of a TCP header according to the present invention, and

도 5는 기존 기술과 본 발명에 따른 기술에 대한 TCP 성능을 비교한 그래프.5 is a graph comparing TCP performance for the existing technology and the technology according to the present invention.

본 발명은 이동통신 시스템의 수신 패킷 처리 장치 및 방법에 관한 것이다.The present invention relates to a receiving packet processing apparatus and method of a mobile communication system.

기존의 유선망 환경에서 대부분의 패킷 손실은 네트워크 혼잡으로 인해 발생 한다. 상기 네트워크 혼잡으로 인한 패킷 손실 발생시, 전송 제어 프로토콜(Transmission Control Protocol : 이하 'TCP'라 칭함)은 데이터 전송량을 억제하는 혼잡 제어(congestion control) 메커니즘을 구동한다. 여기서, 상기 TCP는 데이터 패킷을 신뢰성있게 전달해주기 위한 전송 프로토콜이다. 상기 TCP 혼잡 제어 메커니즘에는 Slow start, Congestion avoidance, Fast retransmit/recovery 방법 등이 있으며, 상기 메커니즘을 통하여 네트워크 상황에 따라 전송량을 조절하게 된다.In the wired network environment, most packet loss is caused by network congestion. When a packet loss occurs due to the network congestion, a transmission control protocol (hereinafter referred to as 'TCP') drives a congestion control mechanism that suppresses the amount of data transmission. Here, TCP is a transmission protocol for reliably delivering data packets. The TCP congestion control mechanisms include slow start, congestion avoidance, and fast retransmit / recovery methods, and adjust the amount of transmission according to network conditions through the mechanism.

반면, 무선망 환경에서는 상기 네트워크의 혼잡이 아닌 무선 링크의 특성, 즉 높은 에러율과 핸드오프로 인한 패킷 손실 발생의 빈도가 더욱 크다. 따라서, 상기 유선망 환경의 특성에 맞게 제시된 TCP의 제어 메커니즘을 이동 무선망 환경에 그대로 적용하면, 적절하지 못한 상황이 발생한다. 즉, 상기 TCP는 상기 무선 링크의 특성으로 인한 패킷 손실도 상기 네트워크의 혼잡으로 인해 발생하였다고 판단하고, 상기 네트워크의 혼잡으로 인한 패킷 손실의 경우와 동일한 방식으로 처리하여 전송 속도를 낮추게 된다. 예를 들어, 상기 Slow start 또는 Fast recovery 메커니즘의 경우, 혼잡 윈도우 사이즈(congestion window size)를 줄이게 된다. 결국, 반복되는 패킷의 손실로 인하여 링크의 대역폭을 낭비하게 되고, 이로 인해 전체 네트워크의 성능이 저하되는 문제점이 있다. On the other hand, in the wireless network environment, the characteristics of the wireless link, that is, the congestion of the network, are more frequent, that is, the frequency of packet loss due to high error rate and handoff is greater. Therefore, if the control mechanism of TCP presented according to the characteristics of the wired network environment is applied to the mobile wireless network environment as it is, an inappropriate situation occurs. That is, the TCP determines that packet loss due to the characteristics of the radio link is also caused by congestion of the network, and reduces the transmission speed by processing in the same manner as packet loss due to congestion of the network. For example, the slow start or fast recovery mechanism reduces the congestion window size. As a result, the bandwidth of the link is wasted due to repeated packet loss, which causes a problem that the performance of the entire network is degraded.

따라서, 상기 유선망에 적합하게 발전해온 TCP를 무선망의 특성에 맞게 개선하여 패킷의 손실 원인을 혼잡에 의한 패킷 손실보다는 오류에 의한 것으로 보고 적절하게 대처함으로써, 상기 무선망에서 TCP 프로토콜을 효과적으로 사용하는 것 이 중요한 문제로 인식되고 있다.Therefore, TCP, which has been suitably developed for the wired network, is improved according to the characteristics of the wireless network, and the cause of packet loss is regarded as an error rather than a packet loss due to congestion, so that the TCP protocol can be effectively used in the wireless network. This is recognized as an important issue.

상기 무선 환경에서 TCP 성능의 저하를 방지하기 위해 제안된 종래 기술에는, 상기와 같이, 패킷 손실이 발생한 이후에 대처하는 방안에 관한 기술과, 또 다른 방법으로 TCP 계층이 감지하는 패킷 손실 자체를 줄이기 위한 MAC 계층에서의 재전송을 보다 효율적으로 하는 방안에 관한 기술 등이 있다. In the prior art proposed to prevent the degradation of TCP performance in the wireless environment, as described above, a technique relating to a method for dealing with a packet loss after occurrence, and another method to reduce the packet loss itself detected by the TCP layer Techniques for more efficient retransmission in the MAC layer.

상기 MAC 계층에서의 재전송 기법으로는 스탑-앤-고(stop-n-go) 방식과 선택적 재전송(Selective-repeat) 방식이 있으며, 상기 스탑-앤-고 방식은 구현이 간단하여 IEEE 802.11 기반의 무선 랜(Wireless LAN)에서 사용되고 있다. 하지만, 성능이 좋지 않기 때문에 다른 많은 무선망에서는 상기 선택적 재전송 방식을 사용하고 있다. The retransmission scheme in the MAC layer includes a stop-n-go scheme and a selective-repeat scheme. The stop-and-go scheme is simple to implement and is based on IEEE 802.11. It is used in wireless LAN. However, because of poor performance, many other wireless networks use the selective retransmission scheme.

상기 선택적 재전송 방식을 사용하는 경우, MAC 처리부의 패킷 수신 완료 시점에서 보면, 재전송을 거친 패킷과 그렇지 않은 패킷의 순서는 뒤바뀔 수 있다. 따라서, 상기 MAC 처리부가 수신이 완료된 순서대로 패킷을 TCP 계층으로 올려 보내게 되면, 상기 TCP 계층은 패킷 순서 오류를 감지하게 되고, 이는 중복(duplicate) ACK를 유발하여 결국 패킷 손실로 인식되는 경우가 발생할 수 있다. 특히, 고속 무선 환경일수록 상기 패킷 손실로 인식될 확률이 높아진다. 이를 방지하기 위해 상기 MAC 계층에서는 패킷의 순서를 복원하여 상기 TCP 계층으로 올려 보내는 방법을 사용하고 있다. 이와 같이, 상기 MAC 계층에서 패킷의 순서를 복원할 경우, 상기 패킷의 순서를 복원하지 않은 경우보다 TCP 성능(throughput)의 향상을 기대할 수 있다. In the case of using the selective retransmission method, when the packet reception of the MAC processing unit is completed, the order of the retransmitted packet and the non-retransmitted packet may be reversed. Therefore, when the MAC processing unit sends the packet to the TCP layer in the order of reception completion, the TCP layer detects a packet sequence error, which causes a duplicate ACK and is eventually recognized as a packet loss. May occur. In particular, the higher the speed wireless environment, the higher the probability that the packet loss is recognized. To prevent this, the MAC layer uses a method of restoring the order of the packets and uploading them to the TCP layer. As such, when restoring the order of packets in the MAC layer, an improvement in TCP throughput may be expected compared to the case where the order of the packets is not restored.

하지만, 상기 MAC 계층에서의 순서 복원을 위해서는 재전송 시간과 패킷 오류율에 비례하는 버퍼 크기가 필요하고, 상기 패킷의 순서가 복원될 때까지 기다렸다가 한꺼번에 상위 계층으로 올려 보내기 위하여 빠른 계층 간 인터페이스 속도가 요구된다. 이는 무선망의 속도가 느릴 때는 큰 문제가 없으나 점점 무선망이 진화하여 속도가 빨라지면, 상기 필요한 버퍼 크기가 커지고 인터페이스 속도가 높아지게 되어 하나의 칩으로 구현하기 어려운 문제점이 있다. 또한, 파워 소모가 커지는 단점이 있다. However, in order to recover the order in the MAC layer, a buffer size proportional to retransmission time and packet error rate is required, and a fast inter-layer interface speed is required to wait until the order of the packet is restored and send it to the upper layer at once. . This is not a big problem when the speed of the wireless network is slow, but if the wireless network evolves faster and faster, the necessary buffer size is increased and the interface speed is high, which makes it difficult to implement a single chip. In addition, there is a disadvantage that the power consumption is increased.

또한, 상기 무선 링크상의 재전송 기법과 TCP 동작이 적절히 조화되지 않으면, 성능 저하를 유발하게 된다. 따라서, 상기 무선 링크상의 재전송을 담당하는 MAC 계층과 TCP 계층의 연계 동작을 통해 TCP 성능 저하를 방지할 수 있는 방법이 필요하다. In addition, if the retransmission scheme and the TCP operation on the radio link are not properly harmonized, performance degradation will occur. Therefore, there is a need for a method capable of preventing TCP performance degradation through a linkage operation between the MAC layer and the TCP layer that is responsible for retransmission on the wireless link.

본 발명의 목적은 이동통신 시스템의 수신 패킷 처리 장치 및 방법을 제공함에 있다. An object of the present invention is to provide an apparatus and method for receiving packet processing in a mobile communication system.

본 발명의 다른 목적은 이동통신 시스템에서 MAC 계층과 TCP 계층의 연계 동작을 통해 TCP 성능 저하를 방지할 수 있는 수신 패킷 처리 장치 및 방법을 제공함에 있다.Another object of the present invention is to provide an apparatus and a method for processing a received packet which can prevent TCP performance degradation through a linkage operation between a MAC layer and a TCP layer in a mobile communication system.

본 발명의 또 다른 목적은 이동통신 시스템의 MAC 계층에서 순서복원을 하지 않고 TCP 계층의 동작을 수정하여 TCP 성능 저하를 방지할 수 있는 수신 패킷 처리 장치 및 방법을 제공함에 있다.Another object of the present invention is to provide an apparatus and a method for processing a received packet which can prevent TCP performance degradation by modifying the operation of the TCP layer without performing an order restoration in the MAC layer of the mobile communication system.

상기 목적을 달성하기 위해 본 발명의 실시 예에 따르면, 이동통신 시스템에서 수신 패킷 처리 방법은, 수신되는 소정 개수의 프레임을 이용하여 해당 패킷을 복원하였을 시, MAC 처리부가 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하는 과정과, 상기 판단에 따라 MAC 처리부가 TCP 헤더의 하나의 구간을 이용하여 상기 복원된 패킷에 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보를 설정하고, 상기 복원된 패킷을 IP 처리부로 전송하는 과정을 포함하는 것을 특징으로 한다. According to an embodiment of the present invention to achieve the above object, the received packet processing method in a mobile communication system, when the packet is restored by using a predetermined number of frames received, the MAC processing unit retransmits the previous packet Determining whether to wait, and setting information indicating whether the MAC processor is waiting for retransmission for the previous packet to the restored packet using one section of the TCP header according to the determination, and restoring And transmitting the packet to the IP processor.

상기 목적을 달성하기 위해 본 발명의 실시 예에 따르면, 이동통신 시스템에서 수신 패킷 처리 장치는, 수신되는 소정 개수의 프레임을 이용하여 해당 패킷을 복원하였을 시, 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하고, 상기 판단에 따라 MAC 처리부가 TCP 헤더의 하나의 구간을 이용하여 상기 복원된 패킷에 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보를 설정하는 MAC 처리부와, 상기 MAC 처리부로부터 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보가 설정된 복원된 패킷을 수신하는 IP 처리부를 포함하는 것을 특징으로 한다.According to an embodiment of the present invention to achieve the above object, the reception packet processing apparatus in the mobile communication system, when restoring the packet using a predetermined number of frames received, whether or not waiting for retransmission for the previous packet; And a MAC processor for setting information indicating whether or not the MAC processor is waiting for retransmission for the previous packet to the restored packet using one section of the TCP header according to the determination; And an IP processor for receiving the restored packet in which information indicating whether to wait for retransmission for the previous packet is set.

이하 본 발명의 바람직한 실시 예를 첨부된 도면의 참조와 함께 상세히 설명한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. In the following description, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

이하, 본 발명은 이동통신 시스템의 수신 패킷 처리 장치 및 방법에 대해 설 명하기로 한다. Hereinafter, the present invention will be described with respect to a received packet processing apparatus and method of a mobile communication system.

도 1은 본 발명에 따른 이동통신 시스템의 수신 패킷 처리 장치의 구성을 도시한 블럭도이다. 상기 수신 패킷 처리 장치는 데이터를 수신하는 MAC 처리부(101), IP 처리부(103), TCP 처리부(105)를 포함하여 구성된다. 여기서, 상기 MAC 처리부(101)와 TCP 처리부(105)는 버퍼(107, 109)를 수반하며, 상기 버퍼(107, 109)는 외부 버퍼일 수도 있고 내부 버퍼일 수도 있다. 1 is a block diagram showing the configuration of a receiving packet processing apparatus of a mobile communication system according to the present invention. The received packet processing apparatus includes a MAC processing unit 101, an IP processing unit 103, and a TCP processing unit 105 for receiving data. Here, the MAC processing unit 101 and the TCP processing unit 105 may include buffers 107 and 109, and the buffers 107 and 109 may be external buffers or internal buffers.

상기 MAC 처리부(101)는 무선 링크로부터 수신되는 데이터로부터 IP 패킷을 복원하여 상기 IP 처리부(103)로 전달하고, 데이터 손실이 발생한 경우, 송신측 MAC 처리부(101)에 재전송을 요청한다. The MAC processing unit 101 restores the IP packet from the data received from the radio link and transfers the IP packet to the IP processing unit 103. When a data loss occurs, the MAC processing unit 101 requests retransmission to the transmitting MAC processing unit 101.

상기 IP 처리부(103)는 통상의 IP 계층 동작을 수행하며, 상기 MAC 처리부(101)로부터 전달받은 IP 패킷 헤더를 검사하고, 상기 IP 패킷 헤더를 제외한 TCP 데이터를 TCP 계층으로 전달한다. The IP processing unit 103 performs a normal IP layer operation, examines an IP packet header received from the MAC processing unit 101, and transmits TCP data excluding the IP packet header to the TCP layer.

상기 TCP 처리부(105)는 통상의 TCP 계층 동작을 수행하며, 상기 IP 처리부(103)로부터 상기 TCP 데이터를 전달받아 순서를 복원하여 TCP 헤더를 제외한 응용계층 데이터를 응용계층으로 전달한다. The TCP processing unit 105 performs a normal TCP layer operation, receives the TCP data from the IP processing unit 103, restores the order, and transfers application layer data excluding the TCP header to the application layer.

도 2는 본 발명의 실시 예에 따른 이동통신 시스템에서 MAC 처리부의 수신 패킷 처리 방법의 절차를 도시한 흐름도이다.2 is a flowchart illustrating a method of processing a received packet by a MAC processing unit in a mobile communication system according to an exemplary embodiment of the present invention.

상기 도 2를 참조하면, 상기 MAC 처리부(101)는 201단계에서 프레임이 수신되는지 검사한다. 상기 프레임이 수신되지 않을 시, 상기 MAC 처리부(101)는 221단계로 진행하여 해당 프레임의 타이머가 만료했는지 검사하고, 상기 해당 프레임의 타이머가 만료하지 않았을 시, 상기 201단계로 돌아가 상기 프레임이 수신되는지 검사한다. 상기 프레임의 타이머가 만료했을 시, 상기 MAC 처리부(101)는 223단계에서 해당 타이머에 만료 표시를 설정하고, 마찬가지로 상기 201단계로 돌아가 상기 프레임이 수신되는지 검사한다. Referring to FIG. 2, the MAC processor 101 checks whether a frame is received in step 201. If the frame is not received, the MAC processing unit 101 proceeds to step 221 and checks whether the timer of the frame has expired. If the timer of the frame has not expired, the process returns to step 201 to receive the frame. Check if it is. When the timer of the frame expires, the MAC processor 101 sets an expiration indication on the timer in step 223, and returns to step 201 to check whether the frame is received.

상기 201단계에서 상기 프레임이 수신될 시, 상기 MAC 처리부(101)는 203단계에서 상기 프레임의 타이머가 설정되어 있는지 검사한다. 상기 프레임의 타이머가 설정되어 있을 시, 상기 MAC 처리부(101)는 204단계에서 해당 타이머의 설정을 해제하고, 205단계로 진행하여 상기 프레임에 오류가 있는지 검사한다. 상기 프레임의 타이머가 설정되어 있지 않을 시, 상기 MAC 처리부(101)는 상기 205단계로 바로 진행하여 상기 프레임에 오류가 있는지 검사한다. When the frame is received in step 201, the MAC processor 101 checks whether the timer of the frame is set in step 203. When the timer of the frame is set, the MAC processing unit 101 releases the setting of the timer in step 204 and proceeds to step 205 to check whether there is an error in the frame. If the timer of the frame is not set, the MAC processing unit 101 proceeds directly to step 205 to check whether there is an error in the frame.

상기 프레임에 오류가 있을 시, 상기 MAC 처리부(101)는 225단계에서 송신측으로 해당 프레임에 대한 재전송을 요청하고, 해당 프레임의 타이머를 설정한 후, 상기 201단계로 돌아가 상기 프레임이 수신되는지 검사한다. 상기 프레임에 오류가 없을 시, 상기 MAC 처리부(101)는 207단계에서 해당 패킷의 복원을 시도하고, 상기 패킷이 복원되었는지 검사한다. 상기 패킷이 복원되지 않았을 시, 상기 MAC 처리부(101)는 201단계로 돌아가 다른 프레임이 수신되는지 검사한다. 여기서, 하나의 TCP/IP 패킷은 보통 무선링크 상에서 작은 프레임 단위로 쪼개져서 전송되며, 상기 MAC 처리부(101)는 상기 프레임을 수신하여 내부 버퍼(107)에 저장하였다가 하나의 TCP/IP 패킷에 해당하는 모든 프레임이 정상적으로 수신될 시, 해당 TCP/IP 패킷을 상위 계층으로 전송한다. 상기 패킷이 복원되었을 시, 상기 MAC 처리부(101)는 209 단계에서 상기 복원된 패킷에 타이머 만료 표시가 존재하는지 검사한다. 통상적으로 재전송을 기다리면서 타이머를 설정하기 때문에 상기 타이머 만료 표시가 존재한다는 것은 재전송을 기다리는 상황이 아니라는 의미이므로, 상기 타이머 만료 이후에 복원되는 TCP/IP 패킷의 WAIT 비트는 0으로 설정할 수 있다. If there is an error in the frame, the MAC processing unit 101 requests retransmission for the frame to the transmitter in step 225, sets a timer for the frame, and returns to step 201 to check whether the frame is received. . If there is no error in the frame, the MAC processing unit 101 attempts to restore the packet in step 207 and checks whether the packet is restored. If the packet is not recovered, the MAC processing unit 101 returns to step 201 to check whether another frame is received. Here, one TCP / IP packet is generally divided into small frame units on a wireless link and transmitted. The MAC processing unit 101 receives the frame and stores the frame in an internal buffer 107. When all the frames are normally received, the corresponding TCP / IP packet is transmitted to the upper layer. When the packet is restored, the MAC processing unit 101 checks whether a timer expiration indication is present in the restored packet in step 209. Since the timer expiration indication is present because the timer is set while waiting for retransmission, the WAIT bit of the TCP / IP packet restored after the timer expiration may be set to 0 because the timer expiration indication is not present.

상기 209단계에서 상기 복원된 패킷에 타이머 만료 표시가 존재하지 않을 시, 상기 MAC 처리부(101)는 215단계에서 이전 패킷의 일부 프레임에 대해 설정된 타이머가 존재하는지 검사한다. 즉, 이전 패킷의 일부 프레임에 대해 재전송을 기다리는 패킷이 있는지 검사한다. 상기 이전 프레임에 대해 설정된 타이머가 존재할 시, 상기 MAC 처리부(101)는 217단계에서 WAIT 비트를 1로 설정하고, 213단계로 진행하여 상기 복원된 패킷을 IP 처리부(105)로 전송한다. 이 경우, 상기 재전송을 기다리는 패킷 이후의 모든 패킷은 상기 WAIT 비트가 1로 설정한다. 상기 이전 프레임에 대해 설정된 타이머가 존재하지 않을 시, 즉 이전 패킷이 모두 복원되었을 시, 상기 MAC 처리부(101)는 219단계에서 상기 WAIT 비트를 0으로 설정하고, 상기 213단계로 진행하여 상기 복원된 패킷을 IP 처리부(105)로 전송한다. 여기서, 상기 WAIT 비트는 도 4의 TCP 헤더의 예비 구간(reserved) 여섯 비트 중 하나의 비트로 정의한다. When the timer expiration indication does not exist in the recovered packet in step 209, the MAC processor 101 checks whether a timer set for some frames of the previous packet exists in step 215. That is, it checks whether there is a packet waiting for retransmission for some frames of the previous packet. If there is a timer set for the previous frame, the MAC processor 101 sets the WAIT bit to 1 in step 217, and proceeds to step 213 to transmit the recovered packet to the IP processor 105. In this case, all packets after the packet waiting for retransmission have the WAIT bit set to one. When there is no timer set for the previous frame, that is, when all previous packets are restored, the MAC processing unit 101 sets the WAIT bit to 0 in step 219, and proceeds to step 213 to restore the restored packet. The packet is transmitted to the IP processing unit 105. Here, the WAIT bit is defined as one bit among six reserved bits of the TCP header of FIG. 4.

상기 209단계에서 상기 복원된 패킷에 타이머 만료 표시가 존재할 시, 상기 MAC 처리부(101)는 211단계에서 상기 WAIT 비트를 0으로 설정하고, 해당 프레임에 대한 타이머 만료 표시를 해제한 후, 상기 213단계로 진행하여 상기 복원된 패킷을 IP 처리부(105)로 전송한다. 이후, 상기 MAC 처리부(101)는 상기 201단계로 돌아가 상기 프레임이 수신되는지 검사한다. 이후, 상기 MAC 처리부(101)는 본 발명에 따른 알고리즘을 종료한다. When there is a timer expiration indication in the restored packet in step 209, the MAC processor 101 sets the WAIT bit to 0 in step 211, releases the timer expiration indication for the corresponding frame, and then in step 213. Proceeds to and transmits the restored packet to the IP processing unit 105. Thereafter, the MAC processing unit 101 returns to step 201 to check whether the frame is received. Thereafter, the MAC processing unit 101 terminates the algorithm according to the present invention.

도 3은 본 발명의 실시 예에 따른 이동통신 시스템에서 TCP 처리부의 수신 패킷 처리 방법의 절차를 도시한 흐름도이다.3 is a flowchart illustrating a procedure of a received packet processing method of a TCP processing unit in a mobile communication system according to an exemplary embodiment of the present invention.

상기 도 3을 참조하면, 상기 TCP 처리부(105)는 301단계에서 wait_tcp_flag를 0으로 초기화하고, 303단계에서 패킷이 수신되는지 검사한다. 여기서, 상기 wait_tcp_flag를 1로 설정한다는 것은 패킷의 순서 오류가 발생하더라도 더 이상 기다리지 말고 통상의 TCP 동작을 수행하라는 것을 의미한다. 상기 패킷이 수신될 시, 상기 TCP 처리부(105)는 305단계에서 상기 수신된 패킷의 순서에 오류가 있는지 검사한다. 즉, 기다리고 있는 패킷의 순서번호와 도착한 패킷의 순서번호가 다른지 검사한다.Referring to FIG. 3, the TCP processor 105 initializes wait_tcp_flag to 0 in step 301 and checks whether a packet is received in step 303. In this case, setting the wait_tcp_flag to 1 means to perform a normal TCP operation without waiting any longer even if a packet error occurs. When the packet is received, the TCP processing unit 105 checks whether there is an error in the order of the received packet in step 305. That is, it is checked whether the sequence number of the waiting packet is different from the sequence number of the arrived packet.

상기 수신된 패킷의 순서에 오류가 검사되지 않을 시, 즉, 기다리고 있는 패킷의 순서번호와 도착한 패킷의 순서번호가 같을 시, 상기 TCP 처리부(105)는 319단계에서 통상의 TCP 동작을 수행하고, 321단계로 진행하여 버퍼(109)가 비었는지 검사한다. 다시 말해, 상기 버퍼(109)에 저장하고 있는 패킷들의 순서번호가 연속되는 마지막 패킷까지 응용계층으로 전송하고, 상기 순서번호에 해당하는 ACK 패킷을 생성 및 송신측으로 전송한 후, 상기 버퍼(109)가 비었는지 검사한다. 상기 버퍼(109)가 비었을 시, 상기 TCP 처리부(105)는 323단계에서 상기 wait_tcp_flag를 0으로 초기화하고, 상기 303단계로 돌아가 패킷이 수신되는지 검사한다. 상기 버퍼(109)에 패킷이 남아있을 시, 상기 TCP 처리부(105)는 상기 wait_tcp_flag를 그대 로 유지하고, 상기 303단계로 돌아가 패킷이 수신되는지 검사한다. When an error is not checked in the order of the received packets, that is, when the sequence number of the waiting packet is the same as the sequence number of the arriving packet, the TCP processing unit 105 performs a normal TCP operation in step 319. In step 321, it is checked whether the buffer 109 is empty. In other words, the packet is transmitted to the application layer until the last packet in which the sequence numbers of the packets stored in the buffer 109 are continuous, and the ACK packet corresponding to the sequence number is generated and transmitted to the transmitting side. Check if it is empty. When the buffer 109 is empty, the TCP processing unit 105 initializes the wait_tcp_flag to 0 in step 323, and returns to step 303 to check whether a packet is received. When a packet remains in the buffer 109, the TCP processing unit 105 keeps the wait_tcp_flag as it is, and returns to step 303 to check whether a packet is received.

상기 수신된 패킷의 순서에 오류가 검사될 시, 즉, 기다리고 있는 패킷의 순서번호와 도착한 패킷의 순서번호가 다를 시, 상기 TCP 처리부(105)는 307단계에서 상기 수신된 패킷이 이미 수신한 패킷인지 검사한다. 여기서, 상기 수신된 패킷이 이미 수신한 패킷일 경우, 상기 패킷은 재전송된 패킷을 의미하고, 상기 패킷의 순서번호는 기다리고 있는 순서번호보다 작을 것이며, 상기 수신된 패킷이 이미 수신한 패킷이 아닐 경우, 상기 패킷의 순서번호는 기다리고 있는 순서번호보다 클 것이다. When an error is checked in the order of the received packets, that is, when the sequence number of the waiting packet and the sequence number of the arriving packet are different, the TCP processing unit 105 determines in step 307 that the packet has already been received. Check for cognition. Here, if the received packet is a packet already received, the packet means a retransmitted packet, the sequence number of the packet will be smaller than the waiting sequence number, if the received packet is not already received packet The sequence number of the packet will be greater than the sequence number waiting.

상기 수신된 패킷이 이미 수신된 패킷일 시, 즉, 상기 패킷의 순서번호가 기다리고 있는 순서번호보다 작을 시, 상기 TCP 처리부(105)는 309단계에서 통상의 TCP 동작을 수행하고, 상기 303단계로 돌아가 패킷이 수신되는지 검사한다. 이때, 상기 wait_tcp_falg는 그대로 유지한다. When the received packet is a received packet, that is, when the sequence number of the packet is smaller than the waiting sequence number, the TCP processing unit 105 performs a normal TCP operation in step 309, and proceeds to step 303. Go back and check that the packet is received. At this time, the wait_tcp_falg is maintained as it is.

상기 수신된 패킷이 이미 수신된 패킷이 이미 수신한 패킷이 아닐 시, 즉, 상기 패킷의 순서번호가 기다리고 있는 순서번호보다 클 시, 상기 TCP 처리부(105)는 311단계에서 상기 wait_tcp_falg가 1인지 검사하고, 상기 wait_tcp_flag가 1일 시, 상기 309단계로 진행하여 더 이상 기다리지 않고 통상의 TCP 동작을 수행한다. 이때, 상기 wait_tcp_falg는 그대로 유지한다. 상기 wait_tcp_flag가 0일 시, 상기 TCP 처리부(105)는 313에서 WAIT 비트가 1인지 검사한다. 즉, 상기 MAC 처리부(101)에 재전송을 기다리는 패킷이 있는지 검사한다. When the received packet is not a packet that has already been received, that is, a packet is larger than the waiting sequence number, the TCP processing unit 105 checks whether the wait_tcp_falg is 1 in step 311. When the wait_tcp_flag is 1 day, the process proceeds to step 309 and performs normal TCP operation without waiting. At this time, the wait_tcp_falg is maintained as it is. When the wait_tcp_flag is 0, the TCP processor 105 checks whether the WAIT bit is 1 at 313. That is, the MAC processing unit 101 checks whether there is a packet waiting for retransmission.

상기 WAIT 비트가 1일 시, 상기 TCP 처리부(105)는 317단계에서 상기 패킷을 상기 버퍼(109)에 저장하고, 상기 303단계로 진행하여 패킷이 수신되는지 검사한다. 이때, 상기 패킷에 대한 ACK 패킷은 생성하지 않는다. 상기 WAIT 비트가 0일 시, 상기 TCP 처리부(105)는 MAC 계층의 재전송 실패로 인한 TCP 재전송이 필요하므로 315단계에서 상기 wait_tcp_flag를 1로 설정하고, 상기 수신된 패킷을 상기 버퍼(109)에 저장하며, 상기 버퍼(109)에 저장되어 있는 패킷 수만큼의 ACK 패킷을 생성 및 송신측으로 전송한 후, 상기 303단계로 돌아가 패킷이 수신되는지 검사한다. 여기서, 상기 ACK 패킷들의 ack 번호는 현재 기다리고 있는 순서번호이다. 이후, 상기 TCP 처리부(105)는 본 발명에 따른 알고리즘을 종료한다. When the WAIT bit is 1, the TCP processing unit 105 stores the packet in the buffer 109 in step 317, and proceeds to step 303 to check whether a packet is received. At this time, the ACK packet for the packet is not generated. When the WAIT bit is 0, the TCP processing unit 105 needs TCP retransmission due to the retransmission failure of the MAC layer, so in step 315, the wait_tcp_flag is set to 1 and the received packet is stored in the buffer 109. After generating and transmitting ACK packets corresponding to the number of packets stored in the buffer 109, the process returns to step 303 to check whether packets are received. Here, the ack numbers of the ACK packets are currently waiting sequence numbers. Thereafter, the TCP processing unit 105 terminates the algorithm according to the present invention.

예를 들어, MAC 처리부(101)가 순서번호 1,2,4,3의 순서로 패킷을 복원하는 경우, 즉 3번 패킷에 대해 재전송을 기다리는 동안 4번 패킷이 복원된 경우, 상기 MAC 처리부(101)는 상기 4번 패킷의 WAIT 비트를 1로 설정하여 상기 TCP 처리부(105)로 전송한다. 이때, 상기 TCP 처리부(105)는 2번 패킷 다음에 상기 4번 패킷이 도착하여 순서오류를 감지하게 되며, 이때, 상기 4번 패킷의 WAIT 비트가 1이므로, 상기 ACK 패킷을 생성하지 않고 상기 4번 패킷을 버퍼(109)에 저장한다. For example, when the MAC processing unit 101 restores packets in the order of sequence numbers 1,2,4,3, that is, when packet 4 is restored while waiting for retransmission for packet 3, the MAC processing unit ( 101 sets the WAIT bit of the 4th packet to 1 and transmits the WAIT bit to the TCP processing unit 105. At this time, the TCP processing unit 105 detects an order error by the arrival of packet 4 after packet 2, and at this time, since the WAIT bit of the packet 4 is 1, the TCP processor 105 does not generate the ACK packet. The second packet is stored in the buffer 109.

이후, 상기 MAC 처리부(101)가 상기 3번 패킷을 재전송을 통해 수신하고, 상기 수신된 3번 패킷을 복원한 후, 상기 3번 패킷의 WAIT 비트를 0으로 설정하여 상기 TCP 처리부(105)로 전송한다. 이때, 상기 TCP 처리부(105)는 상기 3번 패킷을 상기 버퍼(109)에 저장하고, 3,4번 순서대로 응용계층으로 전송한 후, TCP ACK 패킷을 생성 및 송신측으로 전송한다.Thereafter, the MAC processing unit 101 receives the third packet through retransmission, restores the received third packet, and sets the WAIT bit of the third packet to 0 to the TCP processing unit 105. send. In this case, the TCP processing unit 105 stores the packet 3 in the buffer 109, transmits the packet 3 to the application layer in order 3, 4, and then generates a TCP ACK packet to the generating and transmitting side.

또 다른 예로, MAC 처리부(101)가 순서번호 1,2,4,3의 순서로 패킷의 복원을 시도하는데 상기 3번 패킷에 대한 재전송이 실패하고 5번 패킷이 복원된 경우, 즉 3번 패킷에 대한 재전송 타이머가 만료되어 재전송이 실패한 상황에서 5번 패킷이 복원되는 경우, 상기 MAC 처리부(101)는 상기 4번 패킷의 WAIT 비트를 1로 설정하여 상기 TCP 처리부(105)로 전송한다. 이때, 상기 TCP 처리부(105)는 2번 패킷 다음에 상기 4번 패킷이 도착하여 순서오류를 감지하게 되며, 이때, 상기 4번 패킷의 WAIT 비트가 1이므로, 상기 ACK 패킷을 생성하지 않고 상기 4번 패킷을 버퍼(109)에 저장한다. As another example, when the MAC processing unit 101 attempts to restore packets in the order of sequence numbers 1,2, 4, and 3, retransmission fails for packet 3 and packet 5 is restored, that is, packet 3 When packet 5 is restored in a situation in which retransmission fails for the retransmission timer for, the MAC processing unit 101 sets the WAIT bit of the 4 packet to 1 and transmits the packet to the TCP processing unit 105. At this time, the TCP processing unit 105 detects an order error by the arrival of packet 4 after packet 2, and at this time, since the WAIT bit of the packet 4 is 1, the TCP processor 105 does not generate the ACK packet. The second packet is stored in the buffer 109.

이후, 상기 MAC 처리부(101)는 상기 3번 패킷의 재전송에 대한 타이머 만료 표시를 설정하고, 상기 5번 패킷을 복원하여 상기 TCP 처리부(105)로 전송할 시, 상기 타이머 만료 표시가 설정되어 있으므로 WAIT 비트를 0으로 설정하여 전송한다. 이때, 상기 TCP 처리부(105)는 기다리던 3번 패킷이 아닌 5번 패킷이 도착하므로 순서오류를 감지하게 되며, 이때, 상기 5번 패킷의 WAIT 비트가 0이므로, 더 이상 기다리지 않고 상기 wait_tcp_flag를 1로 설정하고, 상기 버퍼(109)에 저장되어 있는 4번 패킷과 방금 도착한 5번 패킷에 해당하는 두 개의 TCP ACK 패킷을 생성하여 송신측으로 전송한다. Thereafter, the MAC processor 101 sets a timer expiration indication for retransmission of the third packet, and restores the packet # 5 to the TCP processing unit 105 when the timer expiration indication is set. Send with bit set to 0. In this case, the TCP processing unit 105 detects an order error because packet 5 arrives instead of packet 3, and the wait_tcp_flag is set to 1 because the WAIT bit of packet 5 is 0. In this case, two TCP ACK packets corresponding to packet # 4 and packet # 5 stored in the buffer 109 are generated and transmitted to the sender.

도 5는 기존 기술과 본 발명에 따른 기술에 대한 TCP 성능을 비교한 그래프이다. 통상의 무선망에서와 같이, 재전송 실패 확률이 10-4 정도 또는 그 이하로 작은 상황이라면, 본 발명에 따른 기술은 MAC 계층에서 순서복원을 하는 종래의 기술과 거의 동일한 성능을 가진다. 또한, 상기 도 5와 같이, 상기 재전송 실패확률이 10-3 오더의 큰 상황일 시, 상기 MAC 계층이 순서복원을 하는 종래 기술의 경우(5a), 평균 3.7Mbps의 성능을 나타내며, 상기 MAC 계층이 순서복원을 하지 않는 본 발명에 따른 기술(5b)의 경우, 평균 3.4Mbps의 성능을 나타내는 것을 알 수 있다. 다시 말해, 큰 성능의 차이가 없음을 알 수 있다. 5 is a graph comparing TCP performance of the existing technology and the technology according to the present invention. If the probability of retransmission failure is as low as about 10 -4 or less, as in a conventional wireless network, the technique according to the present invention has almost the same performance as the conventional technique of order restoration in the MAC layer. In addition, as shown in FIG. 5, when the probability of retransmission failure is a large order of 10-3 orders, in the prior art in which the MAC layer performs order restoration (5a), the MAC layer exhibits an average performance of 3.7 Mbps. In the case of the technique 5b according to the present invention which does not perform this order restoration, it can be seen that the average performance is 3.4 Mbps. In other words, it can be seen that there is no significant difference in performance.

여기서, 본 발명에 따른 예는 TCP 통신을 주로 하는 서버와 무선망의 MAC 계층을 처리하는 기지국에도 적용 가능하며, 특히, TCP 송신측은 변경이 필요없고, 수신측만 변경하면 되므로, 다운로드 동작을 주로 하는 무선 단말기에 적용하면 효과적이다.Here, the example according to the present invention is also applicable to a server mainly performing TCP communication and a base station processing a MAC layer of a wireless network. In particular, the TCP transmitter does not need to be changed, and only the receiver needs to be changed. It is effective when applied to a wireless terminal.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments, but is capable of various modifications within the scope of the invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by the equivalents of the claims.

상술한 바와 같이, 본 발명은 이동통신 시스템에서 MAC 계층과 TCP 계층의 연계 동작을 통해 TCP 성능 저하를 방지할 수 있는 수신 패킷 처리 장치 및 방법을 제공함으로써, MAC 계층에서 순서복원을 하지 않고도 TCP 계층의 동작을 수정하여 MAC 계층에서 순서복원을 하는 경우와 거의 동일한 성능을 기대할 수 있으며, MAC 처리부가 순서복원을 하지 않기 때문에 상기 MAC 처리부에 필요한 버퍼크기와 상위 계층과의 인터페이스 속도를 줄여 구현을 쉽도록 하는 이점이 있다. 또한, 재전송을 얼마나 오래 기다릴 것인지 표시하기 위한 타이머는 상기 MAC 처리부가 기본적으로 관리하고 있으므로, TCP 처리부는 타이머 관리를 할 필요가 없어서 구현 복잡도가 그리 크지 않은 이점이 있다. As described above, the present invention provides a receiving packet processing apparatus and method that can prevent the TCP performance degradation through the interworking operation of the MAC layer and the TCP layer in the mobile communication system, the TCP layer without having to restore the order in the MAC layer You can expect the same performance as the case of order restoration in the MAC layer by modifying the operation of, and since the MAC processor does not perform order restoration, it is easy to implement by reducing the buffer size required for the MAC processor and the interface speed with the upper layer. There is an advantage to this. In addition, since the MAC processor basically manages the timer for indicating how long to wait for retransmission, the TCP processor does not need to manage the timer, so there is an advantage that the implementation complexity is not so great.

Claims (14)

이동통신 시스템에서 수신 패킷 처리 방법에 있어서, In the received packet processing method in a mobile communication system, 수신되는 소정 개수의 프레임을 이용하여 해당 패킷을 복원하였을 시, MAC 처리부가 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하는 과정과,Determining whether the MAC processor waits for retransmission of a previous packet when restoring the packet by using a predetermined number of frames received; 상기 판단에 따라 MAC 처리부가 TCP 헤더의 하나의 구간을 이용하여 상기 복원된 패킷에 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보를 설정하고, 상기 복원된 패킷을 IP 처리부로 전송하는 과정을 포함하는 것을 특징으로 하는 방법. Setting, by the MAC processor, information indicating whether the previous packet is waiting for retransmission to the restored packet by using one section of the TCP header, and transmitting the restored packet to the IP processing unit according to the determination. Method comprising a. 제 1 항에 있어서,The method of claim 1, 특정 프레임에 오류가 감지될 시, 상기 MAC 처리부가 해당 프레임에 대한 재전송을 요청하고, 상기 프레임에 대한 타이머를 설정하는 과정과, When an error is detected in a specific frame, the MAC processor requesting retransmission for the frame and setting a timer for the frame; 상기 타이머가 만료될 시, 상기 MAC 처리부가 해당 타이머의 만료 표시를 설정하는 과정을 더 포함하는 것을 특징으로 하는 방법. And when the timer expires, setting the expiration indication of the timer by the MAC processor. 제 2 항에 있어서,The method of claim 2, 상기 패킷을 복원하였을 시, 상기 MAC 처리부가 상기 복원된 패킷에 타이머 만료 표시가 설정되어 있는지 검사하는 과정과,When the packet is restored, checking, by the MAC processor, whether a timer expiration indication is set in the restored packet; 상기 복원된 패킷에 타이머 만료 표시가 설정되어 있지 않을 시, 상기 MAC 처리부가 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하는 과정과,Determining whether the MAC processor waits for retransmission of a previous packet when a timer expiration indication is not set in the restored packet; 상기 복원된 패킷에 타이머 만료 표시가 설정되어 있을 시, 상기 MAC 처리부가 상기 구간을 이용하여 상기 이전의 패킷에 대해 재전송을 기다리고 있지 않음을 설정하고, 해당 타이머의 만료 표시를 해제한 후, 상기 복원된 패킷을 상기 IP 처리부로 전송하는 과정을 더 포함하는 것을 특징으로 하는 방법. When the timer expiration indication is set in the restored packet, the MAC processing unit sets that the previous packet is not waiting for retransmission by using the interval, releases the expiration indication of the corresponding timer, and then restores. And transmitting the packet to the IP processing unit. 제 1 항에 있어서,The method of claim 1, 상기 IP 처리부가 상기 MAC 처리부로부터 전달받은 IP 패킷 헤더를 검사하고, 상기 IP 패킷 헤더를 제외한 TCP 패킷을 TCP 계층으로 전달하는 과정을 더 포함하는 것을 특징으로 하는 방법. And inspecting, by the IP processing unit, an IP packet header received from the MAC processing unit, and delivering a TCP packet except the IP packet header to a TCP layer. 제 4 항에 있어서,5. The method of claim 4, 상기 IP 처리부로부터 TCP 패킷이 수신될 시, TCP 처리부가 TCP 헤더의 순서번호를 이용하여 상기 패킷의 순서에 오류가 있는지 검사하는 과정과,When the TCP packet is received from the IP processor, checking whether the packet is in error by using the sequence number of the TCP header; 상기 패킷의 순서에 오류가 감지될 시, 상기 TCP 처리부가 상기 패킷의 헤더를 이용하여 이전의 패킷에 대해 상기 MAC 처리부가 재전송을 기다리고 있는지 여부를 검사하는 과정과,When an error is detected in the order of the packet, checking, by the TCP processor, whether the MAC processor is waiting for retransmission for a previous packet by using the header of the packet; 상기 MAC 처리부가 재전송을 기다리고 있음이 검사될 시, 상기 TCP 처리부가 상기 패킷을 버퍼에 저장하고, ACK 패킷을 생성하지 않는 과정을 더 포함하는 것을 특징으로 하는 방법.And when the MAC processor is checked that it is waiting for retransmission, storing the packet in a buffer and not generating an ACK packet. 제 5 항에 있어서,6. The method of claim 5, 상기 MAC 처리부가 재전송을 기다리고 있지 않음이 검사될 시, 상기 TCP 처리부가 상기 패킷을 버퍼에 저장하고, 상기 버퍼에 있는 패킷 수 만큼의 ACK 패킷을 생성하는 과정을 더 포함하는 것을 특징으로 하는 방법.And when the MAC processor is checked that it is not waiting for retransmission, the TCP processor storing the packet in a buffer and generating ACK packets as many as the number of packets in the buffer. 제 5 항에 있어서,6. The method of claim 5, 상기 패킷의 순서에 오류가 감지될 시, 상기 TCP 처리부가 상기 패킷이 이미 수신된 패킷인지 검사하고, 상기 패킷이 이미 수신된 패킷일 시, 통상의 TCP 동작을 수행하며, 상기 패킷이 이미 수신된 패킷이 아닐 시, 상기 패킷의 헤더를 이용하여 이전의 패킷에 대해 상기 MAC 처리부가 재전송을 기다리고 있는지 여부를 검사하는 과정과,When an error is detected in the order of the packet, the TCP processor checks whether the packet is already received, performs a normal TCP operation when the packet is already received, and receives the packet. When the packet is not a packet, checking whether the MAC processor is waiting for retransmission of a previous packet by using the header of the packet; 상기 패킷의 순서에 오류가 감지되지 않을 시, 상기 TCP 처리부가 통상의 TCP 동작을 수행하는 과정을 더 포함하는 것을 특징으로 하는 방법.And when the error is not detected in the order of the packet, performing the normal TCP operation by the TCP processing unit. 이동통신 시스템에서 수신 패킷 처리 장치에 있어서, In the received packet processing apparatus in a mobile communication system, 수신되는 소정 개수의 프레임을 이용하여 해당 패킷을 복원하였을 시, 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하고, 상기 판단에 따라 MAC 처리부가 TCP 헤더의 하나의 구간을 이용하여 상기 복원된 패킷에 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보를 설정하는 MAC 처리부와,When restoring the packet using a predetermined number of frames received, it is determined whether a previous packet is waiting for retransmission, and according to the determination, the MAC processor uses one section of the TCP header to restore the packet. A MAC processing unit for setting information indicating whether to wait for retransmission for the previous packet at 상기 MAC 처리부로부터 상기 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 나타내는 정보가 설정된 복원된 패킷을 수신하는 IP 처리부를 포함하는 것을 특징으로 하는 장치. And an IP processing unit for receiving the restored packet in which information indicating whether to wait for retransmission for the previous packet is set from the MAC processing unit. 제 8 항에 있어서,9. The method of claim 8, 상기 MAC 처리부는, 특정 프레임에 오류가 감지될 시, 해당 프레임에 대한 재전송을 요청하고, 상기 프레임에 대한 타이머를 설정하고, 상기 타이머가 만료될 시, 해당 타이머의 만료 표시를 설정하는 것을 특징으로 하는 장치. The MAC processor, when an error is detected in a specific frame, requests retransmission for the frame, sets a timer for the frame, and sets an expiration indication of the timer when the timer expires. Device. 제 9 항에 있어서,The method of claim 9, 상기 MAC 처리부는, 상기 패킷을 복원하였을 시, 상기 복원된 패킷에 타이머 만료 표시가 설정되어 있는지 검사하고,When the MAC processor restores the packet, the MAC processor determines whether a timer expiration indication is set in the restored packet. 상기 복원된 패킷에 타이머 만료 표시가 설정되어 있지 않을 시, 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 판단하며, When a timer expiration indication is not set in the restored packet, it is determined whether a retransmission is waiting for a previous packet, 상기 복원된 패킷에 타이머 만료 표시가 설정되어 있을 시, 상기 구간을 이용하여 상기 이전의 패킷에 대해 재전송을 기다리고 있지 않음을 설정하고, 해당 타이머의 만료 표시를 해제한 후, 상기 복원된 패킷을 상기 IP 처리부로 전송하는 것을 특징으로 하는 장치. When a timer expiration indication is set in the restored packet, the interval is set to not wait for retransmission for the previous packet by using the interval, the expiration indication of the corresponding timer is released, and then the restored packet is read. Device for transmitting to the IP processing unit. 제 8 항에 있어서,9. The method of claim 8, 상기 IP 처리부는, 상기 MAC 처리부로부터 전달받은 IP 패킷 헤더를 검사하고, 상기 IP 패킷 헤더를 제외한 TCP 패킷을 TCP 처리부로 전달하는 것을 특징으로 하는 장치. The IP processing unit, characterized in that for inspecting the IP packet header received from the MAC processing unit, and delivers the TCP packet except the IP packet header to the TCP processing unit. 제 11 항에 있어서,The method of claim 11, 상기 IP 처리부로부터 TCP 패킷이 수신될 시, TCP 헤더의 순서번호를 이용하여 상기 패킷의 순서에 오류가 있는지 검사하고, 상기 패킷의 순서에 오류가 감지될 시, 상기 패킷의 헤더를 이용하여 이전의 패킷에 대해 상기 MAC 처리부가 재전송을 기다리고 있는지 여부를 검사하고, 상기 MAC 처리부가 재전송을 기다리고 있음이 검사될 시, 상기 패킷을 버퍼에 저장하고, ACK 패킷을 생성하지 않는 상기 TCP 처리부를 더 포함하는 것을 특징으로 하는 장치.When a TCP packet is received from the IP processing unit, the TCP header sequence number is used to check whether there is an error in the sequence of the packet, and when an error is detected in the sequence of the packet, the previous packet is determined using the header of the packet. The packet processing unit further checks whether the MAC processing unit is waiting for retransmission, and when the MAC processing unit is waiting for retransmission, stores the packet in a buffer and does not generate an ACK packet. Device characterized in that. 제 12 항에 있어서,13. The method of claim 12, 상기 TCP 처리부는, 상기 MAC 처리부가 재전송을 기다리고 있지 않음이 검사될 시, 상기 패킷을 버퍼에 저장하고, 상기 버퍼에 있는 패킷 수 만큼의 ACK 패킷을 생성하는 것을 특징으로 하는 장치.And when the TCP processing unit determines that the MAC processing unit is not waiting for retransmission, stores the packets in a buffer and generates ACK packets as many as the number of packets in the buffer. 제 12 항에 있어서,13. The method of claim 12, 상기 TCP 처리부는, 상기 패킷의 순서에 오류가 감지될 시, 상기 패킷이 이미 수신된 패킷인지 검사하고, 상기 패킷이 이미 수신된 패킷일 시, 통상의 TCP 동작을 수행하며,When the TCP processor detects an error in the order of the packets, the TCP processor checks whether the packets are already received, and when the packets are already received, performs a normal TCP operation. 상기 패킷이 이미 수신된 패킷이 아닐 시, 상기 MAC 처리부가 상기 패킷의 헤더를 이용하여 이전의 패킷에 대해 재전송을 기다리고 있는지 여부를 검사하고, 상기 패킷의 순서에 오류가 감지되지 않을 시, 통상의 TCP 동작을 수행하는 것을 특징으로 하는 장치.When the packet is not a packet already received, the MAC processing unit checks whether the packet is waiting for retransmission for a previous packet by using the header of the packet, and when an error is not detected in the order of the packet, Device for performing a TCP operation.
KR1020060016145A 2006-02-20 2006-02-20 Apparatus and method for processing of received packets in mobile communication system KR101298544B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060016145A KR101298544B1 (en) 2006-02-20 2006-02-20 Apparatus and method for processing of received packets in mobile communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060016145A KR101298544B1 (en) 2006-02-20 2006-02-20 Apparatus and method for processing of received packets in mobile communication system

Publications (2)

Publication Number Publication Date
KR20070082987A KR20070082987A (en) 2007-08-23
KR101298544B1 true KR101298544B1 (en) 2013-09-16

Family

ID=38612445

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060016145A KR101298544B1 (en) 2006-02-20 2006-02-20 Apparatus and method for processing of received packets in mobile communication system

Country Status (1)

Country Link
KR (1) KR101298544B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030067556A (en) * 2002-02-07 2003-08-14 삼성전자주식회사 Apparatus for transmitting/receiving serving high speed-shared common control channel in communication system using high speed downlink packet access scheme and method thereof
KR100424456B1 (en) 2001-07-20 2004-03-26 삼성전자주식회사 Method for driving re-transmission timer in mobile communication system using radio link protocol
KR20060005634A (en) * 2004-07-13 2006-01-18 삼성전자주식회사 Retransmission Control Method and Device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100424456B1 (en) 2001-07-20 2004-03-26 삼성전자주식회사 Method for driving re-transmission timer in mobile communication system using radio link protocol
KR20030067556A (en) * 2002-02-07 2003-08-14 삼성전자주식회사 Apparatus for transmitting/receiving serving high speed-shared common control channel in communication system using high speed downlink packet access scheme and method thereof
KR20060005634A (en) * 2004-07-13 2006-01-18 삼성전자주식회사 Retransmission Control Method and Device

Also Published As

Publication number Publication date
KR20070082987A (en) 2007-08-23

Similar Documents

Publication Publication Date Title
Balakrishnan et al. Explicit loss notification and wireless web performance
JP3763741B2 (en) Packet discard notification for semi-reliable retransmission protocol
KR100827969B1 (en) Apparatus and method for operating automatic repeat request in a broadband wireless access communication system
US7746786B2 (en) Retransmission control method and device
KR100787294B1 (en) TPC performance improving device of mobile communication base station
US7149181B2 (en) Apparatus and method for re-transmitting erroneous packet data
US20060251105A1 (en) Method and apparatus for requesting/transmitting status report of a mobile communication system
US20040052234A1 (en) Method and system for dispatching multiple TCP packets from communication systems
US20090319850A1 (en) Local drop control for a transmit buffer in a repeat transmission protocol device
US20070064631A1 (en) Method and apparatus for transmitting signaling data messages in a wireless communications system
KR20040015672A (en) Method for handling timers after an rlc reset or re-establishment in a wireless communications system
JPH11243419A (en) TCP layer rate control method
Wong et al. Improving end-to-end performance of TCP using link-layer retransmissions over mobile internetworks
US20050094632A1 (en) DOCSIS MAC layer-based ARQ for fixed wireless
KR20060079570A (en) Apparatus and method for retransmitting data in communication system
JP3953343B2 (en) Wireless packet communication device and wireless packet communication method
CN107959554A (en) The repeating method and device of a kind of data
KR101298544B1 (en) Apparatus and method for processing of received packets in mobile communication system
JP2007324700A (en) Transmission control method
CN116963175A (en) Data transmission method, device and system
WO2004107777A1 (en) The triggering method of radio link layer transmitting window controlling information
KR20050013777A (en) Method for controlling congestion of TCP for reducing the number of retransmission timeout
JP4503408B2 (en) Data communication device
WO2004112407A1 (en) A method of controlling radio link layer send window
KR20010094288A (en) Method for transmitting/receiving message in the inter-processor communication apparatus

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20060220

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20110221

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20060220

Comment text: Patent Application

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

Comment text: Notification of reason for refusal

Patent event date: 20120717

Patent event code: PE09021S01D

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

Comment text: Notification of reason for refusal

Patent event date: 20121120

Patent event code: PE09021S01D

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

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20130515

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20130814

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20130816

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
FPAY Annual fee payment

Payment date: 20160728

Year of fee payment: 4

PR1001 Payment of annual fee

Payment date: 20160728

Start annual number: 4

End annual number: 4

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

Termination category: Default of registration fee

Termination date: 20190525