KR20080092800A - Method and apparatus for collective byte alignment in mobile communication system - Google Patents
Method and apparatus for collective byte alignment in mobile communication system Download PDFInfo
- Publication number
- KR20080092800A KR20080092800A KR1020070036668A KR20070036668A KR20080092800A KR 20080092800 A KR20080092800 A KR 20080092800A KR 1020070036668 A KR1020070036668 A KR 1020070036668A KR 20070036668 A KR20070036668 A KR 20070036668A KR 20080092800 A KR20080092800 A KR 20080092800A
- Authority
- KR
- South Korea
- Prior art keywords
- protocol
- header
- byte alignment
- collective
- data unit
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/02—Data link layer protocols
Abstract
Description
도 1은 종래의 집합적 바이트 정렬 방식을 도시한 도면.1 illustrates a conventional collective byte alignment scheme.
도 2는 LTE의 제 1 계층 및 제 2 계층 프로토콜 구조와 PDU 구조를 도시한 도면.2 is a diagram illustrating a first layer and a second layer protocol structure and a PDU structure of LTE.
도 3은 본 발명의 바람직한 제 1 실시예의 전체 동작을 설명하기 위한 신호 흐름도. 3 is a signal flowchart for explaining the overall operation of the first preferred embodiment of the present invention.
도 4는 본 발명의 바람직한 제 1 실시예에서 집합적 바이트 정렬 패딩을 부가한 MAC sub-PDU의 구조를 도시한 도면. 4 illustrates the structure of a MAC sub-PDU with collective byte alignment padding in the first preferred embodiment of the present invention.
도 5는 본 발명의 바람직한 제 1 실시예에 따른 송신 장치의 동작을 설명하기 위한 신호 흐름도. 5 is a signal flowchart for explaining the operation of the transmitting apparatus according to the first preferred embodiment of the present invention.
도 6은 본 발명의 바람직한 제 1 실시예에 따른 수신 장치의 동작을 설명하기 위한 신호 흐름도. 6 is a signal flowchart for explaining the operation of the receiving apparatus according to the first embodiment of the present invention.
도 7은 본 발명의 바람직한 2 실시예에서 집합적 바이트 정렬 패딩을 부가한 MAC PDU의 구조를 도시한 도면. FIG. 7 illustrates the structure of a MAC PDU with aggregated byte alignment padding in a preferred embodiment of the present invention. FIG.
도 8은 본 발명의 바람직한 2 실시예에 따른 송신 장치의 동작을 설명하기 위한 신호 흐름도.8 is a signal flowchart for explaining the operation of the transmitting apparatus according to the second preferred embodiment of the present invention.
도 9는 본 발명의 바람직한 2 실시예에 따른 수신 장치의 동작을 설명하기 위한 신호 흐름도.9 is a signal flowchart for explaining an operation of a receiving apparatus according to a second preferred embodiment of the present invention.
도 10은 본 발명에 따른 송신 장치의 구조를 도시한 도면.10 is a diagram showing the structure of a transmitting device according to the present invention;
도 11은 본 발명에 따른 수신 장치의 구조를 도시한 도면.11 is a diagram showing the structure of a receiving apparatus according to the present invention.
본 발명은 이동 통신 시스템에서 헤더의 크기를 바이트 정렬하는 방법 및 장치에 관한 것으로, 특히 2개 이상의 계층 구조를 갖는 이동 통신 시스템에서 각 계층 구조에서 생성되는 헤더의 크기를 집합적으로 바이트에 정렬시키는 방법 및 장치에 관한 것이다. The present invention relates to a method and apparatus for byte-aligning the size of a header in a mobile communication system, and more particularly, to a method in which a size of a header generated in each hierarchical structure is collectively aligned in bytes in a mobile communication system having two or more hierarchical structures. A method and apparatus are disclosed.
일반적으로 헤더의 크기를 바이트 정렬시킨다는 의미는 바이트 정렬되지 않은 헤더에 바이트 정렬을 위한 패딩을 부가하는 것을 의미한다. 이동 통신 시스템이 고속화될수록 헤더의 크기를 바이트 정렬(byte alignment)하여 프로세싱 부하를 줄이는 것이 중요하다. In general, aligning the size of a header means adding padding for byte alignment to a header that is not byte aligned. As mobile communication systems become faster, it is important to reduce the processing load by byte-aligning the size of the header.
한편, 하나의 이동 통신 시스템에는 여러 개의 프로토콜 계층들이 존재하며, 상기 프로토콜 계층 별로 헤더의 크기를 바이트 정렬하는 것은 프로토콜 계층 별로 의미없는 데이터인 패딩 비트가 부가된다는 측면에서 과다한 오버헤드를 초래하는 문제점이 있다. 예를 들어, 임의의 이동 통신 시스템에 X와 Y라는 2 개의 프로토콜 계층이 구비되어 있을 때, X 프로토콜 계층에서 발생하는 헤더에는 X 프로토콜 고 유의 헤더 필드들이 수납되며, 이들 헤더 필드들의 크기의 합은 예를 들어, 3 바이트 4비트가 되어 바이트 단위로 정렬되지 않을 수 있다. 이 경우 송신측은 헤더 필드의 뒷 부분에 소정의 크기의 바이트 정렬 패딩(byte alignment padding)을 삽입함으로써 X 프로토콜 계층의 헤더 크기를 바이트 정렬시킨다. 상기 바이트 정렬 패딩의 크기는 하기의 <수학식 1>에 의해 유도된다. On the other hand, there are several protocol layers in one mobile communication system, and the byte alignment of the header size for each protocol layer causes excessive overhead in terms of adding padding bits, which are meaningless data for each protocol layer. have. For example, when any mobile communication system is equipped with two protocol layers X and Y, headers generated in the X protocol layer contain X protocol-specific header fields, and the sum of the sizes of these header fields is For example, three bytes and four bits may not be aligned by byte. In this case, the sender byte-aligns the header size of the X protocol layer by inserting byte alignment padding of a predetermined size in the rear part of the header field. The size of the byte alignment padding is derived by
상기 <수학식 1>에서 header size x는 x 프로토콜 계층에서 부가되는 헤더의 크기이다. 상술한 예에서와 같이 헤더 필드들의 크기의 합이 3 바이트 4 비트일 경우, header size x는 4 비트가 된다.In
Y 프로토콜 계층에서도 Y 프로토콜 고유의 헤더 필드들이 부가되며, 만약 상기 헤더 필드들의 크기의 합이 바이트 단위가 아니라면, 바이트 정렬 패딩이 삽입되어서 상기 헤더 크기가 바이트 정렬된다. The Y protocol-specific header fields are also added in the Y protocol layer, and if the sum of the sizes of the header fields is not in bytes, byte alignment padding is inserted so that the header size is byte aligned.
상술한 바와 같이 패딩이란 의미없는 비트의 나열이므로 가능한한 최소화되는 것이 바람직하므로 프로토콜 계층 별로 헤더를 바이트 정렬하는 것은 바람직하지 않다. As described above, since padding is a sequence of meaningless bits, it is preferable to minimize them as much as possible, so it is not desirable to byte-align headers according to protocol layers.
OFDM을 이용한 차세대 이동 통신 시스템인 LTE(Long Term Evolution)의 표준화를 진행하고 있는 3GPP에서는 상기 문제점을 극복하기 위해서, 여러 프로토콜 계층들의 헤더에 대해서 집합적으로 바이트 정렬하는 방안이 논의 중이다. In 3GPP, which is progressing standardization of Long Term Evolution (LTE), a next-generation mobile communication system using OFDM, in order to overcome the above problem, a method of collectively byte-aligning headers of various protocol layers is under discussion.
이에 대해 도 1에 도시된 LTE 이동 통신 시스템의 2 계층 프로토콜은 RLC(Radio Link Control)와 MAC(Medium Access Control)로 구성도를 참조하여 좀 더 상세히 설명하기로 한다. The two-layer protocol of the LTE mobile communication system illustrated in FIG. 1 will be described in more detail with reference to a configuration diagram of RLC (Radio Link Control) and MAC (Medium Access Control).
도 1을 참조하면, RLC 헤더(110)와 MAC 헤더(105)를 합한 헤더들의 합(125)에 대해서 집합적으로 바이트 정렬 패딩을 부가한다. 다시 말해서 상기 RLC 헤더와 MAC 헤더를 합한 것이 바이트 정렬되었는지를 판단한 후, 바이트 정렬되지 않았다면 상기 두 헤더를 합한 것에 대해서 바이트 정렬 패딩(115)을 삽입하는 것이다. Referring to FIG. 1, byte alignment padding is collectively added to the sum 125 of the headers including the
그러나, 상술한 방안은 임의의 프로토콜 계층 장치가 다른 프로토콜 계층에서 만들어진 데이터를 적극적으로 변형하지 않는다는 계층화(layering)의 기본 원칙을 위배한다. However, the above approach violates the basic principle of layering that any protocol layer device does not actively modify data created in another protocol layer.
도 2는 LTE 시스템에서의 프로토콜 계층 구조도를 나타내는데, 이를 참조하면 LTE에서 1 계층과 2 계층은 RLC 계층(205 ~ 220), MAC 계층(225), HARQ 장치 및 물리 계층(230)으로 구성될 때, MAC 계층 장치에서 RLC 헤더와 RLC 페이로드 사이에 바이트 정렬 패딩을 삽입함으로써, MAC 계층 장치가 계층화의 기본 원칙을 위배한다. 2 illustrates a protocol layer structure diagram in an LTE system. Referring to FIG. 2, when
참고로 도 2에 도시된 LTE의 각 프로토콜 계층의 역할을 간략히 기술하면, RLC 계층(205~220)은 서비스 당 하나 씩 구성되며, 상위 계층에서 발생한 데이터인 RLC SDU(235, Service Data Unit)을 적절한 크기로 재구성하고, 소정의 RLC 헤더(240)를 부착해서 MAC 계층(225)으로 전달하는 역할을 한다. RLC 계층(205~220)에서 MAC 계층(225)으로 전달되는 데이터를 RLC PDU(245)라 한다. RLC 계층(205~220) 은 또한 상기 RLC PDU에 대해서 자동 재전송(ARQ, Automatic Retransmission reQuest)을 수행함으로써 데이터를 신뢰성 있게 전송하는 역할을 담당한다. For reference, briefly describing the role of each protocol layer of LTE illustrated in FIG. 2, one
MAC 계층(225)은 RLC PDU에 소정의 MAC 헤더(250)를 부착한 뒤 HARQ 장치 및 물리 계층(230)으로 전달하며, HARQ 장치 및 물리 계층(230)은 소정의 HARQ 동작을 통해 상기 데이터를 무선 채널로 전송하는 동작을 담당한다. MAC 헤더(250)에는 RLC PDU(245)를 어떤 RLC 장치로 전달해야 하는지를 나타내는 다중화 정보가 수납된다.The
이처럼 RLC 계층과 MAC 계층의 동작은 상위 계층에서 전달된 데이터에 소정의 헤더를 삽입해서 하위 계층으로 전달하는 것으로 일반화할 수 있는데, 전술한 종래 기술과 같이 RLC 헤더와 MAC 헤더를 집합적으로 바이트 정렬시키기 위해서는, MAC 계층(225)이 RLC PDU를 RLC 헤더(240)와 RLC 페이로드(243)로 분리한 뒤, RLC 헤더 뒷 부분에 바이트 정렬 패딩을 삽입하는 동작을 취하는데, 이러한 동작은 계층화의 기본 원칙을 위배한다는 문제점이 있다. As described above, the operation of the RLC layer and the MAC layer may be generalized by inserting a predetermined header into the data transmitted from the upper layer and transferring the same to the lower layer. As described above, the RLC header and the MAC header are collectively byte aligned. In order to achieve this, the
따라서, 본 발명은 상술한 바와 같은 문제점을 개선하기 위한 본 발명의 목적은 계층화의 기본 원칙을 위배하지 않으면서 상위 계층의 헤더와 하위 계층의 헤더를 집합적으로 바이트 정렬시키는 방법 및 장치를 제안함에 있다 Accordingly, an object of the present invention is to propose a method and apparatus for collectively byte-aligning a header of a higher layer and a header of a lower layer without violating the basic principle of layering. have
본 발명의 또 다른 목적은 수신측이 송신측으로부터 집합적 바이트 정렬 패딩에 대한 별도의 정보를 수신하지 않고도, 상기 집합적 바이트 정렬 패딩의 길이를 인지할 수 있도록 상기 집합적 바이트 정렬 패딩이 소정의 패턴을 가지도록 하 는 장치 및 방법을 제안함에 있다. It is a further object of the present invention that the collective byte alignment padding may have a predetermined length so that the receiving side can recognize the length of the collective byte alignment padding without receiving separate information on the collective byte alignment padding from the transmitting side. The present invention proposes an apparatus and method for having a pattern.
상기의 목적을 달성하기 위한 본 발명의 일 실시 예는 두 개 이상의 프로토콜 계층으로 구성된 이동 통신 시스템의 송신 장치에서 상위 계층인 제 1 프로토콜과 하위 계층인 제 2 프로토콜의 헤더를 바이트 정렬하는 방법에 있어서, 상위 계층에서 수신한 제 1 프로토콜 패킷 데이터 유닛을 적절한 크기로 분할/연접한 후, 소정의 제 1 헤더를 삽입해서 제 1 프로토콜 패킷 데이터 유닛을 구성하는 과정과, 상기 제 1 프로토콜 패킷 데이터 유닛에 대한 제 2 프로토콜 헤더를 구성하는 과정과, 상기 제 1 프로토콜 헤더의 크기와 제 2 프로토콜 헤더의 크기로부터 집합적 바이트 정렬 패딩의 크기를 산출하여, 상기 산출된 크기의 집합적 바이트 정렬 패딩을 생성하는 과정과, 제 1 프로토콜 패킷 데이터 유닛에 제 2 프로토콜 헤더와 집합적 바이트 정렬 패딩을 부착해서 제 2 프로토콜 부 패킷 데이터 유닛을 생성하는 과정으로 구성된다..One embodiment of the present invention for achieving the above object is a method for byte-aligning the header of the first protocol, the upper layer and the second protocol, the lower layer in the transmitting apparatus of the mobile communication system composed of two or more protocol layers And dividing / concatenating the first protocol packet data unit received from the upper layer into an appropriate size, and inserting a predetermined first header to configure the first protocol packet data unit. Constructing a second protocol header for the second protocol header and calculating a size of the collective byte alignment padding from the size of the first protocol header and the size of the second protocol header to generate the collective byte alignment padding of the calculated size. And attaching the second protocol header and the collective byte alignment padding to the first protocol packet data unit. And a process of generating a second protocol sub packet data unit.
본 발명의 다른 실시 예는 두 개 이상의 프로토콜 계층으로 구성된 이동 통신 시스템의 수신 장치에서 상위 계층인 제 1 프로토콜과 하위 계층인 제 2 프로토콜의 헤더를 바이트 정렬하는 방법에 있어서, 하위 프로토콜로부터 수신한 제 2 프로토콜 패킷 데이터 유닛의 제 2 프로토콜 헤더의 마지막 비트를 검출하여 제 2 프로토콜 서브 패킷 데이터 유닛의 집합적 바이트 정렬 패딩의 위치를 검출하는 과정과, 상기 제 2 프로토콜 서브 패킷 데이터 유닛에서 제 2 프로토콜 헤더와 집합적 바이트 정렬 패딩을 제거하여 제 1 프로토콜 유닛을 생성하는 과정과, 제 1 프로토콜 패킷 데이터 유닛을 상응하는 제 1 프로토콜로 전달하는 과정으로 구성된다.Another embodiment of the present invention provides a method for byte-aligning headers of a first protocol that is a higher layer and a second protocol that is a lower layer in a receiving apparatus of a mobile communication system composed of two or more protocol layers. Detecting the last bit of the second protocol header of the second protocol packet data unit to detect the location of the collective byte alignment padding of the second protocol subpacket data unit, and a second protocol header at the second protocol subpacket data unit And generating the first protocol unit by removing the collective byte alignment padding, and delivering the first protocol packet data unit to the corresponding first protocol.
본 발명의 또 다른 실시 예는 두 개 이상의 프로토콜 계층으로 구성된 이동 통신 시스템의 송신 장치에서 상위 계층인 제 1 프로토콜과 하위 계층인 제 2 프로토콜의 헤더를 바이트 정렬하는 방법에 있어서, 제 1 프로토콜 패킷 데이터 유닛과 제 1 프로토콜의 패킷 데이터 유닛의 헤더 크기 정보를 수신하여, 상기 제 1 프로토콜의 패킷 데이터 유닛에 소정의 제 2 프로토콜 헤더를 부가하는 과정과, 상기 제 2 프로토콜 헤더가 부가된 제 1 프로토콜 패킷 데이터 유닛으로부터 제 2 프로토콜헤더/제 1 프로토콜 헤더와 제 1 프로토콜 페이로드를 분리하는 과정과, 제 2 프로토콜 헤더와 제 1 프로토콜 헤더들을 연접해서 집합적 헤더를 구성하는 과정과, 상기 집합적 헤더의 크기로부터 집합적 바이트 정렬 패딩의 크기를 산출하여 상기 산출된 집합적 바이트 정렬 패딩을 부가하는 과정과, 집합적 바이트 정렬 패딩의 뒤에 상기 분리된 제 1 프로토콜 페이로드를 부가하고, 제 2 프로토콜 패킷 데이터 유닛을 하위 계층으로 전달하는 과정을 포함한다. Another embodiment of the present invention provides a method for byte-aligning headers of a first protocol, which is a higher layer, and a second protocol, which is a lower layer, in a transmission apparatus of a mobile communication system composed of two or more protocol layers. Receiving header size information of a unit and a packet data unit of a first protocol, adding a predetermined second protocol header to the packet data unit of the first protocol, and a first protocol packet to which the second protocol header is added. Separating the second protocol header / first protocol header and the first protocol payload from the data unit, concatenating the second protocol header and the first protocol header to form an aggregate header, and Compute the size of the collective byte alignment padding from the size and calculate the aggregated byte definition It comprises the step of adding the separated first protocol payload back of the process and, collectively, byte alignment padding added padding, and delivering the second protocol packet data units to a lower layer.
본 발명의 또 다른 실시 예는 두 개 이상의 프로토콜 계층으로 구성된 이동 통신 시스템의 수신 장치에서 상위 계층인 제 1 프로토콜과 하위 계층인 제 2 프로토콜의 헤더를 바이트 정렬하는 방법에 있어서, 제 2 프로토콜 패킷 데이터 유닛의 제 2 프로토콜 헤더/제 1 프로토콜 헤더를 검색하여 상기 제 2 프로토콜 패킷 데이터 유닛에서 분리하는 과정과, 상기 분리된 제 2 프로토콜 헤더/제 1 프로토콜 헤더들의 크기를 모두 합산해서 집합적 바이트 정렬 패딩의 크기를 산출하고, 산출된 크기만큼을 제 2 프로토콜 패킷 데이터 유닛에서 제거하는 과정과, 제 2 프로토콜 헤더의 제 1 프로토콜 페이로드 크기 정보를 이용하여 제 1 프로토콜 페이로드를 분리한 뒤, 연관된 제 1 프로토콜 헤더와 함께 상응하는 제 1 프로토콜 장치로 전달하는 과정으로 구성된다. Another embodiment of the present invention provides a method for byte-aligning headers of a first protocol that is a higher layer and a second protocol that is a lower layer in a receiving apparatus of a mobile communication system composed of two or more protocol layers. Searching for and separating the second protocol header / first protocol header of the unit from the second protocol packet data unit, and adding the sizes of the separated second protocol header / first protocol headers together to collectively align byte padding; Calculating a size of, removing the calculated size from the second protocol packet data unit, separating the first protocol payload using the first protocol payload size information of the second protocol header, and then 1 protocol header together with the corresponding first protocol device.
본 발명의 또 다른 실시 예는 두 개 이상의 프로토콜 계층으로 구성된 이동 통신 시스템의 상위 계층인 제 1 프로토콜과 하위 계층인 제 2 프로토콜의 헤더를 바이트 정렬하여 송신하는 장치에 있어서, 상위 계층 데이터를 소정 크기로 분할/연접하고, 제 1 프로토콜 헤더를 부가해서 구성된 제 1 프로토콜 패킷 데이터 유닛과 제 1 프로토콜 헤더 크기 정보를 출력하는 제 1 프로토콜 장치와, 상기 제 1 프로토콜 장치로부터 수신한 제 1 프로토콜 패킷 데이터 유닛에 부가할 제 2 프로토콜 헤더를 생성하고, 제 1 프로토콜 헤더와 제 2 프로토콜 헤더의 크기로부터 집합적 바이트 정렬 패딩의 크기를 산출하여 산출된 크기에 대응되는 집합적 바이트 정렬 패딩을 생성하고, 제 2 프로토콜 헤더의 뒤에 삽입하여 출력하는 제 2 프로토콜 헤더 및 바이트 정렬 패딩 삽입부와, 상기 제 2 프로토콜 헤더 및 바이트 정렬 패딩 삽입부로부터 출력된 제 2 프로토콜 서브 패킷 데이터 유닛들을 연접해서 제 2 프로토콜 패킷 데이터 유닛을 생성하여 출력하는 다중화부와, 상기 다중화부로부터 출력된 제 2 프로토콜 패킷 데이터 유닛를 수신측으로 전송하는 물리 계층 장치로 구성된다. According to another embodiment of the present invention, an apparatus for byte-aligning and transmitting headers of a first protocol, which is an upper layer, and a second protocol, which is a lower layer of a mobile communication system composed of two or more protocol layers, transmits upper layer data to a predetermined size. And a first protocol packet data unit configured to divide / concatenate into a second protocol, add a first protocol header, and output first protocol header size information, and a first protocol packet data unit received from the first protocol device. A second protocol header to be added to the second protocol header, a size of the collective byte alignment padding is calculated from the sizes of the first protocol header and the second protocol header, and a collective byte alignment padding corresponding to the calculated size is generated; Second protocol header and byte alignment padding inserted after the protocol header and outputted A multiplexer for generating and outputting a second protocol packet data unit by concatenating an inserter, second protocol subpacket data units output from the second protocol header and byte alignment padding inserter, and a second outputted from the multiplexer. It consists of a physical layer device for transmitting two protocol packet data units to a receiving side.
본 발명의 또 다른 실시 예는 두 개 이상의 프로토콜 계층으로 구성된 이동 통신 시스템의 상위 계층인 제 1 프로토콜과 하위 계층인 제 2 프로토콜의 헤더를 바이트 정렬하는 수신 장치에 있어서, 제 2 프로토콜 패킷 데이터 유닛를 제 2 프로토콜 서브 패킷 데이터 유닛로 분할하여 출력하는 역다중화부와, 상기 제 2 프로 토콜 서비스 패킷 데이터 유닛에서 제 2 프로토콜 헤더를 제거하고, 바이트 정렬 패딩의 시작 비트와 마지막 비트를 판단해서 바이트 정렬 패딩을 제거한 제 1 프로토콜 패킷 데이터 유닛를 상응하는 제 1 프로토콜 장치로 전달하는 제 2 프로토콜 헤더 및 바이트 정렬 패딩 제거부로 구성된다.Another embodiment of the present invention provides a reception device for byte-aligning a header of a first protocol, which is an upper layer, and a second protocol, which is a lower layer, of a mobile communication system composed of two or more protocol layers, wherein the second protocol packet data unit is removed. A demultiplexer for dividing and outputting the data into two protocol subpacket data units, and removing the second protocol header from the second protocol service packet data unit, and determining the start bit and the last bit of byte alignment padding to determine byte alignment padding. And a second protocol header and byte alignment padding removal unit for delivering the removed first protocol packet data unit to the corresponding first protocol device.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the preferred embodiment of the present invention. In the following description of the present invention, detailed descriptions of well-known functions or configurations will be omitted if it is determined that the detailed description of the present invention may unnecessarily obscure the subject matter of the present invention. Terms to be described later are terms defined in consideration of functions in the present invention, and may be changed according to intentions or customs of users or operators. Therefore, the definition should be made based on the contents throughout the specification.
본 발명에서는 2 개 이상의 헤더를 집합적으로 바이트 정렬함에 있어서, 바이트 정렬 패딩을 하위 계층 프로토콜 헤더의 뒷 부분에 삽입함으로써, 하위 계층 프로토콜 장치가 계층화의 원칙을 위배하지 않도록 하는 방법 및 장치를 제시한다. 특히 수신측이 송신측으로부터 집합적 바이트 정렬 패딩에 대한 별도의 정보를 수신하지 않고도, 상기 집합적 바이트 정렬 패딩의 길이를 인지할 수 있도록 상기 집합적 바이트 정렬 패딩이 소정의 패턴을 가지도록 한다. The present invention provides a method and apparatus for inserting byte-aligned padding into a later part of a lower layer protocol header in collectively byte-aligning two or more headers so that the lower layer protocol device does not violate the principle of layering. . In particular, the collective byte alignment padding has a predetermined pattern so that a receiver can recognize the length of the collective byte alignment padding without receiving separate information about the collective byte alignment padding from the transmitter.
본 발명의 1 실시예에서는 제 1 프로토콜 헤더와 제 2 프로토콜 헤더에 대해서 집합적 바이트 정렬이 적용될 때, 하위 계층에 해당하는 제 2 프로토콜 헤더의 뒷 부분에 바이트 정렬 패딩을 삽입한다. 그리고, 이러한 바이트 정렬 패딩은 수신측이 상기 바이트 정렬 패딩의 길이를 인지할 수 있도록, 수신측과 미리 약속된 규칙에 상응하는 패턴을 갖게 된다. 예를 들어, 상기 집합적 바이트 정렬 패딩의 마지막 비트를 제외한 나머지 비트는 0으로, 집합적 바이트 정렬 패딩의 마지막 비트는 1로 코딩한다. 그러나, 이는 바이트 정렬 패딩의 일 실시 예일 뿐, 본 발명은 수신측에서 그 길이를 인지할 수 있는 어떠한 패턴의 바이트 정렬 패딩도 포함할 수 있음을 밝혀둔다. In one embodiment of the present invention, when collective byte alignment is applied to the first protocol header and the second protocol header, byte alignment padding is inserted at the rear of the second protocol header corresponding to the lower layer. The byte alignment padding has a pattern corresponding to a rule previously promised with the receiver so that the receiver can recognize the length of the byte alignment padding. For example, the remaining bits except the last bit of the collective byte alignment padding are coded as 0, and the last bit of the collective byte alignment padding is coded as 1. However, this is only one embodiment of byte alignment padding, and it is noted that the present invention may include any pattern of byte alignment padding that its length can be recognized at the receiving end.
수신측은 제 2 프로토콜 헤더의 필드를 해석해서 필요한 동작을 취하며, 상기 제 2 프로토콜 헤더가 종료되었음을 인지하면, 제 2 프로토콜 헤더 마지막 비트의 다음 비트부터 집합적 바이트 정렬 패딩이 시작됨을 인지하고, 상기 집합적 바이트 정렬 패딩이 시작된 후 최초의 1에 해당하는 비트를 상기 집합적 바이트 정렬 패딩의 마지막 비트로 인지한다. 그리고, 상기 집합적 바이트 정렬 패딩의 마지막 비트의 다음 비트를 상기 제 1 프로토콜 헤더의 시작 지점으로 인지한다. 상기와 같이 집합적 바이트 정렬 패딩을 제 2 프로토콜 헤더가 끝난 지점에 삽입함으로써 계층화의 원칙을 준수하고, 아울러 집합적 바이트 정렬 패딩의 종료 비트는 1을, 집합적 바이트 정렬 패딩의 나머지 비트들에 대해서는 0을 코딩함으로써, 집합적 바이트 정렬 패딩의 길이를 알리기 위해서 별도의 정보를 사용할 필요가 없다. The receiving side interprets the fields of the second protocol header and takes necessary actions. Upon recognizing that the second protocol header is finished, the receiving side recognizes that the collective byte alignment padding starts from the next bit of the last bit of the second protocol header. The bit corresponding to the first one after the collective byte alignment padding starts is recognized as the last bit of the collective byte alignment padding. The next bit of the last bit of the collective byte alignment padding is recognized as a starting point of the first protocol header. By inserting the collective byte alignment padding at the end of the second protocol header as above, the principle of stratification is observed, and the end bit of the collective byte alignment padding is 1 for the remaining bits of the collective byte alignment padding. By coding zero, there is no need to use extra information to inform the length of the collective byte alignment padding.
하기에서는 제 1 프로토콜이 RLC, 제 2 프로토콜이 MAC인 경우의 예를 들어 설명하나, 이는 본 발명의 설명을 편이를 위한 것일 뿐, 두 개 이상의 계층으로 구성되는 통신 시스템상에 본 발명이 적용될수 있음을 자명하다.In the following description, the first protocol is RLC and the second protocol is described as an example. However, this is only for convenience of description and the present invention can be applied to a communication system composed of two or more layers. It is obvious.
도 3은 본 발명의 제 1 실시 예에 따른 송신측과 수신측 사이의 신호 흐름도를 도시한 도면이다. 3 is a diagram illustrating a signal flow between a transmitting side and a receiving side according to the first embodiment of the present invention.
송신측의 RLC 장치(302), MAC 장치 (304), 수신측의 MAC 장치 (306), RLC 장치 (308)로 구성된 이동 통신 시스템에서, 송신측의 RLC 장치(302)는 상위 계층으로부터 전달받은 데이터를 적절한 크기로 자르거나 연접하고 RLC 헤더를 부착해서 RLC PDU를 구성한다. 그리고, 310 단계에서 상기 RLC 장치(302)는 상기 구성된 RLC PDU와 RLC PDU 헤더의 크기 정보를 MAC 장치(304)로 전달한다. 여기서, 상기 RLC PDU의 헤더는 이미 바이트 정렬되어 있을 수도 있고, 바이트 정렬되어 있지 않을 수도 있다.In the mobile communication system consisting of the
MAC 장치(304)는 상기 RLC PDU에 대한 소정의 MAC 헤더를 구성하고, 하기의 <수학식 2>를 이용해서 상기 MAC 헤더와 RLC 헤더에 대한 집합적 바이트 정렬 패딩의 크기를 계산한다. The
송신측 MAC 장치(304)은 320 단계에서 상기 집합적 패딩 크기를 참조해서 집합적 바이트 정렬 패딩을 만든다. 상기 집합적 바이트 정렬 패딩은 크기가 가변적이며, 마지막 비트는 1로, 마지막 비트를 제외한 나머지 비트는 0으로 코딩된다. 그러므로, 수신측은 별도의 정보 없이 집합적 바이트 정렬 패딩의 시작과 끝을 구별할 수 있다. 그런데, 집합적 바이트 정렬 패딩의 크기가 1인지의 여부에 따라 아 래와 같이 구성할 수 있다. The transmitting
<집합적 바이트 정렬 패딩 구성 방법><How to configure aggregated byte alignment padding>
집합적 패딩의 크기가 1일 경우 : '1'이라는 1 비트로 패딩을 구성 If the size of the collective padding is 1: Composed padding with 1 bit called '1'
집합적 패딩의 크기가 1보다 클 경우 : 마지막 비트는 '1'로, 마지막 비트를 제외한 나머지 비트는 '0'으로 코딩. If the size of the collective padding is greater than 1: Code the last bit as '1' and the remaining bits as '0' except the last bit.
상기와 같이 마지막 비트는 1로 코딩하고, 시작 비트를 포함한 나머지 비트는 0으로 코딩함으로써, 수신측은 MAC 헤더가 종료된 다음의 첫번째 비트부터 첫번째 1이 나타나는 비트까지를 집합적 바이트 정렬 패딩으로 인지하고, 집합적 바이트 정렬 패딩의 다음 첫번째 비트를 RLC 헤더의 시작 비트로 인지한다. 그런데, RLC 헤더와 MAC 헤더가 이미 집합적으로 바이트 정렬되어 있는 경우, 다시 말해서 집합적 패딩의 크기가 0비트인 경우에는, 수신 장치가 RLC 헤더를 집합적 바이트 정렬 패딩으로 오인한다. 이러한 경우를 회피하기 위해서 송신측은 집합적 바이트 정렬 패딩의 크기가 0이면 인위적으로 8 비트 크기의 집합적 패딩을 삽입함으로써, 집합적 바이트 정렬 패딩이 항상 존재하도록 하다. As described above, the last bit is coded as 1, and the remaining bits including the start bit are coded as 0, so that the receiver recognizes from the first bit after the end of the MAC header to the bit where the first 1 appears as a collective byte alignment padding. The next first bit of the aggregated byte alignment padding is recognized as the start bit of the RLC header. However, when the RLC header and the MAC header are already byte-aligned collectively, that is, when the size of the collective padding is 0 bits, the receiving device misidentifies the RLC header as the collective byte-aligned padding. To avoid this case, the sender artificially inserts an 8-bit aggregate padding when the aggregated byte alignment padding has a size of 0 so that there is always a collective byte alignment padding.
도 4는 본 발명의 바람직한 실시 예에 따른 MAC sub-PDU의 구성 블록도이다. 도 4를 참조하면, 송신측 MAC 장치(304)는 상술한 바와 같이 집합적 바이트 정렬 패딩(410)을 구성하고, MAC 헤더(405)와 집합적 바이트 정렬 패딩(410)을 RLC PDU(430)의 앞에 삽입해서 MAC 서브 PDU(435)를 생성한다. 상기 MAC 서브 PDU란 RLC PDU에 MAC 헤더와 바이트 정렬 패딩이 추가된 것을 일컬으며, 다수의 MAC 서브 PDU들이 연접되어서 하나의 MAC PDU를 구성할 수 있다. 4 is a block diagram illustrating a configuration of a MAC sub-PDU according to an embodiment of the present invention. Referring to FIG. 4, the transmitting
다시 도 3을 참조하면, 송신측 MAC 장치(304)는 330 단계에서 하나 또는 여러 개의 RLC 장치들(302)로부터 전달된 하나 또는 여러 개의 RLC PDU들로부터 각각의 MAC 서브 PDU들을 만들고, 상기 MAC 서브 PDU들을 연접해서 MAC PDU를 만들어서, 340 단계에서 수신측 MAC 장치(306)로 전송한다.Referring back to FIG. 3, the transmitting
수신측 MAC 장치(306)는 수신한 MAC PDU의 첫번째 MAC 서브 PDU의 MAC 헤더를 해석해서, 상기 MAC 서브 PDU에 수납된 RLC PDU를 어떤 RLC 장치로 전달할지 판단한다. 그리고, MAC 헤더의 마지막 비트를 인지하면, 상기 MAC 헤더의 마지막 비트 다음 비트를 집합적 바이트 정렬 패딩의 첫번째 비트로 인지하고, 처음으로 1이 나타나는 비트까지를 바이트 정렬 패딩으로 판단한다. 예를 들어, MAC 헤더의 마지막 비트 다음 비트가 1이라면 집합적 바이트 정렬 패딩은 상기 '1'의 한 비트로 구성된다. MAC 헤더의 마지막 비트 다음 비트들이 '0001001100'이라면 집합적 바이트 정렬 패딩은 첫번째 1을 포함한 앞의 4 비트 '0001'이 후의 '001100'등의 RLC 헤더이다.The receiving
상기와 같이 MAC 헤더를 해석하고, 집합적 바이트 정렬 패딩의 시작 비트와 종료 비트를 인지하면, MAC 수신 장치(306)는 상기 MAC 서브 PDU에서 MAC 헤더와 집합적 바이트 정렬 패딩을 제거해서 RLC PDU를 재구성한 뒤, 360 단계에서 상기 RLC PDU를 적절한 RLC 장치(308)로 전달한다. 상기 MAC PDU에 여러 개의 MAC 서브 PDU들이 수납되어 있다면, MAC 수신 장치(306)는 350 단계와 360 단계를 MAC 서브 PDU마다 반복한다. When the MAC header is interpreted as described above and the start and end bits of the collective byte alignment padding are recognized, the
도 5는 도 3에 RLC와 MAC으로 구성되는 송신 장치에서의 집합적 바이트 정렬 방법을 수행하기 위한 동작을 설명하기 위한 신호 흐름도이다.FIG. 5 is a signal flowchart illustrating an operation for performing a collective byte sorting method in a transmitting device configured of an RLC and a MAC in FIG. 3.
505 단계에서 송신측 RLC 장치(302)는 상위 계층에서 수신한 RLC SDU를 적절한 크기로 분할하거나 연접한 뒤 소정의 RLC 헤더를 삽입해서 RLC PDU를 구성한다. 510 단계에서 송신측 RLC 장치(302)는 RLC PDU와 상기 RLC PDU의 헤더 크기를 MAC 장치(304)로 전달한다. 515 단계에서 MAC 장치(315)는 RLC 계층에서 전달받은 RLC PDU에 대한 MAC 헤더를 구성한다. 상기 MAC 헤더에는 RLC PDU를 전달한 RLC 장치의 논리적 식별자와 RLC PDU의 크기 정보 등이 포함된다. 520 단계에서 MAC 장치(304)는 RLC 헤더의 크기와 MAC 헤더의 크기로부터 집합적 바이트 정렬 패딩의 크기를 산출하는데, RLC 헤더와 MAC헤더를 합산한 값보다 크면서 가장 가까운 바이트 값과 RLC 헤더와 MAC 헤더를 합산한 값의 차를 계산한 뒤 이를 바이트 정렬 패딩의 크기로 사용한다. In
525 단계에서 MAC 장치(304)는 520 단계에서 산출한 집합적 바이트 정렬 패딩의 크기(CBAPS, Collective Byte Alignment Padding Size)가 0 비트인지 검사한다. 상기 525 단계의 검사 결과, 바이트 정렬 패딩의 크기가 0 비트라면 RLC 헤더와 MAC 헤더가 이미 바이트 정렬되어 있다는 것을 의미하므로, 530 단계에서 MAC 장치(304)는 수신 장치가 RLC 헤더를 집합적 바이트 정렬 패딩으로 오인하지 않도록 '0000 0001'이라는 8비트의 집합적 바이트 정렬 패딩을 만든다. In
상기 525 단계의 검사 결과, 바이트 정렬 패딩의 크기가 0 비트가 아니라면, RLC 헤더와 MAC 헤더가 바이트 정렬되어 있지 않다는 것을 의미하므로, 535 단계에 서 MAC 장치(304)는 소정의 개수의 0들과 1을 합쳐서 집합적 바이트 정렬 패딩을 만든다. 집합적 바이트 정렬 패딩의 마지막 비트는 항상 1이다. 0의 개수는 520단계에서 산출한 집합적 바이트 정렬 패딩의 크기에서 1을 감한 것이다. 즉, 520 단계에서 n이라는 집합적 바이트 정렬 패딩의 크기를 산출하였다면, [n-1] 비트의 0과 1 비트의 1을 연접해서 바이트 정렬 패딩을 산출한다. As a result of the checking in
540 단계에서 MAC 장치(304)는 RLC PDU에 MAC 헤더와 집합적 바이트 정렬 패딩을 부착해서 MAC 서브 PDU를 만든다. 545 단계에서 MAC 장치(304)는 다른 RLC PDU가 존재하는지 검사한다. 상기 545 단계의 검사 결과, 다른 RLC PDU가 존재하면, 515 단계로 진행해서 MAC 장치(304)는 상기 RLC PDU로부터 MAC 서브 PDU를 구성하는 과정을 반복한다. 반면, 상기 545 단계의 검사 결과, 다른 RLC PDU가 존재하지 않으면 MAC 장치(304)는 550 단계로 진행해서 MAC 서브 PDU들은 연접해서 MAC PDU를 구성한 뒤, 상기 MAC PDU를 하위 계층으로 전달한다. In
도 6은 도 3의 MAC(306)과 RLC(308)로 구성되는 수신 장치에서의 집합적 바이트 정렬 방법을 수행하기 위한 동작을 설명하는 신호 흐름도이다.FIG. 6 is a signal flow diagram illustrating an operation for performing a collective byte alignment method in a receiving device composed of the
610 단계에서 MAC 수신 장치(306)가 하위 계층으로부터 MAC PDU를 전달받으면, 620 단계에서 수신한 MAC PDU의 첫번째 MAC 헤더를 해석한다. 상기 MAC PDU는 여러 MAC 서브 PDU들이 연접된 것이므로, MAC PDU의 첫번째 비트에서 첫번째 MAC 서브 PDU의 MAC 헤더가 시작된다. When the
630 단계에서 MAC 수신 장치(306)는 첫번째 MAC 서브 PDU의 MAC 헤더의 해석을 완료하고 상기 MAC 헤더의 마지막 비트를 인지한다. 640 단계에서 MAC 수신 장 치(306)는 첫번재 MAC 서브 PDU의 집합적 바이트 정렬 패딩이 몇번째 비트에서 몇번째 비트에 걸쳐서 삽입되어 있는지 다음과 같이 판단한다. MAC 수신 장치(306)는 먼저 집합적 바이트 정렬 패딩의 첫번째 비트를 인지한다. 집합적 바이트 정렬 패딩의 첫번째 비트는 MAC 헤더의 마지막 비트의 다음 비트이다. MAC 수신 장치는 집합적 바이트 정렬 패딩의 첫번째 비트를 포함해서 몇번째 비트에서 처음으로 1이 나타나는지 비트 단위로 검사하고, 상기 첫번째 1을 집합적 바이트 정렬 패딩의 마지막 비트로 인지한다. 그리고 상기 집합적 바이트 정렬 패딩의 첫번째 비트와 마지막 비트를 포함해서, 첫번째 비트와 마지막 비트 사이의 비트들을 집합적 바이트 정렬 패딩으로 인지한다. 650 단계에서 MAC 수신 장치(306)는 MAC 서브 PDU에서 MAC 헤더와 집합적 바이트 정렬 패딩을 제거해서 RLC PDU로 만든 후, 660 단계에서 상기 RLC PDU를 적절한 RLC 장치(308)로 전달한다. In
670 단계에서 MAC 수신 장치는 남아있는 MAC 서브 PDU가 존재하는지를 검사한다. 상기 670 단계의 검사 결과, 남아있는 MAC 서브 PDU가 존재할 경우, MAC 수신 장치는 620 단계로 진행해서 MAC 서브 PDU로부터 RLC PDU를 추출하는 동작을 반복한다. 그러나, 상기 670 단계의 검사 결과, MAC 서브 PDU가 더 이상 존재하지 않으면, MAC 수신 장치는 640 단계로 진행해서 다음 MAC PDU가 전달될 때까지 대기한다. In
상술한 바와 같은 본 발명의 1 실시예에서는 MAC 헤더의 뒤에 집합적 바이트 정렬 패딩을 삽입함으로써, 계층화의 원칙을 준수하면서 집합적 바이트 정렬이 가능하도록 하였다. 그리고 집합적 바이트 정렬 패딩의 마지막 비트로 '1'을 사용함 으로써 별도의 정보 없이 집합적 바이트 정렬 패딩의 시작과 끝을 나타내었다. 그러나, 상기 1 실시예의 단점은 MAC 헤더와 RLC 헤더의 집합적 패딩이 이미 이루어진 상황에서는 8 비트의 집합적 바이트 정렬 패딩이 불필요하게 부가된다는 것이다. In the first embodiment of the present invention as described above, the collective byte alignment padding is inserted after the MAC header, thereby enabling the collective byte alignment while observing the principle of layering. By using '1' as the last bit of the collective byte alignment padding, the start and end of the collective byte alignment padding are indicated without any additional information. However, a disadvantage of the first embodiment is that in the situation where the collective padding of the MAC header and the RLC header has already been made, 8-bit collective byte alignment padding is unnecessary.
계층화의 원칙은 무조건 준수되어야 하는 절대적 규범이라기 보다는, 준수되는 것이 바람직한 권고로 보는 것이 합당하다. 그러므로, 예상되는 이득이 크다면 계층화의 원칙을 위배하는 것이 가능하며, 헤더 압축 프로토콜 등, 현재 상용화의 단계에 접어든 많은 프로토콜들에서 계층화의 원칙이 위배된 경우를 흔히 목격할 수 있다. The principle of stratification is not an absolute norm that must be observed unconditionally, but a reasonable recommendation to be observed. Therefore, if the expected gain is large, it is possible to violate the principle of layering, and we can often see cases where the principle of layering has been violated in many protocols, such as header compression protocols, that are currently in the commercialization stage.
본 발명의 2 실시예에서는, 계층화의 원칙을 위배할 수 있다는 가정하에서, 다수의 RLC PDU들의 RLC 헤더들과 MAC 헤더들에 대해서 집합적으로 바이트 정렬하는 방법 및 장치를 제시한다. 함께 바이트 정렬하는 헤더의 수가 늘어날수록, 집합적 바이트 정렬의 이득도 증가하므로, 2 실시예에서는 하나의 MAC PDU에 다중화된 모든 RLC PDU들의 RLC 헤더들과 MAC 헤더들을 동일한 영역에 위치시킨 뒤, 상기 헤더들에 대해서 집합적으로 바이트 정렬 패딩을 부가한다. 이에 대한 예를 도 7을 참조하여 좀 더 상세히 설명하기로 한다.In a second embodiment of the present invention, a method and apparatus for collectively byte-aligning RLC headers and MAC headers of a plurality of RLC PDUs are provided on the assumption that the principle of layering may be violated. As the number of headers byte aligned together increases, the gain of the collective byte alignment also increases. In the second embodiment, the RLC headers and MAC headers of all RLC PDUs multiplexed into one MAC PDU are placed in the same region. Add byte-aligned padding collectively for the headers. An example thereof will be described in more detail with reference to FIG. 7.
도 7을 참조하면, 임의의 MAC 송신 장치가 임의의 시점에 RLC PDU 1(705), RLC PDU 2(710), RLC PDU 3(715)라는 3개의 RLC PDU들을 하나의 MAC PDU에 다중화해서 전송하는 경우를 가정한다. 여기서, MAC 송신 장치는 상기 RLC PDU 1, RLC PDU 2, RLC PDU 3에 소정의 MAC 헤더(720, 725, 730)을 부가한다. 그리고, 각 RLC PDU들의 MAC 헤더 및 RLC 헤더(735, 740, 745)들을 RLC 페이로드 (750, 755, 760)와 분리해서, MAC PDU의 앞부분부터 MAC 헤더 및 RLC 헤더들을 채운다. 그리고, 상기 헤더들이 모두 수납되면, 상기 헤더 전체에 대해서 아래 수식을 이용해서 집합적 바이트 정렬 패딩의 크기를 구해서, 집합적 바이트 정렬 패딩(747)을 부가한다. Referring to FIG. 7, an arbitrary MAC transmitting apparatus multiplexes three RLC PDUs, such as
MAC 송신 장치는 상기 집합적 바이트 정렬 패딩에 이어서, MAC헤더/RLC헤더가 수납된 순서에 맞춰 RLC 페이로드들(750, 755, 760)을 수납한다. 이와 같이 집합적 바이트 정렬의 범위를 MAC PDU에 수납된 모든 RLC PDU들의 MAC 헤더들과 RLC 헤더들로 확장함으로써, 임의의 MAC PDU에 수납된 RLC PDU들의 수와 관계없이 오직 하나의 집합적 바이트 정렬 패딩만으로 바이트 정렬을 성취할 수 있다. Following the collective byte alignment padding, the MAC transmitting apparatus receives
도 8은 본 발명의 제 2 실시 예에 따른 MAC 송신 장치의 동작을 설명하기 위한 신호 흐름도이다.8 is a signal flowchart illustrating the operation of the MAC transmitting apparatus according to the second embodiment of the present invention.
810 단계에서 MAC 송신 장치는 RLC 계층으로부터 RLC PDU와 RLC PDU의 헤더 크기 정보를 전달받는다. 820 단계에서 MAC 송신 장치는 상기 RLC PDU에 소정의 MAC 헤더를 부가한다. 전술한 바와 같이 MAC 헤더에는 MAC 수신 장치가 MAC PDU로부터 RLC PDU를 역다중화한 뒤 상기 RLC PDU를 적절한 RLC 장치로 전달하기 위해서 필요한 정보, 즉 RLC 장치의 식별자와 RLC PDU의 길이 정보 등이 수납된다. 본 발명의 2 실시예에서는 MAC 헤더에 상기 RLC PDU의 길이 정보 대신 RLC 페이로드의 크기 정보를 수납한다. MAC 송신 장치는 RLC 계층으로부터 전달 받은 RLC PDU의 크기에서 RLC 헤더의 크기를 제한 값을 상기 RLC 페이로드의 크기 정보로 사용한다. In
830 단계에서 상기 MAC header가 부가된 RLC PDU로부터 MAC header 및 RLC header와 RLC 페이로드를 분리한다. 즉, MAC 송신 장치는 RLC PDU의 첫번째 비트에서 RLC 헤더 크기에 해당하는 비트만큼을 RLC 헤더로 인지하며, RLC PDU에서 RLC 헤더를 제외한 나머지 부분을 RLC 페이로드로 인지한다. 그리고 상기 RLC 페이로드를 MAC 헤더가 부가된 RLC PDU로부터 분리한다. In
840 단계에서 MAC 송신 장치는 상기 RLC PDU와 함께 다중화할 RLC PDU가 존재하는지 검사한다. 상기 840 단계의 검사 결과, 만약 또 다른 RLC PDU가 상기 RLC PDU와 함께 다중화된다면, 810 단계로 진행해서 RLC 계층으로부터 RLC PDU와 RLC 헤더 크기 정보를 전달받아 MAC 헤더를 만들어서 부가하고, RLC 페이로드를 분리하는 동작을 반복한다. In
그러나, 상기 840 단계의 검사 결과, 다중화할 RLC PDU가 더 이상 존재하지 않으면, MAC 송신 장치는 850 단계로 진행하여 MAC 헤더와 RLC 헤더들을 연접해서 집합적 MAC 헤더를 구성한다. 예를 들어, 임의의 RLC PDU [1]에서 RLC PDU [n]까지 n개의 RLC PDU들이 하나의 MAC PDU에 다중화될 때, 상기 MAC PDU의 집합적 MAC 헤더에는 RLC PDU [1]의 MAC 헤더와 RLC 헤더에서 RLC PDU [n]의 MAC 헤더와 RLC 헤더가 소정의 순서로 수납된다. However, if the RLC PDU to be multiplexed as a result of the check in
860 단계에서 MAC 송신 장치는 집합적 MAC 헤더의 크기를 참조해서 집합적 바이트 정렬 패딩의 크기를 산출한다. 즉 집합적 MAC 헤더의 크기보다 크면서 가장 가까운 바이트 정렬된 크기를 계산하고, 상기 바이트 정렬된 크기에서 집합적 MAC 헤더의 크기를 감한 값을 집합적 바이트 정렬 패딩의 크기로 인지하고, 상기 크기 만큼의 0을 집합적 MAC 헤더의 뒤에 부착한다. In
870 단계에서 MAC 송신 장치는 MAC 헤더와 RLC 헤더가 집합적 MAC 헤더에 수납된 순서에 따라, 집합적 바이트 정렬 패딩의 뒤에 RLC 페이로드를 수납한다. 그리고 RLC 페이로드가 모두 수납되면 880 단계에서 MAC PDU를 하위 계층으로 전달한다. In
도 9는 본 발명의 제 2 실시 예에 따른 MAC 수신 장치의 동작을 설명하기 위한 신호 흐름도이다. 9 is a signal flowchart illustrating the operation of the MAC receiving apparatus according to the second embodiment of the present invention.
910 단계에서 MAC 수신 장치는 MAC PDU를 수신한다. 920 단계에서 MAC 수신 장치는 MAC PDU의 처음 비트를 첫번째 MAC header/RLC header의 첫번째 비트로 인지하고 첫번째 MAC header/RLC header를 상기 MAC PDU에서 분리한다. 930 단계에서 MAC 수신 장치는 상기 MAC PDU에 다른 MAC header/RLC header가 존재하는지 판단한다. 상기 930 단계의 판단 결과, MAC PDU에 다른 MAC header/RLC header가 존재한다면, 920 단계로 진행하여, MAC 수신 장치는 MAC PDU에서 다음 MAC header/RLC header를 분리하고 930 단계로 다시 진행한다. 그러나, 상기 930 단계의 판단 결과, MAC PDU에 다른 MAC header/RLC header가 존재하지 않으면, 940 단계에서 MAC 수신 장치는 MAC PDU에서 분리한 MAC header/RLC header들의 크기를 모두 합산해서 집합적 바이트 정렬 패딩의 크기를 계산하고, 상기 집합적 바이트 정렬 패딩을 MAC PDU에서 제거한다.In
950 단계에서 MAC 수신 장치는 MAC PDU의 집합적 페이로드 부분에서 연관된 MAC 헤더의 RLC 페이로드 크기 정보를 참조해서 RLC 페이로드를 분리한 뒤, 960 단계에서 연관된 RLC 헤더와 함께 적절한 RLC 장치로 전달한다. RLC 헤더와 MAC 헤더와 RLC 페이로드의 연관성은 집합적 헤더 파트와 집합적 페이로드 파트에서의 순서에 따라 판단된다. 즉, 집합적 헤더 파트의 n 번째 RLC 헤더/MAC 헤더는 집합적 페이로드 파트의 n 번째 RLC 페이로드와 서로 연관된다. In
970 단계에서 MAC 수신 장치는 집합적 페이로드 파트에 RLC 페이로드가 남아있는지 검사한다. 상기 970 단계의 검사 결과, 집합적 페이로드 파트에 RLC 페이로드가 남아있을 경우, 950 단계로 진행해서 RLC 페이로드를 분리하고 적절한 RLC 장치로 전달하는 동작을 반복한다. 그러나, 상기 970 단계의 검사 결과, 집합적 페이로드 파트에 RLC 페이로드가 남아있지 않을 경우, 도면에는 도시되어 있지 않지만 다른 MAC PDU가 수신될때까지 대기한다.In
도 10은 본 발명에 따른 송신 장치의 내부 구성 블록도이다.10 is a block diagram illustrating an internal configuration of a transmission apparatus according to the present invention.
도 10을 참조하면, 송신 장치는 다수의 RLC 장치(1005, 1010, 1015, 1020)와 MAC 헤더 및 집합적 바이트 정렬 패딩 삽입부(1025), 다중화부 (1030), HARQ 장치 및 물리 계층 장치(1035)로 구성된다.Referring to FIG. 10, a transmitting device includes a plurality of
상기 RLC 장치(1005, 1010, 1015, 1020)는 상위 계층 데이터를 적절한 크기로 분할하거나 연접한 뒤 RLC 헤더를 부가해서 RLC PDU를 구성한 뒤, RLC PDU와 RLC 헤더 크기 정보를 MAC 헤더 및 바이트 정렬 패딩 삽입부(1025)로 전달한다. The
MAC 헤더 및 바이트 정렬 패딩 삽입부(1025)는 RLC PDU에 부가할 MAC 헤더를 만든 뒤, RLC 헤더와 MAC 헤더의 크기를 참조해서 집합적 바이트 정렬 패딩의 크기를 산출한다. 그리고, 산출된 크기에 대응되는 집합적 바이트 정렬 패딩을 만든 뒤, 제 1 실시예에서는 MAC 헤더의 뒤에, 제 2 실시예에서는 집합적 MAC 헤더의 뒤에 상기 집합적 바이트 정렬 패딩을 삽입한다. The MAC header and byte
제 1 실시예에서 다중화부(1030)는 MAC 헤더가 부가되고 집합적 바이트 정렬 패딩이 삽입된 MAC 서브 PDU들을 연접해서 MAC PDU로 만든 뒤, 상기 MAC PDU를 HARQ 장치 및 물리 계층 장치(1035)로 전달한다. In the first embodiment, the
제 2 실시예에서 다중화부(1030)는 집합적 MAC 헤더와 집합적 바이트 정렬 패딩과 페이로드를 연접해서 MAC PDU로 만든 뒤, 상기 MAC PDU를 HARQ 장치 및 물리 계층 장치(1035)로 전달한다. 상기 HARQ 장치 및 물리 계층 장치(1035)는 소정의 HARQ 과정을 통해 MAC PDU를 수신측으로 전송한다. In the second embodiment, the
도 11은 본 발명에 따른 수신 장치의 내부 구성 블록도를 도시한 도면이다.11 is a block diagram illustrating an internal configuration of a receiving apparatus according to the present invention.
수신 장치는 다수의 RLC 장치(1105, 1110, 1115, 1120), MAC 헤더 및 바이트 정렬 패딩 제거부 (1125), 역다중화부(1130), HARQ 장치 및 물리 계층 장치(1135)로 구성된다. HARQ 장치 및 물리 계층 장치(1135)는 소정의 HARQ 과정을 통해 MAC PDU를 수신해서, 역다중화부(1130)로 전달한다. The receiving device includes a plurality of
제 1 실시예에서 역다중화부(1130)는 MAC PDU를 MAC 서브 PDU로 분할해서 MAC 헤더 및 바이트 정렬 패딩 제거부로 전달한다. 제 2 실시예에서 역다중화부(1130)는 MAC PDU를 집합적 MAC 헤더와 MAC 페이로드로 분리해서 MAC 헤더 및 바이트 정렬 패딩 제거부(1125)로 전달한다. In the first embodiment, the
제 1 실시예에서 MAC 헤더 및 바이트 정렬 패딩 제거부(1125)는 MAC 서비스 PDU에서 MAC 헤더를 제거하고, 바이트 정렬 패딩의 시작 비트와 마지막 비트를 판단해서 바이트 정렬 패딩을 제거한다. 그리고 결과물인 RLC PDU를 적절한 RLC 장치로 전달한다. 제 2 실시예에서 MAC 헤더 및 바이트 정렬 패딩 제거부(1125)는 집합적 MAC 헤더를 개별적인 MAC 헤더/RLC 헤더 쌍으로 분리한다. 그리고 집합적 MAC 헤더에서 집합적 바이트 정렬 패딩을 제거한다. 또한 개별적인 MAC 헤더/RLC 헤더 쌍으로부터 MAC 헤더를 제거한 뒤, RLC 헤더 및 연관된 RLC 페이로드를 RLC 장치로 전달한다. In the first embodiment, the MAC header and byte alignment
상술한 바와 같은 본 발명은 계층화의 기본 원칙을 위배하지 않으면서 상위 계층의 헤더와 하위 계층의 헤더를 집합적으로 바이트 정렬시킬 수 있다는 장점이 있다. 또한, 집합적 바이트 정렬 패딩이 미리 약속된 소정의 패턴을 가지므로 수신측이 송신측으로부터 집합적 바이트 정렬 패딩에 대한 별도의 정보를 수신하지 않고도, 상기 집합적 바이트 정렬 패딩의 길이를 인지할 수 있다는 장점이 있다. As described above, the present invention has the advantage that the header of the upper layer and the header of the lower layer can be byte aligned collectively without violating the basic principle of layering. In addition, since the collective byte alignment padding has a predetermined pattern in advance, the receiving side can recognize the length of the collective byte alignment padding without receiving separate information on the collective byte alignment padding from the transmitting side. There is an advantage.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070036668A KR101318101B1 (en) | 2007-04-13 | 2007-04-13 | Method and apparatus for collective byte alignment in mobile communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070036668A KR101318101B1 (en) | 2007-04-13 | 2007-04-13 | Method and apparatus for collective byte alignment in mobile communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080092800A true KR20080092800A (en) | 2008-10-16 |
KR101318101B1 KR101318101B1 (en) | 2013-10-15 |
Family
ID=40153704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070036668A KR101318101B1 (en) | 2007-04-13 | 2007-04-13 | Method and apparatus for collective byte alignment in mobile communication system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101318101B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111954265A (en) * | 2020-08-17 | 2020-11-17 | Oppo广东移动通信有限公司 | Method for generating packet header, terminal and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100678264B1 (en) * | 2004-02-06 | 2007-02-01 | 삼성전자주식회사 | Method for improving data processing speed in mobile communication system using high speed downlink packet access scheme and the mobile communication system |
KR100663279B1 (en) * | 2004-09-30 | 2007-01-02 | 삼성전자주식회사 | Method and apparatus for Supporting voice servicein a mobile telecommunication system of radio channel |
-
2007
- 2007-04-13 KR KR1020070036668A patent/KR101318101B1/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111954265A (en) * | 2020-08-17 | 2020-11-17 | Oppo广东移动通信有限公司 | Method for generating packet header, terminal and storage medium |
CN111954265B (en) * | 2020-08-17 | 2023-12-19 | Oppo广东移动通信有限公司 | Method for generating packet header, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
KR101318101B1 (en) | 2013-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101446359B1 (en) | Apparatus and method for generating and parsing a mac pdu in a mobile communication system | |
CN101268673B (en) | Method and apparatus for packet segmentation and concatenation signaling in a communication system | |
KR100895162B1 (en) | Method and Apparatus for Transmitting/Receiving Packet in Mobile Communication System | |
KR101058729B1 (en) | An apparatus and method for efficiently processing voice packet data in a mobile communication system providing a voice service using a packet network | |
KR100913900B1 (en) | A method and apparatus for transmitting/receiving packet data using predefined length indicator in mobile communication system | |
US8228915B2 (en) | Technique for handling residual space in packet data transmissions | |
RU2322761C1 (en) | Transmitter and receiver for data packet in wireless communication system | |
US20110038313A1 (en) | Enhanced communication apparatus for providing enhanced concatenation, segmentation and reassembly of service data units | |
EP3469749B1 (en) | Real-time segmentation | |
KR20090084320A (en) | Apparatus and method for transmitting and receiving mac pdu in mobile communication system | |
KR20080095727A (en) | Method and apparatus for transmitting/receiving packet in mobile communication system | |
CN101431515B (en) | Method and system for data transmission in non-affirmation mode | |
CN107645747B (en) | Method and equipment for sending and receiving data | |
KR101318101B1 (en) | Method and apparatus for collective byte alignment in mobile communication system | |
KR101389075B1 (en) | Apparatus and method for generating mac pdu in mobile communication system | |
US20020196751A1 (en) | Method and apparatus for indicating packet boundaries in frames | |
KR20110016816A (en) | Enhanced lte communication apparatus for providing enhanced concatenation, segmentation and reassembly of pdus | |
KR20090026892A (en) | Apparatus and method for generating mac pdu in mobile communication system | |
CN108882304B (en) | Method and device for encapsulating data packet in data link layer | |
KR20000059636A (en) | The composition of service data units into protocol data units in datalink layer | |
KR20090019118A (en) | Apparatus and method for media access control packet configuration in mobile communication system | |
KR20070108465A (en) | Method and apparatus for transmitting/receiving packet in mobile communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20160929 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20170927 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |