KR20020034535A - Apparatus and method for driving a packet transceiver in imt-2000 system - Google Patents

Apparatus and method for driving a packet transceiver in imt-2000 system Download PDF

Info

Publication number
KR20020034535A
KR20020034535A KR1020000064923A KR20000064923A KR20020034535A KR 20020034535 A KR20020034535 A KR 20020034535A KR 1020000064923 A KR1020000064923 A KR 1020000064923A KR 20000064923 A KR20000064923 A KR 20000064923A KR 20020034535 A KR20020034535 A KR 20020034535A
Authority
KR
South Korea
Prior art keywords
data
ptm
packet
imt
block
Prior art date
Application number
KR1020000064923A
Other languages
Korean (ko)
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 KR1020000064923A priority Critical patent/KR20020034535A/en
Publication of KR20020034535A publication Critical patent/KR20020034535A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: An apparatus for driving a packet transceiver of an IMT(International Mobile Telecommunication)-2000 system and a method therefor are provided to perform a stable packet exchange by synthesizing an inter-block signal packet with a destination address and an it's own address of data read by a driving device of a PTM(Packet Transceiver Module), transmitting the data to a user application program, copying the data, and quickly transmitting and receiving the data. CONSTITUTION: An IMT-2000 base station system board(30) comprises a software unit comprising a user application program(31), a packet transceiver driving device(33), and an operating system, and a hardware unit having a microprocessor(37) and a PTM module(39). A DPR(Dedicated Packet Router)(41) connects to the IMT-2000 base station system board(30) for transmitting and receiving data. The packet transceiver driving device(33) has a transmission block for receiving data from the user application program(31) and transmitting the data and a receipt block for receiving the data and transmitting the received data to the user application program(31).

Description

IMT-2000 시스템의 패킷 트랜시버 구동장치 및 그 방법{APPARATUS AND METHOD FOR DRIVING A PACKET TRANSCEIVER IN IMT-2000 SYSTEM}Packet transceiver driving device of IMT-2000 system and its method {APPARATUS AND METHOD FOR DRIVING A PACKET TRANSCEIVER IN IMT-2000 SYSTEM}

본 발명은 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치 및 그 방법에 관한 것으로, 더욱 상세하게는 동기식 IMT-2000 기지국 시스템에서 프로세서의 외부 인터페이스 정합용으로 사용되는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치 및 그 방법에 관한 것이다.The present invention relates to a packet transceiver driving apparatus and method thereof of an IMT-2000 base station system, and more particularly, to a packet transceiver driving apparatus of an IMT-2000 base station system used for matching an external interface of a processor in a synchronous IMT-2000 base station system. And to a method thereof.

최근 다중기능을 갖는 장치로서 개발되어 있는 동기식 IMT-2000 기지국 PTM(Packet Transceiver Module) 구동장치를 사용할 경우, PTM구동장치는 외부 프로세서와의 데이터 전달 시 읽어들인 데이터의 목적지(Destination)어드레스가 자신의 어드레스와 일치하지 않게 된다. 이와 같이 목적지 및 자신의 어드레스가 불일치 한다면, 전송속도가 저하됨으로 인해 신호전달이 불안정하게 된다. 즉,데이터 송수신시 속도저하가 일어나는 문제가 있다.When using a synchronous IMT-2000 base station packet transceiver module (PTM) driver, which has recently been developed as a multi-function device, the PTM driver has a destination address of data read when data is transmitted to an external processor. It does not match the address. In this way, if the destination and its address do not match, the signal transmission becomes unstable due to the decrease in the transmission speed. That is, there is a problem that a speed decrease occurs during data transmission and reception.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위해 이루어진 것으로서, 본 발명의 목적은 기지국 시스템의 데이터를 고속이고 안정적으로 송수신하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치 및 그 방법을 제공하는 데에 목적이 있다.Accordingly, the present invention has been made to solve the above problems, and an object of the present invention is to provide an apparatus and a method for driving a packet transceiver of an IMT-2000 base station system for transmitting and receiving data of a base station system at high speed and stability. There is a purpose.

도 1은 본 발명에 따른 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치에 대한 기능 블럭도,1 is a functional block diagram of a packet transceiver driving apparatus of an IMT-2000 base station system according to the present invention;

도 2는 도 1의 PTM 구동장치에서 패킷이 이동하는 경로를 보여주는 블럭도,2 is a block diagram showing a path that a packet moves in the PTM driving apparatus of FIG.

도 3은 도 2의 PTM 구동장치의 패킷 Tx 경로를 나타낸 플로우 차트,3 is a flowchart illustrating a packet Tx path of the PTM driving apparatus of FIG. 2;

도 4는 도 2의 PTM 구동장치의 패킷 Rx 경로를 나타낸 플로우 차트이다.4 is a flowchart illustrating a packet Rx path of the PTM driver of FIG. 2.

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

10 : DPR(Dedicated Packet Router)10: Dedicated Packet Router (DPR)

12 : ICDA(IF & Clock Distributer)12: ICDA (IF & Clock Distributer)

14 : MUDA(Multimode Modulator)14: MUDA (Multimode Modulator)

18 : CCDA(Combiner & Channel Decoder)18: CCDA (Combiner & Channel Decoder)

20 : CSCA(Cell Site Controller)20: CSCA (Cell Site Controller)

