KR102556726B1 - The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism - Google Patents

The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism Download PDF

Info

Publication number
KR102556726B1
KR102556726B1 KR1020220141585A KR20220141585A KR102556726B1 KR 102556726 B1 KR102556726 B1 KR 102556726B1 KR 1020220141585 A KR1020220141585 A KR 1020220141585A KR 20220141585 A KR20220141585 A KR 20220141585A KR 102556726 B1 KR102556726 B1 KR 102556726B1
Authority
KR
South Korea
Prior art keywords
channel
communication
crp
collision
contention
Prior art date
Application number
KR1020220141585A
Other languages
Korean (ko)
Inventor
범송
Jin Hu
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 KR1020220141585A priority Critical patent/KR102556726B1/en
Application granted granted Critical
Publication of KR102556726B1 publication Critical patent/KR102556726B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0825Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision detection

Landscapes

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

Abstract

본 발명은 언슬롯티드 알로하(unslotted aloha) 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법으로서, 더 구체적으로는, 하나의 AP 및 복수의 디바이스를 포함하고 언슬롯티드 알로하 방식으로 수행되는 통신시스템에서 동시에 2 이상의 디바이스가 AP로 통신패킷을 송신하였을 때 발생되는 충돌(collision)에 대하여, 1 이상의 CRP채널을 활용함으로써 상기 충돌에 효과적으로 대응할 수 있는, 통신패킷 간의 충돌에 대응하는 방법에 관한 것이다.The present invention is a method for responding to a collision between communication packets generated in a communication system that communicates in an unslotted Aloha scheme, and more specifically, includes one AP and a plurality of devices, and includes an unslotted Aloha scheme. For collisions that occur when two or more devices transmit communication packets to the AP at the same time in a communication system performed by using one or more CRP channels, the collision between communication packets can be effectively dealt with. It's about how.

Description

언슬롯티드 알로하 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법{The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism}The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism

본 발명은 언슬롯티드 알로하(unslotted aloha) 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법으로서, 더 구체적으로는, 하나의 AP 및 복수의 디바이스를 포함하고 언슬롯티드 알로하 방식으로 수행되는 통신시스템에서 동시에 2 이상의 디바이스가 AP로 통신패킷을 송신하였을 때 발생되는 충돌(collision)에 대하여, 1 이상의 CRP채널을 활용함으로써 상기 충돌에 효과적으로 대응할 수 있는, 통신패킷 간의 충돌에 대응하는 방법에 관한 것이다.The present invention is a method for responding to a collision between communication packets generated in a communication system that communicates in an unslotted Aloha scheme, and more specifically, includes one AP and a plurality of devices, and includes an unslotted Aloha scheme. For collisions that occur when two or more devices transmit communication packets to the AP at the same time in a communication system performed by using one or more CRP channels, the collision between communication packets can be effectively dealt with. It's about how.

알로하 프로토콜(Aloha Protocol)이란, 동일 채널을 여러 사용자가 공동으로 이용하는 방법으로써 개발되었다. 알로한 프로토콜은 발신노드가 패킷을 전송하면, 수신노드는 상기 패킷이 유효한 패킷인가를 확인한 뒤, 이에 상응하는 ACK를 발송하고, 송신노드는 상기 ACK가 올 때까지 기다리다가. 최대 왕복 전파지연시간 이상이 되면 해당 패킷을 재전송하는 방법으로 운영되고, 이와 같은 방법을 통해 동일 채널을 다수의 노드가 이용하는 방식에 해당한다. 만약 동시에 여러 노드가 패킷을 보내는 경우 패킷 간의 충돌(collision)이 발생하게 되는데, 이러한 경우, 수신노드는 해당 패킷들을 수신하지 않는다. 즉, 채널노드가 많아지거나 통신량이 많아지는 등 부하가 증가할수록 패킷 간의 충돌 횟수가 늘어나게 되어 최대 채널사용률이 감소하는 단점이 있다.The Aloha Protocol was developed as a method for multiple users to jointly use the same channel. In the Alohan protocol, when the sending node transmits a packet, the receiving node checks whether the packet is a valid packet, sends a corresponding ACK, and the sending node waits until the ACK arrives. When the maximum round-trip propagation delay time is exceeded, the corresponding packet is retransmitted, and through this method, it corresponds to a method in which multiple nodes use the same channel. If several nodes send packets at the same time, collision between packets occurs. In this case, the receiving node does not receive the corresponding packets. That is, as the load increases, such as the number of channel nodes or the amount of communication increases, the number of collisions between packets increases, resulting in a decrease in the maximum channel utilization rate.

이러한 충돌을 방지하기 위한 방법으로는 임의의 대기시간(backoff time)을 두거나 최대 재전송회수를 제한하는 방법이 제안되었으며, 또 다른 방법으로는 통신 채널을 같은 크기의 슬롯으로 시분할하는 슬롯티드 알로하(slotted aloha) 프로토콜이 제안되었다. 상기 슬롯티드 알로하 통신방식은, 각 노드가 슬롯의 시작점에서만 패킷을 전송할 수 있고, 각 노드는 슬롯의 시작을 알 수 있도록 동기화된 방식으로 한 슬롯에서 2 이상의 노드들이 충돌하는 경우 해당 커버리지 내의 모드 노드들이 충돌을 감지하는 특징을 가진다. 한편, 상기 슬롯티드 알로하 통신 방식 또한 활성 노드가 많을 수록 많은 충돌이 발생하여 슬롯이 낭비된다는 단점을 가지고 있으며, 확률적인 전송으로 전송을 억제하는 경우 빈 슬롯이 발생하여 효율이 떨어질 수 있고, 모든 노드들의 클락을 동기화해야 하므로 주기적으로 동기화를 시켜줘야하며 동기화되지 않은 노드의 경우 통신이 어려운 문제점을 가지고 있다.As a method to prevent such a collision, a method of setting an arbitrary backoff time or limiting the maximum number of retransmissions has been proposed. aloha) protocol has been proposed. In the slotted Aloha communication method, each node can transmit a packet only at the starting point of a slot, and each node is synchronized so that the starting point of the slot can be known. When two or more nodes collide in one slot, all nodes within the coverage They have the feature of detecting collisions. On the other hand, the slotted Aloha communication method also has a disadvantage that the more active nodes there are, the more collisions occur and slots are wasted. Since their clocks need to be synchronized, they must be synchronized periodically, and in the case of unsynchronized nodes, communication is difficult.

따라서, 슬롯이 없이 완전히 분산된 프로토콜인 언슬롯티드 알로하 프로토콜(unslotted aloha protocol)과 같이 동기화 필요없이 더 간단한 방식으로 통신을 수행하되, 패킷을 보내고자 하는 디바이스와 잠재적으로 패킷을 보낼 디바이스를 서로 분리함으로써 충돌을 방지하고, 이를 통해 채널 사용률을 높일 수 있는 기술이 요구되고 있다.Thus, communication is performed in a simpler way without the need for synchronization, such as the unslotted aloha protocol, a completely decentralized protocol without slots, but isolating the device that wants to send the packet and the device that is potentially sending the packet from each other. Thus, there is a demand for a technology capable of preventing collisions and thereby increasing channel utilization.

본 발명은 언슬롯티드 알로하(unslotted aloha) 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법으로서, 더 구체적으로는, 하나의 AP 및 복수의 디바이스를 포함하고 언슬롯티드 알로하 방식으로 수행되는 통신시스템에서 동시에 2 이상의 디바이스가 AP로 통신패킷을 송신하였을 때 발생되는 충돌(collision)에 대하여, 1 이상의 CRP채널을 활용함으로써 상기 충돌에 효과적으로 대응할 수 있는, 통신패킷 간의 충돌에 대응하는 방법을 제공하는 것을 목적으로 한다.The present invention is a method for responding to a collision between communication packets generated in a communication system that communicates in an unslotted Aloha scheme, and more specifically, includes one AP and a plurality of devices, and includes an unslotted Aloha scheme. For collisions that occur when two or more devices transmit communication packets to the AP at the same time in a communication system performed by using one or more CRP channels, the collision between communication packets can be effectively dealt with. It aims to provide a method.

상기와 같은 과제를 해결하기 위하여, 본 발명의 일 실시예는, 복수의 디바이스 및 AP를 포함하고, 언슬롯티드 알로하(unslotted aloha) 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법으로서, 상기 디바이스에서, 발생된 이벤트에 상응하는 통신패킷을 생성하고, 컨텐션채널을 이용하여 상기 통신패킷을 상기 AP로 송신하는 패킷송신단계; 상기 AP에서, 기설정된 제1주기로 디코딩을 수행하되, 디코딩수행결과에 기초하여 상기 컨텐션채널 내에서 발생되는 통신패킷 간의 충돌을 감지하는 컨텐션충돌감지단계; 상기 AP에서, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, CRP채널 내의 통신상태를 파악한 뒤, 충돌이 일어난 패킷을 송신한 디바이스에게 통신채널을 컨텐션채널에서 CRP채널로 변경하라는 명령을 상기 컨텐션채널에서 브로드캐스팅하는 채널변경명령단계; 및 상기 디바이스에서, 상기 명령을 수신하면 상기 AP로 송신하는 통신패킷의 통신채널을 컨텐션채널에서 CRP채널로 변경하고, 상기 CRP채널을 통해 상기 통신패킷을 상기 AP로 재송신하는 CRP재송신단계;를 포함하고, 상기 디바이스는, 상기 CRP채널을 통해 송신한 통신패킷이 성공적으로 상기 AP로 송신되는 경우, 상기 디바이스의 통신채널을 컨텐션채널로 다시 변경하는, 충돌에 대응하는 방법을 제공한다.In order to solve the above problems, an embodiment of the present invention is to respond to collisions between communication packets generated in a communication system that includes a plurality of devices and APs and communicates with an unslotted aloha method. A method comprising: a packet transmission step of generating a communication packet corresponding to an event in the device and transmitting the communication packet to the AP using a contention channel; In the AP, a contention collision detection step of performing decoding at a predetermined first cycle and detecting a collision between communication packets generated within the contention channel based on a decoding result; When the AP detects a collision between communication packets generated in the contention channel, after determining the communication state in the CRP channel, the AP instructs the device that transmitted the packet in which the collision occurred to change the communication channel from the contention channel to the CRP channel. a channel change command step of broadcasting a command on the contention channel; and a CRP retransmission step of, in the device, upon receiving the command, changing a communication channel of a communication packet transmitted to the AP from a contention channel to a CRP channel, and retransmitting the communication packet to the AP through the CRP channel. and, when the communication packet transmitted through the CRP channel is successfully transmitted to the AP, the device changes the communication channel of the device back to a contention channel.

본 발명의 일 실시예에서는, 상기 채널변경명령단계는, 상기 AP에서, 상기 CRP채널 내에서의 충돌여부를 판단하는 CRP충돌감지단계; 및 상기 AP에서, 상기 CRP채널 내에 충돌이 발생하는지 확인되면, 상기 컨텐션채널에서 충돌이 발생한 통신패킷을 송신한 디바이스에게 상기 컨텐션채널에서 상기 통신패킷을 재송신하라는 명령을 상기 컨텐션채널에서 브로드캐스팅하는 채널고정명령단계;를 포함하고, 상기 디바이스는, 상기 재송신하라는 명령을 수신하면 상기 컨텐션채널을 통해 상기 통신패킷을 재송신하는 컨텐션재송신단계;를 수행할 수 있다.In one embodiment of the present invention, the channel change command step, in the AP, a CRP collision detection step of determining whether there is a collision in the CRP channel; and if it is determined that a collision occurs in the CRP channel, the AP broadcasts a command to retransmit the communication packet through the contention channel to the device that transmitted the communication packet in which the collision occurred in the contention channel through the contention channel. A channel fixing command step of casting; and the device may perform a contention retransmission step of retransmitting the communication packet through the contention channel upon receiving the retransmission command.

본 발명의 일 실시예에서는, 상기 CRP충돌감지단계는, 기설정된 제1기간동안 기설정된 횟수 이상 상기 채널변경명령단계가 수행된 경우, 통신채널을 상기 CRP채널로 변경한 디바이스가 많기 때문에 상기 CRP채널 내에서 충돌이 발생한다고 판단할 수 있다.In one embodiment of the present invention, the CRP collision detection step is performed because many devices change the communication channel to the CRP channel when the channel change command step is performed more than a preset number of times during a preset first period. It may be determined that a collision occurs within a channel.

본 발명의 일 실시예에서는, 상기 CRP충돌감지단계는, 기설정된 제2기간동안 상기 CRP채널을 통해 송신되는 통신패킷이 없는 경우, 통신채널을 상기 CRP채널로 변경한 디바이스 각각이 각자의 통신패킷을 모두 성공적으로 보냈다고 판단하여 상기 CRP채널 내에서 충돌이 발생하지 않는 것으로 판단할 수 있다.In one embodiment of the present invention, the CRP collision detecting step, when there is no communication packet transmitted through the CRP channel for a predetermined second period, each device that has changed the communication channel to the CRP channel sends its own communication packet It can be determined that no collision occurs in the CRP channel by determining that all are successfully sent.

본 발명의 일 실시예에서는, 상기 CRP채널은 각각 통신대역이 상이한 제1CRP채널, 제2CRP채널, 및 제3CRP채널을 포함하고, 상기 채널변경명령단계는, 상기 AP에서, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스에게 통신채널을 상기 컨텐션채널에서 제1CRP채널로 변경하라는 명령을 브로드캐스팅하는 제1채널변경명령단계; 상기 AP에서 상기 컨텐션채널 및 상기 제1CRP채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스에게 통신채널을 상기 컨텐션채널에서 제2CRP채널로 변경하라는 명령을 브로드캐스팅하는 제2채널변경명령단계; 및 상기 AP에서 상기 컨텐션채널, 상기 제1CRP채널, 및 상기 제2CRP채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스에게 통신채널을 상기 컨텐션채널에서 제3CRP채널로 변경하라는 명령을 브로드캐스팅하는 제3채널변경명령단계;를 포함할 수 있다.In one embodiment of the present invention, the CRP channel includes a first CRP channel, a second CRP channel, and a third CRP channel having different communication bands, respectively, and the channel change command step is performed in the AP in the contention channel. a first channel change command step of broadcasting a command to change a communication channel from the contention channel to a first CRP channel to a device having a collision when a collision between communication packets is detected; When the AP detects a collision between the communication packets generated in the contention channel and the first CRP channel, broadcasting a command to change the communication channel from the contention channel to the second CRP channel to the device in which the collision occurs channel change command step; and when the AP detects a collision between communication packets generated in the contention channel, the first CRP channel, and the second CRP channel, instructing the device in which the collision occurs to change the communication channel from the contention channel to the third CRP channel. A third channel change command step of broadcasting a command; may include.

본 발명의 일 실시예에서는, 상기 충돌에 대응하는 방법은, 상기 제1채널변경명령단계, 상기 제2채널변경명령단계, 및 상기 제3채널변경명령단계를 순차적으로 수행한 AP에 의하여 수행되는, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 기설정된 제2주기에 해당하는 기간 동안 상기 CRP채널에서 가장 충돌이 적게 발생한 채널을 도출하는 채널도출단계;를 더포함하고, 상기 채널변경명령단계는, 충돌이 일어난 통신패킷을 송신한 디바이스에게 통신채널을 상기 채널도출단계에서 도출된 채널로 변경하라는 명령을 브로드캐스팅할 수 있다.In one embodiment of the present invention, the method for responding to the collision is performed by an AP that sequentially performs the first channel change command step, the second channel change command step, and the third channel change command step. When a collision between communication packets occurring in the contention channel is detected, a channel derivation step of deriving a channel with the least collision in the CRP channel during a period corresponding to a preset second cycle; In the channel change command step, a command to change the communication channel to the channel derived in the channel derivation step may be broadcast to the device that transmitted the communication packet in which the collision occurred.

본 발명의 일 실시예에 따르면, 현재 통신패킷을 송신하고자 하는 디바이스와 잠재적으로 통신패킷을 송신할 디바이스를 분리함으로써 통신패킷 간의 충돌을 감소시킬 수 있으며, 통신시스템 내의 통신효율을 향상시키는 효과를 발휘할 수 있다.According to an embodiment of the present invention, collisions between communication packets can be reduced by separating a device that currently wants to transmit a communication packet from a device that will potentially transmit a communication packet, and can exert an effect of improving communication efficiency in a communication system. can

본 발명의 일 실시예에 따르면, 부하가 증가할수록 통신패킷의 충돌 횟수가 늘어나서 해당 채널 사용률이 감소되는 것을 방지하는 효과를 발휘할 수 있다.According to an embodiment of the present invention, as the load increases, the number of collisions of communication packets increases, thereby preventing a corresponding channel usage rate from decreasing.

본 발명의 일 실시예에 따르면, 복수의 CRP채널을 운용함으로써, 통신시스템 내에 디바이스가 증가하거나 혹은 통신량이 증가하더라도, 이에 유연하게 대처할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, by operating a plurality of CRP channels, even if the number of devices or the amount of communication increases in a communication system, it is possible to flexibly cope with this.

도 1은 본 발명의 일 실시예에 따른 충돌에 대응하는 방법의 수행과정을 개략적으로 도시한다.
도 2는 본 발명의 일 실시예에 따른 언슬롯티드 알로하 방식으로 통신하는 통신시스템의 구성에 대해 개략적으로 도시한다.
도 3은 본 발명의 일 실시예에 따른 복수의 디바이스에서 송신하는 통신패킷이 송신되는 컨텐션채널을 개략적으로 도시한다.
도 4는 본 발명의 일 실시예에 따른 충돌이 발생하였을 때의 충돌에 대응하는 방법의 수행단계를 개략적으로 도시한다.
도 5는 본 발명의 일 실시예에 따른 채널고정명령단계의 수행과정을 개략적으로 도시한다.
도 6은 본 발명의 일 실시예에 따른 CRP충돌감지단계의 수행단계를 개략적으로 도시한다.
도 7은 본 발명의 일 실시예에 따른 복수의 CRP채널에 대하여 수행되는 채널변경명령단계의 수행과정을 개략적으로 도시한다.
도 8은 본 발명의 일 실시예에 따른 채널도출단계의 수행과정을 개략적으로 도시한다.
도 9는 본 발명의 일 실시예에 따른 컴퓨팅장치의 내부 구성을 개략적으로 도시한다.
1 schematically illustrates a process of performing a method for responding to a collision according to an embodiment of the present invention.
2 schematically illustrates the configuration of a communication system communicating in an unslotted Aloha manner according to an embodiment of the present invention.
3 schematically illustrates a contention channel through which communication packets transmitted from a plurality of devices according to an embodiment of the present invention are transmitted.
4 schematically illustrates the steps of performing a method for responding to a collision when a collision occurs according to an embodiment of the present invention.
5 schematically illustrates a process of performing a channel fix command step according to an embodiment of the present invention.
Figure 6 schematically shows the performance steps of the CRP collision detection step according to an embodiment of the present invention.
7 schematically illustrates a process of performing a channel change command step performed for a plurality of CRP channels according to an embodiment of the present invention.
8 schematically illustrates a process of performing a channel derivation step according to an embodiment of the present invention.
9 schematically illustrates the internal configuration of a computing device according to an embodiment of the present invention.

이하에서는, 다양한 실시예들 및/또는 양상들이 이제 도면들을 참조하여 개시된다. 하기 설명에서는 설명을 목적으로, 하나 이상의 양상들의 전반적 이해를 돕기 위해 다수의 구체적인 세부사항들이 개시된다. 그러나, 이러한 양상(들)은 이러한 구체적인 세부사항들 없이도 실행될 수 있다는 점 또한 본 발명의 기술 분야에서 통상의 지식을 가진 자에게 인식될 수 있을 것이다. 이후의 기재 및 첨부된 도면들은 하나 이상의 양상들의 특정한 예시적인 양상들을 상세하게 기술한다. 하지만, 이러한 양상들은 예시적인 것이고 다양한 양상들의 원리들에서의 다양한 방법들 중 일부가 이용될 수 있으며, 기술되는 설명들은 그러한 양상들 및 그들의 균등물들을 모두 포함하고자 하는 의도이다.In the following, various embodiments and/or aspects are disclosed with reference now to the drawings. In the following description, for purposes of explanation, numerous specific details are set forth in order to facilitate a general understanding of one or more aspects. However, it will also be appreciated by those skilled in the art that such aspect(s) may be practiced without these specific details. The following description and accompanying drawings describe in detail certain illustrative aspects of one or more aspects. However, these aspects are exemplary and some of the various methods in principle of the various aspects may be used, and the described descriptions are intended to include all such aspects and their equivalents.

또한, 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.In addition, terms including ordinal numbers, such as first and second, may be used to describe various components, but the components are not limited by the terms. These terms are only used for the purpose of distinguishing one component from another. For example, a first element may be termed a second element, and similarly, a second element may be termed a first element, without departing from the scope of the present invention. The terms and/or include any combination of a plurality of related recited items or any of a plurality of related recited items.

또한, 본 발명의 실시예들에서, 별도로 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명의 실시예에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, in the embodiments of the present invention, unless otherwise defined, all terms used herein, including technical or scientific terms, are generally understood by those of ordinary skill in the art to which the present invention belongs. has the same meaning as Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related art, and unless explicitly defined in the embodiments of the present invention, an ideal or excessively formal meaning not be interpreted as

이하에서 언급되는 "디바이스"는 네트워크를 통해 서버나 타 단말에 접속할 수 있는 컴퓨터나 휴대용 단말기로 구현될 수 있다. 여기서, 컴퓨터는 예를 들어, 웹 브라우저(WEB Browser)가 탑재된 노트북, 데스크톱(desktop), 랩톱(laptop) 등을 포함하고, 휴대용 단말기는 예를 들어, 휴대성과 이동성이 보장되는 무선 통신장치로서, 스마트폰, PCS(Personal Communication System), GSM(Global System for Mobile communications), PDC(Personal Digital Cellular), PHS(Personal Handyphone System), PDA(Personal Digital Assistant), IMT(International Mobile Telecommunication)-2000, CDMA(Code Division Multiple Access)-2000, W-CDMA(W-Code Division Multiple Access), Wibro(Wireless Broadband Internet) 단말 등과 같은 모든 종류의 핸드헬드 (Handheld) 기반의 무선 통신 장치를 포함할 수 있다. 또한, "네트워크"는 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN), 또는 부가가치 통신망(Value Added Network; VAN), 등과 같은 유선네트워크나 LoRa 통신망(Long Range)과 같은 이동 통신망(mobile radio communication network) 또는 위성 통신망 등과 같은 모든 종류의 무선 네트워크로 구현될 수 있다.A “device” referred to below may be implemented as a computer or portable terminal capable of accessing a server or other terminals through a network. Here, the computer includes, for example, a laptop, desktop, laptop, etc. equipped with a web browser, and the portable terminal is, for example, a wireless communication device that ensures portability and mobility. , Smartphone, PCS(Personal Communication System), GSM(Global System for Mobile communications), PDC(Personal Digital Cellular), PHS(Personal Handyphone System), PDA(Personal Digital Assistant), IMT(International Mobile Telecommunication)-2000, All types of handheld-based wireless communication devices such as Code Division Multiple Access (CDMA)-2000, W-Code Division Multiple Access (W-CDMA), and Wireless Broadband Internet (Wibro) terminals may be included. Also, "network" means a wired network such as a Local Area Network (LAN), a Wide Area Network (WAN), or a Value Added Network (VAN), or a LoRa network (Long Range). It can be implemented in all kinds of wireless networks, such as a mobile radio communication network or a satellite communication network.

도 1은 본 발명의 일 실시예에 따른 충돌에 대응하는 방법의 수행과정을 개략적으로 도시하고, 도 2는 본 발명의 일 실시예에 따른 언슬롯티드 알로하 방식으로 통신하는 통신시스템의 구성에 대해 개략적으로 도시한다.1 schematically illustrates a process of performing a method for responding to a collision according to an embodiment of the present invention, and FIG. 2 illustrates a configuration of a communication system communicating in an unslotted Aloha method according to an embodiment of the present invention. show schematically.

도 1 내지 도 2에 도시된 바와 같이, 복수의 디바이스(2000) 및 AP(1000)를 포함하고, 언슬롯티드 알로하(unslotted aloha) 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법으로서, 상기 디바이스(2000)에서, 발생된 이벤트에 상응하는 통신패킷을 생성하고, 컨텐션채널을 이용하여 상기 통신패킷을 상기 AP(1000)로 송신하는 패킷송신단계(S100); 상기 AP(1000)에서, 기설정된 제1주기로 디코딩을 수행하되, 디코딩수행결과에 기초하여 상기 컨텐션채널 내에서 발생되는 통신패킷 간의 충돌을 감지하는 컨텐션충돌감지단계(S200); 상기 AP(1000)에서, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, CRP채널 내의 통신상태를 파악한 뒤, 충돌이 일어난 패킷을 송신한 디바이스(2000)에게 통신채널을 컨텐션채널에서 CRP채널로 변경하라는 명령을 상기 컨텐션채널에서 브로드캐스팅하는 채널변경명령단계(S300); 및 상기 디바이스(2000)에서, 상기 명령을 수신하면 상기 AP(1000)로 송신하는 통신패킷의 통신채널을 컨텐션채널에서 CRP채널로 변경하고, 상기 CRP채널을 통해 상기 통신패킷을 상기 AP(1000)로 재송신하는 CRP재송신단계(S400);를 포함하고, 상기 디바이스(2000)는, 상기 CRP채널을 통해 송신한 통신패킷이 성공적으로 상기 AP(1000)로 송신되는 경우, 상기 디바이스(2000)의 통신채널을 컨텐션채널로 다시 변경한다.1 and 2, corresponding to collisions between communication packets generated in a communication system including a plurality of devices 2000 and AP 1000 and communicating in an unslotted aloha scheme. As a method, a packet transmission step (S100) of generating a communication packet corresponding to the generated event in the device 2000 and transmitting the communication packet to the AP 1000 using a contention channel; In the AP (1000), a contention collision detection step (S200) of performing decoding at a predetermined first cycle and detecting a collision between communication packets generated within the contention channel based on a decoding result; When the AP 1000 detects a collision between communication packets generated in the contention channel, after determining the communication state in the CRP channel, the communication channel is transferred to the device 2000 that transmitted the packet in which the collision occurred. a channel change command step (S300) of broadcasting a command to change to a CRP channel in the contention channel; And when the device 2000 receives the command, the communication channel of the communication packet transmitted to the AP 1000 is changed from a contention channel to a CRP channel, and the communication packet is transmitted through the CRP channel to the AP 1000. ), and a CRP retransmission step (S400) of retransmitting the device 2000, when the communication packet transmitted through the CRP channel is successfully transmitted to the AP 1000, the device 2000 Change the communication channel back to the contention channel.

