KR20030037822A - Method for Communication between Master and Slave in Basestation - Google Patents

Method for Communication between Master and Slave in Basestation Download PDF

Info

Publication number
KR20030037822A
KR20030037822A KR1020010068897A KR20010068897A KR20030037822A KR 20030037822 A KR20030037822 A KR 20030037822A KR 1020010068897 A KR1020010068897 A KR 1020010068897A KR 20010068897 A KR20010068897 A KR 20010068897A KR 20030037822 A KR20030037822 A KR 20030037822A
Authority
KR
South Korea
Prior art keywords
slave
token
t2rt
i2tt
board
Prior art date
Application number
KR1020010068897A
Other languages
Korean (ko)
Other versions
KR100440444B1 (en
Inventor
황선한
안진식
유재황
변재완
Original Assignee
에스케이 텔레콤주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 에스케이 텔레콤주식회사 filed Critical 에스케이 텔레콤주식회사
Priority to KR10-2001-0068897A priority Critical patent/KR100440444B1/en
Publication of KR20030037822A publication Critical patent/KR20030037822A/en
Application granted granted Critical
Publication of KR100440444B1 publication Critical patent/KR100440444B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations

Landscapes

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

Abstract

PURPOSE: An inter-board communication method in a base station of next generation mobile communication system is provided to make a smooth multi-communication between a master and a slave by allowing the master to manage interrupts coming in from each slave. CONSTITUTION: An interrupt table(I2TT) and a table(T2RT) are initialized and every value is cleared(201). It is checked whether an interrupt signal has been received from a slave(202). If no interrupt signal has been received, it is checked whether a data has been received from the slave(203). If no data has been received from the slave, it is checked whether every slave flag of the T2RT has been cleared(204). If every slave flag of the T2RT has been cleared, a slave with the longest time is searched from the I2TT(205). A token is transmitted to the slave with the longest time and a flag set time of the slave is increased in the T2RT(206). If not every slave flag of the T2RT has been cleared, a slave with the longest time is searched from the T2RT(210) and it is checked whether a re-transmission counter of the slave is less than 3(211). If the re-transmission counter is less than 3, it is checked whether 3 seconds has passed(212). If 3 seconds has passed, a token is re-transmitted to the slave(213).

Description

차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법{Method for Communication between Master and Slave in Basestation}Board-to-board communication method in next-generation mobile communication system base station {Method for Communication between Master and Slave in Basestation}

본 발명은 차세대 이동통신 시스템(이하, "IMT-2000 시스템"이라 함)에서 기지국(Base Station)의 보드 간 통신수단으로서 사용되는 동기(Synchronous) HDLC(High level Data Link Control) 프로토콜 중 마스터(Master)와 멀티 슬래이브(Multi Slave) 간 통신을 가능하게 하기 위한 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention is a master of a synchronous HDLC (Synchronous) high level data link control (HDLC) protocol used as a board-to-board communication means of a base station in a next generation mobile communication system (hereinafter, referred to as an "IMT-2000 system"). The present invention relates to a board-to-board communication method in a next-generation mobile communication system base station for enabling communication between a multi-slave and a multi-slave, and a computer-readable recording medium recording a program for realizing the method.

IMT-2000 시스템 기지국 제어보드에는 다수의 하위 보드들과 통신하기 위한 신호선이 존재한다. 이러한 복수개의 신호선 대신에 하나의 신호선을 이용하여 하위 보드들이 신호선을 공유하는 방식을 멀티 드롭(Multi Drop)이라 한다.In the IMT-2000 system base station control board, there are signal lines for communicating with a plurality of lower boards. Instead of the plurality of signal lines, a method in which lower boards share signal lines by using one signal line is called a multi drop.

멀티 드롭 통신방식은 하나의 데이터 라인을 복수개의 사용자가 공유하여 데이터를 송수신하는 방식이므로, 물리적인 케이블 수가 줄어드는 장점을 가진다. 그러나, 멀티 드롭 통신방식을 구현하는데 있어 다음과 같은 문제점이 있다.Since the multi-drop communication method is a method of transmitting and receiving data by sharing a single data line with a plurality of users, the number of physical cables is reduced. However, there are the following problems in implementing a multi-drop communication method.

즉, 복수개의 슬래이브들이 마스터에게 데이터 송수신 의사를 전달하여 권한을 부여받을 때, 일반적으로는 마스터가 하위 슬래이브들에 토큰을 순차적으로 던져서 데이터 송수신 의사를 타진하는 토큰 링 방식을 사용한다. 그러나, 매 슬래이브 별로 토큰을 던지는 토큰 링 방식에서는 시간 지연의 문제가 있었다.That is, when a plurality of slaves are authorized to transmit and receive data to and from the master, the master generally uses a token ring method in which the master throws tokens sequentially to lower slaves to admit the data. However, there is a problem of time delay in the token ring method in which tokens are thrown at every slave.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 차세대 이동통신 시스템의 기지국(Base Station)에서 보드 간 통신수단으로서 사용되는 동기(Synchronous) HDLC(High level Data Link Control) 프로토콜 중마스터(Master)와 멀티 슬래이브(Multi Slave) 간 통신을 마스터가 토큰 할당 테이블(Table)을 가지고 각각의 슬래이브로부터 들어오는 인터럽트(Interrupt)를 관리함으로써 마스터와 슬래이브간의 원활한 멀티 통신을 수행하게 하는 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법과 상기 방법을 실현 시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and is a master of synchronous High Level Data Link Control (HDLC) protocol used as a board-to-board communication means in a base station of a next-generation mobile communication system. Next-generation communication between Master and Multi Slave enables Master to perform smooth multi-communication between Master and Slave by managing interrupts from each slave with token allocation table. It is an object of the present invention to provide a method for inter-board communication in a mobile communication system base station and a computer-readable recording medium recording a program for realizing the method.

도 1 은 본 발명이 적용되는 차세대 이동통신 시스템에서 기지국내 보드의 구성예시도.1 is an exemplary configuration diagram of a board in a base station in a next generation mobile communication system to which the present invention is applied.

도 2 는 본 발명에 따른 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법에 대한 일실시예 흐름도.2 is a flowchart illustrating an embodiment of a board-to-board communication method in a next-generation mobile communication system base station according to the present invention.

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

101 : 마스터(Master)102 : 논리합기(OR-Gate)101: Master 102: OR-Gate

103 : 송신선(Tx+, Tx-)104 : 수신선(Rx+, Rx-)103: transmission line (Tx +, Tx-) 104: reception line (Rx +, Rx-)

111~114 : 슬래이브(Slave)111 ~ 114: Slave

상기 목적을 달성하기 위한 본 발명의 방법은, 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법에 있어서, 마스터(Master)내의 토큰 할당을 위한 인터럽트 테이블(I2TT)과 토큰을 할당한 슬래이브로부터 응답이 없을 시 재전송을 위한 테이블(T2RT)을 초기화 하고, 상기 마스터내의 모든값을 삭제(Clear)하는 제 1 단계; 데이터 송수신 의사가 발생한 슬래이브(Slave)로부터의 인터럽트 신호 수신시에, 상기 I2TT에 인터럽트 신호 수신에 대한 기록을 남기는 제 2 단계; 상기 슬래이브로부터의 데이터 수신시에, 상기 슬래이브로 토큰을 리셋(Reset)하는 제 3 단계; 및 상기 슬래이브로부터 데이터가 수신되지 않는 경우에, 상기 I2TT와 상기 T2RT를 참조하여 상기 슬래이브로 토큰을 할당하는 제 4 단계를 포함하는 것을 특징으로 한다.The method of the present invention for achieving the above object, in the next-generation mobile communication system in the board-to-board communication method, the response from the slave to which the interrupt table (I2TT) and token allocation for token allocation in the master (Master) A first step of initializing a table (T2RT) for retransmission and clearing all values in the master when there is no information; A second step of leaving a record of interrupt signal reception in the I2TT upon receipt of an interrupt signal from a slave in which a data transmission / reception intention has occurred; A third step of resetting a token to the slave upon receipt of data from the slave; And a fourth step of allocating a token to the slave with reference to the I2TT and the T2RT when data is not received from the slave.

한편, 본 발명은, 차세대 이동통신 시스템 기지국 내에서의 보드간 통신을 위해, 프로세서를 구비한 기지국 장치에, 마스터(Master)내의 토큰 할당을 위한 인터럽트 테이블(I2TT)과 토큰을 할당한 슬래이브로부터 응답이 없을 시 재전송을 위한 테이블(T2RT)을 초기화 하고, 상기 마스터내의 모든값을 삭제(Clear)하는 제 1 기능; 데이터 송수신 의사가 발생한 슬래이브(Slave)로부터의 인터럽트 신호 수신시에, 상기 I2TT에 인터럽트 신호 수신에 대한 기록을 남기는 제 2 기능; 상기 슬래이브로부터의 데이터 수신시에, 상기 슬래이브로 토큰을 리셋(Reset)하는 제 3 기능; 및 상기 슬래이브로부터 데이터가 수신되지 않는 경우에, 상기 I2TT와 상기 T2RT를 참조하여 상기 슬래이브로 토큰을 할당하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, the present invention, from the slave to which the token is assigned to the base station apparatus having a processor for the board-to-board communication in the next-generation mobile communication system base station, the interrupt table (I2TT) for token allocation in the master A first function of initializing a table (T2RT) for retransmission and clearing all values in the master when there is no response; A second function of leaving a record of the interrupt signal reception in the I2TT upon receiving an interrupt signal from a slave in which a data transmission / reception intention has occurred; A third function of resetting a token to the slave upon receipt of data from the slave; And a computer-readable recording medium having recorded thereon a program for realizing a fourth function of allocating a token to the slave with reference to the I2TT and the T2RT when data is not received from the slave.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 차세대 이동통신 시스템에서 기지국내 보드의 구성예시도이다.1 is an exemplary configuration diagram of a board in a base station in a next generation mobile communication system to which the present invention is applied.

도면에서, "101"은 마스터(Master), "102"는 논리합기(OR-Gate), "103"은 송신선(Tx+, Tx-), "104"는 수신선(Rx+, Rx-), 그리고 "111~114"는 슬래이브(Slave)를 각각 나타낸다.In the drawing, "101" is a master, "102" is an OR-Gate, "103" is a transmission line (Tx +, Tx-), "104" is a reception line (Rx +, Rx-), And "111-114" represents a slave (Slave), respectively.

본 발명이 적용되는 차세대 이동통신 시스템에서 기지국내 보드는 1개의 마스터(101)와 4개의 슬래이브(111~114)를 포함한다. 여기서, 슬래이브(111~114)의 수는 본 발명을 설명하기 위해서 4개로 도시하였으며, 그 수는 변동될 수 있다.In the next generation mobile communication system to which the present invention is applied, the board in the base station includes one master 101 and four slaves 111 to 114. Here, the number of slaves 111 to 114 is illustrated as four to explain the present invention, and the number may vary.

시스템에서 각 보드는 "RS-485" 규격의 수신선(Rx+, Rx-)(104), 송신선(Tx+, Tx-)(103)을 통하여 HDLC(High level Data Link Control) 프로토콜 메시지를 주고받고, 마스터(101)는 각 슬래이브(111~114)로부터 들어온 인터럽트 요구를 "RS-485" 규격으로 논리합기(102)를 통해서 받게 된다. 여기서, "RS-485(Recommend Standarded-485 cable)"는 멀티포인트 통신회선을 위한 TIA(Telecommunications Industries Association)/EIA(Electronic Industries Association) 표준이다. 이것은 "DB-9"이나 "DB-37"과 같은 커넥터들을 지원한다.In the system, each board sends and receives High Level Data Link Control (HDLC) protocol messages through receive lines (Rx +, Rx-) 104 and transmit lines (Tx +, Tx-) 103 of "RS-485" standard. The master 101 receives interrupt requests from the slaves 111 to 114 through the logic combiner 102 in the " RS-485 " standard. Here, "Recommend Standarded-485 cable (RS-485)" is a Telecommunications Industries Association (TIA) / Electronic Industries Association (EIA) standard for a multipoint communication line. It supports connectors like "DB-9" or "DB-37".

차세대 이동통신 시스템 기지국 제어보드에는 다수의 하위 보드들과 통신하기 위한 신호선이 존재한다. 이러한 복수개의 신호선 대신에 하나의 신호선을 이용하여 하위 보드들이 신호선을 공유하는 방식을 멀티 드롭(Multi Drop)이라 명명하는데, 멀티 드롭 통신 방식은 하나의 데이터 라인을 복수개의 사용자가 공유하여 데이터를 송수신하는 방식이므로, 물리적인 케이블 수가 줄어드는 장점을 가진다.In the next generation mobile communication system base station control board, there are signal lines for communicating with a plurality of lower boards. Instead of the plurality of signal lines, a method in which lower boards share signal lines by using one signal line is called a multi drop. In the multi drop communication method, a single data line is shared by a plurality of users to transmit and receive data. As a result, the number of physical cables is reduced.

본 발명에 따른 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법에서는 다음과 같은 방법을 제안한다.In the board-to-board communication method in the next-generation mobile communication system base station according to the present invention, the following method is proposed.

첫째는, 복수개의 슬래이브들(111~114)이 마스터(101)에게 데이터 송수신 의사를 전달하여 권한을 부여받는 방법이다. 일반적으로는 마스터(101)가 하위 슬래이브들(111~114)에 토큰을 순차적으로 던져서 데이터 송수신 의사를 타진하는 토큰 링 방식을 사용한다. 본 발명에서는 인터럽트 방식을 제안하는데 이는 토큰 링 방식에서 발생될 수 있는 시간 지연 문제를 해결할 수 있다. 즉, 데이터 송수신 의사가 발생한 슬래이브(111~114)는 상위 마스터(101)에게 인터럽트 신호를 전송하고 마스터(101)는 토큰을 이용하여 이를 허락하는 형태로 구현하면 매 슬래이브별(111~114)로 시간순으로 토큰을 던지는 토큰 링 방식에 비해 장점을 가질 수 있다.First, a plurality of slaves 111 to 114 are authorized to transmit and receive data to and from the master 101. In general, the master 101 uses a token ring method in which tokens are sequentially thrown to the lower slaves 111 to 114 to transmit and receive data. The present invention proposes an interrupt scheme, which can solve the time delay problem that may occur in the token ring scheme. In other words, if the slaves 111 to 114 having the intention to transmit / receive data transmit an interrupt signal to the upper master 101 and the master 101 uses a token to implement this, the slaves 111 to 114 for each slave 111 to 114. ) Can have an advantage over the token ring method of throwing tokens in chronological order.

둘째는, 하위 슬래이브들(111~114)로부터 인터럽트가 거의 동시에 송신될 때, 마스터는 이들을 우선 순위가 높은 순서대로 테이블을 관리하여 하위 슬래이브들(111~114)이 인터럽트를 한번만 송신하고 기다리는 방식을 적용하는 것이다. 만일, 하위 슬래이브들(111~114)의 우선 순위가 동일하다면 마스터(101)에 수신된 인터럽트의 시간순으로 테이블을 관리한다. 이러한 테이블 관리가 마스터(101)에서 수행되지 않는다면 하위 슬래이브들(111~114)은 자신에게 데이터 송수신 권한이 부여될 때 까지 주기적으로 인터럽트를 송신해야 하는 부담이 있으며, 이는 오히려 마스터(101)에게 더 부담이 된다.Secondly, when interrupts are sent from the lower slaves 111-114 at about the same time, the master manages the tables in order of high priority so that the lower slaves 111-114 transmit and wait only once for the interrupt. The way is to apply. If the lower slaves 111 to 114 have the same priority, the table is managed in chronological order of interrupts received by the master 101. If the table management is not performed in the master 101, the lower slaves 111 to 114 have a burden of periodically transmitting an interrupt until they are authorized to transmit and receive data. More burdensome.

셋째는, 마스터(101)에서의 테이블 관리의 방법에 관한 것이다. 테이블은 크게 2개로 구분되는데, 토큰 할당을 위해서 인터럽트가 들어온 순서대로 시간을 관리하는 제 1 테이블과 토큰 할당한 슬래이브(111~114)로부터 응답이 없을 시 재전송을 하기 위한 제 2 테이블로 나뉘어진다. 재전송 횟수는 기본적으로 3회 수행하며 3회 재전송 동안에도 슬래이브에서 응답이 없으면 실패(Fail) 처리하고, 테이블 중 다음 순위에 권한을 부여한다. 재전송 횟수는 시스템의 상황에 따라 가변적으로 할당할 수 있다.The third relates to the method of table management in the master 101. The table is divided into two, divided into a first table for managing time in the order of interrupts for token allocation and a second table for retransmission when there is no response from the token-assigned slaves 111 to 114. . The number of retransmissions is basically performed three times. If there is no response from the slave even during three retransmissions, a failure is processed and the next rank in the table is authorized. The number of retransmissions can be changed in accordance with the situation of the system.

즉, 상기와 같은 제안을 해결하기 위해서, IMT-2000 시스템에서 기지국내에 있는 보드간 통신을 하기 위한 방식으로 마스터와 슬래이브간 통신 시 마스터(101)는 각각의 슬래이브(111~114)로부터 인터럽트를 받고 토큰을 준다. 또한, 동시에 인터럽트가 들어오거나 한 슬래이브와 통신 중에 다른 슬래이브로부터 인터럽트 발생시 토큰을 적절하게 관리해 준다.That is, in order to solve the above proposal, the master 101 in the IMT-2000 system for communication between the board in the base station in the communication between the master 101 and slaves from each of the slave (111 ~ 114) Receive interrupts and give tokens. At the same time, tokens are properly managed when interrupts come in or interrupts occur from one slave during communication with one slave.