상기한 목적을 달성하기 위한 본 발명 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치는, 유저 어플리케이션 프로그램, 패킷 트랜시버 구동장치 및 운영체제로 이루어진 소프트웨어부와; 마이크로 프로세서 및 PTM 모듈로 이루어진 하드웨어부가 설치된 IMT-2000 기지국 시스템 보드와 상기 IMT-2000 기지국 시스템 보드 외부에 연결되어 데이터를 송수신하는 패킷라우터(DPR)를 포함하고, 상기 패킷 트랜시버 구동장치는 상기 유저 어플리케이션 프로그램에서 데이터를 받아 전송하는 Tx블럭과, 전송된 데이터를 읽어와서 상기 유저 어플리케이션 프로그램에게 전달하는 Rx블럭으로 구성된 것을 특징으로 한다.A packet transceiver driving apparatus of the present invention IMT-2000 base station system for achieving the above object comprises a software unit consisting of a user application program, a packet transceiver driving apparatus and an operating system; And an IMT-2000 base station system board having a hardware unit including a microprocessor and a PTM module, and a packet router (DPR) connected to the outside of the IMT-2000 base station system board to transmit and receive data, wherein the packet transceiver driving device includes the user application. And a Tx block for receiving and transmitting data from a program, and an Rx block for reading and transmitting the transmitted data to the user application program.

또한, IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법은, 유저 프로그램으로부터 패킷 트랜시버 구동장치(PTM)의 헤더를 형성할 파라미터를 입력받고 상기 PTM내에 비어있는 Tx 블럭의 개수를 조사하고 첫 번째 Tx 블럭 포인터를 조사하는 제1 단계; 상기 블럭 포인터가 가리키는 데이터의 정렬을 위해 NULL 패딩하는 제2 단계; 상기 데이터의 길이를 워드 단위로 계산하고, 그 데이터의 길이가 상기 PTM내의 비어있는 블럭보다 큰지를 판단하는 제 3단계; 상기 제 3 단계에서 비어있는 블럭보다 크지 않다면 DPRAM에 상기 PTM 헤더를 생성하는 제4 단계; 상기 제4 단계에서의 헤더의 포인터를 그 헤더의 크기만큼 증가시키는 제 5단계; 상기 PTM내의 블럭의 데이터의 길이가 62바이트보다 큰지를 판단하는 제 6단계; 및, 상기 데이터의 길이가 62바이트보다 크다면 이 데이터를 상기 PTM의 DPRAM에 기록하고 상기PTM의 레지스터에 NULL값을 기록하여 전송하는 제 7단계를 포함한 것을 특징으로 한다.In addition, the packet transceiver driving method of the IMT-2000 base station system receives a parameter for forming a header of a packet transceiver driving apparatus (PTM) from a user program, examines the number of empty Tx blocks in the PTM, and indicates the first Tx block pointer. A first step of examining; NULL-padding for alignment of data pointed to by the block pointer; Calculating a length of the data in word units and determining whether the length of the data is larger than an empty block in the PTM; A fourth step of generating the PTM header in DPRAM if it is not larger than an empty block in the third step; A fifth step of increasing the pointer of the header in the fourth step by the size of the header; A sixth step of determining whether the length of data of the block in the PTM is larger than 62 bytes; And a seventh step, if the length of the data is larger than 62 bytes, writing the data to the DPRAM of the PTM and writing a NULL value to the register of the PTM.

또한, IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법은, 외부의 Rx인터럽트에서 받은 데이터가 들어 있는 전체 Rx 블럭 개수를 PTM이 조사하는 제1 단계; 외부에서 받은 데이터가 들어 있는 첫번째 Rx 블럭 포인터를 PTM이 조사하는 제2 단계; 상기 Rx 인터럽트내의 위배사항이 발생하는가를 점검하고, Rx 인터럽트 오버플로가 발생하는가를 점검하고, 프레임오버플로가 발생하는가를 점검하고, 프레임 중단이 발생하는가를 점검하는 제3 단계; 상기 제3 단계에서 프레임 중단이 발생하지 않았다면, Rx 블럭 개수가 0 인지를 판단하는 제4 단계; 상기 제 4단계에서 Rx 블럭 개수가 0 이 아닌 것으로 판단되면, 한 프레임의 연속되는 블럭 개수를 계산하는 제5 단계; 상기 PTM의 DPRAM블럭 내에 있는 데이터를 로컬버퍼로 카피하는 제6 단계; 상기 제6 단계에서 한 프레임의 연속되는 블럭을 모두 수신하였는지를 판단하는 제 7단계; 및, 상기 제6 단계에서 연속되는 모든 블럭을 수신하였다면, 유저 프로그램에게 패킷이 수신되었음을 알리고 데이터를 카피하는 제8 단계를 포함한 것을 특징으로 한다.The packet transceiver driving method of the IMT-2000 base station system includes: a first step of the PTM examining the total number of Rx blocks containing data received from an external Rx interrupt; A second step of the PTM examining the first Rx block pointer containing the externally received data; Checking a violation in the Rx interrupt occurs, checking whether an Rx interrupt overflow occurs, checking whether a frame overflow occurs, and checking whether a frame interruption occurs; A fourth step of determining whether the number of Rx blocks is zero if no frame interruption occurs in the third step; A fifth step of calculating the number of consecutive blocks of one frame if it is determined in step 4 that the number of Rx blocks is not 0; Copying data in the DPRAM block of the PTM to a local buffer; A seventh step of determining whether all the consecutive blocks of one frame have been received in the sixth step; And an eighth step of notifying the user program that the packet has been received and copying data if all blocks consecutive in the sixth step have been received.

이하에서 본 발명의 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치 및 그 방법의 일 실시예에 대해서 첨부된 도면 도1,및 도 2을 참조하여 설명하면 다음과 같이 더욱 명백히 이해될 수 있다.Hereinafter, an embodiment of a packet transceiver driving apparatus and method thereof of an IMT-2000 base station system according to the present invention will be more clearly understood as follows with reference to FIGS. 1 and 2.

도 1은 본 발명에 따른 IMT-2000 시스템의 동기식 기지국의 패킷 트랜시버 구동장치 및 그 방법을 블럭별로 설명한다.1 illustrates a block transceiver driving apparatus and a method of a synchronous base station of an IMT-2000 system according to the present invention.

도 1에서 시스팀의 라우터 기능을 수행하는 패킷라우터 또는 DPR(Dedicated Packet Router)(10)블럭은 MC(Main Control), LC(Link Control), 및 TC(Transmission)로 구성된다(도시 안됨). DPR(10)블럭에서 MC는 DPR(10) 전체를 제어하고, LC는 BSC(제어국)와 ATM을 베이스로 하는 E1 인터페이스를 제공하고, TC는 기지국 내부의 통신 경로인 TAXI 인터페이스를 제공하는 역할을 한다.In FIG. 1, a packet router or dedicated packet router (DPR) block 10 performing a router function of a system includes a main control (MC), a link control (LC), and a transmission (TC) (not shown). In the DPR (10) block, the MC controls the entire DPR (10), the LC provides the E1 interface based on the BSC (control station) and ATM, and the TC provides the TAXI interface, which is a communication path inside the base station. Do it.

또한, ICDA(IF & Clock Distributor)(12)는 베이스 밴드(Base Band)와 IF를 상호간에 변환(Conversion)하고, 기지국 클럭을 생성/분배(Clock Generation / Distribution)하며, TOD(Time Off Delay)를 분배하는 역할을 한다.In addition, the ICDA (IF & Clock Distributor) 12 converts the base band and the IF to each other, generates and distributes a base station clock, and generates a time off delay (TOD). It serves to distribute.

MUMA(MultiUser Modulator)(14)는 변조(Modulation)기능, 역방향 트래픽 라우팅(Reverse Traffic Routing)기능, 및 메시지 라우팅(Message Routing)기능을 하는 역할을 한다.The MultiUser Modulator (MUMA) 14 performs a modulation function, a reverse traffic routing function, and a message routing function.

MMDA(MultiMode Demodulator)(16)는 복조(Demodulation)기능, 획득/트래킹(Acquisition/Tracking)기능, 5채널 (FCH 1ch,DCCH h,SCH 2ch, PCH 1ch) 안테나 다이버스티(Antenna Diversity) 및 패스 다이버스티(Path Diversity) 처리기능을 하는 역할을 한다.Multimode Demodulator (MMDA) 16 provides demodulation, acquisition / tracking, 5-channel (FCH 1ch, DCCH h, SCH 2ch, PCH 1ch) antenna diversity and pass diver It plays the role of processing the path diversity.

CCDA(Combiner & Channel Decorder)(18)는 채널 결합 및 디코딩(Combining & Channel Decoding)기능, 소프트웨어 결합(Software Combining), 소프웨어 비터비디코딩(Software Viterbi Decoding)기능을 하는 역할을 한다.The CCDA (Combiner & Channel Decorder) 18 functions as a channel combining and decoding (Combining & Channel Decoding) function, software combining (Software Combining), software Viterbi Decoding (Software Viterbi Decoding) function.

CSCA(Cell Site Controller)(20)는 기지국 제어 기능, PTM 링크 이중화, 얼람(Alarm)기능을 하는 역할을 한다.The Cell Site Controller (CSCA) 20 plays a role of a base station control function, a PTM link redundancy, and an alarm function.

한편 상기한 ICDA(12), MUMA(14), MMDA(16), CCDA(18), 및 CSCA (20)내에 설치된 각각의 PTM(Packet Transceiver Module)는 기지국(24)과 연결된 DPR(10)에서 TAXI 인터페이스를 통해 들어오는 데이터를 수신하는 하는 역할을 한다. 도 1에서 점선으로 표시된 화살표시는 TAXI 인터페이스의 흐름을 나타낸다.Meanwhile, each PTM (Packet Transceiver Module) installed in the ICDA 12, the MUMA 14, the MMDA 16, the CCDA 18, and the CSCA 20 has a DPR 10 connected to the base station 24. It is responsible for receiving incoming data through the TAXI interface. Arrows in dotted lines in FIG. 1 indicate the flow of the TAXI interface.

도 2는 본 발명에 따른 IMT-2000 동기식 기지국 각 블럭의 PTM 구동장치의 위치를 도시한 블럭도이다. 도 2에서 IMT-2000 기지국 시스템 보드(30)내에는 유저 어플리케이션 프로그램(User Application Program)(31), PTM 구동장치(33) 및 운영체제(OS)(35)로 이루어진 소프트웨어부와, MPC860 마이크로 프로세서(37) 및 패킷 트랜시버 구동장치(PTM)(39)로 이루어진 하드웨어부가 설치된다. 또 IMT-2000 기지국 시스템 보드(30)외부에는 패킷라우터(DPR)(41)가 연결되어 있는 구성이다.Figure 2 is a block diagram showing the position of the PTM driving apparatus of each block of the IMT-2000 synchronous base station according to the present invention. In FIG. 2, the IMT-2000 base station system board 30 includes a software unit including a user application program 31, a PTM driver 33, and an operating system (OS) 35, and an MPC860 microprocessor ( 37) and a hardware unit consisting of a packet transceiver driver (PTM) 39 are provided. The packet router (DPR) 41 is connected to the outside of the IMT-2000 base station system board 30.

