KR100869251B1 - Asynchronous transmit apparatus and method between mac layer and modem - Google Patents

Asynchronous transmit apparatus and method between mac layer and modem Download PDF

Info

Publication number
KR100869251B1
KR100869251B1 KR1020070032289A KR20070032289A KR100869251B1 KR 100869251 B1 KR100869251 B1 KR 100869251B1 KR 1020070032289 A KR1020070032289 A KR 1020070032289A KR 20070032289 A KR20070032289 A KR 20070032289A KR 100869251 B1 KR100869251 B1 KR 100869251B1
Authority
KR
South Korea
Prior art keywords
data
mac layer
modem
buffer
time
Prior art date
Application number
KR1020070032289A
Other languages
Korean (ko)
Other versions
KR20080052146A (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 한국전자통신연구원
Publication of KR20080052146A publication Critical patent/KR20080052146A/en
Application granted granted Critical
Publication of KR100869251B1 publication Critical patent/KR100869251B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/32Carrier systems characterised by combinations of two or more of the types covered by groups H04L27/02, H04L27/10, H04L27/18 or H04L27/26
    • H04L27/34Amplitude- and phase-modulated carrier systems, e.g. quadrature-amplitude modulated carrier systems
    • H04L27/36Modulator circuits; Transmitter circuits
    • 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/28Timers or timing mechanisms used in protocols
    • 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/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Abstract

본 발명은 맥 계층과 모뎀간의 데이터를 비동기적으로 전송하는 방법으로서, 이를 위하여 데이터의 송수신 시간을 제어하기 위한 맥용 타이머를 구비하고, 맥용 타이머의 구동 주기를 제 1 프레임 주기로 설정한 후 설정된 제 1 프레임 주기 내에서 송신 시간과 수신 시간을 설정하여 데이터를 송수신하는 맥 계층과, 맥 계층 및 외부와 데이터의 송수신을 위한 송수신 시간을 제어하기 위한 모뎀용 타이머를 구비하고, 모뎀용 타이머의 구동 주기를 제 2 프레임 주기로 설정한 후 제 2 프레임 주기를 이용하여 데이터를 맥 계층 또는 외부로 송수신하는 모뎀을 구비한다.The present invention provides a method for asynchronously transmitting data between a Mac layer and a modem. The method includes a timer for controlling a transmission / reception time of data and a first set period after setting a driving period of the timer for a MAC to a first frame period. A MAC layer for transmitting and receiving data by setting a transmission time and a receiving time within a frame period, and a timer for a modem for controlling a transmission time for transmitting and receiving data between the MAC layer and the outside, and a driving cycle of the modem timer And a modem for transmitting and receiving data to or from the MAC layer or the outside using the second frame period after setting the second frame period.

이와 같이, 본 발명은 모뎀과 맥이 각각의 타이머를 이용하여 프레임의 시작 시점을 결정한 후 타이머에 설정된 시간에 데이터를 전달함으로서, 맥 계층과 모뎀간의 인터럽트를 이용하지 않고 동기를 맞추지 않은 상태에서 데이터를 전달할 수 있다.As described above, according to the present invention, the modem and the Mac determine the start point of the frame using the respective timers, and then transmit the data at the time set in the timer, so that the data is not synchronized without using the interrupt between the Mac layer and the modem. Can be passed.

SDR, MAC, MODEM, 데이터 전송 SDR, MAC, MODEM, Data Transfer

Description

MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치 및 방법{ASYNCHRONOUS TRANSMIT APPARATUS AND METHOD BETWEEN MAC LAYER AND MODEM}Apparatus and method for asynchronously transferring data between the MAC layer and the MODMD {ASYNCHRONOUS TRANSMIT APPARATUS AND METHOD BETWEEN MAC LAYER AND MODEM}

도 1은 본 발명의 바람직한 실시 예에 따른 SDR 기지국 시스템에서 데이터전송을 설명하기 위한 맥 계층과 모뎀의 내부 구성을 도시한 블록도이며,1 is a block diagram illustrating an internal configuration of a MAC layer and a modem for explaining data transmission in an SDR base station system according to an exemplary embodiment of the present invention.

도 2a는 본 발명에 따른 맥 계층의 시간 관계를 도시한 도면이며,2A is a diagram illustrating a time relationship of a MAC layer according to the present invention.

도 2b는 본 발명에 따른 모뎀의 시간 관계를 도시한 도면이며,2b is a diagram showing a time relationship of a modem according to the present invention,

도 3은 본 발명에 따른 모뎀의 Rx 버퍼를 도시한 도면이며,3 is a diagram illustrating an Rx buffer of a modem according to the present invention.

도 4는 본 발명에 따른 모뎀의 Tx 버퍼를 도시한 도면이며,4 is a diagram illustrating a Tx buffer of a modem according to the present invention.

도 5는 본 발명에 따른 송신 타이밍을 도시한 도면이며,5 is a diagram illustrating transmission timing according to the present invention;

도 6은 본 발명에 따른 수신 타이밍을 도시한 도면이다.6 is a diagram illustrating reception timing according to the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : 맥 계층 102 : 맥용 타이머100: Mac Layer 102: Timer for Mac

104, 124 : 제어 모듈 106, 126 : 송신 모듈104, 124: control module 106, 126: transmission module

108, 128 : 수신 모듈 110 : 트래픽 측정 모듈108, 128: receiving module 110: traffic measurement module

122 : 모뎀용 타이머 130 : 버퍼부 122: timer for modem 130: buffer portion

본 발명은 OFDM(Orthogonal Frequency Division Multiplexing) 시스템에 관한 것으로 특히 SDR 기술을 기반으로 하는 OFDM 시스템 기지국에서 맥(MAC) 계층과 모뎀(MODEM)간의 데이터를 비동기적으로 처리하는 장치 및 방법에 관한 것이다.The present invention relates to an Orthogonal Frequency Division Multiplexing (OFDM) system, and more particularly, to an apparatus and method for asynchronously processing data between a MAC layer and a modem in an OFDM system base station based on SDR technology.

OFDM(Orthogonal Frequency Division Multiplexing, 이하 OFDM이라 함) 시스템에서 맥과 모뎀 사이의 데이터 전송은 프레임 단위로 처리 된다. 모뎀과 맥은 프레임 단위로 데이터 전송을 처리하기 위해서 프레임의 시작점을 결정해야 한다. In an orthogonal frequency division multiplexing (OFDM) system, data transmission between a MAC and a modem is processed in units of frames. Modems and Macs must determine the starting point of a frame in order to handle the data transfer frame by frame.

여기서, 모뎀은 하드웨어 클럭을 이용하여 프레임의 시작점을 결정할 수 있고, 맥 소프트웨어는 운영체제(Operating System)에서 제공하는 인터럽트를 이용하여 프레임의 시작점을 결정할 수 있다. Here, the modem may determine the starting point of the frame using a hardware clock, and the Mac software may determine the starting point of the frame using an interrupt provided by an operating system.

모뎀에서 만든 프레임 시작점은 하드웨어 클럭을 이용하기 때문에 시간 지연 등이 없이 정확한 반면, 맥에서 만든 프레임 시작점은 여러 가지 요인에 의해서 프레임 시작점의 지연이 발생하는 문제젬이 있다. The frame start point created by the modem is accurate without time delays because it uses a hardware clock, while the frame start point created by the Mac has a problem gem that causes the delay of the frame start point due to various factors.

이러한 문제점을 해결하기 위해 종래의 시스템에서는 모뎀에서 프레임 시작점을 결정하고 이를 인터럽트 신호를 이용하여 맥에게 전달하여서 맥이 이를 프레임 시작점으로 활용하는 방법을 사용한다. 이렇게 동기가 맞은 상태에서 모뎀과 맥은 약속된 시간에 프레임 데이터를 주고 받는다.In order to solve this problem, the conventional system uses a method of determining a frame start point in a modem and transferring the signal to the Mac using an interrupt signal, thereby utilizing the Mac as a frame start point. In this synchronized state, the modem and Mac exchange frame data at the promised time.

이와 같이, 종래의 방법에서는 모뎀과 맥이 동기를 맞추기 위해서 모뎀에서 프레임의 시작 시간을 맥에세 인터럽트로 전달하는데, 이 경우 인터럽트를 전달하는데 지연이 발생하게 되는 문제점이 있다.As described above, in the conventional method, in order for the modem and the Mac to synchronize, the modem transmits the start time of the frame to the MAC interrupt. In this case, there is a problem in that a delay occurs in delivering the interrupt.

이러한 문제점으로 인하여 실시간 동작을 보장해야 하는 시스템에서는 심각한 문제를 유발하게 될 뿐만 아니라 인터럽트 전달 지연 시간이 랜덤하게 되어도 문제를 발생시키게 된다.This problem not only causes a serious problem in a system that needs to guarantee real-time operation, but also causes a problem even if the interrupt propagation delay time is random.

본 발명의 목적은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 모뎀과 맥이 각각의 타이머를 이용하여 프레임의 시작 시점을 결정한 후 타이머에 설정된 시간에 데이터를 전달함으로서, 맥 계층과 모뎀간의 인터럽트를 이용하지 않고 동기를 맞추지 않은 상태에서 데이터를 전달할 수 있는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치 및 방법을 제공하는데 있다.An object of the present invention is to solve the above problems, the modem and the Mac determines the start point of the frame using each timer, and then delivers the data at the time set in the timer, interrupt between the Mac layer and the modem An apparatus and a method for asynchronously transmitting data between a MAC layer and a MODE capable of transferring data without using a network and without synchronizing with each other are provided.

상기와 같은 목적을 달성하기 위하여 본 발명은, 데이터의 송수신 시간을 제어하기 위한 맥용 타이머를 구비하고, 상기 맥용 타이머의 구동 주기를 제 1 프레임 주기로 설정한 후 상기 설정된 제 1 프레임 주기 내에서 송신 시간과 수신 시간을 설정하여 상기 데이터를 송수신하는 맥 계층과, 상기 맥 계층 및 외부와 데이터의 송수신을 위한 송수신 시간을 제어하기 위한 모뎀용 타이머를 구비하고, 상기 모뎀용 타이머의 구동 주기를 제 2 프레임 주기로 설정한 후 상기 제 2 프레임 주기를 이용하여 데이터를 상기 맥 계층 또는 외부로 송수신하는 모뎀을 구비한다.In order to achieve the above object, the present invention is provided with a timer for controlling the time of data transmission and reception, the transmission time within the set first frame period after setting the driving period of the timer for the MAC to the first frame period And a MAC layer for transmitting and receiving the data by setting a reception time, and a timer for controlling a transmission / reception time for transmitting / receiving data between the MAC layer and the outside, and a driving period of the modem timer for a second frame. And a modem configured to transmit / receive data to / from the MAC layer or the outside by using the second frame period.

또한, 본 발명은 ODFM 시스템 기지국에서의 맥 계층과 모뎀간의 데이터 전송 방법으로서, 상기 맥 계층 내 타이머의 구동 주기를 토대로 설정된 제 1 프레임 주 기 내에서 송신 시간과 수신 시간을 설정하는 단계와, 상기 모뎀 내 타이머의 구동 주기를 토대로 제 2 프레임 주기를 설정하는 단계와, 상기 제 1 프레임 주기의 송신 시간에 상기 맥 계층으로부터 전송받은 데이터를 상기 제 2 프레임 주기를 이용하여 상기 모뎀의 Rx 버퍼에 저장하는 단계와, 상기 제 2 프레임 주기를 이용하여 외부로부터 수신되는 데이터를 상기 모뎀의 Tx 버퍼에 저장하는 단계와, 상기 맥 계층은 상기 수신 시간에 상기 Tx 버퍼의 상태를 체크하여 상기 Tx 버퍼에 저장된 데이터를 인출하는 단계를 포함한다.The present invention also provides a data transmission method between a MAC layer and a modem in an ODFM system base station, the method comprising: setting a transmission time and a reception time in a first frame period set based on a driving period of a timer in the MAC layer; Setting a second frame period based on a driving period of a timer in a modem, and storing data received from the MAC layer at a transmission time of the first frame period in an Rx buffer of the modem using the second frame period. Storing the data received from the outside in the Tx buffer of the modem using the second frame period, and the MAC layer checks the state of the Tx buffer at the reception time and stores the data in the Tx buffer. Retrieving the data.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예에 대하여 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 실시 예에 따른 SDR 기지국 시스템에서 데이터전송을 설명하기 위한 맥 계층과 모뎀의 내부 구성을 도시한 블록도로서, 맥 계층(100)과 모뎀(120)으로 구성된다. 여기서, 맥 계층(100)은 맥용 타이머(102), 제어 모듈(104), 송수신 모듈(106, 108) 및 트래픽 측정 모듈(110)을 포함하며, 모뎀(120)은 Rx 버퍼(122), Tx 버퍼(124), 송수신 모듈(126, 128)을 포함한다.FIG. 1 is a block diagram illustrating an internal configuration of a MAC layer and a modem for explaining data transmission in an SDR base station system according to an exemplary embodiment of the present invention, and includes a MAC layer 100 and a modem 120. Here, the MAC layer 100 includes a MAC timer 102, a control module 104, a transmit / receive module 106 and 108, and a traffic measurement module 110, and the modem 120 includes an Rx buffer 122 and a Tx. The buffer 124 includes a transmission / reception module 126 and 128.

맥 계층(100)의 맥용 타이머(102)는 소프트웨어 타이머로서 그 구동 주기가 항상 일정치 않으며, 이에 따라 맥용 타이머(102)에 의해서 설정되는 제 1 프레임 주기(Ts, Ts-x, Ts+y)는, 도 2a에 도시된 바와 같이, 항상 일정치 않다.The MAC timer 100 of the MAC layer 100 is a software timer, and its driving period is not always constant. Accordingly, the first frame period Ts, Ts-x, Ts + y set by the MAC timer 102 is accordingly. Is not always constant, as shown in FIG. 2A.

맥 계층(100)의 제어 모듈(104)은 맥용 타이머(102)의 구동 주기를 제 1 프레임 주기로 설정하고, 제 1 프레임 주기를 데이터의 송신 시간(Rx time)과 수신 시간(Tx time)으로 분할한 후 분할된 송수신 시간에 의거하여 데이터를 송수신 모듈(106, 108)을 통해 송수신한다. 이때, 제어 모듈(104)은 송수신 시간의 합이 제 1 프레임 주기보다 작거나 같게 되도록 송수신 시간을 설정하며, 설정된 송수신 시간은 제어 모듈(104)에 의해 수행된다.The control module 104 of the MAC layer 100 sets the driving period of the MAC timer 102 to a first frame period, and divides the first frame period into a transmission time (Rx time) and a reception time (Tx time) of data. After that, data is transmitted and received through the transmission and reception modules 106 and 108 based on the divided transmission and reception times. At this time, the control module 104 sets the transmission / reception time such that the sum of the transmission / reception times is less than or equal to the first frame period, and the set transmission / reception time is performed by the control module 104.

판단 모듈(110)은 송수신 모듈(106, 108)을 통해 송수신되는 데이터의 트래픽을 측정하며, 제어모듈(104)은 판단 모듈(110)에서 측정된 트래픽에 의거하여 제 1 프레임 주기를 적절하게 송수신 시간으로 분할한다. 즉, 제어 모듈(104)은 송신 모듈(106)에서 트래픽이 크게 측정되는 경우 송신 시간을 길게 하고, 그렇지 않을 경우 수신 시간을 크게 한다.The determination module 110 measures the traffic of data transmitted and received through the transmission and reception modules 106 and 108, and the control module 104 appropriately transmits and receives the first frame period based on the traffic measured by the determination module 110. Divide by time. That is, the control module 104 lengthens the transmission time when the traffic is measured largely in the transmission module 106, and increases the reception time otherwise.

모뎀(120)의 모뎀용 타이머(122)는 하드웨어 타이머로서, 하드웨어 클럭을 세어서 프레임 시작 시간을 결정하기 때문에 그 구동 주기가 항상 일정하다. 이에 따라, 모뎀(120)의 제어 모듈(124)은, 도 2b에 도시된 바와 같이, 일정 시간 간격을 제 2 프레임 주기(Ts)로 설정한 후 제 2 프레임 주기 동안 송수신 모듈(126, 128)을 통해 병렬적으로 데이터를 맥 계층(100) 또는 외부, 예컨대 이동 단말기(도시 생략됨)로 송신하거나 수신한다.The modem timer 122 of the modem 120 is a hardware timer, and the driving period is always constant because the hardware clock is counted to determine the frame start time. Accordingly, as shown in FIG. 2B, the control module 124 of the modem 120 sets the predetermined time interval to the second frame period Ts and then transmits / receives the modules 126 and 128 during the second frame period. Data is transmitted or received in parallel via the MAC layer 100 or externally, such as a mobile terminal (not shown).

이때, 제어 모듈(124)은 제 2 프레임 주기 동안 송신 버퍼 시간(Tx Buffer time), 수신 버퍼 시간(Rx Buffer time), 송신 시간(Tx time) 및 수신 시간(Rx time)을 병렬적으로 수행한다.At this time, the control module 124 performs the transmission buffer time (Tx Buffer time), the reception buffer time (Rx Buffer time), the transmission time (Tx time) and the reception time (Rx time) in parallel during the second frame period. .

버퍼부(130)는 수신 모듈(128)을 통해 맥 계층(100)으로부터 수신되는 데이터가 저장되는 Rx 버퍼(130a)와 외부로부터 수신되는 데이터가 저장되는 Tx 버 퍼(130b)를 포함한다. The buffer unit 130 includes an Rx buffer 130a in which data received from the MAC layer 100 is stored through the receiving module 128 and a Tx buffer 130b in which data received from the outside is stored.

여기서, Rx 버퍼(130a)는, 도 3에 도시된 바와 같이, 다수개의 버퍼(Buf #0∼Buf #N-1)로 구성되며, 데이터가 저장되는 주소(pRecv) 및 데이터가 인출되는 주소(pTx)를 가지고 있다.Here, as shown in FIG. 3, the Rx buffer 130a includes a plurality of buffers Buf # 0 to Buf # N-1 and includes an address pRecv at which data is stored and an address at which data is retrieved ( pTx).

또한, Tx 버퍼(130b)는, 도 4에 도시된 바와 같이, 다수개의 버퍼(Buf #0∼Buf #N-1)로 구성되며, 데이터가 저장되는 버퍼의 주소(pRx) 및 맥 계층(100)이 모뎀(120)에 접속하여 데이터를 읽어갈 경우 버퍼의 주소(pSend)를 가지고 있다.In addition, as illustrated in FIG. 4, the Tx buffer 130b includes a plurality of buffers (Buf # 0 to Buf # N-1), and the address (pRx) and the MAC layer 100 of the buffer in which data is stored. ) Has a buffer address (pSend) when it connects to the modem 120 and reads data.

모뎀(120)의 수신 모듈(128)을 통해 맥 계층(100)에서 수신된 데이터는 지정한 주소(pRecv)의 Rx 버퍼(130a)에 저장되며, 지정된 주소(pRecv)에 데이터의 저장됨에 따라 Rx 버퍼(130a)의 주소(pRecv) 값은 증가된다.  The data received at the MAC layer 100 through the receiving module 128 of the modem 120 is stored in the Rx buffer 130a at the specified address pRecv, and as the data is stored at the designated address pRecv, the Rx buffer. The address pRecv value of 130a is increased.

또한, Rx 버퍼(130a)에 저장된 데이터, 예컨대 Rx 버퍼(130a)가 가리키는 주소(pTx)에 저장된 데이터는 송신 모듈(126)에 의해 인출되어 외부로 송신되는데, 송신 모듈(126)이 데이터를 인출함에 따라 Rx 버퍼(130a)가 가리키는 주소(pTx)의 값이 증가된다. In addition, data stored in the Rx buffer 130a, for example, data stored at the address pTx indicated by the Rx buffer 130a is fetched by the transmission module 126 and transmitted to the outside, and the transmission module 126 fetches the data. As a result, the value of the address pTx indicated by the Rx buffer 130a is increased.

Rx 버퍼(130a)에 데이터가 저장되는 주소(pRecv)와 인출되는 데이터의 주소(pTx)는 Buf#0부터 Buf#N-1을 계속 반복하여 증가한다. Rx 버퍼(130a)에 데이터가 저장되는 주소(pRecv)가 증가하는 과정 중 읽어지는 데이터의 주소(pTx)와 같게 되면, Rx 버퍼(130a)가 가득 찬 상태를 의미하며, 읽어지는 데이터의 주소(pTx)가 증가하는 도중 데이터가 저장되는 주소(pRecv)와 일치하게 되면 Rx 버퍼(130a)가 빈 상태를 의미한다.The address (pRecv) where data is stored in the Rx buffer 130a and the address (pTx) of the data to be fetched are repeatedly increased from Buf # 0 to Buf # N-1. When the address (pRecv) at which data is stored in the Rx buffer 130a is equal to the address (pTx) of the data being read, it means that the Rx buffer 130a is full and the address of the data being read ( If pTx) is increased and coincides with the address at which data is stored (pRecv), it means that the Rx buffer 130a is empty.

한편, 수신 모듈(128)이 외부로부터 수신한 데이터는 Tx 버퍼(130b)가 지정한 주소(pRx)에 저장되며, 지정된 주소(pRx)에 데이터의 저장됨에 따라 Tx 버퍼(130b)의 주소(pRx)의 값은 증가된다.Meanwhile, the data received from the outside by the receiving module 128 is stored at the address pRx designated by the Tx buffer 130b, and as the data is stored at the designated address pRx, the address pRx of the Tx buffer 130b. The value of is increased.

또한, 이렇게 Tx 버퍼(130b)에 저장된 데이터는 맥 계층(100)에 의해 인출되는데, 즉, 맥 계층(100)은 Tx 버퍼(130b)가 가리키는 주소(pSend)에 저장된 데이터를 인출하고, 데이터가 인출됨에 따라 Tx 버퍼(130b)가 가리키는 주소(pSend)의 값이 증가된다. In addition, the data stored in the Tx buffer 130b is fetched by the Mac layer 100. That is, the Mac layer 100 fetches data stored at the address pSend indicated by the Tx buffer 130b, and the data is As it is fetched, the value of the address pSend indicated by the Tx buffer 130b is increased.

Tx 버퍼(130b)에 데이터가 저장되는 주소(pRx)와 읽어지는 데이터의 주소(pSend)는 Buf #0부터 Buf #N-1을 계속 반복하여 증가한다. Tx 버퍼(130b)에 데이터가 저장되는 주소(pRx)가 증가하는 과정 중 읽어지는 데이터의 주소(pSend)와 같게 되면, Tx 버퍼(130b)가 가득 찬 상태이며, 읽어지는 데이터의 주소(pSend)가 증가하는 도중 데이터가 저장되는 주소(pRx)와 일치하게 되면 Tx 버퍼(130b)가 빈 상태이다.The address pRx where data is stored in the Tx buffer 130b and the address pSend of the data to be read continuously increase from Buf # 0 to Buf # N-1. When the address pSx at which data is stored in the Tx buffer 130b becomes the same as the address pSend of the data to be read, the Tx buffer 130b is full and the address (pSend) of the data to be read. If Tx coincides with the address pRx where data is stored, the Tx buffer 130b is empty.

상기와 같은 구성을 갖는 맥 계층(100)과 모뎀(120)간의 데이터 전송 과정에 대해서는 도 5 내지 도 6을 참조하여 설명한다.A data transmission process between the MAC layer 100 and the modem 120 having the above configuration will be described with reference to FIGS. 5 to 6.

도 5를 참조하면, 맥 계층(100)의 제어 모듈(104)은 제 1 프레임 주기 내에서 송신 시간을 이용하여 데이터를 전송하며, 이에 모뎀(120)의 제어 모듈(124)은 수신 버퍼 시간(Rx Buffer time)에 수신 모듈(128)을 통해 맥 계층(100)으로부터 데이터를 수신하여 Rx 버퍼(130a)에 저장시킨다. Referring to FIG. 5, the control module 104 of the MAC layer 100 transmits data using a transmission time within a first frame period, so that the control module 124 of the modem 120 receives a reception buffer time ( Rx buffer time) receives data from the Mac layer 100 through the receiving module 128 and stores it in the Rx buffer 130a.

또한, 모뎀(120)의 제어 모듈(124)은 맥 계층(100)의 송신 시간(Tx time)과 관계없이 제 2 프레임 주기의 송신 시간에 Rx 버퍼(130a)의 상태만을 체크하여 데이터를 인출하고, 인출된 데이터를 송신 모듈(126)을 이용하여 외부로 송신한다.In addition, the control module 124 of the modem 120 checks only the state of the Rx buffer 130a at the transmission time of the second frame period and fetches data regardless of the transmission time (Tx time) of the MAC layer 100. The extracted data is transmitted to the outside using the transmission module 126.

도 6을 참조하면, 모뎀(120)의 제어 모듈(124)은 수신 시간(Rx time)을 이용하여 수신 모듈(128)을 통해 수신되는 데이터를 수신하는데, Tx 버퍼(130b)에는 수신 시간(Rx time)이 끝나는 시점에 맞춰서 데이터가 저장된다. 즉, 송신 버퍼 시간(Tx Buffer time)은 수신 시간(Rx time) 내에 설정되며, 수신 시간(Rx time)의 끝나는 시점에 맞춰서 종료된다.Referring to FIG. 6, the control module 124 of the modem 120 receives data received through the reception module 128 using the reception time Rx time, and the reception time Rx is included in the Tx buffer 130b. Data is stored at the end of time). That is, the transmission buffer time Tx Buffer time is set within the reception time Rx time and ends at the end of the reception time Rx time.

맥 계층(100)의 제어 모듈(104)은 수신 모듈(108)을 통해 모뎀(120)의 Tx 버퍼(130b)로부터 데이터를 수신 시간(Rx time)에 맞춰서 인출하는데, 수신 시간(Rx time)은 모뎀(120)에 설정된 수신 시간(Rx time)과 관계없이 맥 계층(100)에 설정된 송신 시간이 끝나는 시점에 수행되고, 모뎀(120)의 Tx 버퍼(130b) 상태만을 확인하여 데이터가 존재할 경우 데이터를 인출한다.The control module 104 of the MAC layer 100 fetches data from the Tx buffer 130b of the modem 120 in accordance with the reception time (Rx time) through the reception module 108. The reception time (Rx time) is Regardless of the reception time (Rx time) set in the modem 120, it is performed at the end of the transmission time set in the Mac layer 100, and if only data exists by checking only the state of the Tx buffer 130b of the modem 120. To draw.

본 발명에 따르면, 맥 계층 내 맥용 타이머와 모뎀 내 모뎀용 타이머를 이용하여 프레임 시작 시점을 결정하고 각 타이머의 구동에 의거하여 정해진 시간에 데이터를 송수신함으로서, 맥 계층과 모뎀간의 동기를 정확하게 맞추기 힘든 실시간성을 보장하는 시스템에서 동기를 맞추지 않고도 시스템을 동작시킬 수 있다.According to the present invention, it is difficult to accurately synchronize the synchronization between the Mac layer and the modem by determining the frame start time using the Mac timer in the Mac layer and the modem timer in the modem, and transmitting and receiving data at a predetermined time based on the operation of each timer. In a system that guarantees real time, the system can be operated without synchronization.

본 발명은 상술한 바람직한 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위내에 있게 된다.The present invention is not limited to the above-described preferred embodiments, and various modifications can be made by those skilled in the art without departing from the gist of the invention as claimed in the claims. Such changes will fall within the scope of the claims.

본 발명은 SDR 기술을 기반으로 하는 OFDM 시스템 기지국에서 MAC 계층과 MODEM간의 데이터를 비동기식으로 전송함으로서, MAC 계층과 MODEM간에 동기를 정확하게 맞추기 힘든 실시간성을 보장해야 하는 시스템에서 동기를 맞추지 않고도 시스템을 동작 시킬 수 있다는 효과가 있다.The present invention asynchronously transmits data between the MAC layer and MODEM in an OFDM system base station based on SDR technology, thereby operating the system without synchronizing in a system that must guarantee real-time hardness to accurately synchronize the MAC layer and MODEM. The effect is that you can.

Claims (17)

데이터의 송수신 시간을 제어하기 위한 맥용 타이머를 구비하고, 상기 맥용 타이머의 구동 주기를 제 1 프레임 주기로 설정한 후 상기 설정된 제 1 프레임 주기 내에서 송신 시간과 수신 시간을 설정하여 상기 데이터를 송수신하는 맥 계층과,A Mac having a timer for controlling the transmission / reception time of the data, and setting the drive cycle of the MAC timer to the first frame period, and then set the transmission time and the reception time within the set first frame period to transmit and receive the data Hierarchy, 상기 맥 계층 및 외부와 데이터의 송수신을 위한 송수신 시간을 제어하기 위한 모뎀용 타이머를 구비하고, 상기 모뎀용 타이머의 구동 주기를 제 2 프레임 주기로 설정한 후 상기 제 2 프레임 주기를 이용하여 데이터를 상기 맥 계층 또는 외부로 송수신하는 모뎀And a modem timer for controlling a transmission / reception time for transmitting and receiving data to and from the MAC layer and the outside, and setting a driving period of the modem timer to a second frame period, and then storing the data using the second frame period. Modem to send / receive to Mac layer or outside 을 구비하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.A device for asynchronously transmitting data between the MAC layer and the MODIEM having a. 제 1 항에 있어서,The method of claim 1, 상기 맥 계층에는, In the Mac layer, 상기 맥 계층에 송수신되는 데이터의 트래픽을 측정하는 트래픽 측정 모듈을 더 구비하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And a traffic measurement module for measuring traffic of data transmitted and received to and from the MAC layer. The apparatus for asynchronously transmitting data between the MAC layer and the MODEM. 제 2 항에 있어서,The method of claim 2, 상기 맥 계층은, The Mac layer, 상기 트래픽 측정 모듈에서 측정된 송신 및 수신 트래픽에 의거하여 상기 제 1 프레임 주기 내 송신 시간과 수신 시간을 조절하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And apparatus for asynchronously transmitting data between the MAC layer and the MODDEM, wherein the transmission time and the reception time are adjusted in the first frame period based on the transmission and reception traffic measured by the traffic measurement module. 제 1 항에 있어서,The method of claim 1, 상기 맥용 타이머는, 상기 구동 주기가 일정치 않은 소프트웨어 타이머인 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.The MAC timer is a device for asynchronously transferring data between the MAC layer and MODEM, characterized in that the software timer is a constant drive cycle. 제 1 항에 있어서,The method of claim 1, 상기 모뎀용 타이머는, 상기 구동 주기가 일정한 하드웨어 타이머인 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And the modem timer is an asynchronous timer that transmits the data between the MAC layer and the MODEM. 제 1 항에 있어서,The method of claim 1, 상기 모뎀은,The modem, 상기 맥 계층에서 전송한 데이터가 저장되는 Rx 버퍼와,An Rx buffer in which data transmitted from the MAC layer is stored; 상기 외부로부터 수신한 데이터가 저장되는 Tx 버퍼와,A Tx buffer in which data received from the outside is stored; 상기 Rx 버퍼에 저장된 데이터를 인출하여 외부로 송신하는 송신 모듈과,A transmitting module for extracting data stored in the Rx buffer and transmitting the extracted data to the outside; 상기 외부로부터 데이터를 수신하여 상기 Tx 버퍼에 제공하는 수신 모듈을 구비하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And a receiving module for receiving data from the outside and providing the received data to the Tx buffer. 제 6 항에 있어서,The method of claim 6, 상기 맥 계층은, 상기 제 1 프레임 주기의 수신 시간에 상기 Tx 버퍼의 상태를 체크하여 상기 Tx 버퍼에 저장된 데이터를 인출하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And the MAC layer asynchronously transmits the data between the MAC layer and the MODEM, wherein the data stored in the Tx buffer is fetched by checking the state of the Tx buffer at the reception time of the first frame period. 제 6 항에 있어서,The method of claim 6, 상기 제 2 프레임 주기는, 병렬적으로 수행되는 송신 버퍼 시간, 수신 버퍼 시간, 송신 시간 및 수신 시간을 포함하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And wherein the second frame period includes a transmission buffer time, a reception buffer time, a transmission time, and a reception time performed in parallel, wherein the data is asynchronously transmitted between the MAC layer and the MODEM. 제 8 항에 있어서,The method of claim 8, 상기 송신 모듈은, 상기 제 2 프레임 주기의 송신 시간에 상기 Rx 버퍼에 데이터가 존재할 경우 송신 동작을 수행하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.And the transmitting module asynchronously transmits data between the MAC layer and the MODEM if the data exists in the Rx buffer at the transmission time of the second frame period. 제 8 항에 있어서,The method of claim 8, 상기 모뎀은, 상기 맥 계층의 수신 시간이 끝나기 시점에 맞춰서 상기 수신 버퍼 시간을 설정하여 상기 맥 계층에서 전송되는 데이터를 상기 Rx 버퍼에 저장하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.The modem asynchronously stores the data between the MAC layer and the MODEM, wherein the reception buffer time is set according to the end of the reception time of the MAC layer, and the data transmitted from the MAC layer is stored in the Rx buffer. Transmitting device. 제 8 항에 있어서,The method of claim 8, 상기 모뎀은, 상기 모뎀에 설정된 수신 시간의 끝시점에 맞춰서 상기 송신 버퍼 시간을 설정하여 상기 수신 모듈에서 수신한 데이터를 상기 Tx 버퍼에 저장하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.The modem asynchronously stores the data between the MAC layer and the MODEM, wherein the transmission buffer time is set according to an end point of the reception time set in the modem, and the data received by the reception module is stored in the Tx buffer. Transmitting device. 제 1 항에 있어서,The method of claim 1, 상기 맥 계층은, 상기 제 1 프레임 주기 내에서 상기 송신 시간과 수신 시간을 순차적으로 수행하여 상기 데이터를 송수신하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 장치.The MAC layer asynchronously transmits the data between the MAC layer and the MOMD, characterized in that the transmission and reception of the data by sequentially performing the transmission time and the reception time within the first frame period. ODFM 시스템 기지국에서의 맥 계층과 모뎀간의 데이터 전송 방법으로서,As a data transmission method between a MAC layer and a modem in an ODFM system base station, 상기 맥 계층 내 타이머의 구동 주기를 토대로 설정된 제 1 프레임 주기 내에서 송신 시간과 수신 시간을 설정하는 단계와,Setting a transmission time and a reception time within a first frame period set based on a driving period of the timer in the MAC layer; 상기 모뎀 내 타이머의 구동 주기를 토대로 제 2 프레임 주기를 설정하는 단계와,Setting a second frame period based on a driving period of the timer in the modem; 상기 제 1 프레임 주기의 송신 시간에 상기 맥 계층으로부터 전송받은 데이터를 상기 제 2 프레임 주기를 이용하여 상기 모뎀의 Rx 버퍼에 저장하는 단계와,Storing data received from the MAC layer at a transmission time of the first frame period in an Rx buffer of the modem using the second frame period; 상기 제 2 프레임 주기를 이용하여 외부로부터 수신되는 데이터를 상기 모뎀의 Tx 버퍼에 저장하는 단계와,Storing data received from the outside using the second frame period in a Tx buffer of the modem; 상기 맥 계층은 상기 수신 시간에 상기 Tx 버퍼의 상태를 체크하여 상기 Tx 버퍼에 저장된 데이터를 인출하는 단계The MAC layer checks the state of the Tx buffer at the reception time and retrieves the data stored in the Tx buffer. 를 포함하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 방법.And asynchronously transmitting data between the MAC layer and the MODEM. 제 13 항에 있어서,The method of claim 13, 상기 제 2 프레임 주기는, 병렬적으로 수행되는 수신 버퍼 시간, 송신 버퍼 시간, 송신 시간 및 수신 시간으로 구성된 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 방법.And wherein the second frame period comprises a reception buffer time, a transmission buffer time, a transmission time, and a reception time performed in parallel, asynchronously transmitting data between the MAC layer and the MODEM. 제 13 항에 있어서,The method of claim 13, 상기 제 1 프레임 주기 내 수신 시간은, 상기 송신 시간이 끝나는 시점에 시작되는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 방법.And wherein the reception time in the first frame period begins at the end of the transmission time. 제 13 항에 있어서,The method of claim 13, 상기 모뎀은, 상기 제 2 프레임 주기 내 송신 시간에 상기 Rx 버퍼에 데이터가 존재하면 송신 동작을 수행하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 방법.And the modem performs a transmission operation if data exists in the Rx buffer at a transmission time within the second frame period. 제 14 항에 있어서,The method of claim 14, 상기 맥 계층은, 상기 제 1 프레임 주기 내 수신 시간에 상기 Tx 버퍼 상태를 체크하여 데이터가 존재하면 데이터를 인출하여 수신하는 것을 특징으로 하는 MAC 계층과 MODEM간의 데이터를 비동기적으로 전송하는 방법.And the MAC layer asynchronously transmits the data between the MAC layer and the MOMD, characterized in that the Tx buffer state is checked at the reception time within the first frame period, and data is retrieved and received.
KR1020070032289A 2006-12-05 2007-04-02 Asynchronous transmit apparatus and method between mac layer and modem KR100869251B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20060122031 2006-12-05
KR1020060122031 2006-12-05

Publications (2)

Publication Number Publication Date
KR20080052146A KR20080052146A (en) 2008-06-11
KR100869251B1 true KR100869251B1 (en) 2008-11-18

Family

ID=39807003

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070032289A KR100869251B1 (en) 2006-12-05 2007-04-02 Asynchronous transmit apparatus and method between mac layer and modem

Country Status (1)

Country Link
KR (1) KR100869251B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126693A1 (en) 2000-12-28 2002-09-12 Stark Gavin J. MAC bus interface
KR20040042736A (en) * 2002-11-15 2004-05-20 엘지전자 주식회사 Apparatus and method for controlling timing of high speed wireless lan system
KR20060039601A (en) * 2004-11-03 2006-05-09 한국전자통신연구원 Wpan mac frame transmission device and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126693A1 (en) 2000-12-28 2002-09-12 Stark Gavin J. MAC bus interface
KR20040042736A (en) * 2002-11-15 2004-05-20 엘지전자 주식회사 Apparatus and method for controlling timing of high speed wireless lan system
KR20060039601A (en) * 2004-11-03 2006-05-09 한국전자통신연구원 Wpan mac frame transmission device and method thereof

Also Published As

Publication number Publication date
KR20080052146A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
DK3118855T3 (en) Method, device and system for synchronous audio playback
US8068429B2 (en) Transmit scheduling
KR101126091B1 (en) Method and system for the clock synchronization of network terminals
KR102031268B1 (en) Method and apparatus for communicating time information between time-aware devices
US8458364B2 (en) Method for receiving and processing frames and a device having frame receiving and processing capabilities
CN105610652B (en) Method and device for acquiring data transmission delay
US20090323728A1 (en) Asynchronous data fifo that provides uninterrupted data flow
CN101364862A (en) Clock management between two endpoints
RU2011137334A (en) METHOD AND APPARATUS FOR COMPENSATION OF DATA PACKAGE LOSS IN THE USER DATA PROGRAM OF PROTOCOL TRANSFER
KR20060045718A (en) Method for processing a sequence of data packets in a receiver apparatus, as well as a receiver apparatus
AU2003231823A1 (en) Method and apparatus for optimizing timing for a multi-drop bus
KR100869251B1 (en) Asynchronous transmit apparatus and method between mac layer and modem
CN103227708B (en) Transmission method and the device of the clock synchronous message in a kind of E1 link
US7158592B2 (en) Method and apparatus for synchronizing data transfer
JP2009049506A5 (en)
US7480357B2 (en) System and method for effectuating the transfer of data blocks across a clock boundary
JP2003179584A (en) Synchronous method of network system
US7623482B2 (en) System and method for effectuating the transfer of data blocks including a header block across a clock boundary
JP2004310544A (en) Asynchronous data transfer device
JP3638769B2 (en) Communication control device
JP2560141B2 (en) Data compensation method in asynchronous data transfer
RU2008113384A (en) METHOD FOR MANAGING PACKAGE DATA TRANSFER
EP0471432A2 (en) A method of and a device for receiving data in packet form
KR100246773B1 (en) Simultaneous transmission junction device and method of multiple tdm channel
JP2005050153A (en) Method of clock synchronized serial data transfer

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111028

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20120919

Year of fee payment: 19