따라서, 마스터(101)가 토큰을 할당, 테이블을 가지고 각각의 슬래이브(111~114)로부터 들어오는 인터럽트를 관리함으로써 마스터(101)와 슬래이브(111~114)간의 원활한 멀티 통신을 수행한다.Accordingly, the master 101 allocates tokens and manages interrupts from the slaves 111 to 114 with the table to perform smooth multi-communication between the master 101 and the slaves 111 to 114.

즉, 본 발명은 각 슬래이브(111~114)로부터 인터럽트가 발생한 순서대로 테이블에 기록하고, 토큰을 할당해 주기 위한 우선 순위 테이블과 일정시간 후 까지 슬래이브(111~114)로부터 응답이 없으면 3회까지 반복해서 토큰을 재전송하는 리트랜스(ReTrans) 테이블을 가지며 다른 슬래이브(111~114)와 통신 중에는 토큰을 내려주지 않도록 하고, 같은 슬래이브에서 들어오는 인터럽트에 대해서는 진행중인 통신이 끝난 이후에 한번만 토큰을 할당하도록 처리하여 한 슬래이브와 통신이 끝난 후에 같은 인터럽트에 대해 이중처리를 하지 않도록 방지한다.That is, the present invention writes the table in the order in which interrupts are generated from the slaves 111 to 114, and if there is no response from the slaves 111 to 114 until a certain time after the priority table for allocating tokens, It has a ReTrans table that retransmits tokens repeatedly up to a number of times, and does not drop tokens while communicating with other slaves 111-114, and interrupts coming from the same slave only once after the ongoing communication ends. To avoid double processing for the same interrupt after communication with one slave.

도 2 는 본 발명에 따른 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법에 대한 일실시예 흐름도이다.2 is a flowchart illustrating a board-to-board communication method in a next-generation mobile communication system base station according to the present invention.

먼저, 토큰 할당을 위해서 인터럽트가 먼저 들어온 시간을 우선 순위로 결정하기 위한 하기 [표 1]의 토큰 할당을 위한 인터럽트 테이블(Interrupt to Token Table : 이하 "I2TT"라 함)과 토큰을 할당한 슬래이브로부터 응답이 없을 시 재전송을 하기 위한 하기 [표 2]의 재전송을 위한 테이블(Token to Rx Table : 이하 "T2RT"라 함)이 필요하다.First, Interrupt to Token Table (hereinafter referred to as "I2TT") and Token allocating tokens for determining the priority of the interrupt first time for token allocation as shown in [Table 1] When there is no response from the network, a table for retransmission (Token to Rx Table: referred to as "T2RT") is required.

슬래이브Slave 시간time 플래그(Flag)Flag 1One 00:33:02 ②00:33:02 ② 0 → 1① → 0⑥0 → 1① → 0⑥ 22 00:33:04 ④00:33:04 ④ 0 → 1③ → 0⑧0 → 1③ → 0⑧ 33 00 44 00