IMT-2000 기지국 시스템 보드(30) 내부에서의 패킷은 실선 화살표로 표시된 패킷의 수신Rx 경로와, 점선 화살표로 표시된 패킷의 송신Tx 경로를 갖는다. IMT-2000 기지국 시스템 보드(30) 외부에서의 패킷은 두꺼운 실선 화살표로 표시된 패킷의 수신Rx 경로와, 두꺼운 점선 화살표로 표시된 패킷의 송신Tx 경로를 갖는다. IMT-2000 기지국 시스템 보드(30)와 DPR(41)상호간에는 TAXI 인터페이스경로를 통하여 데이터가 송수신된다.A packet inside the IMT-2000 base station system board 30 has a reception Rx path of a packet indicated by a solid arrow and a transmission Tx path of a packet indicated by a dotted arrow. A packet outside the IMT-2000 base station system board 30 has a reception Rx path of a packet indicated by a thick solid arrow and a transmission Tx path of a packet indicated by a thick dotted arrow. Data is transmitted and received between the IMT-2000 base station system board 30 and the DPR 41 through the TAXI interface path.

IMT-2000 기지국 시스템 보드(30)내 하드웨어부의 패킷 트랜시버 구동장치(PTM)는 그의 Tx/Rx를 제어하는 블럭으로 운영체제(상용 운영체제인 vxWorks)를 기반으로 하여 수행되며 하드웨어 마이크로 프로세서는 MPC860을 사용하였다.The packet transceiver driver (PTM) in the hardware section of the IMT-2000 base station system board 30 is a block for controlling its Tx / Rx and is executed based on an operating system (commercial operating system vxWorks). The hardware microprocessor uses the MPC860. .

도 2에서의 동기식 IMT-2000 기지국 시스템에서는 시스팀 보드(30)내의 데이터 송수신을 PTM(Packet Transceiver Module)모듈(39)을 통해 패킷 데이터를 베이스로 하는 TAXI 인터페이스가 담당하고 있다. 다시 말해, 기지국 내부의 보드(30)에 있는 PTM을 제어할 PTM구동장치(33)가 있어야 외부의 다른 보드와 데이터 신호를 주고 받는 통신이 가능한 것으로서, PTM 구동장치(33)은 유저 프로그램(31)에서 데이터를 받아, PTM 구동장치(33)에 데이터를 보내는 Tx블럭과, 이 PTM구동장치(33)에서 데이터를 읽어와서, 유저 프로그램(31)에게 데이터를 전달하는 Rx블럭으로 구성된다. PTM의 구동장치(33)는 구현하는 IMT-2000 동기식 기지국내에서 블럭간 신호패킷을 최대 100M bps단위로 송수신할 수 있다.In the synchronous IMT-2000 base station system of FIG. 2, a TAXI interface based on packet data is responsible for transmitting and receiving data in the system board 30 through a packet transceiver module (PTM) module 39. In other words, the PTM driver 33 is required to control the PTM in the board 30 inside the base station so as to communicate data with other external boards. The PTM driver 33 is a user program 31. ) And a Tx block for sending data to the PTM driver 33 and an Rx block for reading data from the PTM driver 33 and transferring the data to the user program 31. The driving device 33 of the PTM can transmit and receive an inter-block signal packet in units of 100M bps within the IMT-2000 synchronous base station.

도 3은 IMT-2000 동기식 기지국에서 각 블럭의 PTM 구동장치의 위치를 도시한 블럭도로서, 데이터 전송(Tx)블럭의 플로우차트를 설명하면 다음과 같다.3 is a block diagram showing the position of the PTM driving apparatus of each block in the IMT-2000 synchronous base station. Referring to the flowchart of the data transmission (Tx) block, FIG.