구체적으로, 본 발명의 충돌에 대응하는 방법이 수행되는 통신시스템은, 도 2를 참고하여, 하나의 AP(1000) 및 상기 AP(1000)의 커버리지 내에 위치하는 복수의 디바이스(2000)를 포함한다. 본 발명의 일 실시예에 따르면, 상기 통신시스템은, 복수의 AP(1000)를 포함할 수 있으며, 각각의 AP(1000)는 도 2에 도시된 바와 같이 복수의 디바이스(2000)를 포함한다. 상기 복수의 디바이스(2000) 각각은 웨이크업(wake up)상태인 액티브 디바이스(2000)(active device)에 해당하거나, 혹은 슬립(sleep)상태인 슬리핑 디바이스(2000)(sleeping device)에 해당한다. 상기 액티브 디바이스(2000)는 본인인 위치한 커버리지에 포함되는 AP(1000)에서 송신되는 패킷을 수신할 수 있는 상태이며, 상기 슬리핑 디바이스(2000)는 상기 AP(1000)에서 송신되는 패킷을 수신할 수 없는 상태이다.Specifically, the communication system in which the method for responding to collision of the present invention is performed includes, with reference to FIG. 2, one AP 1000 and a plurality of devices 2000 located within the coverage of the AP 1000. . According to an embodiment of the present invention, the communication system may include a plurality of APs 1000, and each AP 1000 includes a plurality of devices 2000 as shown in FIG. Each of the plurality of devices 2000 corresponds to an active device 2000 in a wake up state or a sleeping device 2000 in a sleep state. The active device 2000 is in a state in which it can receive packets transmitted from the AP 1000 included in the coverage where it is located, and the sleeping device 2000 can receive packets transmitted from the AP 1000 is in a state of no

상기 디바이스(2000)는 하나의 기기에서 액티브 모드와 슬리핑 모드를 전환하여 작동될 수 있으며, 이하에서 서술되는 디바이스(2000)는 별도의 언급이 없는 한, AP(1000)와 통신을 수행할 수 있는 액티브 디바이스(2000)로 가정하여 서술하도록 한다.The device 2000 can be operated by switching between an active mode and a sleeping mode in one device, and the device 2000 described below is capable of communicating with the AP 1000 unless otherwise specified. It is assumed that the active device 2000 is described.

또한, 도 2에 도시된 통신시스템은 언슬롯티드 알로하 메커니즘(unslotted aloha mechanism)에 따라 통신을 수행한다. 언슬롯티드 알로하 통신이란, 통신 채널을 같은 크기의 슬롯으로 시분할 하는 슬롯티드 알로하 통신과 달리, 동기화 과정이 필요 없고, 충돌(collision)만 발생하지 않는다면 별도의 지연없이 디바이스(2000)가 통신패킷을 AP(1000)로 송신할 수 있는 장점을 가진다. 상기 충돌은, 도 3을 참고하여, 동일한 채널에서 상이한 통신패킷이 같은 시간대에 송신되는 경우 발생한다. 한편, 상기 언슬롯티드 알로하 통신은 상기 슬롯티드 알로하 통신에 비해 충돌 확률이 높다는 문제점이 존재하는데, 이하에서는 언슬롯티드 알로하 방식에서 충돌확률을 줄이고, 충돌이 발생한 경우 이에 대응하는 방법에 대해 서술하도록 한다. Also, the communication system shown in FIG. 2 performs communication according to an unslotted aloha mechanism. Unlike slotted Aloha communication, which time-divides a communication channel into slots of the same size, unslotted Aloha communication does not require a synchronization process and the device 2000 transmits a communication packet without a separate delay if only a collision does not occur. It has the advantage of being able to transmit to the AP (1000). Referring to FIG. 3, the collision occurs when different communication packets are transmitted on the same channel at the same time. On the other hand, the unslotted Aloha communication has a problem in that the probability of collision is higher than that of the slotted Aloha communication. Hereinafter, a method for reducing the probability of collision in the unslotted Aloha method and responding to the collision when a collision occurs will be described. do.

도 1은 전술한 AP(1000) 및 디바이스(2000) 사이에서 수행되는 충돌에 대응되는 방법의 개략적인 수행과정을 도시한 것으로, 상기 디바이스(2000)에서는 통신패킷을 생성하고, 상기 통신패킷을 컨텐션채널(contention channel)을 이용하여 AP(1000)로 보내는 패킷송신단계(S100)를 수행한다. 본 발명의 일 실시예에 따르면, 상기 디바이스(2000)는 슬리핑 모드로 동작하다가 이벤트가 발생하면, 웨이크업하여 액티브 모드로 전환되어 통신패킷을 생성할 수 있고, 본 발명의 다른 실시예에 따르면, 상기 디바이스(2000)는 슬리핑 모드로 동작하다가 액티브 모드로 전환된 뒤, 이벤트가 발생하여 통신패킷을 생성할 수 있다.1 shows a schematic process of a method corresponding to a collision performed between an AP 1000 and a device 2000 described above, in which the device 2000 generates a communication packet and controls the communication packet. A packet transmission step (S100) to be sent to the AP 1000 using a contention channel is performed. According to an embodiment of the present invention, the device 2000 operates in a sleeping mode and when an event occurs, wakes up and converts to an active mode to generate a communication packet. According to another embodiment of the present invention, After the device 2000 operates in the sleeping mode and switches to the active mode, an event may occur to generate a communication packet.

한편, 상기 AP(1000)는, 전술한 디바이스(2000)의 동작과는 독립적으로, 기설정된 제1주기마다 디코딩을 수행하고, 해당 디코딩수행결과에 기초하여 상기 컨텐션채널의 충돌 발생 여부를 판단하는 컨텐션충돌감지단계(S200)를 수행한다. 더 구체적으로, 상기 AP(1000)는 상기 제1주기마다 디코딩을 수행하는데, 디코딩이 성공적으로 수행되었다는 것은 상기 AP(1000)는 상기 디바이스(2000)가 송신한 통신패킷을 성공적으로 수신한 것을 의미하고, 디코딩이 성공적으로 수행되지 않았다는 것은 상기 AP(1000)가 상기 통신패킷을 성공적으로 수신할 수 없는 것을 의미한다. 이를 통해 상기 AP(1000)는 상기 컨텐션채널에 충돌이 발생한 것으로 판단한다. 만약 상기 AP(1000)가 상기 컨텐션충돌감지단계(S200)를 수행함으로써 상기 컨텐션채널에서 충돌이 발생했다고 판단하는 경우, 상기 AP(1000)는 하기와 같이 채널변경명령단계(S300)를 수행한다.Meanwhile, the AP 1000 performs decoding for each predetermined first period, independently of the operation of the device 2000 described above, and determines whether the contention channel collides with each other based on the corresponding decoding result. The contention collision detection step (S200) is performed. More specifically, the AP 1000 performs decoding for every first period. Successful decoding means that the AP 1000 successfully receives the communication packet transmitted by the device 2000. And, if decoding is not successfully performed, it means that the AP 1000 cannot successfully receive the communication packet. Through this, the AP 1000 determines that a collision has occurred in the contention channel. If the AP 1000 determines that a collision has occurred in the contention channel by performing the contention collision detection step S200, the AP 1000 performs a channel change command step S300 as follows. do.

상기 AP(1000)는, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지한 경우, CRP채널(Collision Resolution Process Channel, 이하 CRP채널) 내의 통신상태를 파악한 뒤, 충돌이 일어난 패킷을 송신한 디바이스(2000)에게 통신채널을 컨텐션채널에서 CRP채널로 변경하라는 명령을 브로드캐스팅하는 채널변경명령단계(S300)를 수행한다. 다시 말해, 상기 AP(1000)는 디코딩에 실패하는 경우, 디코딩에 실패했다는 정보를 포함하는 패킷을 상기 컨텐션채널에 브로드캐스팅한다. 이 때 브로드캐스팅되는 상기 패킷에는 상기 패킷을 수신한 디바이스(2000)의 통신채널을 컨텐션채널에서 CRP채널로 변경하라는 명령이 포함된다.When the AP 1000 detects a collision between communication packets generated in the contention channel, the device that transmits the packet in which the collision occurs after determining the communication state in the CRP channel (Collision Resolution Process Channel, hereinafter CRP channel) A channel change command step (S300) of broadcasting a command to change the communication channel from the contention channel to the CRP channel to (2000) is performed. In other words, when decoding fails, the AP 1000 broadcasts a packet including information indicating that decoding has failed on the contention channel. At this time, the broadcast packet includes a command to change the communication channel of the device 2000 receiving the packet from a contention channel to a CRP channel.

한편, 전술한 바와 같이, 상기 AP(1000)가 브로드캐스팅할 당시 슬리핑 모드로 동작하는 슬리핑 디바이스(2000)는, 상기 AP(1000)에 의해 브로드캐스팅된 패킷을 수신할 수 없다. 즉, 상기 기설정된 제1주기 내에 액티브 모드로 동작하고 있고 해당 주기 내에 통신패킷을 송신한 2 이상의 디바이스(2000)는 상기 AP(1000)에 의해 브로드캐스팅된 패킷을 수신할 수 있고, 해당 패킷을 수신한 디바이스(2000)는 하기와 같이, CRP재송신단계(S400)를 수행한다.Meanwhile, as described above, the sleeping device 2000 operating in the sleeping mode when the AP 1000 broadcasts cannot receive a packet broadcast by the AP 1000 . That is, two or more devices 2000 operating in the active mode within the preset first period and transmitting communication packets within the period can receive the packet broadcast by the AP 1000 and transmit the corresponding packet. The receiving device 2000 performs the CRP retransmission step (S400) as follows.