슬래이브Slave 시간time 플래그(Flag)Flag 리트랜스 카운트(Retrans Count)Retrans Count 1One 00:33:0600:33:06 0→1⑤→0⑥0 → 1⑤ → 0⑥ 22 00:33:08⑦→00:33:11⑨00: 33: 08⑦ → 00: 33: 11⑨ 0→1⑦→0⑧0 → 1⑦ → 0⑧ 0→1⑩0 → 1⑩ 33 00 44 00

상기 [표 1], [표 2]와 같은 테이블을 구비하고, 본 발명에 따른 차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법을 도 2를 참조하여 설명하면 다음과 같다.Tables 1 and 2 are provided, and a board-to-board communication method in a next-generation mobile communication system base station according to the present invention will be described with reference to FIG. 2 as follows.

먼저, I2TT와 T2RT를 초기화하고, 모든 값을 클리어(Clear) 시킨다(201).First, I2TT and T2RT are initialized and all values are cleared (201).

그리고, 슬래이브로부터 인터럽트 신호를 받았는지를 확인한다(202).Then, it is checked whether the interrupt signal is received from the slave (202).

상기 확인 결과, 상기 슬래이브로부터 인터럽트 신호를 받지 않았으면 슬래이브로부터 데이터를 수신하였는지를 판단한다(203).If it is determined that the interrupt signal is not received from the slave, it is determined whether data is received from the slave (203).