본 발명에 따른 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치에 따라 유저 프로그램으로부터 PTM 헤더를 생성할 파라미터를 입력받는 경우, PTM(33)내에 비어 있는 Tx 블럭 개수를 조사하고(스텝 31), PTM(33)내에 비어 있는 첫번째 Tx 블럭 포인터를 조사한 후(스텝 32), 스텝 33에서 4 바이트(byte)의 정렬(align)이맞지 않는 데이터에 대해 4바이트 정렬을 맞추기 위해 NULL 패딩(padding)을 수행한다. 이어서, 상기 데이터의 길이(length)는 PTM DPRAM의 포트 사이즈인 워드(2바이트)단위로 재계산한다(스텝 34).When receiving a parameter for generating a PTM header from a user program according to the packet transceiver driving apparatus of the IMT-2000 base station system according to the present invention, the number of free Tx blocks in the PTM 33 is checked (step 31), and the PTM ( After examining the first empty Tx block pointer in step 33 (step 32), NULL padding is performed in step 33 to align the 4-byte alignment on the data that is not aligned by 4 bytes. . The length of the data is then recalculated in units of words (2 bytes), which is the port size of the PTM DPRAM (step 34).

스텝 34에서의 계산결과 데이터 길이를 Tx블럭과 비교한다(스텝 35). 스텝 35에서 데이터 길이가 PTM내에 전체가 비어있는 Tx블럭보다 큰 경우에는 에러값을 리턴하고 종료한다.The calculated data length in step 34 is compared with the Tx block (step 35). In step 35, if the data length is larger than the totally empty Tx block in the PTM, an error value is returned and the process ends.

그러나, 데이터 길이가 PTM내에 전체가 비어있는 Tx블럭이 작은 경우에는 Tx 파라미터(paramater)를 가지고 DPRAM(Dual Port RAM)에 12바이트의 PTM 헤더(Header)를 생성한다(스텝 36). 생성된 PTM 헤더가 들어있는 프레임인 경우에는 포인터를 헤더 사이즈, 즉 sizeof(header)만큼 증가시킨다(스텝 37). 이는 이미 PTM 헤더를 DPRAM에 기록(Write)했기 때문이다. 그후, PTM내의 블럭은 62바이트 단위로 송신되므로 데이터 길이가 62바이트보다 큰지 판단하고(스텝 38), Tx 블록의 전송 데이터 길이보다 큰 경우에는 여러 개의 블럭에 나누어 보내야 한다.However, if the Tx block whose data length is entirely empty in the PTM is small, a 12-byte PTM header is generated in DPRAM (Dual Port RAM) with the Tx parameter (step 36). In the case of a frame containing the generated PTM header, the pointer is increased by the header size, that is, sizeof (header) (step 37). This is because the PTM header has already been written to the DPRAM. After that, since the blocks in the PTM are transmitted in units of 62 bytes, it is determined whether the data length is larger than 62 bytes (step 38), and if it is larger than the transmission data length of the Tx block, the blocks must be divided into several blocks.

여러 개의 블럭에 나누어 보내는 때, 62바이트를 PTM의 DPRAM에 기록한 후, *ptm0TxOprReg 에 Dummy(NULL) 값을 기록하여 전송(Tx)한다(스텝 39).When divided into several blocks, 62 bytes are written to the PTM DPRAM, and then Dummy (NULL) is recorded in * ptm0TxOprReg and transmitted (Tx) (step 39).

여기서, PTM의 레지스터인 *ptm0TxOprReg에 Dummy(NULL)값을 기록하면, PTM이 하드웨어적으로 TAXI 인터페이스에 데이터를 전송한다. 그후, 데이터 길이에서 62를 빼고 스텝 38로 복귀하여 반복 수행한다.Here, when a dummy value is written in * ptm0TxOprReg, which is a register of the PTM, the PTM transmits data to the TAXI interface in hardware. Thereafter, 62 is subtracted from the data length and the process returns to step 38 to repeat.

그러나 스텝 38에서 데이터 길이가 62바이트 보다 크지 않다면, 즉, 마지막 62바이트보다 작은 데이터가 남으면, 남은 부분을 DPRAM에 기록한다(스텝 41). 이때 4바이트 정렬을 고려하여 패딩을 수행한다(스텝 42).However, in step 38, if the data length is not larger than 62 bytes, i.e., data smaller than the last 62 bytes is left, the remaining portion is written to the DPRAM (step 41). At this time, padding is performed in consideration of 4-byte alignment (step 42).

마지막으로 스텝 43에서 *ptm0TxOprReg에 Dummy(NULL)값을 기록하여 Tx한다.Finally, in step 43, a dummy value is written in * ptm0TxOprReg to Tx.

도 4는 IMT-2000 동기식 기지국 각 블럭의 패킷 트랜시버 구동 방법에 따른 Rx 블럭의 플로우차트로서 이하에서 설명한다.4 is a flowchart of an Rx block according to a packet transceiver driving method of each block of an IMT-2000 synchronous base station.

우선, PTM이 외부의 인터럽트로부터 받은 데이터가 들어 있는 전체 Rx 블럭 개수를 조사(스텝 51)하고, PTM이 외부에서 받은 데이터가 들어 있는 첫번째 Rx 블럭 포인터를 조사(스텝 52)한다. 이어서 스텝 53 ~ 스텝 56에서 점검하여 하나라도 에러 발생 시에는 DPRAM 관련 레지스터를 리셋(reset)하고 수신(Rx)블럭을 종료한다(스텝 62). 한편 스텝 53 ~ 스텝 56에서 점검하여 에러발생이 없을 경우에는 스테 57로 그 제어가 넘어간다.First, the PTM checks the total number of Rx blocks containing the data received from the external interrupt (step 51), and the PTM checks the first Rx block pointer containing the externally received data (step 52). Subsequently, in step 53 to step 56, if any error occurs, the DPRAM related register is reset and the reception (Rx) block is terminated (step 62). On the other hand, when checking in step 53 to step 56, if there is no error, the control is passed to step 57.

상기 스텝 53에서는 Rx 인터럽트내의 위배사항(Violation)이 발생하는가를 점검하고, 스텝 54에서는 Rx 인터럽트 오버플로(OverFlow)가 발생하는가를 점검하고, 스텝 55에서는 프레임(Frame)의 오버플로가 발생하는가를 점검하고, 스텝 56에서는 프레임의 중단(Abort)이 발생하는가를 점검한다.In step 53, it is checked whether there is a violation in the Rx interrupt. In step 54, it is checked whether an Rx interrupt overflow occurs. In step 55, a frame overflow occurs. In step 56, it is checked whether an abort of a frame occurs.

상기 스텝 56에서 중단 프레임이 발생하지 않았다면, Rx 블럭 개수가 잘못 입력되었는지 판단을 한다(스텝 57). 스텝 57에서의 판단결과 Rx 블럭 개수가 0이면 그대로 잘못 입력된 것으로 판단하여 복귀한다.If no interruption frame has occurred in step 56, it is determined whether the number of Rx blocks is input incorrectly (step 57). As a result of the determination in step 57, if the number of Rx blocks is 0, it is determined that it is incorrectly input and returns.

한편 스텝 57에서 Rx 블럭 개수가 에러가 아닌 것으로 판단되면, 한 프레임의 연속되는 블럭 개수를 계산하고(스텝 58), PTM의 DPRAM블럭 내에 있는 데이터를로컬 버퍼(Local buffer)로 카피(copy)한다(스텝 59).On the other hand, if it is determined in step 57 that the number of Rx blocks is not an error, the number of consecutive blocks of one frame is calculated (step 58), and the data in the DPTM block of the PTM is copied to a local buffer. (Step 59).

그후, 스텝 60에서 한 프레임의 연속되는 블럭을 모두 받았는지를 판단하고(스텝 60), 모두 받았다면, PTM의 레지스터인 *ptm0RxOprReg에 Dummy(NULL)값을 기록하여 데이터를 전부 읽었음을 PTM에 통보한다. 그리고 유저 프로그램에게 패킷이 수신되었음을 알리고 데이터를 카피한 후 복귀된다(스텝 61). 여기서, *ptm0RxOprReg에 Dummy(NULL)값을 기록하면, PTM이 현재 블럭을 PTM 구동장치가 읽어간 것으로 간주한다.Then, in step 60, it is determined whether all consecutive blocks of one frame have been received (step 60). If all are received, a dummy value is written to * ptm0RxOprReg, which is a register of the PTM, and the data is read to the PTM. Notify me. The user program is notified that the packet has been received, the data is copied, and then returned (step 61). Here, if a dummy value is written to * ptm0RxOprReg, the PTM assumes that the current block has been read by the PTM driver.

바꾸어 말하자면, 상기 스텝 60 과 상기 스텝61에서는 상기 스텝 51에서 조사한 Rx 블럭의 개수만큼 수행하는데, 읽어들인 데이터의 목적지 어드레스(Destination address)가 자신의 어드레스와 일치하는지를 검사하여(스텝 60 참조), 일치하지 않는 어드레스이면 버리고, 일치하는 어드레스이면 msgQSend(msg_Qid, ....)를 이용하여 유저 어플리케이션 프로그램에게 데이터를 전달하고 데이터를 카피한다(스텝 61 참조).In other words, in step 60 and step 61, as many as the number of Rx blocks examined in step 51 are performed, and it is checked whether the destination address of the read data coincides with its own address (see step 60). If the address is not used, it is discarded. If the address is a match, msgQSend (msg_Qid, ....) is used to transfer data to the user application program and copy the data (see step 61).

이상에서 살펴본 바와 같이 본 발명에 의한 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치 및 그 방법에 의하면, IMT-2000 동기식 기지국내의 블럭간 신호패킷을 PTM의 구동장치에 의해 읽어들인 데이터의 목적지 어드레스와 자신의 어드레스를 일치시켜 유저 어프리케이션 프로그램에게 데이터를 전달하고 데이터를 카피하여 고속으로 송수신되도록 구현함으로써 빠르고 안정적인 패킷 교환이 가능하게 되는 우수한 결과를 얻을 수 있다.As described above, according to the packet transceiver driving apparatus and method thereof of the IMT-2000 base station system according to the present invention, the destination address of data read from the inter-block signal packet in the IMT-2000 synchronous base station by the PTM driving apparatus By matching their addresses, the data is delivered to the user application program, and the data can be copied and transmitted at high speed to achieve fast and stable packet exchange.

본 발명의 실시예가 상세히 설명되어 있지만, 당해 분야에서 통상의 지식을 가지자라면 본 발명의 정신 및 범위를 벗어남이 없이 본 명세서에 예시된 기술적 범위를 통해 수정, 변경, 대체 부가가 가능할 것이다.Although embodiments of the present invention have been described in detail, those skilled in the art will appreciate that modifications, changes, and substitutions may be made through the technical scope illustrated herein without departing from the spirit and scope of the invention.

Claims (12)

IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치에 있어서,In the packet transceiver drive of the IMT-2000 base station system, 유저 어플리케이션 프로그램, 패킷 트랜시버 구동장치 및 운영체제로 이루어진 소프트웨어부와; 마이크로 프로세서 및 PTM 모듈로 이루어진 하드웨어부가 설치된 IMT-2000 기지국 시스템 보드와; 상기 IMT-2000 기지국 시스템 보드 외부에는 연결되어 데이터를 송수신하는 패킷라우터(DPR)를 포함하고,A software unit comprising a user application program, a packet transceiver driving device, and an operating system; An IMT-2000 base station system board having a hardware unit including a microprocessor and a PTM module; A packet router (DPR) connected to the outside of the IMT-2000 base station system board to transmit and receive data, 상기 패킷 트랜시버 구동장치는 상기 유저 어플리케이션 프로그램에서 데이터를 받아 전송하는 Tx블럭과, 상기 데이터를 읽어와서 상기 유저 어플리케이션 프로그램에게 전달하는 Rx블럭으로 구성된 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치.The packet transceiver driver includes a Tx block for receiving and transmitting data from the user application program, and an Rx block for reading the data and transmitting the data to the user application program. . 제1 항에 있어서,According to claim 1, 상기 패킷 트랜시버 구동장치는 그의 Tx/Rx를 제어하는 블럭을 기반으로 하여 수행되는 vxWorks 운영체제를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치.The packet transceiver driving apparatus includes a vxWorks operating system which is performed based on a block for controlling the Tx / Rx thereof, and the packet transceiver driving apparatus of the IMT-2000 base station system. 제1 항에 있어서,According to claim 1, 상기 패킷 트랜시버 구동장치는 패킷 데이터를 베이스로하여 시스팀 보드내의 데이터 송수신을 담당하는 TAXI 인터페이스를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치.The packet transceiver driving apparatus includes a TAXI interface for transmitting and receiving data in a system board based on packet data, and the packet transceiver driving apparatus of the IMT-2000 base station system. 제1 항에 있어서,According to claim 1, 상기 패킷 트랜시버 구동장치는 그의 Tx/Rx 블럭간 신호패킷을 최대 100M bps단위로 송수신하는 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동장치.The packet transceiver driving apparatus transmits and receives a Tx / Rx inter-block signal packet in units of up to 100M bps. IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법에 있어서,In the packet transceiver driving method of the IMT-2000 base station system, 유저 프로그램으로부터 패킷 트랜시버 구동장치(PTM)의 헤더를 형성할 파라미터를 입력받고 상기 PTM내에 비어있는 Tx 블럭의 개수를 조사하고 첫 번째 Tx 블럭 포인터를 조사하는 제1 단계;A first step of receiving a parameter for forming a header of a packet transceiver driver (PTM) from a user program, checking the number of empty Tx blocks in the PTM, and examining a first Tx block pointer; 상기 블럭 포인터가 가리키는 데이터의 정렬을 위해 NULL 패딩하는 제2 단계;NULL-padding for alignment of data pointed to by the block pointer; 상기 데이터의 길이를 워드 단위로 계산하고, 그 데이터의 길이가 상기 PTM내의 비어있는 블럭보다 큰지를 판단하는 제 3단계;Calculating a length of the data in word units and determining whether the length of the data is larger than an empty block in the PTM; 상기 제 3 단계에서 비어있는 블럭보다 크지 않다면 DPRAM에 상기 PTM 헤더를 생성하는 제4 단계;A fourth step of generating the PTM header in DPRAM if it is not larger than an empty block in the third step; 상기 제4 단계에서의 헤더의 포인터를 그 헤더의 크기만큼 증가시키는 제 5단계;A fifth step of increasing the pointer of the header in the fourth step by the size of the header; 상기 PTM내의 블럭의 데이터의 길이가 62바이트보다 큰지를 판단하는 제 6단계; 및,A sixth step of determining whether the length of data of the block in the PTM is larger than 62 bytes; And, 상기 데이터의 길이가 62바이트보다 크다면 이 데이터를 상기 PTM의 DPRAM에 기록하고 상기 PTM의 레지스터에 NULL값을 기록하여 전송하는 제 7단계를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.And driving the packet transceiver of the IMT-2000 base station system, if the length of the data is larger than 62 bytes, writing the data to the DPRAM of the PTM and writing a NULL value to the register of the PTM. Way. 제 5항에 있어서,The method of claim 5, 상기 제 6단계에서 데이터의 길이가 62바이트보다 크지 않다면, 상기 62바이트보다 보다 크지 않은 데이터를 상기 PTM의 DPRAM에 기록하고 패딩을 수행하는 제8 단계를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.In step 6, if the length of the data is not greater than 62 bytes, an eighth step of writing data not larger than 62 bytes to the DPRAM of the PTM and performing padding is included. Packet transceiver driving method. 제 6항에 있어서,The method of claim 6, 상기 제 8단계에서 상기 PTM의 *ptm0TxOprReg에 NULL값을 기록하여 전송하는 제 9단계를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버구동방법.And a ninth step of transmitting a NULL value in * ptm0TxOprReg of the PTM in the eighth step. IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법에 있어서,In the packet transceiver driving method of the IMT-2000 base station system, 외부의 Rx인터럽트에서 받은 데이터가 들어 있는 전체 Rx 블럭 개수를 PTM이 조사하는 제1 단계;A first step of the PTM checking the total number of Rx blocks containing data received from an external Rx interrupt; 외부에서 받은 데이터가 들어 있는 첫번째 Rx 블럭 포인터를 PTM이 조사하는 제2 단계;A second step of the PTM examining the first Rx block pointer containing the externally received data; 상기 Rx 인터럽트내의 위배사항이 발생하는가를 점검하고, Rx 인터럽트 오버플로가 발생하는가를 점검하고, 프레임오버플로가 발생하는가를 점검하고, 프레임 중단이 발생하는가를 점검하는 제3 단계;Checking a violation in the Rx interrupt occurs, checking whether an Rx interrupt overflow occurs, checking whether a frame overflow occurs, and checking whether a frame interruption occurs; 상기 제3 단계에서 프레임 중단이 발생하지 않았다면, Rx 블럭 개수가 0 인지를 판단하는 제4 단계;A fourth step of determining whether the number of Rx blocks is zero if no frame interruption occurs in the third step; 상기 제 4단계에서 Rx 블럭 개수가 0 이 아닌 것으로 판단되면, 한 프레임의 연속되는 블럭 개수를 계산하는 제5 단계;A fifth step of calculating the number of consecutive blocks of one frame if it is determined in step 4 that the number of Rx blocks is not 0; 상기 PTM의 DPRAM블럭 내에 있는 데이터를 로컬버퍼로 카피하는 제6 단계;Copying data in the DPRAM block of the PTM to a local buffer; 상기 제6 단계에서 한 프레임의 연속되는 블럭을 모두 수신하였는지를 판단하는 제 7단계; 및,A seventh step of determining whether all the consecutive blocks of one frame have been received in the sixth step; And, 상기 제6 단계에서 연속되는 모든 블럭을 수신하였다면, 유저 프로그램에게 패킷이 수신되었음을 알리고 데이터를 카피하는 제8 단계를 포함한 것을 특징으로하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.And a step (8) of notifying the user program that the packet has been received and copying data, if all blocks consecutive in the sixth step have been received. 제8 항에 있어서,The method of claim 8, 상기 제3 단계에서 점검 결과 하나라도 문제 발생 시에는 관련 레지스터를 리셋하고 수신(Rx)을 종료하는 제9 단계를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.And a ninth step of resetting the related registers and terminating the reception (Rx) when a problem occurs even at least one of the check results in the third step. 제8 항에 있어서,The method of claim 8, 상기 제 5단계에서 Rx 블럭 개수가 0이면 에러로 입력하는 제10 단계를 포함한 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.And a tenth step of inputting an error if the number of Rx blocks is zero in the fifth step. 제8 항에 있어서,The method of claim 8, 상기 제6 단계에서 *ptm0RxOprReg에 Dummy(NULL)값을 기록하여 데이터를 전부 읽었음을 PTM에 통보하는 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.And transmitting a dummy value to * ptm0RxOprReg in step 6 to notify the PTM that all data has been read. 제8 항에 있어서,The method of claim 8, 상기 제8 단계에서 *ptm0RxOprReg에 Dummy(NULL)값을 기록하였다면, PTM이 현재 블럭을 PTM 구동장치가 읽어간 것으로 간주하는 것을 특징으로 하는 IMT-2000 기지국 시스템의 패킷 트랜시버 구동방법.If a dummy value is recorded in * ptm0RxOprReg in the eighth step, the PTM considers that the current block has been read by the PTM driver.
KR1020000064923A 2000-11-02 2000-11-02 Apparatus and method for driving a packet transceiver in imt-2000 system KR20020034535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000064923A KR20020034535A (en) 2000-11-02 2000-11-02 Apparatus and method for driving a packet transceiver in imt-2000 system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000064923A KR20020034535A (en) 2000-11-02 2000-11-02 Apparatus and method for driving a packet transceiver in imt-2000 system

Publications (1)

Publication Number Publication Date
KR20020034535A true KR20020034535A (en) 2002-05-09

Family

ID=19696907

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000064923A KR20020034535A (en) 2000-11-02 2000-11-02 Apparatus and method for driving a packet transceiver in imt-2000 system

Country Status (1)

Country Link
KR (1) KR20020034535A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08205232A (en) * 1994-11-24 1996-08-09 Nec Commun Syst Ltd Mobile communication system
WO1997000568A1 (en) * 1995-06-14 1997-01-03 International Business Machines Corporation Packet data transmission in code-division multiple access communication systems
KR19990051723A (en) * 1997-12-19 1999-07-05 정선종 Wireless transmission packet converter and method in wireless asynchronous transmission mode transmitter
KR20000073680A (en) * 1999-05-13 2000-12-05 김영환 Reception power measuring method of transceiver unit in base station of the communication system
KR20010058973A (en) * 1999-12-30 2001-07-06 박종섭 Data interface apparatus in base station of imt system
KR100329664B1 (en) * 2000-04-22 2002-03-21 박종섭 Device and method for checking ccda board state in imt-2000 basestation transceiver subsystem

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08205232A (en) * 1994-11-24 1996-08-09 Nec Commun Syst Ltd Mobile communication system
WO1997000568A1 (en) * 1995-06-14 1997-01-03 International Business Machines Corporation Packet data transmission in code-division multiple access communication systems
KR19990051723A (en) * 1997-12-19 1999-07-05 정선종 Wireless transmission packet converter and method in wireless asynchronous transmission mode transmitter
KR20000073680A (en) * 1999-05-13 2000-12-05 김영환 Reception power measuring method of transceiver unit in base station of the communication system
KR20010058973A (en) * 1999-12-30 2001-07-06 박종섭 Data interface apparatus in base station of imt system
KR100329664B1 (en) * 2000-04-22 2002-03-21 박종섭 Device and method for checking ccda board state in imt-2000 basestation transceiver subsystem

Similar Documents

Publication Publication Date Title
CA1216040A (en) Reconfigurable collision avoiding system, station and protocol for a two path multiple access digital communications system
US6603744B2 (en) Connection establishment method, communication method, state change transmission method, state changing method, wireless apparatus, wireless device, and computer
RU2139636C1 (en) Batch data transmission protocol for radio communications
US6484225B2 (en) Method and system for managing communications among computer devices
EP0496177A1 (en) Method of transmitting data by buffer chaining between a host computer and a communication controller
GB2301268A (en) Interface apparatus and method in a mobile communication system
CN216751793U (en) Multifunctional multi-protocol intelligent gateway
EP0572843B1 (en) Distribution of modem error correction and compression processing
KR20020034535A (en) Apparatus and method for driving a packet transceiver in imt-2000 system
JP2003050788A (en) Apparatus and method for distribution of signal from high level data link controller to multiple digital signal processor core
AU2001234710A1 (en) Multi-link transmission of data over a cellular network
US20040180622A1 (en) Coordinating multiple air-interface subsystems that serve a common host
US7010579B1 (en) Direct data routing system
US5721891A (en) Detection of N length bit serial communication stream
CN113094319B (en) System and method for synchronously controlling one-way data transmission between two hosts
US20100216506A1 (en) System and Methods for Supporting Multiple Communications Protocols on a Mobile Phone Device
EP4116835A1 (en) Spread spectrum clock negotiation method, and peripheral component interconnect express device and system
US4937567A (en) Communication adapter for store loop communication system
US8732513B2 (en) Method and system for a message processor switch for performing incremental redundancy in edge compliant terminals
JPH0221705B2 (en)
US7428242B2 (en) Action list for a split media access and control layer communications system
KR100480951B1 (en) Serial line multiplexer interface apparatus
Saettone MITS: Microprocessor implementation of a transport station
CN101212715A (en) Remote RF technique based physical device connectivity obtaining device
KR20020044384A (en) Data communication interface device between third generation and second generation mobile communication system

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application