상기 AP(1000)에 의해 브로드캐스팅된 패킷을 수신한 디바이스(2000)는, 상기 AP(1000)로 송신하는 통신패킷의 통신채널을 CRP채널로 변경하고, 상기 CRP채널을 통해 상기 패킷송신단계(S100)에서 보냈던 통신패킷을 상기 AP(1000)로 재송신하는 CRP재송신단계(S400)를 수행한다. 상기 CRP채널은 상기 컨텐션채널과 통신대역이 상이한 채널에 해당하고, 상기 AP에 의하여 통신채널에서 발생되는 충돌에 효과적으로 대응하기 위해 사용된다. 본 발명의 일 실시예로서, 해당 통신시스템은 상기 컨텐션채널과 함께 CRP채널을 운용함으로써 상기 통신시스템 전체의 통신 효율을 높이고, 상기 컨텐션채널의 부하를 줄일 수 있는 효과를 발휘할 수 있다. The device 2000 receiving the packet broadcast by the AP 1000 changes the communication channel of the communication packet transmitted to the AP 1000 to a CRP channel, and transmits the packet through the CRP channel ( A CRP retransmission step (S400) of retransmitting the communication packet sent in step S100 to the AP 1000 is performed. The CRP channel corresponds to a channel having a different communication band from the contention channel, and is used by the AP to effectively respond to a collision occurring in a communication channel. As an embodiment of the present invention, the corresponding communication system can increase the communication efficiency of the entire communication system and reduce the load of the contention channel by operating the CRP channel together with the contention channel.

상기 CRP채널로 통신채널을 변경한 디바이스(2000)는 소정의 시간이 지난 뒤 패킷송신단계(S100)에서 송신한 통신패킷을 다시 AP(1000)로 송신하며, 바람직하게는 각 디바이스(2000)마다 상기 소정의 시간이 다르게 설정될 수 있다. 한편, 상기 CRP채널은 1 이상의 채널을 포함할 수 있으며, 통신채널이 CRP채널로 변경된 디바이스(2000)가 상기 통신패킷을 상기 AP(1000)로 송신하여 상기 AP(1000)가 해당 통신패킷을 성공적으로 수신하는 경우, 상기 디바이스(2000)의 통신채널은 다시 컨텐션채널로 변경된다. 이하에서는 전술한 각 단계에 대해 보다 상세히 서술하도록 한다.After a predetermined time has elapsed, the device 2000 that has changed the communication channel to the CRP channel transmits the communication packet transmitted in the packet transmission step (S100) to the AP 1000 again, preferably for each device 2000. The predetermined time may be set differently. Meanwhile, the CRP channel may include one or more channels, and the device 2000 whose communication channel has been changed to the CRP channel transmits the communication packet to the AP 1000 so that the AP 1000 successfully transmits the corresponding communication packet. In case of reception, the communication channel of the device 2000 is changed back to the contention channel. Hereinafter, each step described above will be described in more detail.

도 3은 본 발명의 일 실시예에 따른 복수의 디바이스(2000)에서 송신하는 통신패킷이 송신되는 컨텐션채널을 개략적으로 도시한다.3 schematically illustrates a contention channel through which communication packets transmitted from a plurality of devices 2000 according to an embodiment of the present invention are transmitted.

구체적으로, 도 3은 컨텐션채널만을 이용하여 복수의 디바이스(2000)가 통신을 수행하는 과정을 도시한다. 도 3에 도시된 빗금친 직사각형은 디바이스(2000)가 AP(1000)로 송신하는 통신패킷을 의미하고, 상기 통신패킷에 매겨진 문자는 해당 통신패킷을 송신한 디바이스(2000)를 구별하기 위해 기재한다. 예를 들어, 통신패킷a는 디바이스A(2000A)에서 송신한 통신패킷에 해당하고, 통신패킷b는 디바이스B(2000B)에서 송신한 통신패킷에 해당한다. 실제 본 발명에서는 통신패킷에 포함되는 식별번호를 통해 송신한 디바이스(2000)를 구별하는 것이 바람직하다.Specifically, FIG. 3 illustrates a process in which a plurality of devices 2000 perform communication using only the contention channel. The hatched rectangle shown in FIG. 3 means a communication packet transmitted from the device 2000 to the AP 1000, and the letters assigned to the communication packet are written to distinguish the device 2000 that transmitted the communication packet. . For example, communication packet a corresponds to a communication packet transmitted from device A (2000A), and communication packet b corresponds to a communication packet transmitted from device B (2000B). Actually, in the present invention, it is preferable to distinguish the transmitting device 2000 through an identification number included in a communication packet.

도 3에 도시된 바와 같이, AP(1000)는 기설정된 제1주기마다 디코딩을 수행함으로써 컨텐션충돌감지단계(S200)를 수행한다. 도 3에 도시된 첫번째 주기에서는 디바이스A(2000A)에 의하여 통신패킷a만이 송신되었기 때문에 상기 AP(1000)에서 성공적으로 디코딩을 수행할 수 있고, 해당 결과에 기초하여 상기 AP(1000)는 해당 주기동안 상기 컨텐션채널에서 충돌이 발생하지 않은 것으로 판단한다.As shown in FIG. 3, the AP 1000 performs the contention collision detection step (S200) by performing decoding for each predetermined first period. In the first cycle shown in FIG. 3, since only the communication packet a was transmitted by device A (2000A), the AP 1000 can successfully perform decoding, and based on the result, the AP 1000 performs the corresponding cycle During this period, it is determined that no collision has occurred in the contention channel.

한편, 다음 주기에서는 디바이스B, C, D(2000B, 2000C, 2000D)에 의하여 해당 주기 내에 통신패킷b, c, d가 송신되었고, 그 결과 상기 통신패킷b, c, d 간의 충돌이 발생하게 된다. 도 3에 도시된 바와 같이, 상기 통신패킷b, c, d가 정확하게 동시간에 송신된 것이 아닐지라도, 기설정된 제1주기 안에서 같이 송신되는 경우 충돌이 발생한 것으로 판단한다. 이와 같이, 해당 주기에서 통신패킷 간의 충돌이 발생하게 되면, 상기 AP(1000)는 디코딩에 실패하여 상기 통신패킷b, c, d를 정상적으로 수신할 수 없으며, 해당 결과에 기초하여 상기 AP(1000)는 상기 컨텐션채널에서 충돌이 발생한 것으로 판단한다.Meanwhile, in the next cycle, communication packets b, c, and d are transmitted by devices B, C, and D (2000B, 2000C, and 2000D) within the corresponding cycle, and as a result, collision between the communication packets b, c, and d occurs. . As shown in FIG. 3, even if the communication packets b, c, and d are not transmitted exactly at the same time, it is determined that a collision occurs when they are transmitted together within a preset first period. As such, when collisions between communication packets occur in a corresponding period, the AP 1000 fails to decode and cannot normally receive the communication packets b, c, and d, and based on the result, the AP 1000 determines that a collision has occurred in the contention channel.

이후, 다음 주기에서는 디바이스E(2000E)에 의하여 통신패킷e만이 해당 주기에서 상기 AP(1000)로 송신되었기 때문에, 상기 AP(1000)는 디코딩에 성공하여 상기 통신패킷e를 정상적으로 수신할 수 있고, 해당 주기에서는 상기 컨텐션채널에서 충돌이 발생하지 않은 것으로 판단한다.Then, in the next cycle, since only the communication packet e is transmitted to the AP 1000 by the device E 2000E in that cycle, the AP 1000 succeeds in decoding and can normally receive the communication packet e, In the corresponding period, it is determined that no collision has occurred in the contention channel.

전술한 바와 같이, 상기 AP(1000)는 디코딩주기에 따라 해당 주기 내에서 충돌발생여부를 판단하는 과정을 반복적으로 수행한다. 한편, 도 3에 도시된 바와 첫번째 제1주기와 세번째 제1주기를 참고하면, 해당 주기 내에 통신패킷이 언제 송신되는지는 상관없이, 해당 주기 내에 송신된 통신패킷의 경우 상기 AP(1000)가 정상적으로 수신할 수 있다. 또한 도 3에 도시된 idle 구간은 어떠한 통신패킷도 송신되지 않는 구간에 해당하며, 상기 idle구간이 적을수록 채널사용량이 늘어나지만, 충돌에 유연하게 대응하지 못해 통신효율이 떨어질 수 있다.As described above, the AP 1000 repeatedly performs a process of determining whether a collision occurs within a corresponding decoding period according to a decoding period. On the other hand, referring to the first period and the third period as shown in FIG. 3, regardless of when the communication packet is transmitted within the period, in the case of the communication packet transmitted within the period, the AP 1000 operates normally. can receive In addition, the idle period shown in FIG. 3 corresponds to a period in which no communication packets are transmitted. As the idle period decreases, the amount of channel usage increases, but communication efficiency may decrease due to inability to flexibly respond to collisions.

도 4는 본 발명의 일 실시예에 따른 충돌이 발생하였을 때의 충돌에 대응하는 방법의 수행단계를 개략적으로 도시한다.4 schematically illustrates the steps of performing a method for responding to a collision when a collision occurs according to an embodiment of the present invention.

구체적으로, 도 4는 도 3에 도시된 두 번째 주기를 참고하여, 충돌이 발생했을 때의 수행단계를 도시한다. 더 구체적으로, 슬리핑 모드로 동작하고 있는 디바이스(2000)가 웨이크업(S110) 한 뒤 이벤트가 발생(S120)하면, 해당 이벤트에 상응하는 통신패킷을 생성하고, 생성한 통신 패킷을 컨텐션채널을 이용하여 상기 AP(1000)로 송신(S130)한다. 이 때, 상기 디바이스(2000) 외의 다른 디바이스도 해당 시간에 통신패킷을 송신하면, 상기 컨텐션채널에는 충돌이 발생하게 되고, 상기 AP(1000)는 상기 디바이스(2000)가 송신한 통신패킷을 수신하지 못해 디코딩에 실패하게 된다.Specifically, FIG. 4 illustrates steps performed when a collision occurs with reference to the second cycle shown in FIG. 3 . More specifically, when the device 2000 operating in the sleeping mode wakes up (S110) and an event occurs (S120), a communication packet corresponding to the event is generated, and the generated communication packet is transmitted through a contention channel. is transmitted to the AP 1000 (S130). At this time, if a device other than the device 2000 also transmits a communication packet at that time, a collision occurs in the contention channel, and the AP 1000 receives the communication packet transmitted by the device 2000. Failure to do so will cause decoding to fail.

디코딩을 성공적으로 수행하지 못함으로써 상기 AP(1000)는 상기 컨텐션채널에 충돌이 발생하였음을 판단(S200)한다. 이후, 디바이스(2000)의 통신채널을 컨텐션채널에서 CRP채널로 변경하라는 정보를 포함하는 패킷을 브로드캐스팅(S300)한다. 액티브 모드로 동작하고 있던 상기 디바이스(2000)는 상기 브로드캐스팅을 수신하여 통신채널을 CRP채널로 변경(S410)하고, 변경된 통신채널을 통해, 상기 단계 S130에서 송신한 통신패킷을 상기 AP(1000)로 재송신(S420)할 수 있으며, 슬리핑 모드로 동작하고 있던 디바이스(2000)는 상기 브로드캐스팅을 수신하지 못하므로, 슬리핑 디바이스(2000)의 통신채널은 CRP채널로 변경되지 않는다.Since decoding is not successfully performed, the AP 1000 determines that a collision has occurred with the contention channel (S200). Thereafter, a packet including information to change the communication channel of the device 2000 from the contention channel to the CRP channel is broadcast (S300). The device 2000 operating in the active mode receives the broadcasting, changes the communication channel to the CRP channel (S410), and transmits the communication packet transmitted in step S130 to the AP 1000 through the changed communication channel. can be retransmitted (S420), and since the device 2000 operating in the sleeping mode cannot receive the broadcasting, the communication channel of the sleeping device 2000 is not changed to the CRP channel.

도 5는 본 발명의 일 실시예에 따른 채널고정명령단계(S320)의 수행과정을 개략적으로 도시한다.5 schematically illustrates a process of performing a channel fix command step (S320) according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 상기 채널변경명령단계(S300)는, 상기 AP(1000)에서, 상기 CRP채널 내에서의 충돌여부를 판단하는 CRP충돌감지단계(S310); 및 상기 AP(1000)에서, 상기 CRP채널 내에 충돌이 발생하는지 확인되면, 상기 컨텐션채널에서 충돌이 발생한 통신패킷을 송신한 디바이스(2000)에게 상기 컨텐션채널에서 상기 통신패킷을 재송신하라는 명령을 상기 컨텐션채널에서 브로드캐스팅하는 채널고정명령단계(S320);를 포함하고, 상기 디바이스(2000)는, 상기 재송신하라는 명령을 수신하면 상기 컨텐션채널을 통해 상기 통신패킷을 재송신하는 컨텐션재송신단계;를 수행한다.As shown in FIG. 5, the channel change command step (S300) includes a CRP collision detection step (S310) of determining whether or not there is a collision in the CRP channel in the AP (1000); and if it is confirmed that a collision occurs in the CRP channel, the AP 1000 issues a command to retransmit the communication packet through the contention channel to the device 2000 that transmitted the communication packet in which the collision occurred in the contention channel. and a channel fixing command step (S320) of broadcasting on the contention channel, wherein the device 2000 retransmits the communication packet through the contention channel when the device 2000 receives the command to retransmit. ;

개략적으로, 도 5는 컨텐션채널에서 충돌이 발생하여 AP(1000)에 의하여 T1에서 채널변경명령이 수행되고, 이후 컨텐션채널에서 다시 충돌이 발생한 경우, 상기 AP(1000)에 의해 T2에서 채널고정명령단계(S320)가 수행되는 과정을 도시한다.Schematically, FIG. 5 shows that when a collision occurs in the contention channel and a channel change command is performed by the AP 1000 in T1, and then a collision occurs again in the contention channel, the AP 1000 transmits a channel change command in T2. A process in which the fixed command step (S320) is performed is shown.

구체적으로, 도 5에 도시된 첫번째 주기에서 컨텐션채널을 통해 통신패킷 a, b, c가 동시에 송신되어 충돌이 발생되었고, 상기 AP(1000)는 T1에서 충돌을 감지하여 상기 통신패킷 a, b, c를 송신한 디바이스A, B, C(2000A, 2000B, 2000C)에게 통신채널을 CRP채널로 변경하라는 명령을 상기 컨텐션채널에 브로드캐스팅(S300)한다. 채널변경명령이 브로드캐스팅된 T1 이후, 디바이스(2000) A, B, C(2000A, 2000B, 2000C)는 자신의 통신패킷을 상기 CRP채널을 통해 송신하는 CRP재송신단계(S400)를 수행한다.Specifically, in the first cycle shown in FIG. 5, communication packets a, b, and c are simultaneously transmitted through the contention channel to cause a collision. A command to change the communication channel to the CRP channel is broadcast to the devices A, B, and C (2000A, 2000B, 2000C) that have transmitted c, on the contention channel (S300). After T1 when the channel change command is broadcast, the devices 2000 A, B, and C (2000A, 2000B, 2000C) perform a CRP retransmission step (S400) of transmitting their own communication packets through the CRP channel.

T1 이후 상기 컨텐션채널에서는 디바이스D(2000D)에 의하여 통신패킷d가 송신된다. 상기 디바이스D(2000D)는 T1 당시 슬리핑 모드로 동작하고 있었기 때문에, 상기 채널변경명령을 수신하지 못하였고, T1 이후 액티브모드로 전환되었기에 자신의 통신채널로 설정되어 있던 컨텐션채널을 통해 상기 통신패킷d를 상기 AP(1000)로 송신한다. 도 5에 도시된 두번째 제1주기에서는 충돌이 발생하지 않았기 때문에 상기 AP(1000)는 상기 통신패킷d를 성공적으로 수신할 수 있다.After T1, the communication packet d is transmitted by the device D (2000D) in the contention channel. Since the device D (2000D) was operating in the sleeping mode at the time of T1, it did not receive the channel change command, and since it was switched to the active mode after T1, the device D (2000D) received the communication packet through the contention channel set as its own communication channel. d is transmitted to the AP 1000. Since no collision occurs in the second first period shown in FIG. 5 , the AP 1000 can successfully receive the communication packet d.

한편, 도 5에 도시된 세번째 제1주기에서, 상기 컨텐션채널에는 디바이스E 및 F(2000E, 2000F)에 의하여 송신된 통신패킷e 및 f 간의 충돌이 발생된다. 일반적인 상황일 경우 T1에서의 AP(1000)와 같이, 상기 AP(1000)는 상기 디바이스E 및 F(2000E, 2000F)에게 채널변경명령을 송신하겠지만, 상기 AP(1000)는 T2에서 CRP충돌감지단계(S310)를 수행함으로써 상기 CRP채널에 충돌이 발생된 걸 감지할 수 있다.Meanwhile, in the third first cycle shown in FIG. 5, collisions between communication packets e and f transmitted by devices E and F (2000E and 2000F) occur in the contention channel. In a general situation, like the AP 1000 in T1, the AP 1000 transmits a channel change command to the devices E and F (2000E, 2000F), but the AP 1000 performs the CRP collision detection step in T2. By performing (S310), it is possible to detect that a collision has occurred in the CRP channel.

상기 AP(1000)에서 상기 CRP채널 내에 충돌이 발생한 것으로 판단하면, 이후 상기 AP(1000)는 상기 디바이스E 및 F(2000E, 2000F)에게 상기 컨텐션채널에서 상기 통신패킷을 재송신하라는 명령을 담은 패킷을 상기 컨텐션채널에 브로드캐스팅한다. 이 때 통신채널을 컨텐션채널로 하고 있으며 액티브 모드로 동작하고 있는 디바이스E 및 F(2000E, 2000F)는 상기 브로드캐스팅된 패킷을 수신할 수 있고, 통신채널을 CRP채널로 하고 있는 디바이스A, B, C(2000A, 2000B, 2000C)는 상기 브로드캐스팅된 패킷을 수신할 수 없다. 상기 채널고정명령을 수신한 상기 디바이스E 및 F(2000E, 2000F) 각각은 일정 시간 뒤에 다시 통신패킷e 및 f를 상기 컨텐션채널을 통해 송신한다. 상기 CRP충돌감지단계(S310)에 대한 보다 상세한 설명은 이하에서 후술하도록 한다.If the AP 1000 determines that a collision has occurred in the CRP channel, then the AP 1000 sends a packet containing a command to retransmit the communication packet to the devices E and F (2000E, 2000F) on the contention channel. is broadcast on the contention channel. At this time, devices E and F (2000E, 2000F) operating in an active mode with a contention channel as the communication channel can receive the broadcasted packet, and devices A and B with the CRP channel as the communication channel. , C (2000A, 2000B, 2000C) cannot receive the broadcast packet. Upon receiving the channel fix command, each of the devices E and F (2000E, 2000F) transmits communication packets e and f again through the contention channel after a predetermined time. A more detailed description of the CRP collision detection step (S310) will be described later.

한편, 전술한 바와 같이, 상기 AP(1000)는 특정 디바이스(2000)를 지목하여 명령을 송신하는 것이 아니라, 채널변경명령 혹은 채널고정명령을 브로드캐스팅하되 브로드캐스팅한 채널을 통신채널로 설정하고 있고, 액티브 모드로 동작하고 있는 디바이스(2000)만 수신할 수 있도록 구성함으로써, 상기 AP(1000)에서의 컴퓨팅 리소스를 감소시킬 수 있다 또한 충돌이 발생한 통신패킷을 송신한 디바이스(2000)의 통신채널은 CRP채널로 변경시킴으로써 통신패킷을 보내고자 하는 디바이스(2000)와 잠재적으로 통신패킷을 송신할 디바이스(2000)를 분리하는 효과를 발휘할 수 있고, 그 결과 통신패킷 간의 충돌을 감소시킬 수 있으며, 이를 통해 상기 통신시스템 내의 통신효율을 향상시키는 효과를 발휘할 수 있다.On the other hand, as described above, the AP 1000 does not transmit a command by pointing to a specific device 2000, but broadcasts a channel change command or a channel fix command, but sets the broadcast channel as a communication channel. However, by configuring so that only the device 2000 operating in the active mode can receive, computing resources in the AP 1000 can be reduced. In addition, the communication channel of the device 2000 that transmitted the communication packet in which the collision occurred is By changing to the CRP channel, it is possible to exert an effect of separating the device 2000 to send a communication packet from the device 2000 to potentially transmit a communication packet, and as a result, collision between communication packets can be reduced. It is possible to exert an effect of improving communication efficiency in the communication system.

도 6은 본 발명의 일 실시예에 따른 CRP충돌감지단계(S310)의 수행단계를 개략적으로 도시한다.6 schematically illustrates the steps of performing the CRP collision detection step (S310) according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 상기 CRP충돌감지단계(S310)는, 기설정된 제1기간동안 기설정된 횟수 이상 상기 채널변경명령단계(S300)가 수행된 경우, 통신채널을 상기 CRP채널로 변경한 디바이스(2000)가 많기 때문에 상기 CRP채널 내에서 충돌이 발생한다고 판단할 수 있으며, 혹은 상기 CRP충돌감지단계(S310)는, 기설정된 제2기간동안 상기 CRP채널을 통해 송신되는 통신패킷이 없는 경우, 통신채널을 상기 CRP채널로 변경한 디바이스(2000) 각각이 각자의 통신패킷을 모두 성공적으로 보냈다고 판단하여 상기 CRP채널 내에서 충돌이 발생하지 않는 것으로 판단한다.As shown in FIG. 6, the CRP collision detection step (S310) changes the communication channel to the CRP channel when the channel change command step (S300) is performed more than a predetermined number of times during a first predetermined period. Since there are many devices 2000, it can be determined that a collision occurs in the CRP channel, or in the CRP collision detection step (S310), when there is no communication packet transmitted through the CRP channel for a predetermined second period. , It is determined that each of the devices 2000 that changed the communication channel to the CRP channel has successfully sent all of their respective communication packets, and it is determined that no collision occurs within the CRP channel.

구체적으로, 상기 AP(1000)는 상기 컨텐션충돌감지단계(S200)를 통해 상기 컨텐션채널에서 통신패킷 간의 충돌이 발생했는지를 판단할 수 있다. 디코딩에 실패하여 컨텐션채널에서의 충돌을 감지한 AP(1000)는, 본 발명의 일 실시예로서, 도 6에 도시된 바와 같이, 후술하는 두 가지 단계(S311 내지 S312)를 통하여 CRP채널에서의 통신상태를 확인할 수 있다. 상기 단계 S311 내지 S312는 상기 CRP충돌감지단계(S310)에 포함된다.Specifically, the AP 1000 may determine whether a collision between communication packets has occurred in the contention channel through the contention collision detection step (S200). As an embodiment of the present invention, the AP 1000 that detects a collision in the contention channel due to decoding failure, as shown in FIG. 6, in the CRP channel through two steps (S311 to S312) described later You can check the communication status of The steps S311 and S312 are included in the CRP collision detection step (S310).

첫째로, 상기 AP(1000)는 채널변경명령단계(S300)가 기설정된 제1기간동안 기설정된 횟수 이상 수행되었는지를 카운팅(S311)한다. 바람직하게는, 상기 제1기간은 상기 제1주기가 여러차례 수행될 수 있는 시간에 해당한다. 더 구체적으로, 상기 AP(1000)는 상기 제1주기마다 상기 컨텐션충돌감지단계(S200) 및 채널변경명령단계(S300)를 수행할 수 있고, 그 결과 상기 기설정된 시간동안 상기 컨텐션충돌감지단계(S200) 및 채널변경명령단계(S300)를 반복적으로 수행할 수 있다. 이와 같이 상기 채널변경명령단계(S300)를 반복적으로 수행하였을 때, 상기 채널변경명령단계(S300)가 기설정된 횟수 이상 수행되었다면, 상기 AP(1000)는 통신채널을 CRP채널로 변경한 디바이스(2000)가 많기 때문에 상기 CRP채널 내에서 충돌이 발생할 수 있다고 판단할 수 있다.First, the AP 1000 counts (S311) whether the channel change command step (S300) has been performed more than a predetermined number of times during a first predetermined period. Preferably, the first period corresponds to a time during which the first cycle can be performed several times. More specifically, the AP 1000 may perform the contention collision detection step (S200) and the channel change command step (S300) for each of the first cycles, and as a result, the contention collision detection for the predetermined time period. Step (S200) and channel change command step (S300) may be repeatedly performed. In this way, when the channel change command step (S300) is repeatedly performed, if the channel change command step (S300) is performed more than a predetermined number of times, the AP (1000) changes the communication channel to the CRP channel (2000). ), it can be determined that a collision may occur in the CRP channel.

이와 같이, CRP채널에서 충돌이 발생할 수 있다고 AP(1000)가 판단하는 경우, 상기 AP(1000)는 해당 주기 내에서 충돌이 발생한 통신패킷을 송신한 디바이스(2000)에 대해, 채널변경명령단계(S300)를 수행하지 않고, 채널고정명령단계(S320)를 수행하여 상기 CRP채널에서 추가적인 충돌이 발생되는 것을 방지할 수 있다. 만약, 상기 단계 S311의 수행결과, 상기 제1기간 동안 상기 AP(1000)에 의하여 채널변경명령단계(S300)가 기설정된 횟수 미만으로 수행된 경우, 상기 AP(1000)는 해당 주기 내에서 충돌이 발생한 통신패킷을 송신한 디바이스(2000)에 대해, 채널변경명령단계(S300)를 수행한다.As such, when the AP 1000 determines that a collision may occur in the CRP channel, the AP 1000 sends a channel change command step ( It is possible to prevent an additional collision from occurring in the CRP channel by performing the channel fixing command step (S320) without performing S300). If, as a result of performing the step S311, if the channel change command step (S300) is performed less than a predetermined number of times by the AP 1000 during the first period, the AP 1000 has a collision within the period. For the device 2000 that transmitted the generated communication packet, a channel change command step (S300) is performed.

둘째로, 상기 AP(1000)는 기설정된 제2기간동안 상기 CRP채널을 통해 송신되는 통신패킷의 존재여부를 판단함으로써 상기 CRP채널에서의 통신상태를 파악(S312)한다. 더 구체적으로, 상기 CRP채널에서도 충돌이 발생하는 경우, 충돌이 발생한 통신패킷을 송신한 디바이스(2000)들은 일정 시간을 두고 다시 해당 통신패킷을 재송신한다. 이와 같이, CRP채널을 통신채널로 하는 디바이스(2000)들은 자체적으로 송신시기를 조절함으로써, CRP채널에서의 충돌을 해결할 수 있다.Second, the AP 1000 determines the communication state in the CRP channel by determining whether there is a communication packet transmitted through the CRP channel for a predetermined second period (S312). More specifically, when a collision also occurs in the CRP channel, the devices 2000 that have transmitted the communication packet in which the collision occurred retransmit the corresponding communication packet after a certain period of time. In this way, the devices 2000 using the CRP channel as a communication channel can solve the collision in the CRP channel by adjusting the transmission timing on their own.

즉, 상기 CRP채널에서 송신하고 있는 디바이스(2000)가 존재하는 경우, 상기 AP(1000)는 지속적으로 상기 CRP채널을 통해 통신패킷을 수신할 수 있으며, 상기 CRP채널에서의 충돌이 해결된 경우, 상기 AP(1000)는 상기 CRP채널을 통해 통신패킷을 더 수신할 수 없다. 따라서, 상기 AP(1000)는, 상기 제2기간동안 통신패킷을 수신하지 않는 경우, CRP채널로 통신패킷을 송신하는 디바이스(2000)가 없다고 판단할 수 있으며, 상기 컨텐션채널에서 충돌이 발생한 통신패킷을 송신한 디바이스(2000)에게 채널변경명령을 브로드캐스팅하는 채널변경명령단계(S300)를 수행한다.That is, when there is a device 2000 transmitting on the CRP channel, the AP 1000 can continuously receive communication packets through the CRP channel, and when the collision in the CRP channel is resolved, The AP 1000 cannot receive any more communication packets through the CRP channel. Accordingly, when the AP 1000 does not receive a communication packet during the second period, it may be determined that there is no device 2000 transmitting a communication packet through the CRP channel, and a communication in which a collision occurs in the contention channel A channel change command step (S300) of broadcasting a channel change command to the device 2000 that has transmitted the packet is performed.

만약, 상기 AP(1000)가 상기 제2기간동안 상기 CRP채널을 통해 통신패킷을 수신하였다면, 상기 AP(1000)는 채널변경을 수행하였을 때, 통신채널을 CRP채널로 하는 디바이스(2000)가 늘어나게 되어 상기 CRP채널의 부하가 증가할 것으로 판단하고, 상기 컨텐션채널에서 충돌이 발생한 통신패킷을 송신한 디바이스(2000)들에게 채널고정명령을 브로드캐스팅하는 채널고정명령단계(S320)를 수행한다.If the AP 1000 receives a communication packet through the CRP channel during the second period, when the AP 1000 performs a channel change, the number of devices 2000 using the CRP channel as the communication channel increases. Therefore, it is determined that the load of the CRP channel will increase, and a channel fixation command step (S320) of broadcasting a channel fixation command to devices 2000 that have transmitted communication packets in which collisions occur in the contention channel is performed.

전술한 바와 같이, 상기 CRP충돌감지단계(S310)는 2가지 방법을 통해 CRP채널의 통신상태를 파악할 수 있다. 본 발명의 일 실시예에 따르면, 상기 AP(1000)는 상기 단계 S311 및 단계 S312를 모두 수행하여 상기 CRP채널의 통신상태를 파악하는 것이 바람직하며, 본 발명의 다른 실시예에 따르면, 상기 단계 S311 혹은 단계 S312 중 하나만을 사용하여 상기 CRP채널의 통신상태를 파악할 수 있다.As described above, the CRP collision detection step (S310) can determine the communication state of the CRP channel through two methods. According to an embodiment of the present invention, it is preferable that the AP 1000 perform both steps S311 and S312 to determine the communication state of the CRP channel. According to another embodiment of the present invention, the step S311 Alternatively, the communication state of the CRP channel may be grasped using only one of step S312.