상기 확인 결과, 상기 슬래이브로부터 인터럽트 신호를 받았으면 상기 슬래이브의 플래그가 I2TT에서 셋(Set)되어 있는지를 확인하고(207), 셋(Set)되어 있으면 슬래이브로부터 데이터를 수신하였는지를 판단하는 과정(203)으로 진행하고, 셋(Set)되어 있지 않으면 I2TT에 슬래이브 플래그 셋 타임(Set Time)을 기록하고 시간을 증가시킨 후, 데이터를 수신하였는지를 판단하는 과정(203)으로 진행한다.As a result of the check, if an interrupt signal is received from the slave, checking whether the flag of the slave is set in the I2TT (207), and if it is set, determining whether data is received from the slave ( In step 203, if not set, the slave flag set time is recorded in the I2TT, the time is increased, and the process proceeds to step 203 in which it is determined whether data has been received.

상기 판단 결과(203), 슬래이브로부터 데이터를 수신하였으면 I2TT와 T2RT값을 클리어(Clear)하여 슬래이브의 토큰을 리셋(Reset)하고, 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정(202)으로 진행한다.As a result of the determination (203), if the data is received from the slave, the process clears the I2TT and T2RT values to reset the slave token and confirms whether an interrupt signal is received from the slave (202). Proceed to

상기 판단 결과(203), 슬래이브로부터 데이터를 수신하지 않았으면 T2RT의 모든 슬래이브 플래그(Flag)가 클리어(Clear) 되어 있는지를 확인한다(204).As a result of the determination (203), if no data is received from the slave, it is checked whether all slave flags (Flag) of the T2RT are cleared (204).

상기 확인 결과, T2RT의 모든 슬래이브 플래그(Flag)가 클리어(Clear) 되어 있으면, I2TT에서 가장 오래된 시간을 가진 슬래이브를 검색하여(205) 상기 슬래이브로 토큰을 전송하고, T2RT에서 상기 슬래이브의 플래그(Flag) 셋 타임(Set Time)을 증가시킨 후, 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정(202)으로 진행한다.As a result of the check, if all slave flags of the T2RT are cleared, the slave having the oldest time in the I2TT is searched for (205) and the token is transmitted to the slave, and the slave is transmitted from the T2RT. After increasing the flag set time, the process proceeds to step 202 to determine whether an interrupt signal is received from the slave.

상기 확인 결과(204), T2RT의 모든 슬래이브 플래그(Flag)가 클리어(Clear) 되어있지 않으면, T2RT에서 가장 오래된 시간을 가진 슬래이브를 검색하여(210) 상기 슬래이브의 재전송 카운터가 3미만인지를 확인한다(211).As a result of the check 204, if all slave flags of the T2RT are not cleared, the slave having the oldest time in the T2RT is searched (210) to determine whether the retransmission counter of the slave is less than three. Check (211).

상기 확인 결과, 3미만이면 시간이 3초를 초과하였는지를 확인하여(212) 3초 이상이면 슬래이브로 토큰을 재전송하고(213) 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정(202)으로 진행하고, 3초를 초과하였으면 바로 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정(202)으로 진행한다.As a result of the check, if it is less than 3, it is checked whether the time exceeds 3 seconds (212). If it is more than 3 seconds, the token is retransmitted to the slave (213) and the process of checking whether an interrupt signal is received from the slave (step 202) If more than 3 seconds is exceeded, the process proceeds to step 202 to check whether an interrupt signal is received from the slave.

상기 확인 결과, 3이상이면 슬래이브의 토큰을 리셋(Reset)하는 과정(209)으로 진행한다.As a result of the check, if the value is 3 or more, the process proceeds to step 209 of resetting the token of the slave.

상기 과정을 도 1과 [표 1], [표 2]를 참조하여 일예를 들어 설명하면 다음과 같다.The above process is described with reference to FIG. 1, Table 1, and Table 2 as an example.

슬래이브 중 채널1로부터 인터럽트가 발생하면 [표 1]의 I2TT 테이블에 ①과 같이 플래그를 셋(Set) 시키고, ②와 같이 시간을 기록함과 동시에 증가시킨다.If interrupt occurs from channel 1 during the slave, set flag as ① in I2TT table of [Table 1] and increase it while recording time as ②.

이후에 동일한 채널로부터 인터럽트가 발생되었을 시 아직 [표 1]의 I2TT의 해당 채널의 플래그가 셋(Set)되어 있을 시, 이중 처리를 방지하기 위해 채널2의 절차 ③, ④와 같은 처리를 하지 않는다.If an interrupt is generated from the same channel after that, if the flag of the corresponding channel of I2TT in [Table 1] is still set, do not perform the same process as the procedure ③ and ④ of channel 2 to prevent double processing. .

[표 2] T2RT 테이블에서 모든 채널의 플래그가 클리어(Clear) 되어 있는 지 확인하고, 클리어 되어 있을 경우 해당 채널로 토큰을 할당해 주기 위해 [표 1]의 I2TT 테이블의 시간을 참조해서 가장 먼저 들어온 채널을 찾아 토큰을 할당해 주고, [표 2]의 T2RT 테이블의 플래그를 ⑤와 같이 셋 시키고 재전송을 위해 시간을 기록하고 증가시킨다.[Table 2] Check if all channel flags are cleared in T2RT table, and if cleared, refer to the time of I2TT table in [Table 1] to allocate token to the corresponding channel. Find the channel and allocate token, set the flag of T2RT table of [Table 2] as ⑤ and record and increase the time for retransmission.

T2RT의 절차 ⑤에서 각 채널의 플래그가 하나라도 셋되어 있다면 이는 아직 재전송절차가 수행중으로 판단하고, [표 2]의 T2RT 테이블의 해당 채널의 리트랜스 카운트를 참조하여 3회 미만이고, ⑨와 같이 시간이 3초가 지났는지 확인한 후 3초가 지났으면 해당 채널로 토큰을 보낸 후, 리트랜스 카운트를 ⑩과 같이 증가 시킨다.If at least one flag of each channel is set in the procedure ⑤ of T2RT, it is determined that the retransmission procedure is still being performed, and it is less than 3 times referring to the retransmission count of the corresponding channel of the T2RT table of [Table 2]. If 3 seconds have passed after checking if the time has passed, send the token to the corresponding channel, and increase the retrans count as ⑩.

만약, 리트랜스 카운트가 3회 이상 반복되었을 시에는 [표 1]의 I2TT 테이블과 [표 2]의 T2RT 테이블에서 해당 채널의 시간과 플래그를 ⑥과 같이 클리어 시키고, 다시 인터럽트 요청이 있을 때까지 토큰을 할당하지 않는다.If the repeat count is repeated more than 3 times, clear the time and flag of the corresponding channel in the I2TT table of [Table 1] and the T2RT table of [Table 2] as shown in ⑥, and again until the interrupt request is made. Do not assign

상기 과정이 끝나고 나서 [표 1]의 I2TT 테이블에서 채널 2로 들어온 인터럽트 처리를 위의 절차 ③~⑧까지 과정을 반복해서 수행한다.After the above process is completed, the interrupt processing of channel 2 in the I2TT table of [Table 1] is repeated until the above procedures ③ to ⑧.

마찬가지로, 나머지 채널에 대해서도 위의 과정과 동일한 방법으로 계속해서 토큰을 할당하게 된다.Similarly, tokens will continue to be allocated for the remaining channels in the same way as above.

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 차세대 이동통신 시스템에서 기지국내에 있는 보드간 통신을 하기 위한 방식으로 마스터와 슬래이브간 통신 시 마스터가 토큰 할당 테이블을 가지고 각각의 슬래이브로부터 들어오는 인터럽트를 관리함으로써 마스터와 슬래이브간의 원활한 멀티 통신을 가능하게 하는 효과가 있다.As described above, the present invention is a method for inter-board communication in a base station in a next-generation mobile communication system, in which a master manages an interrupt coming from each slave with a token allocation table during communication between a master and a slave. There is an effect that enables seamless multi-communication between the and the slave.

Claims (5)

차세대 이동통신 시스템 기지국 내에서의 보드간 통신 방법에 있어서,In the board-to-board communication method in the next-generation mobile communication system base station, 마스터(Master)내의 토큰 할당을 위한 인터럽트 테이블(I2TT)과 토큰을 할당한 슬래이브로부터 응답이 없을 시 재전송을 위한 테이블(T2RT)을 초기화 하고, 상기 마스터내의 모든값을 삭제(Clear)하는 제 1 단계;A first table for initializing the interrupt table (I2TT) for token allocation in the master and the table (T2RT) for retransmission when there is no response from the slave to which the token is assigned, and clearing all values in the master. step; 데이터 송수신 의사가 발생한 슬래이브(Slave)로부터의 인터럽트 신호 수신시에, 상기 I2TT에 인터럽트 신호 수신에 대한 기록을 남기는 제 2 단계;A second step of leaving a record of interrupt signal reception in the I2TT upon receipt of an interrupt signal from a slave in which a data transmission / reception intention has occurred; 상기 슬래이브로부터의 데이터 수신시에, 상기 슬래이브로 토큰을 리셋(Reset)하는 제 3 단계; 및A third step of resetting a token to the slave upon receipt of data from the slave; And 상기 슬래이브로부터 데이터가 수신되지 않는 경우에, 상기 I2TT와 상기 T2RT를 참조하여 상기 슬래이브로 토큰을 할당하는 제 4 단계A fourth step of allocating a token to the slave with reference to the I2TT and the T2RT when no data is received from the slave; 를 포함하는 보드간 통신 방법.Board-to-board communication method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 데이터 송수신 의사가 발생한 슬래이브(Slave)로부터 인터럽트 신호를 수신하였는지를 확인하는 과정은,The process of checking whether the interrupt signal has been received from the slave in which the intention to transmit / receive data in the second step is 상기 슬래이브의 플래그(flag)가 상기 I2TT에서 설정(Set)되어 있는지를 확인하는 제 5 단계;A fifth step of checking whether a flag of the slave is set in the I2TT; 상기 제 5 단계의 확인 결과, 설정(Set)되어 있으면 상기 제 2 단계의 상기 슬래이브로부터 데이터를 수신하였는지를 판단하는 과정으로 진행하는 제 6 단계; 및A sixth step of proceeding to determining whether data has been received from the slave of the second step if it is set as a result of the checking of the fifth step; And 상기 제 5 단계의 확인 결과, 설정(Set)되어 있지 않으면 상기 I2TT에 상기 슬래이브 플래그(flag) 설정 타임(Set Time)을 기록하고, 시간을 증가시킨 후 상기 제 2 단계의 상기 슬래이브로부터 데이터를 수신하였는지를 판단하는 과정으로 진행하는 제 7 단계As a result of the check in the fifth step, if not set, the slave flag set time is recorded in the I2TT, and after increasing the time, data from the slave in the second step is increased. Step 7 proceeds to the process of determining whether 를 포함하는 보드간 통신 방법.Board-to-board communication method comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 4 단계는,The fourth step, 상기 T2RT의 모든 슬래이브 플래그(Flag)가 삭제(Clear)되어 있는지를 확인하는 제 8 단계;An eighth step of checking whether all slave flags of the T2RT are cleared; 상기 제 8 단계의 확인 결과, 상기 T2RT의 모든 슬래이브 플래그(Flag)가 삭제(Clear) 되어 있으면, 상기 I2TT에서 가장 오래된 시간을 가진 슬래이브를 검색하여 상기 슬래이브로 토큰을 전송하고, 상기 T2RT에서 상기 슬래이브의 플래그(Flag) 설정 타임(Set Time)을 증가시킨 후, 상기 제 2 단계의 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정으로 진행하는 제 9 단계; 및As a result of the checking of the eighth step, if all the slave flags of the T2RT are cleared, the slave having the oldest time is searched for in the I2TT, and the token is transmitted to the slave. A ninth step of increasing a flag set time of the slave and then checking whether an interrupt signal is received from the slave of the second step; And 상기 제 8 단계의 확인 결과, 상기 T2RT의 모든 슬래이브 플래그(Flag)가 삭제(Clear)되어 있지 않으면, 상기 T2RT에서 가장 오래된 시간을 가진 슬래이브를 검색하여 상기 슬래이브의 재전송 카운터와 시간을 확인하여 상기 슬래이브 토큰을 재전송하는 제 10 단계As a result of the checking of the eighth step, if all slave flags of the T2RT are not cleared, the slave having the oldest time in the T2RT is searched to check the retransmission counter and time of the slave. Tenth step of retransmitting the slave token 를 포함하는 보드간 통신 방법.Board-to-board communication method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 10 단계는,The tenth step is 상기 재전송 카운터가 소정의 수 미만인지를 확인하는 제 11 단계;An eleventh step of checking whether the retransmission counter is less than a predetermined number; 상기 제 11 단계의 확인 결과, 상기 재전송 카운터가 소정의 수 미만이면 소정의 시간을 초과하였는지를 확인하여 소정의 시간 이상이면 슬래이브로 토큰을 재전송하고 상기 제 2 단계의 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정으로 진행하고, 상기 소정의 시간 이상이 아니면 상기 제 2 단계의 슬래이브로부터 인터럽트 신호를 받았는지를 확인하는 과정으로 진행하는 제 12 단계; 및As a result of the checking of the eleventh step, if the retransmission counter is less than a predetermined number, it is checked whether the predetermined time has been exceeded. A 12th step of proceeding to a process of checking whether the interrupt signal is received from the slave of the second step if not more than the predetermined time; And 상기 제 11 단계의 확인 결과, 상기 재전송 카운터가 소정의 수 이상이면 상기 제 3 단계의 슬래이브의 토큰을 리셋(Reset)하는 과정으로 진행하는 제 13 단계As a result of the checking of the eleventh step, if the retransmission counter is a predetermined number or more, the thirteenth step of proceeding to a process of resetting the token of the slave of the third step. 를 포함하는 보드간 통신 방법.Board-to-board communication method comprising a. 차세대 이동통신 시스템 기지국 내에서의 보드간 통신을 위해, 프로세서를구비한 기지국 장치에,In a base station apparatus equipped with a processor for board-to-board communication in a next-generation mobile communication system base station, 마스터(Master)내의 토큰 할당을 위한 인터럽트 테이블(I2TT)과 토큰을 할당한 슬래이브로부터 응답이 없을 시 재전송을 위한 테이블(T2RT)을 초기화 하고, 상기 마스터내의 모든값을 삭제(Clear)하는 제 1 기능;A first table for initializing the interrupt table (I2TT) for token allocation in the master and the table (T2RT) for retransmission when there is no response from the slave to which the token is assigned, and clearing all values in the master. function; 데이터 송수신 의사가 발생한 슬래이브(Slave)로부터의 인터럽트 신호 수신시에, 상기 I2TT에 인터럽트 신호 수신에 대한 기록을 남기는 제 2 기능;A second function of leaving a record of the interrupt signal reception in the I2TT upon receiving an interrupt signal from a slave in which a data transmission / reception intention has occurred; 상기 슬래이브로부터의 데이터 수신시에, 상기 슬래이브로 토큰을 리셋(Reset)하는 제 3 기능; 및A third function of resetting a token to the slave upon receipt of data from the slave; And 상기 슬래이브로부터 데이터가 수신되지 않는 경우에, 상기 I2TT와 상기 T2RT를 참조하여 상기 슬래이브로 토큰을 할당하는 제 4 기능A fourth function of allocating a token to the slave with reference to the I2TT and the T2RT when data is not received from the slave 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR10-2001-0068897A 2001-11-06 2001-11-06 Method for Communication between Master and Slave in Basestation KR100440444B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0068897A KR100440444B1 (en) 2001-11-06 2001-11-06 Method for Communication between Master and Slave in Basestation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0068897A KR100440444B1 (en) 2001-11-06 2001-11-06 Method for Communication between Master and Slave in Basestation

Publications (2)

Publication Number Publication Date
KR20030037822A true KR20030037822A (en) 2003-05-16
KR100440444B1 KR100440444B1 (en) 2004-07-15

Family

ID=29568192

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0068897A KR100440444B1 (en) 2001-11-06 2001-11-06 Method for Communication between Master and Slave in Basestation

Country Status (1)

Country Link
KR (1) KR100440444B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818679B2 (en) * 2004-04-20 2010-10-19 Microsoft Corporation Method, system, and apparatus for enabling near real time collaboration on an electronic document through a plurality of computer systems

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100672336B1 (en) 2005-07-22 2007-01-24 엘지전자 주식회사 Method of floor management for group call in mobile communication network and group call system for floor management

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3168102B2 (en) * 1993-06-30 2001-05-21 トヨタ自動車株式会社 Communication device
US5835779A (en) * 1996-03-15 1998-11-10 Lucent Technologies Inc. Message transmission among processing units using interrupt control technique
KR0174679B1 (en) * 1996-06-29 1999-04-01 김광호 Point to multiple processor commnnicative devcie & communication method
KR100304942B1 (en) * 1999-06-29 2001-11-01 서평원 Device for sending/receiving data between board in communication device and Method for sending/receiving data using the same
KR20010059946A (en) * 1999-12-30 2001-07-06 송문섭 Apparatus for interfacing a channel card unit and diagnostic monitor interface unit in a radio port of a wireless local loop system
KR100355295B1 (en) * 2000-12-06 2002-10-11 주식회사 하이닉스반도체 Interface device and method between channel card and if board in bts

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818679B2 (en) * 2004-04-20 2010-10-19 Microsoft Corporation Method, system, and apparatus for enabling near real time collaboration on an electronic document through a plurality of computer systems

Also Published As

Publication number Publication date
KR100440444B1 (en) 2004-07-15

Similar Documents

Publication Publication Date Title
US7093015B2 (en) Method and apparatus for accessing a wireless computer network communication channel by accessing quiet intervals in network frames
US7251231B2 (en) Method and apparatus for controlling communication within a computer network
JP3767904B2 (en) Data communication with highly efficient polling procedures
US20030231621A1 (en) Dynamic communication channel switching for computer networks
US6891847B1 (en) Method and apparatus for accommodating asynchronous data transmissions in a wireless computer network
US8179914B1 (en) Network slot synchronization scheme for a computer network communication channel
KR100440444B1 (en) Method for Communication between Master and Slave in Basestation
CN113242539A (en) Link control method and device, transparent transmission device and BLE chip
KR0165440B1 (en) Polling communication method
EP1195025A1 (en) Network slot synchronization scheme for a computer network communication channel
JP2752742B2 (en) Packet transmission device
TWI764400B (en) Data transmission method for a wireless peripheral device
JP2854656B2 (en) Frame transmission allocation method
JPH02226828A (en) Data packet transmission system
KR0184194B1 (en) Internal process transmission apparatus using btl logic
JPS5827447A (en) Communication control system with priority
JPS59208957A (en) Communication control system
CN114827974A (en) Bandwidth optimization method of TWS system
JPS58198938A (en) Local network
CA1208736A (en) System and method for name-lookup in a local area network data communication system
JPS60254943A (en) Data transmission system of bus type lan system
JP2003333006A (en) Wireless device
JPS58198941A (en) Simple data transmitter
WO2000016521A1 (en) Hierarchical computer network architecture
JPS6132633A (en) Data transmission and reception system for terminal device

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: 20130620

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140619

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20150622

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee