KR102097704B1 - Method for selecting master in TDMA network and user terminal for thereof - Google Patents

Method for selecting master in TDMA network and user terminal for thereof Download PDF

Info

Publication number
KR102097704B1
KR102097704B1 KR1020180144673A KR20180144673A KR102097704B1 KR 102097704 B1 KR102097704 B1 KR 102097704B1 KR 1020180144673 A KR1020180144673 A KR 1020180144673A KR 20180144673 A KR20180144673 A KR 20180144673A KR 102097704 B1 KR102097704 B1 KR 102097704B1
Authority
KR
South Korea
Prior art keywords
slot
user terminal
master
notification signal
state
Prior art date
Application number
KR1020180144673A
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 KR1020180144673A priority Critical patent/KR102097704B1/en
Application granted granted Critical
Publication of KR102097704B1 publication Critical patent/KR102097704B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1694Allocation of channels in TDM/TDMA networks, e.g. distributed multiplexers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/002Transmission of channel access control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure

Abstract

The present invention relates to a method for selecting a master based on competition between user terminals in a time division multiplex access (TDMA) network based on a communication frame including a control slot, a random access slot, and a user slot, which includes: allowing a user terminal participating in a network to set a state of the user terminal to an ′unknown′ state; determining whether a receive signal is present on a control slot in a first frame which is present, and determining that selection of the master is required when the receive signal is absent; waiting for transmission of a notification signal until an m^th slot, which the user terminal accesses, among M number of random access slots positioned next to a control slot comes, such that the user terminal is selected as the master, and transmitting a notification signal for notifying presence of the user terminal through the m^th slot when the notification signal of the user terminal is not received until a (m+1)^th slot; setting a state of the user terminal to a state of ′Provisional master′ when a notification signal of another user terminal is not received until an M^th slot comes after the transmission of the notification signal; and determining the state of the user terminal to a state of ′Master′, when a response signal is received from another user terminal through one of M number of random access slots next to the control slot after the transmission of a provisional master notification signal through a control slot in a next second frame. According to the present invention, when the master is absent in the TDMA network, the master may be rapidly and easily selected based on the effective competition between user terminals.

Description

TDMA 네트워크에서 마스터 선정 방법 및 그것을 위한 사용자 단말{Method for selecting master in TDMA network and user terminal for thereof}Method for selecting master in TDMA network and user terminal therefor

본 발명은 TDMA 네트워크에서 마스터 선정 방법 및 그것을 위한 사용자 단말에 관한 것으로서, 보다 상세하게는 TDMA 네트워크 내에서 유저 간 경쟁에 기반하여 마스터를 선정하는 TDMA 네트워크에서 마스터 선정 방법 및 그것을 위한 사용자 단말The present invention relates to a method for selecting a master in a TDMA network and a user terminal therefor, and more specifically, a method for selecting a master in a TDMA network for selecting a master based on competition between users in a TDMA network and a user terminal therefor

일반적으로 TDMA(Time Division Multiple Access) 네트워크는 브로드캐스팅(Broadcasting) 통신 방식으로 운용된다. In general, a TDMA (Time Division Multiple Access) network is operated by a broadcasting (Broadcasting) communication method.

따라서, TDMA 네트워크 내의 모든 유저들은 자신에게 할당된 유저 슬롯 타임에만 송신할 자격이 주어지고 그 이외의 시간에서는 원치 않는 신호라 하더라도 항상 수신하고 확인하는 리스닝(Listening) 상태로 존재한다. Therefore, all users in the TDMA network are entitled to transmit only at the user slot time allocated to them, and there is always a listening state that receives and confirms even an unwanted signal at other times.

또한, 모든 유저들은 자신의 유저 슬롯에서 송신할 자격이 주어지되, 이와 동시에 수신은 불가능하기 때문에, 다른 유저와의 신호 충돌 여부를 확인할 수는 없다.In addition, all users are entitled to transmit in their user slots, but at the same time, reception is impossible, so it is not possible to check whether there is a signal collision with another user.

TDMA 네트워크 내의 유저들은 마스터와 슬레이브로 구분된다. 슬레이브들은 경쟁 구간에서 자신의 존재를 알림으로써 네트워크 내의 마스터로부터 유저 슬롯을 할당받는다. 이때, 마스터는 비어있는 유저 슬롯을 확인하여 슬레이브들에게 각각 적절한 유저 슬롯을 할당한다. Users in the TDMA network are divided into master and slave. The slaves are assigned user slots from the master in the network by notifying their presence in the contention period. At this time, the master checks for empty user slots and allocates appropriate user slots to slaves.

도 1은 브로드캐스팅 환경에서 운용되는 TDMA 네트워크의 통신 프레임 구조를 나타낸다. 도 1에 나타낸 것과 같이 TDMA 네트워크의 통신 프레임은 일반적으로 컨트롤 슬롯, 복수의 랜덤 액세스 슬롯, 복수의 유저 슬롯을 포함하며, 이는 기 공지된 것에 해당한다. 1 shows a communication frame structure of a TDMA network operating in a broadcasting environment. As shown in FIG. 1, a communication frame of a TDMA network generally includes a control slot, a plurality of random access slots, and a plurality of user slots, which correspond to the known ones.

컨트롤 슬롯은 마스터가 송신하는 시간 슬롯으로, 마스터는 컨트롤 슬롯을 통해 유저들에게 각 유저 슬롯의 점유 정보(슬롯 테이블)을 제공할 수 있다. 복수의 랜덤 액세스 슬롯은 유저들이 마스터에게 슬롯 할당을 요청하기 위해 랜덤 액세스하여 자신의 존재를 알리는 구간이다. 추후 마스터는 해당 유저에게 유저 슬롯 중 하나를 할당할 수 있다. 유저 슬롯은 유저들이 송신 가능한 시간 슬롯으로, 유저는 마스터로부터 슬롯 테이블을 확인하여 자신에게 할당된 슬롯 시간에 자신의 메시지를 송신한다.The control slot is a time slot transmitted by the master, and the master may provide occupancy information (slot table) of each user slot to users through the control slot. The plurality of random access slots is a section in which users announce their existence by random access to request a slot allocation from the master. Subsequently, the master may allocate one of the user slots to the corresponding user. The user slot is a time slot that can be transmitted by users, and the user checks the slot table from the master and transmits his message at the slot time allocated to him.

그런데, TDMA 네트워크 내에 마스터가 없는 경우, 네트워크 내의 각각의 유저들은 유저 슬롯의 점유 상태를 독자적으로 확인할 수 없으며, 경쟁 구간에서 다른 유저들간의 충돌 여부를 확인할 수 없다. However, when there is no master in the TDMA network, each user in the network cannot independently check the occupied state of the user slot and cannot check whether there is a collision between other users in the competition section.

따라서, TDMA 네트워크에서 마스터 선정 과정이 반드시 요구되며, 브로드캐스팅 환경을 고려하여 보다 효과적인 마스터 선정 기법이 요구된다.Therefore, a master selection process is absolutely required in a TDMA network, and a more effective master selection technique is required in consideration of a broadcasting environment.

본 발명의 배경이 되는 기술은 한국공개특허 제2016-0028939호(2016.03.14 공개)에 개시되어 있다.The technology underlying the present invention is disclosed in Korean Patent Publication No. 2016-0028939 (published on March 14, 2016).

본 발명은, TDMA 네트워크 내에 마스터가 존재하지 않을 경우 마스터를 신속하고 용이하게 선출할 수 있는 TDMA 네트워크에서 마스터 선정 방법 및 그것을 위한 사용자 단말을 제공하는데 목적이 있다.An object of the present invention is to provide a master selection method and a user terminal therefor in a TDMA network capable of quickly and easily selecting a master when there is no master in the TDMA network.

본 발명은, 컨트롤 슬롯, 랜덤 액세스 슬롯, 유저 슬롯을 포함한 통신 프레임 기반의 TDMA 네트워크에서 사용자 단말 간 경쟁을 이용한 마스터 선정 방법에 있어서, 네트워크에 참여한 사용자 단말은 자신의 상태를 언노운(unknown)으로 설정하는 단계와, 현재의 제1 프레임 내의 컨트롤 슬롯 상에 수신 신호가 존재하는지 확인하고, 존재하지 않으면 마스터 선출이 필요한 것으로 판단하는 단계와, 자신이 마스터로 선출되고자, 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 m번째 슬롯(m=0,1,…,M)이 도래하기 전까지 알림 신호의 송신을 대기하되, m-1번째 슬롯까지 타 사용자 단말의 알림 신호가 수신되지 않았다면 m번째 슬롯을 통해 자신의 존재를 알리는 알림 신호를 송신하는 단계와, 알림 신호의 송신 후 상기 M번째 슬롯까지도 타 사용자 단말의 알림 신호가 수신되지 않았다면 자신의 상태를 잠정적 마스터로 설정하는 단계, 및 다음의 제2 프레임 내의 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 송신한 이후 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 하나를 통해 타 사용자 단말에 의한 응답 신호가 수신되었다면, 자신의 상태를 마스터로 확정하는 단계를 포함하는 TDMA 네트워크에서 마스터 선정 방법을 제공한다.In the present invention, in a master selection method using contention between user terminals in a TDMA network based on a communication frame including a control slot, a random access slot, and a user slot, a user terminal participating in the network sets its state to unknown. Step of determining whether a received signal exists on the control slot in the current first frame, and determining that master election is necessary if it does not exist, and M random located next to the control slot to be elected as the master. If the m-th slot (m = 0,1, ..., M) randomly accessed by the access slot waits for the transmission of the notification signal until the arrival, but the m-1th slot has not received the notification signal of another user terminal transmitting a notification signal informing of its existence through the m-th slot, and up to the M-th slot after transmission of the notification signal If the notification signal of another user terminal has not been received, setting one's state as a provisional master, and after transmitting the provisional master notification signal through the control slot in the next second frame, among the M random access slots after the control slot If a response signal from another user terminal is received through one, a master selection method is provided in a TDMA network including determining a status of the user as a master.

또한, 상기 사용자 단말은, 매 프레임마다 프레임 내 M개 랜덤 액세스 슬롯 중 하나의 슬롯에 랜덤 액세스하도록 동작할 수 있다.In addition, the user terminal may operate to randomly access one of the M random access slots in the frame every frame.

또한, 상기 사용자 단말은, 자신이 마스터로 선출되고자, 상기 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯과 L개의 유저 슬롯을 포함하는 전체 M+L개 슬롯 중 하나의 슬롯에 랜덤 액세스하도록 동작할 수 있다.Further, the user terminal may operate to randomly access one of the M + L slots including M random access slots and L user slots located after the control slot, in order to be elected as a master. have.

또한, 상기 마스터 선정 방법은, 상기 언노운 상태의 사용자 단말은 상기 알림 신호의 송신을 대기하는 동안, 1 부터 m-1번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신되었다면, 상기 알림 신호의 송신을 포기하고 자신의 상태를 슬레이브 상태로 확정하는 단계를 더 포함할 수 있다.In addition, the master selection method, the user terminal in the unknown state, while waiting for the transmission of the notification signal, if the notification signal of the other user terminal is received in at least one of m-1 th slot, the notification signal It may further include the step of abandoning the transmission and determining its own state as a slave state.

또한, 상기 마스터 선정 방법은, 상기 언노운 상태의 사용자 단말은 상기 알림 신호의 송신 후 m+1 내지 M번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신된 경우 자신의 상태를 슬레이브 상태로 확정하는 단계를 더 포함할 수 있다.In addition, in the master selection method, the user terminal in the unknown state, when the notification signal of the other user terminal is received in at least one of the m + 1 to M th slots after the notification signal is transmitted, sets its state to the slave state. It may further include the step of determining.

또한, 상기 마스터 선정 방법은, 상기 슬레이브 상태로 확정 후, 다음의 제2 프레임의 컨트롤 슬롯에서 타 사용자 단말에 의한 상기 잠정적 마스터 알림 신호를 수신하였다면, 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 슬롯을 통해 그에 대한 상기 응답 신호를 송신하는 단계를 더 포함할 수 있다.In addition, if the master selection method is determined as the slave state, if the interim master notification signal is received by another user terminal in the control slot of the next second frame, one of the M random access slots after the control slot The method may further include transmitting the response signal to the random access slot.

또한, 상기 네트워크 내 각각의 사용자 단말은, 상기 잠정적 마스터 알림 신호를 수신하면 그에 대한 상기 응답 신호를 자신이 랜덤 접속한 슬롯을 통해 송신하되, 자신의 상태가 슬레이브 상태일 때만 상기 응답 신호의 송신 권한이 있으며, 언노운 상태이면 미응답하도록 설정될 수 있다.In addition, each user terminal in the network, upon receiving the provisional master notification signal, transmits the response signal to it through a slot to which it is randomly accessed, but only when the status of the user is a slave state is the authority to transmit the response signal There is, it may be set to not respond when in an unknown state.

또한, 상기 네트워크 내 각각의 사용자 단말은, 자신의 상태가 언노운 상태일 때만 상기 알림 신호의 송신 권한이 있으며, 슬레이브로 상태이면 송신하지 않도록 설정될 수 있다.In addition, each user terminal in the network has a right to transmit the notification signal only when its state is an unknown state, and may be set not to transmit when it is a slave.

그리고, 본 발명은, 컨트롤 슬롯, 랜덤 액세스 슬롯, 유저 슬롯을 포함한 통신 프레임 기반의 TDMA 네트워크에서 마스터 선정을 위해 서로 경쟁하는 사용자 단말에 있어서, 네트워크에 참여한 자신의 상태를 언노운(unknown)으로 설정하는 설정부와, 현재의 제1 프레임 내의 컨트롤 슬롯 상에 수신 신호가 존재하는지 확인하고, 존재하지 않으면 마스터 선출이 필요한 것으로 판단하는 판단부와, 자신이 마스터로 선출되고자, 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 m번째 슬롯(m=0,1,…,M)이 도래하기 전까지 알림 신호의 송신을 대기하되, m-1번째 슬롯까지 타 사용자 단말의 알림 신호가 수신되지 않았다면 m번째 슬롯을 통해 자신의 존재를 알리는 알림 신호를 송신하는 통신부, 및 알림 신호의 송신 후 상기 M번째 슬롯까지도 타 사용자 단말의 알림 신호가 수신되지 않았다면 자신의 상태를 잠정적 마스터로 설정하는 제어부를 포함하며, 상기 통신부는, 다음의 제2 프레임 내의 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 송신하며, 상기 제어부는, 상기 잠정적 마스터 알림 신호의 송신 이후 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 하나를 통해 타 사용자 단말에 의한 응답 신호가 수신되었다면, 자신의 상태를 마스터로 확정할 수 있다.And, the present invention, in a user terminal competing with each other for master selection in a TDMA network based on a communication frame including a control slot, a random access slot, and a user slot, the state of their participation in the network is set to unknown. A setting unit, a determination unit determining whether a reception signal is present on the control slot in the current first frame, and determining that it is necessary to select a master if it does not exist, and M units located next to the control slot to be elected as a master Wait for the transmission of the notification signal until the m-th slot (m = 0,1, ..., M) randomly accessed from the random access slot arrives, but the notification signal of another user terminal is not received until the m-1th slot If not, the communication unit transmits a notification signal informing of its existence through the m-th slot, and even the M-th slot after transmission of the notification signal. If a notification signal of another user terminal has not been received, the controller includes a control unit that sets its status as a provisional master, and the communication unit transmits a provisional master notification signal through a control slot in the next second frame. After the provisional master notification signal is transmitted, if a response signal from another user terminal is received through one of the M random access slots after the control slot, it is possible to determine its own status as the master.

또한, 상기 제어부는, 상기 언노운 상태에서 상기 알림 신호의 송신을 대기하는 동안, 1 부터 m-1번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신되었다면, 상기 알림 신호의 송신을 포기하고 자신의 상태를 슬레이브 상태로 확정할 수 있다.In addition, while waiting for transmission of the notification signal in the unknown state, the control unit abandons the transmission of the notification signal if the notification signal of the other user terminal is received in at least one of m-1 th slots. You can confirm your status as a slave status.

또한, 상기 제어부는, 상기 알림 신호의 송신 후 m+1 내지 M번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신된 경우 자신의 상태를 슬레이브 상태로 확정할 수 있다.In addition, when the notification signal of the other user terminal is received in at least one of m + 1 to Mth slots after the notification signal is transmitted, the controller may determine its own state as a slave state.

또한, 상기 통신부는, 상기 슬레이브 상태로 확정 후, 다음의 제2 프레임의 컨트롤 슬롯에서 타 사용자 단말에 의한 상기 잠정적 마스터 알림 신호를 수신하였다면, 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 슬롯을 통해 그에 대한 상기 응답 신호를 송신할 수 있다.In addition, after the communication unit is determined to be in the slave state, if the interim master notification signal is received by another user terminal in the control slot of the next second frame, one of the M random access slots after the control slot is randomly accessed. The response signal can be transmitted through one slot.

본 발명에 따르면, 브로드캐스팅 통신 기반의 TDMA 네트워크 내에서 마스터가 존재하지 않을 경우 현재 네트워크에 참여 중인 사용자 단말들 간의 효율적 경쟁 기법을 통하여 마스터를 신속하고 용이하게 선출할 수 있으며 선출 성능 및 효율을 높일 수 있는 이점을 제공한다.According to the present invention, if there is no master in a TDMA network based on broadcasting communication, the master can be quickly and easily elected through an efficient competition technique between user terminals currently participating in the network, and the elected performance and efficiency can be increased. It offers the advantage.

도 1은 브로드캐스팅 환경에서 운용되는 TDMA 네트워크의 통신 프레임 구조를 나타낸다.
도 2는 본 발명의 실시예에 따른 TDMA 네트워크 시스템을 도시한 도면이다.
도 3은 도 1에 도시된 사용자 단말의 구성을 나타낸 도면이다.
도 4는 본 발명의 실시예에 따른 TDMA 네트워크에서 사용자 단말 간 경쟁을 이용한 마스터 선정 방법을 설명하는 도면이다.
도 5 내지 도 9는 본 발명의 실시예에 따른 마스터 선정 방법을 설명하기 위한 다양한 예시를 나타낸 도면이다.
1 shows a communication frame structure of a TDMA network operating in a broadcasting environment.
2 is a diagram illustrating a TDMA network system according to an embodiment of the present invention.
FIG. 3 is a diagram showing the configuration of the user terminal illustrated in FIG. 1.
4 is a diagram illustrating a master selection method using contention between user terminals in a TDMA network according to an embodiment of the present invention.
5 to 9 are views showing various examples for explaining a master selection method according to an embodiment of the present invention.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.Then, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art to which the present invention pertains can easily practice.

도 2는 본 발명의 실시예에 따른 TDMA 네트워크 시스템을 도시한 도면이다.2 is a diagram illustrating a TDMA network system according to an embodiment of the present invention.

도 2에 나타낸 것과 같이, TDMA 네트워크 시스템에서 복수의 사용자 단말(100)은 TDMA 네트워크를 통해 연결된다. 여기서, TDMA의 기본 운용 방식에 따라, N개의 모든 사용자 단말(100)은 브로드캐스팅(Broadcasting) 통신 방식으로 운용된다.2, in a TDMA network system, a plurality of user terminals 100 are connected through a TDMA network. Here, according to the basic operation method of TDMA, all N user terminals 100 are operated in a broadcasting communication method.

여기서 각각의 사용자 단말(100)은 네트워크 내 유저에 해당하며, 네트워크 내의 유저들 중 어느 한 유저가 마스터로 확정된 경우 나머지는 슬레이브로 동작한다. Here, each user terminal 100 corresponds to a user in the network, and when any one of the users in the network is determined to be the master, the rest acts as a slave.

TDMA 네트워크 내의 마스터는 슬레이브 각각에게 유저 슬롯(시간 자원)을 할당한다. 슬레이브는 마스터로부터 할당받은 해당 유저 슬롯 시간에서만 신호의 송신이 가능하며 그 이외의 슬롯 시간 동안에는 항상 리스닝(listening) 상태로 존재하여 신호의 수신만이 가능하다.The master in the TDMA network allocates a user slot (time resource) to each slave. The slave can transmit the signal only in the corresponding user slot time allocated by the master, and it is always in the listening state for the other slot time, and only the signal can be received.

또한, 네트워크 내의 모든 유저들은 GPS 1pps (pulse-per-second signal) 신호를 통해 정확한 시간 슬롯(time slot)의 시간 동기를 알고 있으며, 모든 유저는 브로드 캐스팅 통신 방식으로 운용된다.In addition, all users in the network know the time synchronization of an accurate time slot through a GPS pulse-per-second signal (1pps) signal, and all users operate in a broadcast communication method.

이와 관련하여 앞서 도 1을 참조하여 설명하면 다음과 같다. TDMA 네트워크의 통신 프레임 구조는 컨트롤 슬롯, 복수의 랜덤 액세스 슬롯, 복수의 유저 슬롯을 포함한다. 여기서 물론, 각각의 슬롯은 시간 슬롯을 의미한다. In this regard, it will be described with reference to FIG. 1 above. The communication frame structure of the TDMA network includes a control slot, a plurality of random access slots, and a plurality of user slots. Here, of course, each slot means a time slot.

컨트롤 슬롯은 마스터에게만 송신 권한이 부여된 시간 슬롯으로, 이때 나머지 유저들은 리스닝 상태로 존재한다. 마스터는 현재 프레임에서 자신이 보내고자 하는 신호를 컨트롤 슬롯을 통해 브로드캐스팅 전송한다.The control slot is a time slot in which transmission authority is granted only to the master. At this time, the remaining users are in the listening state. The master broadcasts the signal it wants to send in the current frame through the control slot.

랜덤 액세스 구간인 복수의 랜덤 액세스 슬롯은 네트워크에 참여한 유저들이 마스터에게 슬롯 할당을 요청하기 위하여 랜덤하게 접근하는 시간 슬롯으로, 유저는 자신이 랜덤 액세스한 해당 슬롯 시간에 자신의 존재를 알리는 신호를 브로드캐스팅 전송한다. 물론, 이때 동시에 여러 유저가 동일 슬롯에 랜덤 액세스하여 자신의 알림 신호를 동시에 전송할 수도 있는데, 이 경우는 복수 신호의 중첩이나 충돌로 인해 수신 측에서는 정상적으로 신호가 수신되지는 않는다.A plurality of random access slots, which are random access sections, are time slots that are randomly accessed by users participating in the network to request a slot allocation from the master, and the user broadcasts a signal informing of their existence at the corresponding slot time that they randomly accessed. Cast transfer. Of course, at this time, multiple users may randomly access the same slot at the same time and transmit their own notification signals at the same time. In this case, the signals are not normally received at the receiving side due to overlapping or collision of multiple signals.

마스터는 해당 슬롯 시간에서 정상 수신된 신호로부터 해당 유저의 존재를 확인할 수 있으며, 비어있는 유저 슬롯 중 하나를 해당 유저를 위한 시간으로 할당하여 슬롯 테이블(유저 슬롯 점유 정보)을 갱신하고, 슬롯 테이블 정보를 다음 프레임의 컨트롤 슬롯 시간에 브로드캐스팅하여 알릴 수 있다. The master can confirm the existence of the corresponding user from the signal normally received at the corresponding slot time, update the slot table (user slot occupancy information) by allocating one of the empty user slots as the time for the corresponding user, and slot table information Can be notified by broadcasting at the control slot time of the next frame.

이때, 네트워크 내에 존재하는 유저들은 수신한 유저 슬롯 테이블을 기초로 자신에게 할당된 유저 슬롯(시간 자원)의 정보는 물론 복수의 유저 슬롯의 점유 현황을 확인할 수 있다.At this time, users existing in the network can check the occupancy status of a plurality of user slots, as well as information on user slots (time resources) allocated to them based on the received user slot table.

프레임 상에서 가장 마지막에 위치한 복수의 유저 슬롯은 유저들에게 송신 권한이 각각 부여된 시간 슬롯이다. 유저는 할당된 자신의 유저 슬롯을 통해서만 보내고자 하는 신호를 브로드캐스팅 전송할 수 있고, 나머지 시간에서는 늘 리스닝 상태로 존재한다.The plurality of user slots located at the end of the frame are time slots to which transmission rights are respectively assigned to users. The user can broadcast and transmit a signal to be transmitted only through his / her assigned user slot, and is always in a listening state for the rest of the time.

그런데, 네트워크 내에서 마스터 역할의 유저가 확정되어 있지 않거나 존재하지 않는 상태이면, 마스터 선출이 반드시 요구된다. 예를 들어, 브로드캐스팅 운용 환경 기반의 TDMA 네트워크 내에서 차량 간 협력 주행을 위해서는 마스터의 선정이 요구된다. 이러한 경우 유저란 차량 내 설치되어 TDMA 방식으로 통신 가능한 유저 단말, 기기 등을 의미할 수 있다. However, if the user with the master role in the network is not determined or does not exist, master election is required. For example, master selection is required for cooperative driving between vehicles within a TDMA network based on a broadcasting operating environment. In this case, the user may mean a user terminal, a device, etc. installed in a vehicle and capable of communicating in a TDMA manner.

이하의 본 발명의 실시예는 브로드캐스팅 운용 기반의 TDMA 네트워크 환경에서 마스터가 존재하지 않을 때, 유저들 스스로가 마스터로 선출되고자, 통신 프레임 내 랜덤 액세스 구간을 이용하여 유저들 간 상호 경쟁하는 기법을 통해 네트워크 상에서 최대한 빠르고 효과적으로 마스터를 선정할 수 있는 새로운 기법을 제안한다.In the following embodiment of the present invention, when a master does not exist in a TDMA network environment based on broadcasting operation, a technique of competing between users using a random access section in a communication frame is attempted to select themselves as a master. We propose a new technique to select the master as quickly and effectively as possible through the network.

통신 프레임 내의 개개의 슬롯은 일반적으로 프리앰블과 데이터 구간을 포함하여 구성된다. 다만, 본 실시예의 경우, 데이터 구간에는 보내고자 하는 데이터는 물론, 해당 슬롯의 식별 정보, 해당 슬롯에 할당된 유저의 식별 정보, 유저의 상태 정보 등에 관한 정보가 포함될 수 있다.Each slot in a communication frame is generally composed of a preamble and a data section. However, in the present embodiment, the data section may include information to be transmitted, as well as identification information of a corresponding slot, identification information of a user allocated to the corresponding slot, and user status information.

여기서, 유저의 상태 정보란, '언노운', '슬레이브', '잠정적 마스터', '마스터'를 포함한 네 가지 상태 중 어느 하나이며, 이들 각각은 '00', '01', '10', '11'와 같이 상태 비트로 구분될 수 있다. 이하의 본 발명의 실시예에서 사용자 단말은 소정 시간 슬롯에서 자신의 데이터를 송신할 때, 자신의 상태 정보도 포함시켜 송신하는 것을 가정한다. Here, the user's status information is one of four states including 'unknown', 'slave', 'tentative master', and 'master', each of which is' 00 ',' 01 ',' 10 ',' It can be divided into status bits, such as 11 '. In the following exemplary embodiment of the present invention, it is assumed that when the user terminal transmits its data in a predetermined time slot, it also includes its own state information.

또한, 사용자 단말(유저)는 신호를 브로드캐스팅 방식으로 전송하므로, 이하에서 각 유저에서 수행하는 신호 전송이란 브로드캐스팅 전송을 의미함은 자명하다. 그리고, 본 발명의 실시예에서 사용자 단말은 매 프레임마다 프레임 내 M개 랜덤 액세스 슬롯 중 하나를 랜덤하게 액세스하도록 동작하는 것을 가정한다.In addition, since the user terminal (user) transmits a signal in a broadcasting method, it is obvious that the signal transmission performed by each user hereinafter means broadcasting transmission. And, in the embodiment of the present invention, it is assumed that the user terminal operates to randomly access one of the M random access slots in the frame every frame.

도 3은 도 1에 도시된 사용자 단말의 구성을 나타낸 도면이고, 도 4는 본 발명의 실시예에 따른 TDMA 네트워크에서 사용자 단말 간 경쟁을 이용한 마스터 선정 방법을 설명하는 도면이다.3 is a diagram illustrating the configuration of a user terminal illustrated in FIG. 1, and FIG. 4 is a diagram illustrating a master selection method using contention between user terminals in a TDMA network according to an embodiment of the present invention.

도 3 및 도 4를 참조하면, 본 발명의 실시예에 따른 사용자 단말(100)은 설정부(110), 판단부(120), 통신부(130), 제어부(140)를 포함한다.3 and 4, the user terminal 100 according to an embodiment of the present invention includes a setting unit 110, a determination unit 120, a communication unit 130, and a control unit 140.

설정부(110)는 사용자 단말(100)이 네트워크에 신규 참여하면 사용자 단말(100)의 상태를 언노운(unknown; 알수 없음)으로 설정한다(S401). 이때, 유저의 현재 상태가 언노운 상태이므로 S402 단계의 검토 결과, 'no'에 해당하므로 바로 S403 단계로 넘어간다.When the user terminal 100 newly participates in the network, the setting unit 110 sets the status of the user terminal 100 to unknown (S401). At this time, since the current state of the user is in an unknown state, as a result of the review in step S402, it corresponds to 'no', and the process immediately goes to step S403.

이후, 판단부(120)는 현재 프레임인 제1 프레임 내의 컨트롤 슬롯 상의 수신 신호를 확인하는데, 컨트롤 슬롯 상에 수신 신호가 존재하는지 확인한다(S403). 만일, 수신 신호가 존재하지 않으면 마스터의 선출이 필요한 상황으로 판단하게 된다.Then, the determination unit 120 checks the received signal on the control slot in the first frame, which is the current frame, and checks whether the received signal exists on the control slot (S403). If the received signal does not exist, it is judged that the master needs to be elected.

여기서 물론, 수신 신호의 존재 여부란 정상 수신된 신호의 존재 여부를 의미한다. 만일, 해당 컨트롤 슬롯 시간에 단일의 사용자 단말에서만 신호 전송(브로트캐스팅)이 이루어진 경우에는 정상 수신된 신호가 존재할 것이다.Here, of course, the presence of the received signal means the presence of the normally received signal. If a signal is transmitted (broadcasting) only from a single user terminal at a corresponding control slot time, a normally received signal will be present.

하지만, 해당 컨트롤 슬롯 시간에 복수의 사용자 단말에서 동시적으로 신호 전송(동시 브로드캐스팅)이 발생하여 신호 충돌이 발생한 경우, 혹은 해당 컨트롤 슬롯 시간에 네트워크 내의 어떠한 사용자 단말도 신호 전송을 하지 않은 경우에는 정상 수신된 신호가 존재하지 않을 것이다. 이처럼, 정상 수신된 신호가 존재하지 않는 경우 수신 신호가 없음을 의미한다. However, when a signal collision occurs due to simultaneous signal transmission (simultaneous broadcasting) from a plurality of user terminals at the corresponding control slot time, or when no user terminals in the network transmit signals at the control slot time There will be no normal received signal. As such, when there is no normal received signal, it means that there is no received signal.

이처럼, 현재 프레임 내의 컨트롤 슬롯 상에 수신 신호가 존재하지 않는다면, 사용자 단말(100)은 현재 네트워크 상에 잠정적 마스터 또는 마스터 역할의 유저가 전혀 없음을 인지하게 된다. As such, if there is no received signal on the control slot in the current frame, the user terminal 100 recognizes that there is no user with a provisional master or master role on the current network.

이때, 컨트롤 슬롯 상에 수신 신호가 전혀 검출되지 않은 상황이므로, S404 단계의 검토 결과 'no'에 해당하여, S405 단계로 넘어간다. 또한, 현재 사용자 단말(100)이 언노운 상태이므로 S405 단계의 검토 결과 yes에 해당하여, S406 단계로 넘어간다.At this time, since no received signal is detected on the control slot, the result of the review in step S404 corresponds to 'no', and the procedure goes to step S405. In addition, since the user terminal 100 is currently in an unknown state, the result of the review in step S405 corresponds to yes, and the process goes to step S406.

이후부터는 사용자 단말(100)은 자신이 마스터로 선출되고자, 타 사용자 단말과 경쟁하는 과정을 거친다. 이때, 타 사용자 단말 역시 동일한 알고리즘으로 구동하면서 상호 경쟁함은 자명하다.Thereafter, the user terminal 100 undergoes a process of competing with another user terminal in order to be elected as a master. At this time, it is obvious that other user terminals also compete with each other while driving with the same algorithm.

구체적으로, 사용자 단말(100)은 현재 제1 프레임 내의 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 m번째 슬롯(m=0,1,…,M)이 도래하기 전까지 알림 신호의 송신을 대기하되, m-1번째 슬롯까지 타 사용자 단말의 알림 신호가 수신되는지 여부를 판단한다(S406).Specifically, the user terminal 100 is notified until the arrival of the m-th slot (m = 0,1, ..., M) randomly accessed among the M random access slots located after the control slot in the first frame. Wait for the transmission, but it is determined whether the notification signal of the other user terminal is received up to the m-1th slot (S406).

구체적으로, m번째 슬롯 이전인 1번째 슬롯부터 m-1번째 슬롯까지 타 사용자 단말의 알림 신호가 감지되지 않으면, 사용자 단말(100)의 통신부(130)는 m번째 슬롯을 통해 자신의 존재를 알리는 알림 신호를 송신한다(S407).Specifically, if a notification signal of another user terminal is not detected from the first slot to the m-1th slot, which is before the m-th slot, the communication unit 130 of the user terminal 100 informs its existence through the m-th slot The notification signal is transmitted (S407).