도 7은 본 발명의 일 실시예에 따른 복수의 CRP채널에 대하여 수행되는 채널변경명령단계(S300)의 수행과정을 개략적으로 도시한다.7 schematically illustrates a process of performing a channel change command step (S300) performed for a plurality of CRP channels according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 상기 CRP채널은 각각 통신대역이 상이한 제1CRP채널, 제2CRP채널, 및 제3CRP채널을 포함하고, 상기 채널변경명령단계(S300)는, 상기 AP(1000)에서, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스(2000)에게 통신채널을 상기 컨텐션채널에서 제1CRP채널로 변경하라는 명령을 브로드캐스팅하는 제1채널변경명령단계(S330); 상기 AP(1000)에서 상기 컨텐션채널 및 상기 제1CRP채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스(2000)에게 통신채널을 상기 컨텐션채널에서 제2CRP채널로 변경하라는 명령을 브로드캐스팅하는 제2채널변경명령단계(S340); 및 상기 AP(1000)에서 상기 컨텐션채널, 상기 제1CRP채널, 및 상기 제2CRP채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스(2000)에게 통신채널을 상기 컨텐션채널에서 제3CRP채널로 변경하라는 명령을 브로드캐스팅하는 제3채널변경명령단계(S350);를 포함한다.As shown in FIG. 7, the CRP channel includes a first CRP channel, a second CRP channel, and a third CRP channel having different communication bands, and the channel change command step (S300), in the AP 1000, When a collision between communication packets occurring within the contention channel is detected, a first channel change command step of broadcasting a command to change the communication channel from the contention channel to the first CRP channel to the device 2000 in which the collision occurred ( S330); When the AP 1000 detects a collision between communication packets generated in the contention channel and the first CRP channel, a command to change the communication channel from the contention channel to the second CRP channel to the device 2000 in which the collision occurs a second channel change command step of broadcasting (S340); And when the AP 1000 detects a collision between communication packets generated in the contention channel, the first CRP channel, and the second CRP channel, the communication channel is assigned to the device 2000 in which the collision occurred in the contention channel. and a third channel change command step (S350) of broadcasting a command to change to a third CRP channel.

구체적으로, 도 7은, 본 발명의 일 실시예로서, 3개의 CRP채널이 존재하는 경우, 본 발명의 충돌에 대응하는 방법이 수행되는 과정을 도시한다. 한편, 이하에서의 설명에서는 설명의 편의를 위하여 CRP채널의 수를 3개로 가정하고 서술하겠으나, 실제 발명에서는 이에 한정하지 않고, 관리자 혹은 설계자가 해당 통신시스템의 통신환경을 고려하여 CRP채널의 수를 설정할 수 있다.Specifically, FIG. 7, as an embodiment of the present invention, shows a process in which a method for responding to a collision of the present invention is performed when there are three CRP channels. Meanwhile, in the following description, the number of CRP channels is assumed to be 3 for convenience of description, but in the actual invention, the present invention is not limited thereto, and the manager or designer may set the number of CRP channels in consideration of the communication environment of the corresponding communication system. can be set

도 7에 도시된 바와 같이, 컨텐션채널의 첫번째 제1주기에서 통신패킷a, b, c 간의 충돌이 발생한 경우, 상기 AP(1000)는 T1에서 컨텐션충돌감지단계(S200)를 수행하고, 이후 해당 주기 동안 상기 통신패킷a, b, c를 송신한 디바이스A, B, C(2000A, 2000B, 2000C)로 하여금 통신채널을 컨텐션채널에서 제1CRP채널로 변경하라는 명령을 상기 컨텐션채널에 브로드캐스팅하는 제1채널변경명령단계(S330)를 수행한다. 상기 브로드캐스팅을 수신한 상기 디바이스A, B, C(2000A, 2000B, 2000C)는 통신채널을 상기 제1CRP채널로 변경하고 상기 통신패킷a, b, c를 상기 제1CRP채널을 통해 상기 AP(1000)로 재송신한다.As shown in FIG. 7, when a collision between communication packets a, b, and c occurs in the first period of the contention channel, the AP 1000 performs the contention collision detection step (S200) in T1, Thereafter, devices A, B, and C (2000A, 2000B, and 2000C) that have transmitted the communication packets a, b, and c during the corresponding period send a command to change the communication channel from the contention channel to the first CRP channel to the contention channel. The broadcasting first channel change command step (S330) is performed. Upon receiving the broadcasting, the devices A, B, and C (2000A, 2000B, and 2000C) change the communication channel to the first CRP channel and transmit the communication packets a, b, and c to the AP 1000 through the first CRP channel. ) is resent.

한편, 도 7의 제1CRP채널에 도시된 바와 같이, T2를 기준으로 상기 제1CRP채널에서도 충돌이 발생할 수 있고, 이와 동시에, 상기 컨텐션 채널의 두번째 제1주기에서 통신패킷d, e, f 간의 충돌이 발생할 수 있다. 즉, T2에서 상기 AP(1000)는 컨텐션충돌감지단계(S200) 및 제1CRP충돌감지단계(S310)를 수행하여 상기 컨텐션채널과 상기 제1CRP채널에서 충돌을 감지할 수 있고, 이에 대응하기 위하여 해당 주기(도 7에서는 두번째 제1주기) 동안 상기 통신패킷d, e, f를 송신한 디바이스D, E, F(2000D, 2000E, 2000F)로 하여금 통신채널을 컨텐션채널에서 제2CRP채널로 변경하라는 명령을 상기 컨텐션채널에 브로드캐스팅하는 제2채널변경명령단계(S340)를 수행한다. 상기 브로드캐스팅을 수신한 상기 디바이스D, E, F(2000D, 2000E, 2000F)는 통신채널을 상기 제2CRP채널로 변경하고, 상기 통신패킷d, e, f를 상기 제2CRP채널을 이용하여 상기 AP(1000)로 재송신한다.On the other hand, as shown in the first CRP channel of FIG. 7, a collision may also occur in the first CRP channel based on T2, and at the same time, between communication packets d, e, and f in the second first cycle of the contention channel. A collision may occur. That is, in T2, the AP 1000 may detect a collision between the contention channel and the first CRP channel by performing the contention collision detection step (S200) and the first CRP collision detection step (S310), and responding thereto In order to do so, the devices D, E, and F (2000D, 2000E, 2000F) that transmitted the communication packets d, e, and f during the corresponding period (the second and first periods in FIG. 7) change the communication channel from the contention channel to the second CRP channel. A second channel change command step (S340) of broadcasting a change command to the contention channel is performed. The devices D, E, and F (2000D, 2000E, 2000F) receiving the broadcasting change the communication channel to the second CRP channel, and transmit the communication packets d, e, and f to the AP using the second CRP channel. Retransmit to (1000).

한편, 도 7의 제2CRP채널에 도시된 바와 같이, T3를 기준으로 상기 제1CRP채널 및 제2CRP채널에서도 충돌이 발생할 수 있고, 이와 동시에, 상기 컨텐션채널의 세번째 제1주기에서 통신패킷g, h, i 간의 충돌이 발생할 수 있다. T3에서 상기 AP(1000)는 컨텐션충돌감지단계(S200), 제1CRP충돌감지단계(S310), 및 제2CRP충돌감지단계(S310)를 수행하여 상기 컨텐션채널, 상기 제1CRP채널, 및 상기 제2CRP채널에서 충돌을 감지할 수 있고, 이후 해당 주기(도 7에서는 세번째 제1주기) 동안 상기 통신패킷g, h, i를 송신한 디바이스G, H, I(2000G, 2000H, 2000I)로 하여금 통신채널을 컨텐션채널에서 제3CRP채널로 변경하라는 명령을 상기 컨텐션채널에 브로드캐스팅하는 제3채널변경명령단계(S350)를 수행한다. 상기 브로드캐스팅을 수신한 상기 디바이스G, H, I(2000G, 2000H, 2000I)는 통신채널을 상기 제3CRP채널로 변경하고, 상기 제3CRP채널을 이용하여 상기 통신패킷 g, h, i를 상기 AP(1000)로 재송신한다.On the other hand, as shown in the 2nd CRP channel of FIG. 7, collisions may also occur in the 1st CRP channel and the 2nd CRP channel based on T3, and at the same time, in the first cycle of the contention channel, communication packets g, A collision between h and i may occur. At T3, the AP 1000 performs the contention collision detection step (S200), the first CRP collision detection step (S310), and the second CRP collision detection step (S310) to determine the contention channel, the first CRP channel, and the A collision can be detected in the second CRP channel, and then the devices G, H, I (2000G, 2000H, 2000I) that transmitted the communication packets g, h, and i during the corresponding period (the third and first period in FIG. 7) cause A third channel change command step (S350) of broadcasting a command to change the communication channel from the contention channel to the third CRP channel is performed on the contention channel. The devices G, H, and I (2000G, 2000H, and 2000I) receiving the broadcasting change the communication channel to the 3rd CRP channel, and transmit the communication packets g, h, and i to the AP using the 3rd CRP channel. Retransmit to (1000).

전술한 바와 같이, 상기 AP(1000)는 상기 컨텐션채널 및 복수의 채널을 활용하여 각 채널의 부하를 줄이고 채널 사용률을 극대화할 수 있으며, 다수의 디바이스(2000)에 의하여 증가하는 통신패킷 간의 충돌에 유연하게 대응할 수 있는 효과를 발휘할 수 있다. 또한, 복수의 CRP채널을 운용함으로써, 통신시스템 내에 디바이스(2000)가 증가하거나 혹은 통신 사용량이 증가하더라도 이에 유연하게 대처할 수 있는 효과를 발휘할 수 있다. 추가적으로, 컨텐션채널의 경우 AP(1000)가 통제할 수 있는 권한이 적어, 컨텐션채널만 운용되었을 때, AP(1000)에 의하여 상기 컨텐션채널에서 발생하는 충돌을 제어하기가 어려웠던 반면, 상기 AP(1000)에서 생성하는 명령을 통해 CRP채널로 통신채널을 변경한 디바이스(2000)들은 상기 AP(1000)를 통해 어느정도 제어가 가능하기 때문에, 종래의 언슬롯티드 알로하 통신 방식의 가장 큰 문제점인 충돌 문제를 일정 부분 해소할 수 있는 효과를 발휘할 수 있다.As described above, the AP (1000) can reduce the load of each channel and maximize the channel utilization rate by utilizing the contention channel and a plurality of channels, and collisions between communication packets increased by the plurality of devices (2000). can exert the effect of being able to respond flexibly to In addition, by operating a plurality of CRP channels, even if the number of devices 2000 in the communication system increases or communication usage increases, an effect of flexibly coping with this can be exerted. Additionally, in the case of the contention channel, the AP (1000) has little authority to control, so when only the contention channel was operated, it was difficult for the AP (1000) to control collisions occurring in the contention channel. Since the devices 2000 that change the communication channel to the CRP channel through the command generated by the AP 1000 can be controlled to some extent through the AP 1000, the biggest problem of the conventional unslotted Aloha communication method is It can exert an effect that can partially solve the collision problem.

도 8은 본 발명의 일 실시예에 따른 채널도출단계(S600)의 수행과정을 개략적으로 도시한다.8 schematically illustrates the process of deriving a channel (S600) according to an embodiment of the present invention.

도 8에 도시된 바와 같이, 상기 충돌에 대응하는 방법은, 상기 제1채널변경명령단계(S330), 상기 제2채널변경명령단계(S340), 및 상기 제3채널변경명령단계(S350)를 순차적으로 수행한 AP(1000)에 의하여 수행되는, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 기설정된 제2주기에 해당하는 기간 동안 상기 CRP채널에서 가장 충돌이 적게 발생한 채널을 도출하는 채널도출단계(S600);를 더포함하고, 상기 채널변경명령단계(S300)는, 충돌이 일어난 통신패킷을 송신한 디바이스(2000)에게 통신채널을 상기 채널도출단계(S600)에서 도출된 채널로 변경하라는 명령을 브로드캐스팅한다.As shown in FIG. 8, the method for responding to the collision includes the first channel change command step (S330), the second channel change command step (S340), and the third channel change command step (S350). When a collision between communication packets generated in the contention channel, which is performed by the sequentially performing AP 1000, is detected, the channel with the least collision among the CRP channels during the period corresponding to the preset second cycle is selected. Deriving a channel derivation step (S600); further comprising, the channel change command step (S300), the communication channel to the device 2000 that transmitted the communication packet in which the collision occurred, the derived in the channel derivation step (S600) Broadcasts a command to change to a channel.

구체적으로, 도 8의 (a)에 도시된 바와 같이, AP(1000)는 기설정된 제2주기동안 상기 제1채널변경명령단계(S330), 상기 제2채널변경명령단계(S340), 및 상기 제3채널변경명령단계(S350)를 순차적으로 수행한다. 다시 말해, 상기 AP(1000)는 컨텐션채널에 충돌이 발생하는 경우, 충돌이 발생한 통신패킷을 송신하는 디바이스(2000)들에 대하여, 처음에는 제1CRP채널로 통신채널을 변경하라는 명령을 컨텐션채널에 브로드캐스팅하고, 그 다음에는 제2CRP채널로 통신채널을 변경하라는 명령을 컨텐션채널에 브로드캐스팅하고, 그 다음에는 제3CRP채널로 통신채널을 변경하라는 명령을 컨텐션채널에 브로드캐스팅하며, 이후에는 다시 제1CRP채널로 통신채널을 변경하라는 명령을 컨텐션채널에 브로드캐스팅한다. 이와 같은 순환과정을 상기 제2주기동안에 해당하는 기간동안 수행하면, 상기 AP(1000)는 상기 제1 내지 제3CRP채널 중 가장 충돌이 적게 발생한 채널을 도출하는 채널도출단계(S600)를 수행한다.Specifically, as shown in (a) of FIG. 8, the AP 1000 performs the first channel change command step (S330), the second channel change command step (S340), and the The third channel change command step (S350) is sequentially performed. In other words, when a collision occurs on the contention channel, the AP 1000 first sends a command to change the communication channel to the first CRP channel to the devices 2000 that transmit the communication packets in which the collision occurred. broadcast to the contention channel, then broadcast a command to change the communication channel to the second CRP channel to the contention channel, and then broadcast a command to change the communication channel to the third CRP channel to the contention channel; Thereafter, a command to change the communication channel to the first CRP channel is broadcast to the contention channel. When such a circular process is performed for a period corresponding to the second period, the AP 1000 performs a channel derivation step (S600) of deriving a channel with the least collision among the first to third CRP channels.

상기 채널도출단계(S600)는 도 8의 (b)에 도시된 바와 같이, 각 CRP채널에서 상기 제2주기동안 발생한 충돌횟수를 도출한 뒤, 이 중 가장 충돌이 적게 발생한 채널을 도출한다. 이후 컨텐션채널에서 충돌이 발생하는 경우, 상기 AP(1000)는 상기 채널도출단계(S600)에서 도출된 가장 적게 충돌이 발생한 채널로 통신채널을 변경하라는 명령을 컨텐션채널에 브로드캐스팅하고, 이후에는 그 다음으로 적게 충돌이 발생한 채널로 통신채널을 변경하라는 명령을 컨텐션채널에 브로드캐스팅한다. 도 8의 (b)에 도시된 본 발명의 일 실시예에 따르면, 상기 AP(1000)는 제2CRP채널로 통신채널을 변경하라는 명령을 브로드캐스팅한다. 상기 채널도출단계(S600)는 상기 제2주기마다 수행되는 것이 바람직하다.In the channel derivation step (S600), as shown in (b) of FIG. 8, after deriving the number of collisions occurring during the second period in each CRP channel, a channel with the least collision among them is deduced. Subsequently, when a collision occurs in the contention channel, the AP 1000 broadcasts a command to change the communication channel to the channel with the least collision derived in the channel derivation step (S600) to the contention channel, and then , a command to change the communication channel to the channel with the next least collision is broadcast to the contention channel. According to an embodiment of the present invention shown in (b) of FIG. 8, the AP 1000 broadcasts a command to change a communication channel to the second CRP channel. Preferably, the channel derivation step (S600) is performed every second cycle.

도 9은 본 발명의 일 실시예에 따른 컴퓨팅장치의 내부 구성을 개략적으로 도시한다.9 schematically illustrates the internal configuration of a computing device according to an embodiment of the present invention.

도 1에 도시된 AP 및 디바이스의 전체 혹은 일부는 후술하는 도 9에 도시된 컴퓨팅장치의 구성요소를 포함할 수 있다. All or part of the AP and device shown in FIG. 1 may include components of a computing device shown in FIG. 9 described later.