본 발명의 실시예에서 네트워크 내 각각의 사용자 단말은 자신의 상태가 언노운 상태일 때만 알림 신호의 송신 권한이 있으며, 슬레이브로 상태이면 송신하지 않도록 설정되어 있는데, 현재의 상태는 언노운 상태이므로 알람 신호의 송신이 가능한 상태이므로 S406 단계의 조건 만족 시 알람 신호를 송신하면 된다.In the embodiment of the present invention, each user terminal in the network has a right to transmit a notification signal only when its state is in an unknown state, and is set not to transmit when it is a slave state. Since the current state is an unknown state, an alarm signal Since the transmission is possible, when the condition of step S406 is satisfied, an alarm signal can be transmitted.

하지만, S406 단계의 판단 결과, 1번째 부터 m-1번째 슬롯 중 적어도 하나에서 타 사용자 단말의 알림 신호가 수신되었다면, 제어부(140)는 알림 신호의 송신을 포기하고 자신의 상태를 슬레이브 상태로 확정한다(S408). However, as a result of the determination in step S406, if a notification signal of another user terminal is received in at least one of the 1st to m-1th slots, the controller 140 abandons the transmission of the notification signal and determines its state as a slave state. (S408).

이에 따라, 사용자 단말(100)의 상태 정보는 기존 '언노운' 상태에서 '슬레이브' 상태로 즉시 전환된다. 물론, 이후부터 해당 사용자 단말(100)이 보내는 신호에는 슬레이브 상태 정보가 포함되어 진다.Accordingly, the state information of the user terminal 100 is immediately switched from the existing 'unknown' state to the 'slave' state. Of course, the signal transmitted by the corresponding user terminal 100 from now on includes slave state information.

이처럼, 사용자 단말(100)은, 자신이 접근한 슬롯 이전에 먼저 접근하여 알림 신호를 송신한 타 사용자 단말이 존재한다면, 해당하는 타 사용자 단말에게 마스터 선정의 기회를 주고 자신은 마스터 선출을 포기하여 슬레이브 상태로 즉시 전환함으로써, 마스터 선출에 소요되는 시간을 줄인다.As described above, the user terminal 100, if there is another user terminal that first accesses and transmits a notification signal before the slot to which the user has accessed, gives the other user terminal an opportunity to select a master and gives up the master election. By immediately switching to the slave state, the time required to elect the master is reduced.

그런데, 브로드캐스팅 환경에서 사용자 단말(100)은 자신이 랜덤 액세스한 슬롯에서 신호의 송신 동작만 가능하고 수신 동작은 불가능하기 때문에, 앞서 S407 단계에서 만일 타 사용자 단말이 자신과 동일 랜덤 액세스 슬롯에 접근하여 신호를 전송하였다 하더라도, 사용자 단말(100)은 해당 상황을 인지하지 못한다.However, in the broadcasting environment, since the user terminal 100 can only transmit and receive signals in a slot accessed by the user, the user terminal 100 accesses the same random access slot as another user terminal in step S407. Even if the signal is transmitted, the user terminal 100 does not recognize the situation.

즉, 각각의 유저는 랜덤 액세스 구간에서 복수의 랜덤 액세스 슬롯 중 어느 하나에 임의 접근하여 신호를 전송하지만, 경우에 따라 동일 랜덤 액세스 슬롯에 여러 유저가 동시 접속하여 신호를 전송하게 되며 이 경우 해당 슬롯에서 신호 충돌이 발생하며 충돌된 신호는 나머지 단말들에 정상 수신되기 어렵기 때문에 나머지 단말들은 해당 슬롯에는 수신 신호가 전혀 없는 것으로 인식한다.That is, each user randomly accesses any one of a plurality of random access slots in a random access section and transmits a signal, but in some cases, multiple users access the same random access slot simultaneously and transmit signals. In this case, the corresponding slot In the signal collision occurs, and the collisiond signal is difficult to be normally received by the remaining terminals, the remaining terminals recognize that there is no received signal in the corresponding slot.

예를 들어, m번째 슬롯에 사용자 단말 A,B가 동시 액세스하고 m+2 번째 슬롯에 사용자 단말 C가 단독 액세스하는 상황을 가정하면, m번째 슬롯에 사용자 단말 A,B가 동시에 액세스하여 각각 자신의 알림 신호를 동시 전송한 경우에, 이 시간에 수신자 입장에 있는 사용자 단말 C는 m번째 슬롯에서 수신 신호가 전혀 없다고 인지한다. 이후 m+1 번째 슬롯에서도 전혀 수신 신호가 없었다면 사용자 단말 C는 m+2 번째 슬롯에서 자신의 존재를 알리는 알림 신호를 전송하게 된다.For example, assuming a situation in which user terminals A and B simultaneously access the mth slot and user terminal C accesses the m + 2th slot simultaneously, the user terminals A and B simultaneously access the mth slot, respectively When the notification signal of is simultaneously transmitted, the user terminal C in the receiver's position at this time recognizes that there is no received signal in the m-th slot. Thereafter, if there is no received signal at all in the m + 1 th slot, the user terminal C transmits a notification signal informing of its existence in the m + 2 th slot.

이는 사용자 단말 A가 m번째 슬롯에서 자신의 알림 신호를 전송했음에도 불구하고, 이후의 시간에 사용자 단말 C로부터 알림 신호를 수신한 상황으로, 이 경우 사용자 단말 A는 자신이 액세스한 m번째 슬롯에 미지의 다른 단말이 동시 액세스하여 신호 충돌이 있었음을 인지하게 된다. This is a situation in which the user terminal A receives the notification signal from the user terminal C at a later time even though the user terminal A has transmitted its notification signal in the m-th slot. In this case, the user terminal A is unknown to the m-th slot accessed by the user terminal A. Another terminal of the simultaneous access to recognize that there was a signal collision.

즉, 예를 들어, 도 4의 S407 단계에서 사용자 단말(100)은 10(m=10) 번째 슬롯에서 자신의 알림 신호를 전송하였지만, 이후의 12번째 슬롯에서 타 유저로부터 알림 신호를 수신하였다면, 자신이 액세스한 10번째 슬롯에서 여러 유저의 동시 액세스로 인한 신호 충돌이 있었음을 인지한다. 이때에도 사용자 단말(100)은 마스터 선출을 포기하고 자신의 상태를 언노운 상태에서 슬레이브 상태로 전환함으로써, 네트워크 내에서 마스터 선출에 필요한 시간을 줄인다.That is, for example, in step S407 of FIG. 4, the user terminal 100 transmits its own notification signal in the 10th (m = 10) th slot, but receives the notification signal from another user in the subsequent 12th slot, It recognizes that there is a signal collision due to simultaneous access by multiple users in the 10th slot accessed by it. At this time, the user terminal 100 also abandons the master election and switches its state from the unknown state to the slave state, thereby reducing the time required for the master election in the network.

즉, 사용자 단말(100)은 m번째 슬롯을 통해 알림 신호를 송신한 이후(S407), 그 다음의 m+1 내지 M번째 슬롯 중 적어도 하나에서 타 사용자 단말의 알림 신호가 수신된 것이 확인되는 경우에도(S409), 제어부(140)를 통해 자신의 상태를 슬레이브 상태로 확정한다(S408). That is, when the user terminal 100 transmits a notification signal through the m-th slot (S407), it is confirmed that the notification signal of another user terminal is received in at least one of the next m + 1 to M-th slots Edo (S409), through the control unit 140 to determine its state as a slave state (S408).

하지만, 사용자 단말(100)은 알림 신호의 송신 후 마지막 M번째 슬롯까지도 타 사용자 단말의 알림 신호가 수신되지 않았다면, 제어부(140)를 통해 자신의 상태를 잠정적 마스터 상태로 설정한다(S410). 잠정적 마스터 상태의 유저는 다음 프레임에서 수행하는 추가적인 프로세스를 통해 마스터 혹은 슬레이브 상태로 전환될 수 있다.However, if the user terminal 100 does not receive the notification signal of the other user terminal even to the last M th slot after the transmission of the notification signal, the user terminal 100 sets its state to the provisional master state (S410). The user in the temporary master state can be switched to the master or slave state through an additional process performed in the next frame.

이후에는, 다음 프레임인 제2 프레임을 통한 동작을 이어서 수행한다. 제2 프레임 역시 도 1과 동일한 프레임 구조를 가짐은 자명하다. Thereafter, the operation through the second frame, which is the next frame, is subsequently performed. It is apparent that the second frame also has the same frame structure as in FIG. 1.

S410 단계 이후에는 S402 단계로 다시 넘어가며, 현재 사용자 단말(100)이 잠정적 마스터 상태이므로 S411 단계로 넘어간다.After step S410, the process goes back to step S402. Since the current user terminal 100 is a provisional master state, the process goes to step S411.

그리고, 사용자 단말(100)은 제2 프레임 내의 컨트롤 슬롯을 통해 자신이 잠정적 마스터임을 알리는 잠정적 마스터 알림 신호를 통신부(130)를 통해 송신한다(S411). Then, the user terminal 100 transmits a provisional master notification signal through the communication unit 130 indicating that it is a provisional master through a control slot in the second frame (S411).

이후, 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 적어도 하나를 통해 타 사용자 단말(슬레이브)에 의한 응답 신호가 수신되었는지 판단하여(S412), 수신되었다면 자신의 상태를 마스터로 확정한다(S413). 즉, M개 슬롯 중 어느 하나의 슬롯에서만 타 사용자 단말에 의한 응답이 확인된다면 자신의 상태를 마스터로 확정한다.Thereafter, it is determined whether a response signal by another user terminal (slave) has been received through at least one of the M random access slots after the control slot (S412), and if so, determines its own state as the master (S413). That is, if the response by the other user terminal is confirmed in only one of the M slots, the status of the user is determined as the master.

본 발명의 실시예에서 네트워크 내 각각의 사용자 단말은 잠정적 마스터 알림 신호를 수신하면 그에 대한 응답 신호를 자신이 랜덤 접속한 슬롯을 통해 송신하되, 자신의 상태가 슬레이브 상태일 때만 응답 신호의 송신 권한이 있고, 언노운 상태이면 미응답하도록 설정된다. 따라서, 응답 신호를 보낸 사용자 단말은 모두 슬레이브 상태의 단말에 해당한다.In the embodiment of the present invention, each user terminal in the network transmits a response signal through a slot to which it has been randomly connected when receiving a provisional master notification signal, but has the right to transmit a response signal only when its state is a slave state. If there is, it is set to not respond when it is in an unknown state. Therefore, all user terminals that have sent a response signal correspond to terminals in a slave state.

마스터로 확정된 이후에는 다음의 제3 프레임의 컨트롤 슬롯을 통하여 마스터 확정 알림 신호를 보내어, 네트워크에 참여한 모든 주변 단말 즉, 언노운 상태 및 슬레이브 상태의 유저들에게 마스터가 존재함을 알릴 수 있다. 마스터로 확정된 이후에는 기존과 같이 TDMA 네트워크에서의 마스터로서의 역할 즉, 슬레이브들의 유저 슬롯 할당을 위한 통신을 수행하면 된다.After being confirmed as the master, a master confirmation notification signal is transmitted through the control slot of the next third frame, so that all neighboring terminals participating in the network, that is, an unknown state and a slave state, can be informed of the existence of the master. After being determined as the master, it is sufficient to perform a role as a master in the TDMA network, that is, communication for allocating user slots of slaves.

만일, 앞서 S412 단계의 판단 결과, 응답 신호가 수신되지 않았다면, S401 단계로 넘어가 자신의 상태를 언노운 상태로 초기화시키고 이하의 과정을 반복한다. If, as a result of the determination in step S412, a response signal has not been received, the process goes to step S401 to initialize its state to an unknown state and repeat the following process.

응답 신호가 수신되지 않는 상황으로는 자신 이외의 잠정적 마스터 상태의 유저가 추가로 존재하여 컨트롤 슬롯에서 신호 충돌이 발생한 상황, 여러 슬레이브가 동일한 슬롯에 동시 접근하여 응답 신호 충돌이 발생한 상황 등이 있을 수 있는데, 랜덤 액세스 슬롯의 총 개수(M)가 충분히 큰 경우 전자의 경우에 의한 확률이 더욱 높을 것이다.In a situation in which a response signal is not received, there may be a situation in which a signal collision occurs in the control slot due to the existence of an additional user in a temporary master state other than itself, and a situation in which multiple slaves access the same slot and a response signal collision occurs. However, if the total number M of random access slots is sufficiently large, the probability of the former case will be higher.

다음은 앞서 S408 단계의 슬레이브 확정 이후의 과정을 상세히 설명한다. 사용자 단말(100)이 슬레이브 상태로 확정된 이후 역시 제2 프레임을 통한 동작을 이어서 수행한다. The following is a detailed description of the process after the determination of the slave in step S408. After the user terminal 100 is determined as the slave state, the operation through the second frame is also continuously performed.

슬레이브 확정 이후에는 S402 단계로 다시 넘어가며, S402 단계의 판단 결과 'no'에 해당하므로 S403 단계로 넘어한다. After the determination of the slave, the process goes back to step S402, and since the determination result in step S402 corresponds to 'no', the process goes to step S403.

여기서, 사용자 단말(100)은 제2 프레임의 컨트롤 슬롯 상의 수신 신호를 확인하고(S403), 컨트롤 슬롯에서 타 사용자 단말에 의한 잠정적 마스터 알림 신호를 수신하였는지 확인한다(S404). Here, the user terminal 100 checks the received signal on the control slot of the second frame (S403), and checks whether a temporary master notification signal by another user terminal is received at the control slot (S404).

만일, S404 단계의 판단 결과, 타 사용자 단말에 의한 잠정적 마스터 알림 신호를 수신하였다면, 사용자 단말(100)은 다시 자신의 상태가 슬레이브인지 확인한다(S414). If, as a result of the determination in step S404, a temporary master notification signal is received by another user terminal, the user terminal 100 again checks whether its state is a slave (S414).

사용자 단말(100)이 현재 슬레이브 상태이므로, 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 슬롯을 통해 그에 대한 응답 신호를 송신(브로드캐스팅 전송)한다(S415). 이에 따라, 잠정적 마스터 상태에 있던 타 사용자 단말은 마스터 상태로 확정될 수 있다. 참고로, S414 단계가 부여된 것은 사용자 단말이 슬레이브 상태일 때만 응답 신호의 송신 권한이 있기 때문이다.Since the user terminal 100 is currently in a slave state, a response signal is transmitted (broadcasting transmission) through a slot that the user randomly accesses among the M random access slots after the control slot (S415). Accordingly, another user terminal in the temporary master state can be determined as the master state. For reference, the step S414 is provided because the user terminal has the authority to transmit the response signal only when the slave is in the slave state.

이하에서는 다양한 상황을 예시하여 본 발명을 더욱 구체적으로 설명한다. 그리고 설명의 편의상 랜덤 액세스 구간이 총 5개의 슬롯(M=5)으로 이루어진 것을 가정한다.Hereinafter, the present invention will be described in more detail by exemplifying various situations. In addition, for convenience of description, it is assumed that the random access section is composed of a total of 5 slots (M = 5).

도 5 내지 도 9는 본 발명의 실시예에 따른 마스터 선정 방법을 설명하기 위한 다양한 예시를 나타낸 도면이다. 5 to 9 are views showing various examples for explaining a master selection method according to an embodiment of the present invention.

도 5는 네트워크 참가 요청한 사용자 단말이 유저 A, B를 포함하여 총 2개이고, 랜덤 액세스 구간(경쟁 구간)에서 유저 간 충돌이 없는 상황(Case 1)을 나타낸다. 도면에서 프레임 i(Frame i)은 i번째 프레임을 의미한다.FIG. 5 shows a situation (Case 1) in which there are no user collisions in a random access section (competition section), including a user B and a user B requesting network participation. In the drawing, frame i (Frame i) means the i-th frame.

도 5a는 각 프레임에서 유저가 랜덤 액세스하거나 신호 전송에 이용한 슬롯을 정의한 것이고, 도 5b는 도 5a에 대응되어 각 슬롯에서 이루어진 유저의 송수신 동작과 유저의 상태 변경 이력을 나타낸다.FIG. 5A defines a slot used by a user for random access or signal transmission in each frame, and FIG. 5B shows a user's transmission / reception operation and a user's state change history in each slot corresponding to FIG. 5A.

먼저, 네트워크에 신규 참여한 유저 A, B는 자신의 상태를 언노운 상태로 설정한다. 그리고 도 5a에서와 같이 프레임 1의 컨트롤 슬롯 상에 신호가 비어 있음을 확인한 유저 A, B는 자신이 서로 마스터가 되고자, 랜덤 액세스 구간 내의 어느 한 슬롯에 랜덤하게 액세스하여 경쟁한다.First, users A and B newly participating in the network set their state to an unknown state. In addition, as shown in FIG. 5A, users A and B who have confirmed that the signal is empty on the control slot of frame 1 are competing by randomly accessing any one slot in the random access section in order to become masters of each other.

여기서, 도 5a의 경우 유저 B는 4번째 슬롯(slot4)에, 유저 A는 5번째 슬롯(slot5)에 각각 랜덤하게 액세스한 상황으로, 경쟁 구간에서 유저간 충돌이 없는 이상적인 경우에 해당한다. Here, in the case of FIG. 5A, the user B randomly accesses the fourth slot (slot4) and the user A randomly accesses the fifth slot (slot5), which is an ideal case where there is no collision between users in the competition section.

유저 B의 입장에서는 자신이 액세스한 4번째 슬롯(slot4)보다 이전에 위치한 3번째 슬롯까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하고, 4번째 슬롯(slot4) 시간이 되면 자신의 존재를 알리는 알림 신호를 브로드캐스팅 전송한다. 이에 따라 4번째 슬롯에서 유저 A는 유저 B가 보낸 알림 신호를 수신하게 된다. 도 5b를 보면 slot4에서 유저 B는 송신하고 유저 A는 수신하는 입장임을 확인할 수 있다.From the user B's point of view, it is confirmed that a notification signal by another user has not been received up to the third slot located before the fourth slot (slot4) accessed by the user, and when the fourth slot (slot4) time reaches Broadcasts a notification signal informing of. Accordingly, in the fourth slot, user A receives the notification signal sent by user B. Referring to FIG. 5B, it can be seen that in slot 4, user B transmits and user A receives.

하지만, 유저 A의 입장에서는 자신이 액세스한 5번째 슬롯 이전의 4번째 슬롯에서 이미 유저 B에 의한 알림 신호가 브로드캐스팅 수신된 상황이다. 따라서, 4번째 슬롯에서 유저 B로부터 알림 신호를 수신한 유저 A는 도 5b와 같이 자신의 상태를 언노운 상태에서 슬레이브 상태로 전환시키며, 5번째 슬롯이 도래하더라도 자신의 알림 신호를 송신하지 않는다. However, from the user A's point of view, the notification signal by the user B has already been broadcast in the fourth slot before the fifth slot to which he has accessed. Therefore, the user A receiving the notification signal from the user B in the fourth slot switches his state from the unknown state to the slave state as shown in FIG. 5B, and does not transmit his notification signal even when the fifth slot arrives.

그리고, 유저 B는 랜덤 액세스 구간 내의 마지막 슬롯인 5번째 슬롯(slot5)까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하면, 자신의 상태를 언노운 상태에서 잠정적 마스터 상태로 전환시킨다. 도 5b를 보면 slot5에서 유저 B는 잠정적 마스터 상태로 변경되었음을 알 수 있다.Then, when the user B confirms that the notification signal by the other user has not been received until the fifth slot (slot5), which is the last slot in the random access section, the user B switches his state from the unknown state to the provisional master state. Referring to FIG. 5B, it can be seen that user B is changed to the provisional master state in slot5.

다음, 프레임 2가 되면, 잠정적 마스터인 유저 B는 잠정적 마스터 알림 신호를 컨트롤 슬롯을 통해 브로드캐스팅 전송하고, 유저 A는 이를 수신한다. 도 5b의 프레임 2를 보면 컨트롤 슬롯에서 유저 B는 송신 입장, 유저 A는 수신 입장임을 알 수 있다.Next, in frame 2, the user B, which is the temporary master, broadcasts the temporary master notification signal through the control slot, and the user A receives it. Looking at frame 2 of FIG. 5B, it can be seen that in the control slot, user B is a transmission position and user A is a reception position.

여기서 프레임 2에서 유저 A는 랜덤 액세스 구간의 3번째 슬롯(slot3)에 랜덤 액세스한 것을 가정한다. 유저 A는 컨트롤 슬롯에서 잠정적 마스터 알림 신호를 수신하고 그에 대한 응답 신호를 자신이 랜덤 액세스한 3번째 슬롯(slot3)을 통하여 송신한다. 도 5b의 프레임 2를 보면 slot3에서 유저 A는 송신 입장, 유저 B는 수신 입장임을 알 수 있다.Here, in frame 2, it is assumed that user A randomly accesses the third slot (slot3) of the random access section. User A receives the provisional master notification signal from the control slot and transmits a response signal to it through the third slot (slot3) that he randomly accesses. Looking at frame 2 of FIG. 5B, it can be seen that in slot 3, user A is in the transmission position and user B is in the reception position.

slot3에서 타 유저에 의한 응답 신호를 수신한 유저 B는 자신의 상태를 마스터로 확정한다. 이후부터 유저 B는 네트워크 내에서 마스터로써의 역할을 수행하면 된다.User B, which has received a response signal from another user in slot3, determines his state as the master. From then on, user B can act as a master in the network.

도 6은 네트워크 참가 요청한 사용자 단말이 유저 A, B를 포함하여 2개이고 랜덤 액세스 구간에서 유저 간 충돌이 존재하는 상황(Case 2)을 나타낸다. 6 illustrates a situation (Case 2) in which there are two user terminals requesting network participation, including users A and B, and collisions between users in a random access section.

도 6a를 참조하면, 네트워크에 신규 참여한 유저 A, B는 자신의 상태를 언노운 상태로 설정하고, 프레임 1의 컨트롤 슬롯 상에 신호가 비어 있음을 확인한 유저 A, B는 자신이 서로 마스터가 되고자, 랜덤 액세스 구간 내의 어느 한 슬롯에 랜덤하게 액세스하여 경쟁한다. Referring to FIG. 6A, users A and B newly participating in the network set their own state to an unknown state, and users A and B confirming that the signal is empty on the control slot of frame 1 wants them to become masters of each other. Randomly access and compete in any one slot in the random access section.

여기서, 도 6a의 경우 유저 A, B가 동일한 슬롯(slot3)에 접속한 상황이지만, 각각의 유저는 동시 접속 상황을 알지 못한다.Here, in the case of FIG. 6A, the users A and B are connected to the same slot (slot3), but each user does not know the simultaneous connection situation.

유저 A,B 각각은 자신이 랜덤 액세스한 3번째 슬롯(slot3) 이전까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하여, 3번째 슬롯(slot3)에서 자신의 존재를 알리는 알림 신호를 전송한다. 물론 알림 신호가 동시 전송되므로 네트워크 내에 추가로 다른 유저가 존재하더라도 해당 신호를 정상 수신하지는 못한다.Each of users A and B confirms that a notification signal by another user has not been received before the third slot (slot3) that they randomly access, and transmits a notification signal informing of their existence in the third slot (slot3). do. Of course, since the notification signal is transmitted simultaneously, even if another user exists in the network, the corresponding signal is not normally received.

이후, 유저 A, B는 모두 마지막 슬롯인 5번째 슬롯(slot5)까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하고, 자신의 상태를 언노운 상태에서 잠정적 마스터 상태로 전환시킨다. 도 6b의 프레임 1을 보면 slot5에서 유저 A, B 모두 잠정적 마스터 상태로 변경되었음을 알 수 있다.Subsequently, the users A and B both confirm that the notification signal by the other user has not been received until the last slot, the fifth slot (slot5), and switch their state from the unknown state to the provisional master state. Looking at frame 1 of FIG. 6B, it can be seen that both slots A and B have changed to the provisional master state.

이후, 프레임 2에서 잠정적 마스터인 유저 A, B는 잠정적 마스터 알림 신호를 컨트롤 슬롯을 통해 동시 전송한다. 하지만, 현재 네트워크 내에는 유저 A, B 이외에는 다른 유저가 존재하지도 않음은 물론, 존재한다 하더라도 동시 전송으로 인한 신호 충돌로 인해 해당 신호를 수신하지 못하므로 그에 대한 응답 신호 역시 전송할 수 없게 된다.Subsequently, in frame 2, users A and B, which are temporary masters, simultaneously transmit the temporary master notification signal through the control slot. However, there are no users other than users A and B in the current network, and even if they exist, the corresponding signal cannot be transmitted because the corresponding signal is not received due to signal collision due to simultaneous transmission.

마지막 5번째 슬롯까지도 응답 신호가 오지 않은 것을 확인한 유저 A, B는 각각 자신의 상태를 다시 언노운 상태로 변경한다. 이는 프레임 3에서 확인할 수 있다. 프레임 3에서 유저 A, B는 컨트롤 슬롯에 신호가 비어 있음을 확인하고, 각각 랜덤 액세스를 수행한다.Users A and B, respectively, who have confirmed that no response signal has been sent even to the last 5th slot, change their state back to the unknown state. This can be seen in Frame 3. In frame 3, users A and B confirm that the signal is empty in the control slot, and perform random access, respectively.

도 6a, 6b를 참조하면, 프레임 3에서 유저 A는 2번째 슬롯(slot2)에, 유저 B는 5번째 슬롯(slot5)에 각각 랜덤하게 액세스하였으며, 이 경우 유저 A가 먼저 알림 신호를 송신하게 되므로 유저 A는 잠정적 마스터, 유저 B는 슬레이브가 된다. 6A and 6B, in frame 3, user A randomly accesses the second slot (slot2) and user B randomly accesses the fifth slot (slot5). In this case, user A first transmits a notification signal. User A becomes a provisional master, and user B becomes a slave.

이후, 프레임 4에서 유저 A가 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 송신하고, 그에 대한 응답 신호를 유저 B로부터 slot1에 수신함으로써 자신의 상태를 마스터로 확정한다.Subsequently, in frame 4, user A transmits a provisional master notification signal through the control slot, and receives a response signal from user B to slot 1 to confirm his state as the master.

다음, 도 7은 네트워크 참가 요청한 사용자 단말이 유저 A, B, C를 포함하여 3개이고, 랜덤 액세스 구간에서 유저 간 충돌이 없는 상황(Case 3)을 나타낸다. 도 7은 프레임 2에서 유저 C가 신규로 네트워크 참가를 요청한 것에서 차이가 있다.Next, FIG. 7 shows a situation (Case 3) in which there are three user terminals including users A, B, and C, and there is no collision between users in a random access section. FIG. 7 is different in that frame C newly requests user C to join the network.

프레임 1에서의 동작 원리는 앞서 도 5의 경우와 동일하므로 상세한 설명은 생략한다. 또한 프레임 2에서 유저 C는 자신이 네트워크에 신규 참여한 상황이므로 언노운 상태로 존재한다.Since the operation principle in frame 1 is the same as that of FIG. 5, a detailed description is omitted. In addition, in frame 2, user C exists in an unknown state because he is new to the network.

프레임 1에서 잠정적 마스터 상태로 결정된 유저 A는 프레임 2에서 컨트롤 슬롯 시간에 잠정적 마스터 알림 신호를 브로드캐스팅하고, 도 7b와 같이 유저 B, C 모두 이를 수신하게 된다. The user A determined to be the temporary master state in frame 1 broadcasts the temporary master notification signal at the control slot time in frame 2, and both users B and C receive it as shown in FIG. 7B.

여기서, 본 실시예의 경우 슬레이브 상태인 유저 만이 응답 신호의 전송 권한이 있으므로 도 7b에서와 같이 슬레이브 상태인 유저 B 만이 응답 신호를 전송하며, 언노운 상태인 유저 C는 미응답하는 것을 알 수 있다.Here, in this embodiment, only the user in the slave state has the authority to transmit the response signal, so only the user B in the slave state transmits the response signal, as shown in FIG. 7B, and it can be seen that the user C in the unknown state does not respond.

물론, 프레임 2에서 신규 참여한 유저 C는 프레임 2의 컨트롤 슬롯 상에 신호가 존재함을 확인하였으므로 자신의 존재를 알리기 위한 알림 신호를 전송하지 않는다. 나머지 동작은 앞서 상술한 원리를 참조한다.Of course, the user C newly participating in frame 2 confirms that the signal exists on the control slot of frame 2, and therefore does not transmit a notification signal for notifying his presence. The rest of the operation refers to the principle described above.

다음, 도 8은 네트워크 참가 요청한 사용자 단말이 유저 A, B, C를 포함하여 3개이고, 랜덤 액세스 구간에서 유저 간 충돌이 존재하며, 마스터 선출 도중에 신규 네트워크 참여 유저가 발생한 상황(Case 4)을 나타낸다. Next, FIG. 8 shows a situation (Case 4) in which there are three user terminals including users A, B, and C, and collisions between users exist in a random access section, and a new network participating user occurs during master election. .

네트워크에 신규 참여한 유저 A, B는 자신의 상태를 언노운 상태로 설정하고, 프레임 1의 컨트롤 슬롯 상에 신호가 비어 있음을 확인하여, 랜덤 액세스 구간 내의 어느 한 슬롯에 랜덤하게 액세스하여 경쟁한다. Users A and B newly participating in the network set their state to an unknown state, confirm that the signal is empty on the control slot of frame 1, and randomly access and compete in one slot in the random access section.

이때, 프레임 1에서 유저 A, B가 동일한 슬롯(slot3)에 접속한 상황이며, 3번째 슬롯(slot3)에서 자신의 존재를 알리는 알림 신호를 동시에 전송한다. 그리고, 유저 A, B는 모두 마지막 슬롯인 5번째 슬롯(slot5)까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하고, 자신의 상태를 언노운 상태에서 잠정적 마스터 상태로 전환시킨다. 도 8b의 프레임 1을 보면, slot5에서 유저 A, B는 모두 잠정적 마스터 상태로 변경되었음을 알 수 있다.At this time, in frame 1, users A and B are connected to the same slot (slot3), and the third slot (slot3) simultaneously transmits a notification signal informing of their existence. Then, the users A and B both confirm that the notification signal by the other user has not been received until the fifth slot (slot5), which is the last slot, and switch their state from the unknown state to the provisional master state. Referring to frame 1 of FIG. 8B, it can be seen that in slot 5, both users A and B have been changed to the provisional master state.

다음, 프레임 2에서 신규 유저 C가 참여하였으며 유저 C는 언노운 상태가 된다. 이러한 프레임 2에서 유저 A, B는 잠정적 마스터 알림 신호를 컨트롤 슬롯을 통해 동시 전송하고, 유저 C는 신호를 수신하는 입장이 된다. Next, in frame 2, new user C participates, and user C is in an unknown state. In this frame 2, users A and B simultaneously transmit a provisional master notification signal through a control slot, and user C enters a position to receive the signal.

하지만, 두 신호의 충돌로 인해 유저 C에게는 해당 신호가 정상 수신되지 못하므로, 유저 C는 프레임 2 내의 컨트롤 슬롯이 비어있는 것으로 인식한다. 이에 따라 유저 C는 자신이 마스터로 선출 되고자, 자신이 랜덤 접속한 네 번째 슬롯(slot4)을 통해 자신의 존재를 알리기 위한 알림 신호를 전송하도록 동작한다. 이러한 유저 C의 알림 신호는 유저 A, B로 수신된다. However, due to the collision of the two signals, the corresponding signal is not normally received by the user C, so the user C recognizes that the control slot in frame 2 is empty. Accordingly, the user C operates to transmit a notification signal for notifying of his existence through the fourth slot (slot4) that he randomly accesses, in order to be elected as a master. The notification signals of the user C are received by the users A and B.

즉, 도 8b의 프레임 2를 보면, slot4에서 유저 C는 송신 입장, 유저 A, B는 수신 입장임을 알 수 있다. 이와 같이, 유저 A, B는 잠정적 마스터 알림 신호를 전송한 이후에, 타 유저로부터 응답 신호가 아닌 알림 신호를 수신하게 되면 컨트롤 슬롯 상에서 충돌이 발생한 것으로 인지할 수 있으며, 이 경우 자신의 상태를 슬레이브로 전환시킨다. That is, looking at frame 2 of FIG. 8B, it can be seen that in slot 4, user C is a transmission position, and users A and B are a reception position. As described above, after transmitting the interim master notification signal, the users A and B may recognize that a collision has occurred on the control slot when the notification signal other than the response signal is received from the other user. Switch to

즉, 프레임 2의 slot4에서 알림 신호를 수신한 유저 A, B는 자신의 상태를 잠정적 마스터에서 슬레이브 상태로 전환시킨다. 물론, 프레임 2에서 유저 C는 다섯번째 슬롯(slot5)까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하고 자신의 상태를 잠정적 마스터로 전환시킨다.That is, users A and B, which have received the notification signal in slot 4 of frame 2, change their state from the provisional master to the slave state. Of course, in frame 2, user C confirms that the notification signal by the other user has not been received until the fifth slot (slot5) and switches his state to the provisional master.

프레임 3에서 유저 C는 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 전송하고 슬레이브 상태에 있는 유저 A,B는 이를 수신한다. 유저 A, B는 자신이 프레임 3에서 각각 랜덤 접속한 슬롯(slot2, slot5)을 통하여 그에 대한 응답 신호를 각각 전송한다. 이때, 유저 C는 랜덤 액세스 슬롯 중 어느 하나에서만 응답 신호가 수신되면 자신의 상태를 즉시 마스터 상태로 확정하므로, slot2에서 마스터로 확정된 것을 알 수 있다.In frame 3, user C sends a tentative master notification signal through the control slot, and users A and B in the slave state receive it. Users A and B transmit their response signals through slots (slot2 and slot5) randomly accessed in frame 3, respectively. At this time, when the response signal is received from only one of the random access slots, the user C immediately determines his state as the master state, so it can be seen that the slot 2 has been confirmed as the master.

다음, 도 9는 네트워크 참가 요청한 사용자 단말이 유저 A, B, C를 포함하여 3개이고, 유저 간 충돌이 존재하는 상황(Case 5)을 나타낸다. Next, FIG. 9 shows a situation (Case 5) in which there are three user terminals including users A, B, and C, and collisions between users exist.

프레임 1에서 유저 A는 첫 번째 슬롯(slot1)에, 유저 B, C는 3번째 슬롯(slot3)에 동시 액세스 하였으나, slot1에서 유저 A가 알림 신호를 송신하였기 때문에 유저 B, C는 알림 신호의 송신을 포기하고 자신의 상태를 언노운 상태에서 슬레이브 상태로 전환한다.In frame 1, user A simultaneously accesses the first slot (slot1), and users B and C access the third slot (slot3), but user B and C transmit the notification signal because user A transmitted the notification signal in slot1. Gives up and switches its state from an unknown state to a slave state.

유저 A는 마지막 슬롯인 5번째 슬롯(slot5)까지 타 유저에 의한 알림 신호가 수신되지 않았음을 확인하고, 자신의 상태를 언노운 상태에서 잠정적 마스터 상태로 전환시킨다. User A confirms that the notification signal by another user has not been received until the last slot, the fifth slot (slot5), and switches his state from the unknown state to the provisional master state.

프레임 2에서 유저 A는 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 송신하고 유저 B, C는 이를 수신한다. 그에 대한 응답으로, 유저 B, C는 자신이 랜덤 액세스한 슬롯(slot4)에서 응답 신호를 전송한다. 하지만, 유저 B, C는 동일한 슬롯을 통해 응답 신호를 동시 전송하므로 신호 충돌로 인하여 응답 신호가 유저 A에게 정상 수신되지 못한다.In frame 2, user A transmits a provisional master notification signal through the control slot, and users B and C receive it. In response, users B and C transmit a response signal in a slot 4 randomly accessed by them. However, since users B and C simultaneously transmit response signals through the same slot, the response signals are not normally received by user A due to signal collision.

유저 A는 마지막 5번째 슬롯(slot5)까지도 응답 신호가 수신되지 않은 것으로 판단하고, 자신의 상태를 다시 언노운 상태로 전환시킨다. 프레임 4에서 유저 A는 언노운 상태, 유저 B, C는 슬레이브 상태로 존재한다.User A determines that the response signal has not been received even up to the last fifth slot (slot 5), and then switches his state back to the unknown state. In frame 4, user A is in an unknown state, and users B and C are in a slave state.

여기서, 본 발명의 실시예에서 각각의 유저는 프레임 내의 컨트롤 슬롯이 비어있을 때 자신의 존재를 알리는 알림 신호를 전송할 수 있지만, 언노운 상태에서만 전송할 수 있으며 슬레이브 상태에서는 전송하지 않도록 설정되어 있다.Here, in the embodiment of the present invention, each user can transmit a notification signal informing of their existence when the control slot in the frame is empty, but it can be transmitted only in an unknown state and is set not to transmit in a slave state.

따라서, 비록 프레임 3에서 컨트롤 슬롯이 비어있지만, 유저 A 만이 알림 신호를 전송하고 유저 B, C는 알림 신호를 전송하지 않도록 동작한다. 프레임 3에서 유저 A는 자신이 랜덤 접속한 두 번째 슬롯(slot2)을 통해 알림 신호를 전송하며 유저 B, C는 이를 수신한다. 유저 A는 마지막 5번째 슬롯(slot5)까지 타 유저에 의한 알림 신호가 없음을 확인하고 자신의 상태를 잠정적 마스터로 변경한다.Therefore, although the control slot is empty in frame 3, only user A transmits a notification signal and users B and C operate not to transmit a notification signal. In frame 3, user A transmits a notification signal through a second slot (slot2) that he randomly accesses, and users B and C receive it. User A checks that there is no notification signal from another user until the last 5th slot (slot5) and changes his status to the provisional master.

이후, 유저 A는 프레임 4의 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 전송하고, 유저 B, C는 이를 수신한다. 이때, slot1에 랜덤 액세스한 유저 C로부터 응답 신호를 가장 먼저 수신하게 되며, 응답 신호를 수신한 유저 A는 자신의 상태를 마스터로 확정한다.Thereafter, user A transmits a provisional master notification signal through the control slot of frame 4, and users B and C receive it. At this time, the response signal is first received from the user C randomly accessing slot1, and the user A, which has received the response signal, determines his state as the master.

이상의 본 발명의 실시예는 랜덤 액세스 구간 내의 랜덤 액세스 슬롯을 통하여 경쟁하는 것을 예시하고 있지만, 본 발명의 반드시 이에 한정되는 것은 아니다.The above embodiments of the present invention exemplify competing through a random access slot in a random access section, but the present invention is not limited thereto.

즉, 사용자 단말(100)은 자신이 마스터로 선출되고자, 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯과 L개의 유저 슬롯을 포함하는 전체 M+L개 슬롯 중 하나의 슬롯에 랜덤 액세스하도록 동작할 수 있다. That is, the user terminal 100 may operate to randomly access one of the M + L slots including M random access slots and L user slots located after the control slot, in order to be elected as a master. have.

실질적으로 도 1의 통신 프레임 구조에서 랜덤 액세스 구간 다음에 위치한 복수의 유저 슬롯들은 마스터가 선출되기 전까지는 사용되지 않고 낭비되는 구간이기 때문에, 유저 슬롯들을 추가로 활용할 경우 경쟁 구간에서의 충돌 가능성을 줄이고, 나아가 마스터 선정 시간을 최소화할 수 있다.Since the plurality of user slots located after the random access section in the communication frame structure of FIG. 1 is a section that is not used and wasted until the master is elected, the possibility of collision in the competition section is reduced when additional user slots are utilized. Furthermore, it is possible to minimize the selection time of the master.

이상과 같은 본 발명에 따르면, 브로드캐스팅 통신 환경에서 운용되는 TDMA 네트워크 내에서 마스터가 존재하지 않을 경우 현재 네트워크에 참여 중인 사용자 단말들 간의 효율적 경쟁 기법을 통하여 마스터를 신속하고 용이하게 선출할 수 있으며 선출 성능 및 효율을 높일 수 있는 이점이 있다.According to the present invention as described above, if a master does not exist in a TDMA network operated in a broadcasting communication environment, a master can be quickly and easily elected through an efficient competition technique between user terminals currently participating in the network and elected. It has the advantage of improving performance and efficiency.

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, these are merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the appended claims.

100: 사용자 단말 110: 설정부
120: 판단부 130: 통신부
140: 제어부
100: user terminal 110: setting unit
120: judgment unit 130: communication unit
140: control unit

Claims (15)

컨트롤 슬롯, 랜덤 액세스 슬롯, 유저 슬롯을 포함한 통신 프레임 기반의 TDMA 네트워크에서 사용자 단말 간 경쟁을 이용한 마스터 선정 방법에 있어서,
네트워크에 참여한 사용자 단말은 자신의 상태를 언노운(unknown)으로 설정하는 단계;
현재의 제1 프레임 내의 컨트롤 슬롯 상에 수신 신호가 존재하는지 확인하고, 존재하지 않으면 마스터 선출이 필요한 것으로 판단하는 단계;
자신이 마스터로 선출되고자, 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 m번째 슬롯(m=0,1,…,M)이 도래하기 전까지 알림 신호의 송신을 대기하되, m-1번째 슬롯까지 타 사용자 단말의 알림 신호가 수신되지 않았다면 m번째 슬롯을 통해 자신의 존재를 알리는 알림 신호를 송신하는 단계;
알림 신호의 송신 후 상기 M번째 슬롯까지도 타 사용자 단말의 알림 신호가 수신되지 않았다면 자신의 상태를 잠정적 마스터로 설정하는 단계; 및
다음의 제2 프레임 내의 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 송신한 이후 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 하나를 통해 타 사용자 단말에 의한 응답 신호가 수신되었다면, 자신의 상태를 마스터로 확정하는 단계
를 포함하는 TDMA 네트워크에서 마스터 선정 방법.
In the master selection method using the competition between user terminals in a communication frame-based TDMA network including a control slot, a random access slot, a user slot,
A user terminal participating in a network setting its state to unknown;
Checking whether a received signal exists on a control slot in the current first frame, and if not, determining that master election is necessary;
To be elected as the master, wait for the transmission of the notification signal until the m-th slot (m = 0,1, ..., M) randomly accessed from the M random access slots located after the control slot arrives, m -If a notification signal of another user terminal is not received up to the first slot, transmitting a notification signal informing of the existence of the user through the m-th slot;
Setting the status of the user as a provisional master if the notification signal of another user terminal is not received even in the Mth slot after transmission of the notification signal; And
If a response signal from another user terminal is received through one of the M random access slots after the control slot after transmitting the provisional master notification signal through the control slot in the next second frame, determining its status as the master step
Master selection method in a TDMA network comprising a.
청구항 1에 있어서,
상기 사용자 단말은,
매 프레임마다 프레임 내 M개 랜덤 액세스 슬롯 중 하나의 슬롯에 랜덤 액세스하도록 동작하는 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 1,
The user terminal,
A master selection method in a TDMA network that operates to randomly access one of the M random access slots in a frame every frame.
청구항 2에 있어서,
상기 사용자 단말은,
자신이 마스터로 선출되고자, 상기 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯과 L개의 유저 슬롯을 포함하는 전체 M+L개 슬롯 중 하나의 슬롯에 랜덤 액세스하도록 동작하는 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 2,
The user terminal,
A master selection method in a TDMA network that operates to randomly access one of all M + L slots including M random access slots and L user slots located after the control slot in order to be elected as a master.
청구항 1에 있어서,
상기 언노운 상태의 사용자 단말은 상기 알림 신호의 송신을 대기하는 동안, 1 부터 m-1번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신되었다면, 상기 알림 신호의 송신을 포기하고 자신의 상태를 슬레이브 상태로 확정하는 단계
를 더 포함하는 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 1,
While waiting for the notification signal to be transmitted by the user terminal in the unknown state, if the notification signal of the other user terminal is received in at least one of the m-1th slots from 1, it abandons the transmission of the notification signal and returns its status. To determine the status as a slave
Master selection method in the TDMA network further comprising.
청구항 1에 있어서,
상기 언노운 상태의 사용자 단말은 상기 알림 신호의 송신 후 m+1 내지 M번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신된 경우 자신의 상태를 슬레이브 상태로 확정하는 단계
를 더 포함하는 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 1,
When the user terminal in the unknown state receives the notification signal of the other user terminal in at least one of m + 1 to M th slots after the notification signal is transmitted, determining the status of the user terminal as a slave state
Master selection method in the TDMA network further comprising.
청구항 4 또는 청구항 5에 있어서,
상기 슬레이브 상태로 확정 후, 다음의 제2 프레임의 컨트롤 슬롯에서 타 사용자 단말에 의한 상기 잠정적 마스터 알림 신호를 수신하였다면, 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 슬롯을 통해 그에 대한 상기 응답 신호를 송신하는 단계
를 더 포함하는 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 4 or claim 5,
After determining to the slave state, if the interim master notification signal is received by another user terminal in the control slot of the next second frame, through the randomly accessed slot among the M random access slots after the control slot Transmitting the response signal
Master selection method in the TDMA network further comprising.
청구항 1에 있어서,
상기 네트워크 내 각각의 사용자 단말은,
상기 잠정적 마스터 알림 신호를 수신하면 그에 대한 상기 응답 신호를 자신이 랜덤 접속한 슬롯을 통해 송신하되,
자신의 상태가 슬레이브 상태일 때만 상기 응답 신호의 송신 권한이 있으며, 언노운 상태이면 미응답하도록 설정된 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 1,
Each user terminal in the network,
When the temporary master notification signal is received, the response signal is transmitted through a slot accessed by the user,
A method for selecting a master in a TDMA network set to have no response when the state of the slave is in the slave state and transmits the response signal only.
청구항 1에 있어서,
상기 네트워크 내 각각의 사용자 단말은,
자신의 상태가 언노운 상태일 때만 상기 알림 신호의 송신 권한이 있으며, 슬레이브로 상태이면 송신하지 않도록 설정된 TDMA 네트워크에서 마스터 선정 방법.
The method according to claim 1,
Each user terminal in the network,
A method of selecting a master in a TDMA network that is set to not transmit when it is in the slave state when it is in the slave state.
컨트롤 슬롯, 랜덤 액세스 슬롯, 유저 슬롯을 포함한 통신 프레임 기반의 TDMA 네트워크에서 마스터 선정을 위해 서로 경쟁하는 사용자 단말에 있어서,
네트워크에 참여한 자신의 상태를 언노운(unknown)으로 설정하는 설정부;
현재의 제1 프레임 내의 컨트롤 슬롯 상에 수신 신호가 존재하는지 확인하고, 존재하지 않으면 마스터 선출이 필요한 것으로 판단하는 판단부;
자신이 마스터로 선출되고자, 컨트롤 슬롯 다음에 위치한 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 m번째 슬롯(m=0,1,…,M)이 도래하기 전까지 알림 신호의 송신을 대기하되, m-1번째 슬롯까지 타 사용자 단말의 알림 신호가 수신되지 않았다면 m번째 슬롯을 통해 자신의 존재를 알리는 알림 신호를 송신하는 통신부; 및
알림 신호의 송신 후 상기 M번째 슬롯까지도 타 사용자 단말의 알림 신호가 수신되지 않았다면 자신의 상태를 잠정적 마스터로 설정하는 제어부를 포함하며,
상기 통신부는,
다음의 제2 프레임 내의 컨트롤 슬롯을 통해 잠정적 마스터 알림 신호를 송신하며,
상기 제어부는,
상기 잠정적 마스터 알림 신호의 송신 이후 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 하나를 통해 타 사용자 단말에 의한 응답 신호가 수신되었다면, 자신의 상태를 마스터로 확정하는 TDMA 네트워크에서의 사용자 단말.
In a user terminal competing with each other for selecting a master in a TDMA network based on a communication frame including a control slot, a random access slot, and a user slot,
A setting unit configured to set one's state participating in the network as unknown;
A determination unit determining whether a reception signal exists on the control slot in the current first frame, and determining that master election is necessary if it does not exist;
To be elected as the master, wait for the transmission of the notification signal until the m-th slot (m = 0,1, ..., M) randomly accessed from the M random access slots located after the control slot arrives, m -A communication unit that transmits a notification signal informing of its existence through the m-th slot when the notification signal of another user terminal is not received up to the first slot; And
If the notification signal of another user terminal is not received even in the M-th slot after transmission of the notification signal, a control unit for setting its status as a provisional master includes
The communication unit,
Transmitting the interim master notification signal through the control slot in the second frame,
The control unit,
If the response signal by another user terminal is received through one of the M random access slots after the control slot after the provisional master notification signal is transmitted, the user terminal in the TDMA network to determine its status as the master.
청구항 9에 있어서,
상기 사용자 단말은,
매 프레임마다 프레임 내 M개 랜덤 액세스 슬롯 중 하나의 슬롯에 랜덤 액세스하도록 동작하는 TDMA 네트워크에서의 사용자 단말.
The method according to claim 9,
The user terminal,
A user terminal in a TDMA network that operates to randomly access one of the M random access slots in a frame every frame.
청구항 9에 있어서,
상기 제어부는,
상기 언노운 상태에서 상기 알림 신호의 송신을 대기하는 동안, 1 부터 m-1번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신되었다면, 상기 알림 신호의 송신을 포기하고 자신의 상태를 슬레이브 상태로 확정하는 TDMA 네트워크에서의 사용자 단말.
The method according to claim 9,
The control unit,
While waiting to transmit the notification signal in the unknown state, if the notification signal of the other user terminal is received in at least one of m-1 th slots, the transmission of the notification signal is abandoned and its status is slave status. User terminal in the TDMA network to confirm.
청구항 9에 있어서,
상기 제어부는,
상기 알림 신호의 송신 후 m+1 내지 M번째 슬롯 중 적어도 하나에서 상기 타 사용자 단말의 알림 신호가 수신된 경우 자신의 상태를 슬레이브 상태로 확정하는 TDMA 네트워크에서의 사용자 단말.
The method according to claim 9,
The control unit,
When the notification signal of the other user terminal is received in at least one of m + 1 to Mth slots after the notification signal is transmitted, the user terminal in the TDMA network that determines its status as a slave state.
청구항 11 또는 청구항 12에 있어서,
상기 통신부는,
상기 슬레이브 상태로 확정 후, 다음의 제2 프레임의 컨트롤 슬롯에서 타 사용자 단말에 의한 상기 잠정적 마스터 알림 신호를 수신하였다면, 컨트롤 슬롯 다음의 M개 랜덤 액세스 슬롯 중 자신이 랜덤 액세스한 슬롯을 통해 그에 대한 상기 응답 신호를 송신하는 TDMA 네트워크에서의 사용자 단말.
The method according to claim 11 or claim 12,
The communication unit,
After determining to the slave state, if the interim master notification signal is received by another user terminal in the control slot of the next second frame, through the randomly accessed slot among the M random access slots after the control slot A user terminal in a TDMA network that transmits the response signal.
청구항 9에 있어서,
상기 네트워크 내 각각의 사용자 단말은,
자신의 상태가 슬레이브 상태일 때만 상기 응답 신호의 송신 권한이 있으며, 언노운 상태이면 미응답하도록 설정된 TDMA 네트워크에서의 사용자 단말.
The method according to claim 9,
Each user terminal in the network,
The user terminal in the TDMA network set to not respond if it has the right to transmit the response signal only when its state is the slave state, and if it is in the unknown state.
청구항 9에 있어서,
상기 네트워크 내 각각의 사용자 단말은,
상기 제1 프레임 내의 컨트롤 슬롯 상에 수신 신호가 존재하지 않으면, 자신의 존재를 알리는 알림 신호를 송신하되,
자신의 상태가 언노운 상태일 때만 상기 알림 신호의 송신 권한이 있으며, 슬레이브로 상태이면 송신하지 않도록 설정된 TDMA 네트워크에서의 사용자 단말.
The method according to claim 9,
Each user terminal in the network,
If there is no received signal on the control slot in the first frame, transmits a notification signal informing of its existence,
A user terminal in a TDMA network that is set to not transmit when it is in the slave state and has the authority to transmit the notification signal only when its state is in the unknown state.
KR1020180144673A 2018-11-21 2018-11-21 Method for selecting master in TDMA network and user terminal for thereof KR102097704B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180144673A KR102097704B1 (en) 2018-11-21 2018-11-21 Method for selecting master in TDMA network and user terminal for thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180144673A KR102097704B1 (en) 2018-11-21 2018-11-21 Method for selecting master in TDMA network and user terminal for thereof

Publications (1)

Publication Number Publication Date
KR102097704B1 true KR102097704B1 (en) 2020-04-06

Family

ID=70281932

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180144673A KR102097704B1 (en) 2018-11-21 2018-11-21 Method for selecting master in TDMA network and user terminal for thereof

Country Status (1)

Country Link
KR (1) KR102097704B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436755A (en) * 2023-06-12 2023-07-14 新华三技术有限公司 Network management method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101108464B1 (en) * 2006-05-19 2012-01-31 퀄컴 인코포레이티드 Wireless repeater with master/slave configuration
KR101346305B1 (en) * 2012-05-11 2014-01-06 영남대학교 산학협력단 the TDMA control method of having relay function using contention period
KR101391629B1 (en) * 2012-10-11 2014-05-07 고려대학교 산학협력단 System for administrating a network and Method therefor
KR20160028939A (en) * 2014-09-04 2016-03-14 삼성전자주식회사 Master node and operation method of the master node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101108464B1 (en) * 2006-05-19 2012-01-31 퀄컴 인코포레이티드 Wireless repeater with master/slave configuration
KR101346305B1 (en) * 2012-05-11 2014-01-06 영남대학교 산학협력단 the TDMA control method of having relay function using contention period
KR101391629B1 (en) * 2012-10-11 2014-05-07 고려대학교 산학협력단 System for administrating a network and Method therefor
KR20160028939A (en) * 2014-09-04 2016-03-14 삼성전자주식회사 Master node and operation method of the master node

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116436755A (en) * 2023-06-12 2023-07-14 新华三技术有限公司 Network management method and device and electronic equipment
CN116436755B (en) * 2023-06-12 2023-08-25 新华三技术有限公司 Network management method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US8488545B2 (en) Region-based clustering mechanism for channel access in vehicular Ad Hoc networks
CN1020530C (en) Communication system
US5276442A (en) Dynamic address allocation within RF trunking multisite switch
EP0069275A1 (en) Apparatus for communicating with a fleet of vehicles
US6091741A (en) Radio packet communication system capable of avoiding transmission collision
US20110206020A1 (en) Method, network nodes and system for broadcast transmission of data
US8873587B2 (en) Communication method using time-division multiplexing
JPH0681113B2 (en) Time division multiplex wireless communication system
KR100429719B1 (en) Elevator communication controller and communication control method
US5689503A (en) Random access system of a mobile communication system
KR102097704B1 (en) Method for selecting master in TDMA network and user terminal for thereof
CN101754399B (en) Multi-channel collaboration multi-address access method and system
JPH0767183A (en) Method for optimization of bit rate of communication channel in time-sharing mode
CN106488563B (en) Resource selection method and device
CN111371659B (en) Method for automatically allocating RS485 slave equipment address
US20100303055A1 (en) Method for Assigning Data Messages to Time Slots in a Wireless Data Bus System Having Hidden Subscribers
JP2001206654A (en) Local apparatus network for elevator and their transmission control method
JP3447084B2 (en) Method for resolving collision between communication systems
AU2874392A (en) Method of allocating radio channels
JP7081968B2 (en) Base stations, wireless terminal stations and wireless communication systems
CN114375057B (en) Wireless network system node time slot allocation method
KR102210050B1 (en) METHOD FOR AUTOMATICALLY ASSIGNING STATION NUMBER IN A PROTOCOL OF RAIPEnet
CN114866111B (en) Address binding method, system, main control node and equipment node
KR20040019178A (en) Method for arbitrating data bus
KR100419579B1 (en) Method for controlling priority in random access channel

Legal Events

Date Code Title Description
GRNT Written decision to grant