도 9에 도시한 바와 같이, 컴퓨팅장치(11000)은 적어도 하나의 프로세서(processor)(11100), 메모리(memory)(11200), 주변장치 인터페이스(peripheral interface)(11300), 입/출력 서브시스템(I/O subsystem)(11400), 전력 회로(11500) 및 통신 회로(11600)를 적어도 포함할 수 있다. As shown in FIG. 9, a computing device 11000 includes at least one processor 11100, a memory 11200, a peripheral interface 11300, an input/output subsystem ( It may include at least an I/O subsystem (11400), a power circuit (11500), and a communication circuit (11600).

구체적으로, 상기 메모리(11200)는, 일례로 고속 랜덤 액세스 메모리(high-speed random access memory), 자기 디스크, 에스램(SRAM), 디램(DRAM), 롬(ROM), 플래시 메모리 또는 비휘발성 메모리를 포함할 수 있다. 상기 메모리(11200)는 상기 컴퓨팅장치(11000)의 동작에 필요한 소프트웨어 모듈, 명령어 집합 또는 그 밖에 다양한 데이터를 포함할 수 있다. Specifically, the memory 11200 is, for example, a high-speed random access memory (high-speed random access memory), a magnetic disk, SRAM (SRAM), DRAM (DRAM), ROM (ROM), flash memory or non-volatile memory can include The memory 11200 may include a software module, a command set, or other various data necessary for the operation of the computing device 11000.

이때, 상기 프로세서(11100)나 상기 주변장치 인터페이스(11300) 등의 다른 컴포넌트에서 상기 메모리(11200)에 액세스하는 것은 상기 프로세서(11100)에 의해 제어될 수 있다. 상기 프로세서(11100)은 단일 혹은 복수로 구성될 수 있고, 연산처리속도 향상을 위하여 GPU 및 TPU 형태의 프로세서를 포함할 수 있다. In this case, access to the memory 11200 from other components, such as the processor 11100 or the peripheral device interface 11300, may be controlled by the processor 11100. The processor 11100 may be composed of single or multiple processors, and may include GPU and TPU type processors in order to improve calculation processing speed.

상기 주변장치 인터페이스(11300)는 상기 컴퓨팅장치(11000)의 입력 및/또는 출력 주변장치를 상기 프로세서(11100) 및 상기 메모리 (11200)에 결합시킬 수 있다. 상기 프로세서(11100)는 상기 메모리(11200)에 저장된 소프트웨어 모듈 또는 명령어 집합을 실행하여 상기 컴퓨팅장치(11000)을 위한 다양한 기능을 수행하고 데이터를 처리할 수 있다. The peripheral interface 11300 may couple input and/or output peripherals of the computing device 11000 to the processor 11100 and the memory 11200 . The processor 11100 may execute a software module or instruction set stored in the memory 11200 to perform various functions for the computing device 11000 and process data.

상기 입/출력 서브시스템(11400)은 다양한 입/출력 주변장치들을 상기 주변장치 인터페이스(11300)에 결합시킬 수 있다. 예를 들어, 상기 입/출력 서브시스템(11400)은 모니터나 키보드, 마우스, 프린터 또는 필요에 따라 터치스크린이나 센서 등의 주변장치를 상기 주변장치 인터페이스(11300)에 결합시키기 위한 컨트롤러를 포함할 수 있다. 다른 측면에 따르면, 상기 입/출력 주변장치들은 상기 입/출력 서브시스템(11400)을 거치지 않고 상기 주변장치 인터페이스(11300)에 결합될 수도 있다. The input/output subsystem 11400 can couple various input/output peripherals to the peripheral interface 11300. For example, the input/output subsystem 11400 may include a controller for coupling a peripheral device such as a monitor, keyboard, mouse, printer, or touch screen or sensor to the peripheral device interface 11300 as needed. there is. According to another aspect, the peripheral input/output devices may be coupled to the peripheral device interface 11300 without going through the input/output subsystem 11400.

상기 전력 회로(11500)는 단말기의 컴포넌트의 전부 또는 일부로 전력을 공급할 수 있다. 예를 들어 상기 전력 회로(11500)는 전력 관리 시스템, 배터리나 교류(AC) 등과 같은 하나 이상의 전원, 충전 시스템, 전력 실패 감지 회로(power failure detection circuit), 전력 변환기나 인버터, 전력 상태 표시자 또는 전력 생성, 관리, 분배를 위한 임의의 다른 컴포넌트들을 포함할 수 있다. The power circuit 11500 may supply power to all or some of the terminal's components. For example, the power circuit 11500 may include a power management system, one or more power sources such as a battery or alternating current (AC), a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator, or It may include any other components for power generation, management and distribution.

상기 통신 회로(11600)는 적어도 하나의 외부 포트를 이용하여 다른 컴퓨팅장치와 통신을 가능하게 할 수 있다. 또는, 상술한 바와 같이 필요에 따라 상기 통신 회로(11600)는 RF 회로를 포함하여 전자기 신호(electromagnetic signal)라고도 알려진 RF 신호를 송수신함으로써, 다른 컴퓨팅장치와 통신을 가능하게 할 수도 있다. The communication circuit 11600 may enable communication with another computing device using at least one external port. Alternatively, as described above, the communication circuit 11600 may include an RF circuit and transmit/receive an RF signal, also known as an electromagnetic signal, to enable communication with another computing device.

이러한 도 9의 실시예는, 상기 컴퓨팅장치(11000)의 일례일 뿐이고, 상기 컴퓨팅장치(11000)는 도 9에 도시된 일부 컴포넌트가 생략되거나, 도 9에 도시되지 않은 추가의 컴포넌트를 더 구비하거나, 2 개 이상의 컴포넌트를 결합시키는 구성 또는 배치를 가질 수 있다. 예를 들어, 모바일 환경의 통신 단말을 위한 컴퓨팅장치는 도 9에 도시된 컴포넌트들 외에도, 터치스크린이나 센서 등을 더 포함할 수도 있으며, 상기 통신 회로(1160)에 다양한 통신방식(Wi-Fi, 3G, LTE, Bluetooth, NFC, Zigbee 등)의 RF 통신을 위한 회로가 포함될 수도 있다. 상기 컴퓨팅장치(11000)에 포함 가능한 컴포넌트들은 하나 이상의 신호 처리 또는 어플리케이션에 특화된 집적 회로를 포함하는 하드웨어, 소프트웨어, 또는 하드웨어 및 소프트웨어 양자의 조합으로 구현될 수 있다. The embodiment of FIG. 9 is only an example of the computing device 11000, and the computing device 11000 may omit some components shown in FIG. 9 or may further include additional components not shown in FIG. , may have a configuration or arrangement that combines two or more components. For example, a computing device for a communication terminal in a mobile environment may further include a touch screen or a sensor in addition to the components shown in FIG. 9 , and the communication circuit 1160 may include various communication methods (Wi-Fi, A circuit for RF communication of 3G, LTE, Bluetooth, NFC, Zigbee, etc.) may be included. Components that may be included in the computing device 11000 may be implemented as hardware including one or more signal processing or application-specific integrated circuits, software, or a combination of both hardware and software.

본 발명의 실시예에 따른 방법들은 다양한 컴퓨팅장치를 통하여 수행될 수 있는 프로그램 명령(instruction) 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 특히, 본 실시예에 따른 프로그램은 PC 기반의 프로그램 또는 모바일 단말 전용의 어플리케이션으로 구성될 수 있다. 본 발명이 적용되는 어플리케이션은 파일 배포 시스템이 제공하는 파일을 통해 이용자 단말에 설치될 수 있다. 일 예로, 파일 배포 시스템은 이용자 단말이기의 요청에 따라 상기 파일을 전송하는 파일 전송부(미도시)를 포함할 수 있다. Methods according to embodiments of the present invention may be implemented in the form of program instructions that can be executed through various computing devices and recorded in computer readable media. In particular, the program according to the present embodiment may be composed of a PC-based program or a mobile terminal-specific application. An application to which the present invention is applied may be installed in a user terminal through a file provided by a file distribution system. For example, the file distribution system may include a file transmission unit (not shown) that transmits the file according to a request of a user terminal.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 컨트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 컨트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다. The device described above may be implemented as a hardware component, a software component, and/or a combination of hardware components and software components. For example, devices and components described in the embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA) , a programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. The processing device may run an operating system (OS) and one or more software applications running on the operating system. A processing device may also access, store, manipulate, process, and generate data in response to execution of software. For convenience of understanding, there are cases in which one processing device is used, but those skilled in the art will understand that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that it can include. For example, a processing device may include a plurality of processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로 (collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨팅장치 상에 표준편차되어서, 표준편차된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다. Software may include a computer program, code, instructions, or a combination of one or more of the foregoing, which configures a processing device to operate as desired or processes independently or collectively. You can command the device. Software and/or data may be any tangible machine, component, physical device, virtual equipment, computer storage medium or device, intended to be interpreted by or to provide instructions or data to a processing device. , or may be permanently or temporarily embodied in a transmitted signal wave. Software may be standardized on a networked computing device and stored or executed in a standardized manner. Software and data may be stored on one or more computer readable media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program commands recorded on the medium may be specially designed and configured for the embodiment or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. - includes hardware devices specially configured to store and execute program instructions, such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of program instructions include high-level language codes that can be executed by a computer using an interpreter, as well as machine language codes such as those produced by a compiler. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

본 발명의 일 실시예에 따르면, 현재 통신패킷을 송신하고자 하는 디바이스와 잠재적으로 통신패킷을 송신할 디바이스를 분리함으로써 통신패킷 간의 충돌을 감소시킬 수 있으며, 통신시스템 내의 통신효율을 향상시키는 효과를 발휘할 수 있다.According to an embodiment of the present invention, collisions between communication packets can be reduced by separating a device that currently wants to transmit a communication packet from a device that will potentially transmit a communication packet, and can exert an effect of improving communication efficiency in a communication system. can

본 발명의 일 실시예에 따르면, 부하가 증가할수록 통신패킷의 충돌 횟수가 늘어나서 해당 채널 사용률이 감소되는 것을 방지하는 효과를 발휘할 수 있다.According to an embodiment of the present invention, as the load increases, the number of collisions of communication packets increases, thereby preventing a corresponding channel usage rate from decreasing.

본 발명의 일 실시예에 따르면, 복수의 CRP채널을 운용함으로써, 통신시스템 내에 디바이스가 증가하거나 혹은 통신량이 증가하더라도, 이에 유연하게 대처할 수 있는 효과를 발휘할 수 있다.According to an embodiment of the present invention, by operating a plurality of CRP channels, even if the number of devices or the amount of communication increases in a communication system, it is possible to flexibly cope with this.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다. 그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.As described above, although the embodiments have been described with limited examples and drawings, those skilled in the art can make various modifications and variations from the above description. For example, the described techniques may be performed in an order different from the method described, and/or components of the described system, structure, device, circuit, etc. may be combined or combined in a different form than the method described, or other components may be used. Or even if it is replaced or substituted by equivalents, appropriate results can be achieved. Therefore, other implementations, other embodiments, and equivalents of the claims are within the scope of the following claims.

Claims (6)

복수의 디바이스 및 AP를 포함하고, 언슬롯티드 알로하(unslotted aloha) 방식으로 통신하는 통신시스템에서 발생되는 통신패킷 간의 충돌에 대응하는 방법으로서,
상기 디바이스에서, 발생된 이벤트에 상응하는 통신패킷을 생성하고, 컨텐션채널을 이용하여 상기 통신패킷을 상기 AP로 송신하는 패킷송신단계;
상기 AP에서, 기설정된 제1주기로 디코딩을 수행하되, 디코딩수행결과에 기초하여 상기 컨텐션채널 내에서 발생되는 통신패킷 간의 충돌을 감지하는 컨텐션충돌감지단계;
상기 AP에서, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, CRP채널 내의 통신상태를 파악한 뒤, 충돌이 일어난 패킷을 송신한 디바이스에게 통신채널을 컨텐션채널에서 CRP채널로 변경하라는 명령을 상기 컨텐션채널에서 브로드캐스팅하는 채널변경명령단계; 및
상기 디바이스에서, 상기 명령을 수신하면 상기 AP로 송신하는 통신패킷의 통신채널을 컨텐션채널에서 CRP채널로 변경하고, 상기 CRP채널을 통해 상기 통신패킷을 상기 AP로 재송신하는 CRP재송신단계;를 포함하고,
상기 디바이스는, 상기 CRP채널을 통해 송신한 통신패킷이 성공적으로 상기 AP로 송신되는 경우, 상기 디바이스의 통신채널을 컨텐션채널로 다시 변경하고,
상기 채널변경명령단계는,
상기 AP에서, 상기 CRP채널 내에서의 충돌여부를 판단하는 CRP충돌감지단계; 및
상기 AP에서, 상기 CRP채널 내에 충돌이 발생하는지 확인되면, 상기 컨텐션채널에서 충돌이 발생한 통신패킷을 송신한 디바이스에게 상기 컨텐션채널에서 상기 통신패킷을 재송신하라는 명령을 상기 컨텐션채널에서 브로드캐스팅하는 채널고정명령단계;를 포함하고,
상기 디바이스는, 상기 재송신하라는 명령을 수신하면 상기 컨텐션채널을 통해 상기 통신패킷을 재송신하는 컨텐션재송신단계;를 수행하고,
상기 CRP충돌감지단계는,
기설정된 제1기간동안 기설정된 횟수 이상 상기 채널변경명령단계가 수행된 경우, 통신채널을 상기 CRP채널로 변경한 디바이스가 많기 때문에 상기 CRP채널 내에서 충돌이 발생한다고 판단하는, 충돌에 대응하는 방법.
As a method for responding to collisions between communication packets generated in a communication system that includes a plurality of devices and APs and communicates in an unslotted aloha manner,
a packet transmission step of generating a communication packet corresponding to an event in the device and transmitting the communication packet to the AP using a contention channel;
In the AP, a contention collision detection step of performing decoding at a predetermined first cycle and detecting a collision between communication packets generated within the contention channel based on a decoding result;
When the AP detects a collision between communication packets generated in the contention channel, after determining the communication state in the CRP channel, the AP instructs the device that transmitted the packet in which the collision occurred to change the communication channel from the contention channel to the CRP channel. a channel change command step of broadcasting a command on the contention channel; and
In the device, upon receiving the command, a CRP retransmission step of changing a communication channel of a communication packet transmitted to the AP from a contention channel to a CRP channel and retransmitting the communication packet to the AP through the CRP channel; do,
The device, when the communication packet transmitted through the CRP channel is successfully transmitted to the AP, changes the communication channel of the device back to a contention channel,
The channel change command step,
CRP collision detection step of determining, at the AP, whether there is a collision in the CRP channel; and
In the AP, if it is confirmed that a collision occurs in the CRP channel, a command to retransmit the communication packet in the contention channel is broadcasted on the contention channel to the device that transmitted the communication packet in which the collision occurred in the contention channel. Including; a channel fixing command step to do;
The device performs a contention retransmission step of retransmitting the communication packet through the contention channel when receiving the retransmission command;
The CRP collision detection step,
When the channel change command step is performed more than a predetermined number of times during a first predetermined period, it is determined that a collision occurs in the CRP channel because there are many devices that have changed the communication channel to the CRP channel. .
삭제delete 삭제delete 청구항 1에 있어서,
상기 CRP충돌감지단계는,
기설정된 제2기간동안 상기 CRP채널을 통해 송신되는 통신패킷이 없는 경우, 통신채널을 상기 CRP채널로 변경한 디바이스 각각이 각자의 통신패킷을 모두 성공적으로 보냈다고 판단하여 상기 CRP채널 내에서 충돌이 발생하지 않는 것으로 판단하는, 충돌에 대응하는 방법.
The method of claim 1,
The CRP collision detection step,
If there is no communication packet transmitted through the CRP channel during the second preset period, each device that has changed the communication channel to the CRP channel determines that each device has successfully sent all of its communication packets, and a collision occurs within the CRP channel. How to respond to a conflict, judged not to.
청구항 1에 있어서,
상기 CRP채널은 각각 통신대역이 상이한 제1CRP채널, 제2CRP채널, 및 제3CRP채널을 포함하고,
상기 채널변경명령단계는,
상기 AP에서, 상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스에게 통신채널을 상기 컨텐션채널에서 제1CRP채널로 변경하라는 명령을 브로드캐스팅하는 제1채널변경명령단계;
상기 AP에서 상기 컨텐션채널 및 상기 제1CRP채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스에게 통신채널을 상기 컨텐션채널에서 제2CRP채널로 변경하라는 명령을 브로드캐스팅하는 제2채널변경명령단계; 및
상기 AP에서 상기 컨텐션채널, 상기 제1CRP채널, 및 상기 제2CRP채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 충돌이 일어난 디바이스에게 통신채널을 상기 컨텐션채널에서 제3CRP채널로 변경하라는 명령을 브로드캐스팅하는 제3채널변경명령단계;를 포함하는, 충돌에 대응하는 방법.
The method of claim 1,
The CRP channel includes a first CRP channel, a second CRP channel, and a third CRP channel having different communication bands, respectively;
The channel change command step,
A first channel change command step of broadcasting, in the AP, a command to change the communication channel from the contention channel to the first CRP channel to the device in which the collision occurred, when a collision between communication packets generated within the contention channel is detected. ;
When the AP detects a collision between the communication packets generated in the contention channel and the first CRP channel, broadcasting a command to change the communication channel from the contention channel to the second CRP channel to the device in which the collision occurs channel change command step; and
When the AP detects a collision between communication packets generated in the contention channel, the first CRP channel, and the second CRP channel, a command to change the communication channel from the contention channel to the third CRP channel to the device in which the collision occurs A third channel change command step of broadcasting; including, a method for responding to collisions.
청구항 5에 있어서,
상기 충돌에 대응하는 방법은,
상기 제1채널변경명령단계, 상기 제2채널변경명령단계, 및 상기 제3채널변경명령단계를 순차적으로 수행한 AP에 의하여 수행되는,
상기 컨텐션채널 내에서 발생한 통신패킷 간의 충돌을 감지하는 경우, 기설정된 제2주기에 해당하는 기간 동안 상기 CRP채널에서 가장 충돌이 적게 발생한 채널을 도출하는 채널도출단계;를 더포함하고,
상기 채널변경명령단계는,
충돌이 일어난 통신패킷을 송신한 디바이스에게 통신채널을 상기 채널도출단계에서 도출된 채널로 변경하라는 명령을 브로드캐스팅하는, 충돌에 대응하는 방법.
The method of claim 5,
How to respond to the collision,
Performed by the AP that sequentially performed the first channel change command step, the second channel change command step, and the third channel change command step,
When a collision between communication packets occurring within the contention channel is detected, a channel derivation step of deriving a channel with the least collision in the CRP channel during a period corresponding to a preset second cycle; further comprising,
The channel change command step,
A method for responding to a collision comprising broadcasting a command to change a communication channel to a channel derived in the channel derivation step to a device that has transmitted a communication packet in which a collision occurs.
KR1020220141585A 2022-10-28 2022-10-28 The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism KR102556726B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220141585A KR102556726B1 (en) 2022-10-28 2022-10-28 The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220141585A KR102556726B1 (en) 2022-10-28 2022-10-28 The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism

Publications (1)

Publication Number Publication Date
KR102556726B1 true KR102556726B1 (en) 2023-07-18

Family

ID=87423374

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220141585A KR102556726B1 (en) 2022-10-28 2022-10-28 The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism

Country Status (1)

Country Link
KR (1) KR102556726B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200086679A (en) * 2017-11-17 2020-07-17 퀄컴 인코포레이티드 Link aggregation with floating main link
KR20200144053A (en) * 2019-06-17 2020-12-28 주식회사 실리콘웍스 Wireless Battery Management System and Node for Wireless Communication and Method for Transmitting Data
KR20210027092A (en) * 2019-08-30 2021-03-10 주식회사 실리콘웍스 Wireless Battery Management System and Manager Node therefor and Method for operating Channel
KR102315948B1 (en) * 2020-07-01 2021-10-22 주식회사 에스원 Apparatus for dual network communication in wireless sensing system and method therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200086679A (en) * 2017-11-17 2020-07-17 퀄컴 인코포레이티드 Link aggregation with floating main link
KR20200144053A (en) * 2019-06-17 2020-12-28 주식회사 실리콘웍스 Wireless Battery Management System and Node for Wireless Communication and Method for Transmitting Data
KR20210027092A (en) * 2019-08-30 2021-03-10 주식회사 실리콘웍스 Wireless Battery Management System and Manager Node therefor and Method for operating Channel
KR102315948B1 (en) * 2020-07-01 2021-10-22 주식회사 에스원 Apparatus for dual network communication in wireless sensing system and method therefor

Similar Documents

Publication Publication Date Title
US11700646B2 (en) Method and terminal for counting preamble retransmission in random access procedure
CN107241807B (en) Coexistence of ZigBee, Thread and BLE with 2.4GHz WiFi
US10278200B2 (en) ZigBee, thread and BLE co-existence with 2.4 GHz WiFi
WO2015113202A1 (en) Physical random access channel enhanced transmission method, network device and terminal
US9736777B2 (en) Reduced power consumption in a wireless network device
US9686816B2 (en) Pause signals for full-duplex wireless networks
US9462463B2 (en) Method of controlling states of mobile node and verifier therein for receiving secret key
CN114727312A (en) Configuration method and device of node equipment, communication equipment and storage medium
KR20230138009A (en) Communication path switching method, device, and terminal
RU2769458C1 (en) User device and base station
WO2024120230A1 (en) Network device management method and apparatus and storage medium
KR102556726B1 (en) The Counteract Method for Collisions between Packets That Occur In A Communication System Using Unslotted Aloha Mechanism
WO2018082554A1 (en) Method and device for dynamically feeding back harq-ack
US9088994B2 (en) Method and system for last gasp device detection
RU2598860C2 (en) Improved technology of preventing conflicts for wireless communication systems
FI127550B (en) Slotted channel access in communications network
Tuchtenhagen More Easy Synchronous Transmissions: Expanding Baloo to the nRF52840
TWI621367B (en) Communication method and device for competition-based and corresponding communication system
US20240224178A1 (en) Customer premises equipment
WO2023072302A1 (en) Method and apparatus for sidelink (sl) transmission, and ue and network-side device
US20220240163A1 (en) Electronic device and method for transmitting system information request in electronic device
Xu et al. FPGA-based research of monitoring MPDCPD-CSMA protocol in cognitive wireless networks
Qin et al. Broadcast Retransmission Algorithm Based on Potential Game in CRNs
KR20220108951A (en) Electronic device and method for transmitting a system information request in the electronic device
Mao et al. Priority-Aware Bulk Data Transfer in Low-power IoT Networks.

Legal Events

Date Code Title Description
GRNT Written decision to grant