KR20180102383A - LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF - Google Patents

LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF Download PDF

Info

Publication number
KR20180102383A
KR20180102383A KR1020170028947A KR20170028947A KR20180102383A KR 20180102383 A KR20180102383 A KR 20180102383A KR 1020170028947 A KR1020170028947 A KR 1020170028947A KR 20170028947 A KR20170028947 A KR 20170028947A KR 20180102383 A KR20180102383 A KR 20180102383A
Authority
KR
South Korea
Prior art keywords
lora
server
information
message
terminal
Prior art date
Application number
KR1020170028947A
Other languages
Korean (ko)
Other versions
KR102032607B1 (en
Inventor
박상길
정원식
최보현
Original Assignee
주식회사 엘지유플러스
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 엘지유플러스 filed Critical 주식회사 엘지유플러스
Priority to KR1020170028947A priority Critical patent/KR102032607B1/en
Publication of KR20180102383A publication Critical patent/KR20180102383A/en
Application granted granted Critical
Publication of KR102032607B1 publication Critical patent/KR102032607B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The present invention relates to a method for recovering a network communication of a LoRa server, which comprises the steps of: receiving a first LoRa message including session information with a LoRa terminal from the LoRa terminal; generating a second LoRa message to be transmitted to the LoRa terminal when information corresponding to the session information is not present in a database in reference to the database; and transmitting the second LoRa message to the LoRa terminal. When recovery information is set in a specific region of the second LoRa message, the LoRa terminal deletes the session information with the LoRa server, and transmits a new session connection request to the LoRa server after releasing the session connection with the LoRa server, wherein the second LoRa message has recovery information to be set in the specific region, and bit information of a region other than the specific region is the same as the bit information of a region corresponding to the first LoRa message.

Description

LoRa 서버의 네트워크 통신 복구 방법{LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a LoRa server,

LoRa 메시지를 이용하여 LoRa 단말과 LoRa 서버 간의 네트워크 통신을 복구하는 방법이 개시된다.A method for restoring network communication between a LoRa terminal and a LoRa server using a LoRa message is disclosed.

LoRa(LongRange) 네트워크는 서버 장애로 단말에 대한 세션 정보 유실 시 복구가 어렵다.LoRa (LongRange) network is difficult to recover when session information is lost for terminal due to server failure.

LoRa 단말이 전송한 LoRa 메시지를 처리하는 게이트웨이가 변경될 경우, 변경 전후의 게이트웨이가 서로 다른 LoRa 네트워크 서버와 연결되면 네트워크 서버 간 통신이 어렵다.When the gateway processing the LoRa message transmitted by the LoRa terminal is changed, it is difficult to communicate with the network server when the gateway before and after the change is connected to the different LoRa network server.

LoRa 서버와 LoRa 단말 간의 메시지 전송을 통해 세션 연결 및 해제를 수행하고, 네트워크 통신을 자동으로 복구하는 방법이 개시된다.Disclosed is a method for performing session connection and release through message transmission between a LoRa server and a LoRa terminal, and automatically recovering network communication.

LoRa 서버의 네트워크 통신 복구 방법은, LoRa 단말로부터 상기 LoRa 단말과의 세션 정보를 포함하는 제1 LoRa 메시지를 수신하는 단계, 데이터베이스를 참조하여, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하지 않는 경우, 특정 영역에 복구 정보가 설정(set)된 제2 LoRa 메시지를 생성하는 단계 및 상기 제2 LoRa 메시지를 상기 LoRa 단말로 전송하는 단계를 포함하고, 상기 LoRa 단말은 상기 제2 LoRa 메시지의 상기 특정 영역에 상기 복구 정보가 설정된 경우, 상기 LoRa 서버와의 세션 연결을 해제한 후, 상기 LoRa 서버로 새로운 세션 연결 요청을 전송하고, 상기 제2 LoRa 메시지는, 상기 특정 영역을 제외한 다른 영역의 비트 정보는 상기 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일하다.A method of restoring a network communication of a LoRa server includes receiving a first LoRa message including session information from the LoRa terminal with the LoRa terminal, referring to the database, determining whether the information corresponding to the session information does not exist in the database , Generating a second LoRa message in which recovery information is set in a specific area, and transmitting the second LoRa message to the LoRa terminal, wherein the LoRa terminal transmits the second LoRa message, When the restoration information is set in a specific area, disconnects the session with the LoRa server, and then transmits a new session connection request to the LoRa server, and the second LoRa message includes bits of other areas excluding the specific area Information is the same as the bit information of the corresponding area of the first LoRa message.

상기 특정 영역은 MHDR(Mac Header)일 수 있고, 상기 복구 정보는 상기 MHDR에 포함된 특정 비트일 수 있다.The specific area may be an MHDR (Mac Header), and the recovery information may be a specific bit included in the MHDR.

상기 복구 정보는, 상기 MHDR의 4번째 비트일 수 있고, 상기 비트를 1로 설정함으로써 상기 복구 정보를 설정할 수 있다.The recovery information may be the fourth bit of the MHDR, and the recovery information may be set by setting the bit to 1.

상기 세션 정보는 상기 LoRa 단말 정보를 포함할 수 있다.The session information may include the LoRa terminal information.

상기 LoRa 서버는, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하는 경우, 상기 제1 LoRa 메시지를 IoT 앱 서버로 전송할 수 있다.The LoRa server may transmit the first LoRa message to the IoT app server when information corresponding to the session information exists in the database.

LoRa 서버는, 제어 프로그램을 기록하는 메모리, 상기 제어 프로그램에 따라 동작하는 중앙 처리부, LoRa 단말과의 세션 정보를 포함하는 데이터베이스 및 상기 LoRa 단말 및 IoT 앱 서버와 정보를 송수신하는 통신 인터페이스를 포함하고, 상기 제어 프로그램은, 상기 LoRa 단말로부터 상기 LoRa 단말과의 세션 정보를 포함하는 제1 LoRa 메시지를 수신하는 단계, 상기 데이터베이스를 참조하여, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하지 않는 경우, 특정 영역에 복구 정보가 설정(set)된 제2 LoRa 메시지를 생성하는 단계 및 상기 제2 LoRa 메시지를 상기 LoRa 단말로 전송하는 단계를 포함하고, 상기 LoRa 단말은 상기 제2 LoRa 메시지의 상기 특정 영역에 포함된 상기 복구 정보가 설정된 경우, 상기 LoRa 서버와의 세션 연결을 해제한 후, 상기 LoRa 서버로 새로운 세션 연결 요청을 전송하고, 상기 제2 LoRa 메시지는, 상기 특정 영역을 제외한 다른 영역의 비트 정보는 상기 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일하다.The LoRa server includes a memory for storing a control program, a central processing unit operating in accordance with the control program, a database including session information with the LoRa terminal, and a communication interface for transmitting and receiving information to and from the LoRa terminal and the IoT app server, Wherein the control program comprises the steps of: receiving a first LoRa message including session information from the LoRa terminal with the LoRa terminal; if the information corresponding to the session information does not exist in the database, Generating a second LoRa message in which recovery information is set in a specific area, and transmitting the second LoRa message to the LoRa terminal, wherein the LoRa terminal transmits the second LoRa message to the specific area of the second LoRa message, When the recovery information included in the LoRa server is set, the LoRa server deletes the session connection with the LoRa server, And to transmit a new session connection request, the first message is 2 LoRa, the bit information of the other region except for the specific region is equal to the bit information of the corresponding area of the first 1 LoRa message.

상기 특정 영역은 MHDR(Mac Header)일 수 있고, 상기 복구 정보는 상기 MHDR에 포함된 특정 비트일 수 있다.The specific area may be an MHDR (Mac Header), and the recovery information may be a specific bit included in the MHDR.

상기 복구 정보는, 상기 MHDR의 4번째일 수 있고, 상기 비트를 1로 설정함으로써 상기 복구 정보를 설정할 수 있다.The recovery information may be the fourth of the MHDR, and the recovery information may be set by setting the bit to 1.

상기 세션 정보는 상기 LoRa 단말 정보를 포함할 수 있다.The session information may include the LoRa terminal information.

상기 LoRa 서버는, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하는 경우, 상기 제1 LoRa 메시지를 IoT 앱 서버로 전송할 수 있다.The LoRa server may transmit the first LoRa message to the IoT app server when information corresponding to the session information exists in the database.

서버와 단말 간의 신호 전송을 통해 서버 장애로 유실된 단말에 대한 세션 정보를 복구할 수 있다.Through the signal transmission between the server and the terminal, the session information about the terminal lost due to the server failure can be recovered.

LoRa 단말이 전송한 제1 LoRa 메시지를 처리하는 게이트웨이가 변경될 경우, 변경 전후의 게이트웨이가 서로 다른 LoRa 네트워크 서버와 연결되더라도 네트워크 서버 간 통신이 가능하다.When the gateway processing the first LoRa message transmitted by the LoRa terminal is changed, communication between the network servers can be performed even if the before and after gateways are connected to different LoRa network servers.

도 1은 LoRa 서버의 블록도이다.
도 2는 LoRa 단말과 LoRa 서버 간의 네트워크 연결 복구 방법의 흐름도이다.
도 3은 LoRa 메시지의 블록도이다.
도 4a 및 도 4b는 제1 LoRa 메시지 및 제2 LoRa 메시지의 일실시예를 도시한다.
도 5는 LoRa 단말과 LoRa 서버 간의 네트워크 연결 복구 방법의 일실시예를 도시한다.
1 is a block diagram of a LoRa server.
2 is a flowchart of a network connection recovery method between a LoRa terminal and a LoRa server.
3 is a block diagram of the LoRa message.
Figures 4A and 4B show one embodiment of a first LoRa message and a second LoRa message.
5 shows an embodiment of a method for restoring a network connection between a LoRa terminal and a LoRa server.

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.In the following, embodiments will be described in detail with reference to the accompanying drawings. Like reference symbols in the drawings denote like elements.

아래 설명하는 실시예들에는 다양한 변경이 가해질 수 있다. 아래 설명하는 실시예들은 실시 형태에 대해 한정하려는 것이 아니며, 이들에 대한 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.Various modifications may be made to the embodiments described below. It is to be understood that the embodiments described below are not intended to limit the embodiments, but include all modifications, equivalents, and alternatives to them.

실시예에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 실시예를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the examples are used only to illustrate specific embodiments and are not intended to limit the embodiments. The singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, the terms "comprises" or "having" and the like refer to the presence of stated features, integers, steps, operations, elements, components, or combinations thereof, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

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

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In the following description of the present invention with reference to the accompanying drawings, the same components are denoted by the same reference numerals regardless of the reference numerals, and redundant explanations thereof will be omitted. In the following description of the embodiments, a detailed description of related arts will be omitted if it is determined that the gist of the embodiments may be unnecessarily blurred.

도 1은 LoRa 서버의 블록도이다.1 is a block diagram of a LoRa server.

LoRa(LongRange) 네트워크는 대규모 저전력 장거리 무선 기술(LPWA: Low Power Wide Area) 중 하나로서 소량의 데이터를 전송하고 장거리 통신이 가능한 통신 기술을 의미한다. LoRa 네트워크는 소량의 데이터를 전송하므로 많은 양의 전력을 필요로 하지 않고, 통상적으로 20Km의 전파 도달 거리를 보장하고, 900MHz의 주파수 대역을 사용하며, 저속/저전력 소물(小物, IoST[Internet of Small Things]) 인터넷 기술에 이용된다. LoRa 네트워크는 스마트 디바이스 간의 원활한 상호 운용을 제공할 수 있다.The LoRa (LongRange) network is one of the large, low-power, low power wide area (LPWA), which means a communication technology capable of transmitting small amounts of data and enabling long distance communication. The LoRa network transmits a small amount of data, so it does not require a large amount of power, usually guarantees a radio wave range of 20 Km, uses a frequency band of 900 MHz, uses low-speed / low-power objects (Internet, Small Things] are used in Internet technology. The LoRa network can provide seamless interoperability between smart devices.

LoRa 네트워크는 통상적으로 성형들 간의(star-of-stars) 토폴로지(topology)로 구축되고, 단말 및 서버의 백엔드(backend) 사이에서 메시지를 연결시킬 수 있다. 게이트웨이는 단말이 싱글-홉(single-hop) 무선 통신을 적어도 하나 이상의 게이트웨이에 대해 이용하는 동안, 네트워크 서버에 연결될 수 있다. 엔드-포인트(end-point) 통신은 기본적으로 양방향으로 수행되지만, 대기 중인 통신 시간을 줄이기 위해 대기하거나, 기타 대량 배포되는 메시지를 통해 소프트웨어를 업그레이드 할 수 있는 멀티 캐스트 등의 작업도 지원할 수 있다.The LoRa network is typically built with a star-of-stars topology and can link messages between the backend of the terminal and the server. The gateway may be connected to a network server while the terminal is using single-hop wireless communication for at least one or more gateways. End-point communication is basically bidirectional, but it can also support jobs such as queuing to reduce queued communication time, multicast that can upgrade software through other mass-distributed messages.

단말과 게이트웨이 간의 통신은 다른 채널 및 데이터 속도에 영향을 미칠 수 있다. 데이터 속도의 선택은 통신 범위 및 메시지 기간(duration) 간의 트레이드-오프(trade-off) 관계에 있다. 확산 스펙트럼 기술에 의해, 다른 데이터 속도로 통신하는 것은 다른 장치들에게 간섭을 야기하지 않고, 게이트웨이의 용량을 증가시키는 가상의 채널 집합을 생성할 수 있다. LoRa 네트워크 데이터 속도의 범위는 0.3Kbps에서 50Kbps 사이일 수 있다. 단말의 배터리 수명 및 모든 네트워크 용량을 극대화하기 위해, LoRa 서버는 ADR(Adaptive Data Rate) 스킴(Scheme)을 통해 데이터 속도 및 각 단말에 대한 RF(Resonance Frequency) 아웃풋을 개별적으로 관리한다.Communication between the terminal and the gateway may affect other channels and data rates. The selection of the data rate is in a trade-off relationship between the communication range and the message duration. By spread spectrum techniques, communicating at different data rates can create a virtual channel set that increases the capacity of the gateway without causing interference to other devices. The range of the LoRa network data rate may be between 0.3 Kbps and 50 Kbps. To maximize the battery life of the terminal and all network capacity, the LoRa server manages the data rate and RF (Resonance Frequency) output for each terminal separately through an Adaptive Data Rate (ADR) scheme.

LoRa 네트워크는 통신 보안을 위해, 중요한(critical) 인프라스트럭쳐, 기밀 개인 정보 또는 사회에 대한 중요한 기능들과 같이 사물 인터넷(IoT)을 타겟으로 하는 전국적인 네트워크를 이용한다. 통신 보안은 여러 계층(Layer)의 암호화(예를 들어, 고유한 네트워크 키(EUI 64)와 네트워크 수준의 보안 보장, 고유한 애플리케이션 키(EUI 64)로 응용 프로그램 수준에서 종단(end-to-end)간의 보안 보장 및 장치 고유 키 등)에 의해 해결될 수 있다.The LoRa network uses a nationwide network targeted at the Internet of Things (IoT), such as critical infrastructure, confidential personal information, or important social functions for communication security. Communication security is based on multiple layers of encryption (for example, end-to-end at the application level with unique network key (EUI 64) and network level security assurance, unique application key (EUI 64) ) And device-specific keys, etc.).

LoRa 네트워크는 광범위한 어플리케이션에 반영된 다른 요구사항들을 다루기 위해 아래와 같이 엔드-포인트(end-point)에서 서로 다른 클래스를 가진다.The LoRa network has different classes at end-points to address the different requirements reflected in a wide range of applications:

양방향 단말(Class A)은, 각 단말의 업링크 전송이 2개의 짧은 다운링크가 복수의 윈도우에 의해 팔로잉(followed)되는 경우, 양방향 통신을 허용한다. 단말에 스케쥴링된 전송 슬롯은 랜덤 타임 베이시스(ALOHA-일종의 프로토콜)에 기초한 작은 변형(variation)을 포함하는 통신을 기초로 한다. 클래스 A는 단말이 업링크 전송을 보낸 직후 서버로부터 다운링크 통신을 요구하는 어플리케이션들을 위한 최저 전력 단말 시스템이다. 서버로부터의 다운링크 통신들은 다음 예정된 업링크까지 대기해야 할 수 있다.The bidirectional terminal (Class A) permits bi-directional communication when the uplink transmission of each terminal is followed by two short downlinks by a plurality of windows. The transmission slots scheduled for the terminal are based on communications involving a small variation based on random time basis (ALOHA-a protocol of some sort). Class A is the lowest power terminal system for applications that require downlink communications from the server immediately after the terminal sends an uplink transmission. Downlink communications from the server may have to wait until the next scheduled uplink.

슬롯 수신이 예정된 양방향 단말(Class B)은, 랜덤하게 윈도우를 수신하는 클래스 A에서 더 나아가, 예정된 시간에 여분의 수신 윈도우들을 오픈(Open)한다. 단말이 예정된 시간에 수신 윈도우를 오픈 하도록 하기 위해, 클래스 B는 게이트웨이로부터 시간적으로 동기화된 비콘을 수신한다. 이를 통해, 서버는 단말이 정보를 수신하고 있는지 여부를 알 수 있다.The bidirectional terminal (Class B) scheduled for slot reception will further open in Class A, which receives the window at random, with extra reception windows at a scheduled time. In order for the terminal to open the receive window at a predetermined time, the class B receives a beacon synchronized in time from the gateway. Through this, the server can know whether or not the terminal is receiving information.

슬롯 수신이 최대인 양방향 단말(Class C)는, 대부분의 경우 연속적으로 수신 윈도우를 오픈하고, 클래스 C를 전송할 경우에만 클로즈(Close)된다.In most cases, the bidirectional terminal (Class C) with the maximum slot reception is closed only when the reception window is continuously opened and the class C is transmitted.

LoRa 서버(100)는 게이트웨이를 경유하여 LoRa 단말(200)과 네트워크 연결되는 장치를 의미한다. LoRa 서버(100)는, 제어 프로그램을 기록하는 메모리(110), 제어 프로그램에 따라 동작하는 중앙 처리부(120), LoRa 단말(200)과의 세션 정보를 포함하는 데이터베이스(130) 및, LoRa 단말(200) 및 IoT 앱 서버와 정보를 송수신하는 통신 인터페이스(140)를 포함한다. LoRa 단말(200)은 게이트웨이를 경유하여 LoRa 서버(100)와 네트워크 연결되는 장치를 의미한다.The LoRa server 100 means a device connected to the LoRa terminal 200 via a gateway. The LoRa server 100 includes a memory 110 for storing a control program, a central processing unit 120 operating in accordance with a control program, a database 130 including session information with the LoRa terminal 200, 200 and a communication interface 140 for transmitting and receiving information to and from the IoT app server. The LoRa terminal 200 means a device connected to the LoRa server 100 via a gateway.

도 2는 LoRa 단말 및 LoRa 서버 간의 네트워크 연결 복구 방법의 흐름도이다.2 is a flowchart of a network connection restoration method between a LoRa terminal and a LoRa server.

LoRa 단말(200)은 LoRa 서버(100)로 LoRa 단말(200)과 LoRa 서버(100) 간의 세션 정보를 포함하는 제1 LoRa 메시지를 전송한다(S100).The LoRa terminal 200 transmits a first LoRa message including session information between the LoRa terminal 200 and the LoRa server 100 to the LoRa server 100 (S100).

세션 정보는, LoRa 단말(200)의 고유값 정보, 접속 위치, 접속 빈도, LoRa 단말(200)이 LoRa 서버(100)로 전송한(또는 LoRa 서버(100)로부터 수신한) 데이터 또는 신호를 포함할 수 있다. 세션 정보는 쿠키와 달리 웹 브라우저에 정보를 보관하는 것이 아니라 서버에 포함된 웹 컨테이너에 정보를 보관하기 위해 사용된다. 세션 정보는 서버가 생성, 유지 및 관리한다. 통상적으로 하나의 웹 브라우저는 하나의 세션을 생성한다. 세션은 서버에 저장되므로 쿠키에 비해 보안성이 높다.The session information includes the eigenvalue information of the LoRa terminal 200, the connection location, the access frequency, and the data or signal transmitted from the LoRa server 100 to the LoRa server 100 (or received from the LoRa server 100) can do. Unlike cookies, session information is used to store information in a web container that is embedded in a server, rather than to store information in a web browser. The session information is created, maintained and managed by the server. Typically, one web browser creates one session. Since sessions are stored on the server, they are more secure than cookies.

제1 LoRa 메시지의 일례가 도 3에 도시되어 있다.An example of the first LoRa message is shown in FIG.

도 3을 참조하면, 제1 LoRa 메시지는 Preamble, PHDR(Physical Header), PHDR_CRC(Cyclic Redundancy Check), PHY(Physical) Payload 및 CRC(Cyclic Redundancy Check)를 포함할 수 있다. 그 중, PHY Payload는 MHDR(Mac Header), MAC(Message Authentication Code) Payload 및 MIC(Message Integrity Check)를 포함할 수 있다. 상기 MHDR 및 MAC Payload는 무결성이 보장(Integrity Protected)되는 영역일 수 있다. MHDR는 1바이트를 포함할 수 있고, 상기 MHDR의 1바이트를 구성하는 8개의 비트는 각각 MType(3비트), Reserved(3비트), Major Version(2비트)로 구성될 수 있다. MHDR을 구성하는 비트 중 적어도 하나는 복구 정보 설정에 이용될 수 있다. 상기 MAC Payload는 FHDR(Frame Header), FPort(Frame Port) 및 FRMPayload를 포함할 수 있다. 상기 FHDR은 DevAddr(Device Address), FCtrl(Frame Control), FCnt(Frame Count) 및 FOpts(Frame Options)를 포함할 수 있다. 상기 FRMPayload는 암호화(Encrypted)된 영역일 수 있다. 제1 LoRa 메시지는 도 3에 도시된 것과 같이 LoRa WAN 표준 메시지의 구성을 따를 수 있다.Referring to FIG. 3, the first LoRa message may include a preamble, a physical header (PHDR), a cyclic redundancy check (PHDR_CRC), a physical payload (PHY), and a cyclic redundancy check (CRC). The PHY Payload may include an MHDR (Mac Header), a MAC (Message Authentication Code) payload, and a MIC (Message Integrity Check). The MHDR and the MAC Payload may be areas where integrity is protected. The MHDR may include one byte, and the eight bits constituting one byte of the MHDR may be composed of MType (3 bits), Reserved (3 bits), and Major Version (2 bits). At least one of the bits constituting the MHDR may be used for setting recovery information. The MAC Payload may include an FHDR (Frame Header), a FPort (Frame Port), and a FRMPayload. The FHDR may include a device address (DevAddr), a frame control (FCtrl), a frame count (FCnt), and a frame option (FOpts). The FRMPayload may be an encrypted area. The first LoRa message may follow the configuration of the LoRa WAN standard message as shown in FIG.

다시 도 2를 참조하면, LoRa 서버(100)는 데이터베이스(130)를 참조하여, 상기 제1 LoRa 메시지에 포함된 세션 정보와 대응되는 정보가 데이터베이스(130)에 존재하는지 판단한다(S110).Referring back to FIG. 2, the LoRa server 100 refers to the database 130 and determines whether information corresponding to the session information included in the first LoRa message exists in the database 130 (S110).

LoRa 서버(100)는 상기 세션 정보가 데이터베이스(130)에 존재하는지 여부에 기초하여, LoRa 네트워크에 장애 또는 문제가 발생했는지 여부를 판단할 수 있다. 구체적으로, LoRa 서버(100)는 상기 세션 정보가 데이터베이스(130)에 존재하는 경우, LoRa 네트워크가 정상적으로 동작하고 있다고 판단할 수 있고, 상기 세션 정보가 데이터베이스(130)에 존재하지 않는 경우, LoRa 네트워크에 장애 또는 문제가 발생했다고 판단할 수 있다. LoRa 서버(100)는 LoRa 네트워크에 장애 또는 문제가 발생했다고 판단하는 경우, LoRa 네트워크 문제 해결을 위해 제2 LoRa 메시지를 생성한다.The LoRa server 100 can determine whether a failure or a problem has occurred in the LoRa network based on whether or not the session information exists in the database 130. [ Specifically, when the session information is present in the database 130, the LoRa server 100 can determine that the LoRa network is normally operating. If the session information does not exist in the database 130, It can be determined that a failure or a problem has occurred. When the LoRa server 100 determines that a failure or a problem has occurred in the LoRa network, it generates a second LoRa message for solving the LoRa network problem.

판단 결과, 상기 제1 LoRa 메시지에 포함된 세션 정보와 대응되는 정보가 데이터베이스(130)에 존재하지 않는 경우, LoRa 서버(100)는 특정 영역에 복구 정보가 설정(set)된 제2 LoRa 메시지를 생성한다(S120).As a result of the determination, if the information corresponding to the session information included in the first LoRa message is not present in the database 130, the LoRa server 100 transmits a second LoRa message in which recovery information is set in a specific area (S120).

상기 제2 LoRa 메시지는 제1 LoRa 메시지와 구분되는 메시지로서, 상기 특정 영역을 제외한 다른 영역의 비트 정보는 상기 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일하다.The second LoRa message is distinguished from the first LoRa message, and the bit information of the other region except the specific region is the same as the bit information of the corresponding region of the first LoRa message.

일실시예에 있어서, 상기 제1 LoRa 메시지의 특정 영역은 MHDR(Mac Header)일 수 있다. 이 경우, 제2 LoRa 메시지의 복구 정보는 MHDR에 포함된 특정 비트일 수 있다. 즉, MHDR은 1바이트를 포함하므로, 상기 복구 정보는 상기 MHDR을 구성하는 1 바이트 중 하나의 비트일 수 있다.In one embodiment, the specific area of the first LoRa message may be an MHDR (Mac Header). In this case, the recovery information of the second LoRa message may be a specific bit included in the MHDR. That is, since the MHDR includes one byte, the recovery information may be one bit of one byte constituting the MHDR.

다른 실시예에 있어서, 상기 제2 LoRa 메시지의 복구 정보는 제2 LoRa 메시지에 포함된 둘 이상의 비트일 수 있다. 즉, 상기 복구 정보는 상기 제2 LoRa 메시지의 임의의 위치의 적어도 둘 이상의 비트의 값에 의해 결정될 수 있다.In another embodiment, the recovery information of the second LoRa message may be more than one bit included in the second LoRa message. That is, the recovery information may be determined by a value of at least two bits of an arbitrary position of the second LoRa message.

단계(S110)의 판단 결과, 상기 제1 LoRa 메시지에 포함된 세션 정보와 대응되는 정보가 데이터베이스(130)에 존재하는 경우, LoRa 서버(100)는 상기 제1 LoRa 메시지를 IoT 앱 서버로 전송할 수 있다(도시되지 않음). IoT 앱 서버는 LoRa 서버(100)로부터 제1 LoRa 메시지를 수신한 경우, LoRa 단말(200)과 LoRa 서버(100) 간의 세션이 정상적으로 연결되고, 네트워크가 정상적으로 동작한다고 판단할 수 있다.If it is determined in step S110 that the information corresponding to the session information included in the first LoRa message exists in the database 130, the LoRa server 100 may transmit the first LoRa message to the IoT app server (Not shown). When receiving the first LoRa message from the LoRa server 100, the IoT app server can determine that the session between the LoRa terminal 200 and the LoRa server 100 is normally connected and that the network operates normally.

LoRa 서버(100)는 생성한 제2 LoRa 메시지를 LoRa 단말(200)로 전송한다(S130).The LoRa server 100 transmits the generated second LoRa message to the LoRa terminal 200 (S130).

일실시예에 있어서, LoRa 서버(100)는 복구 정보가 설정된 제2 LoRa 메시지를 LoRa 단말(200)로 전송할 수 있다.In one embodiment, the LoRa server 100 may send a second LoRa message with recovery information set to the LoRa terminal 200. [

다른 실시예에 있어서, LoRa 서버(100)는 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일하되, MHDR에 포함된 특정 비트가 설정된 제2 LoRa 메시지를 LoRa 단말(200)로 전송할 수 있다.In another embodiment, the LoRa server 100 may transmit a second LoRa message, which is the same as the bit information of the corresponding area of the first LoRa message, with a specific bit included in the MHDR set to the LoRa terminal 200. [

또 다른 실시예에 있어서, LoRa 서버(100)는 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일하되, 특정 비트들의 값을 미리 결정된 값으로 설정(예를 들어, 임의의 위치의 비트 3개를 이용하되 3번째 비트를 1로, 5번째 비트를 0으로, 7번째 비트를 1로 설정)된 제2 LoRa 메시지를 LoRa 단말(200)로 전송할 수도 있다.In another embodiment, the LoRa server 100 is the same as the bit information of the corresponding region of the first LoRa message, but the value of certain bits is set to a predetermined value (e.g., three bits of an arbitrary position The third bit is set to 1, the fifth bit is set to 0, and the seventh bit is set to 1) to the LoRa terminal 200. In this case,

LoRa 단말(200)은 제2 LoRa 메시지의 특정 영역에 복구 정보가 설정되어 있는지 판단한다(S140).The LoRa terminal 200 determines whether recovery information is set in a specific area of the second LoRa message (S140).

일실시예에 있어서, LoRa 단말(200)은 상기 제2 LoRa 메시지의 특정 영역에 복구 정보가 설정되어 있는지 판단할 수 있다.In one embodiment, the LoRa terminal 200 may determine whether recovery information is set in a specific area of the second LoRa message.

다른 실시예에 있어서, LoRa 단말(200)은 상기 제2 LoRa 메시지의 MHDR에 포함된 특정 비트에 복구 정보가 설정되어 있는지 판단할 수 있다.In another embodiment, the LoRa terminal 200 may determine whether recovery information is set in a specific bit included in the MHDR of the second LoRa message.

또 다른 실시예에 있어서, LoRa 단말(200)은 상기 제2 LoRa 메시지에 포함된 특정 비트들의 값이 미리 결정된 값으로 설정되어 있는지 판단할 수도 있다.In another embodiment, the LoRa terminal 200 may determine whether the value of the specific bits included in the second LoRa message is set to a predetermined value.

판단 결과, 제2 LoRa 메시지의 특정 영역에 복구 정보가 설정되어 있는 경우, LoRa 단말(200)은 LoRa 서버(100)와의 세션 연결을 해제한다(S150).As a result of the determination, if the recovery information is set in the specific area of the second LoRa message, the LoRa terminal 200 cancels the session connection with the LoRa server 100 (S150).

다른 실시예에 있어서, 제2 LoRa 메시지의 MHDR에 포함된 특정 비트가 설정된 경우, LoRa 단말(200)은 LoRa 서버(100)와의 세션 연결을 해제할 수 있다.In another embodiment, when a specific bit included in the MHDR of the second LoRa message is set, the LoRa terminal 200 can release the session connection with the LoRa server 100. [

LoRa 서버(100)는 LoRa 단말(200)과의 세션 연결이 해제된 경우, 해제된 세션 정보를 삭제할 수 있다.The LoRa server 100 can delete the released session information when the session connection with the LoRa terminal 200 is released.

LoRa 서버(100)와 세션 연결이 해제된 후, LoRa 단말(200)은 LoRa 서버(100)로 새로운 세션 연결 요청을 전송할 수 있다(S160).After the session connection with the LoRa server 100 is released, the LoRa terminal 200 can transmit a new session connection request to the LoRa server 100 (S160).

LoRa 단말(200)과 LoRa 서버(100)는 새롭게 세션 연결이 된 경우, LoRa 단말(200)과 LoRa 서버(100) 간의 네트워크 문제 해결을 위해 단계(S100) 내지 단계(S160)을 반복 수행할 수 있다.The LoRa terminal 200 and the LoRa server 100 can repeat steps S100 to S160 for solving a network problem between the LoRa terminal 200 and the LoRa server 100 when a new session connection is established have.

도 5는 LoRa 단말과 LoRa 서버 간의 네트워크 연결 복구 방법의 일실시예를 도시한다.5 shows an embodiment of a method for restoring a network connection between a LoRa terminal and a LoRa server.

LoRa 서버(100)는 LoRa 단말(200)로부터 LoRa 단말(200)과 LoRa 서버(100) 간의 세션 정보를 포함하는 제1 LoRa 메지시를 수신한다(S200).The LoRa server 100 receives the first LoRa message including the session information between the LoRa terminal 200 and the LoRa server 100 from the LoRa terminal 200 (S200).

도 3을 참조하면, 제1 LoRa 메시지는 Preamble, PHDR(Physical Header), PHDR_CRC(Cyclic Redundancy Check), PHY(Physical) Payload 및 CRC(Cyclic Redundancy Check)를 포함할 수 있다. 그 중, PHY Payload는 MHDR(Mac Header), MAC(Message Authentication Code) Payload 및 MIC(Message Integrity Check)를 포함할 수 있다. 상기 MHDR 및 MAC Payload는 무결성이 보장(Integrity Protected)되는 영역일 수 있다. MHDR는 1바이트를 포함할 수 있고, 상기 MHDR의 1바이트를 구성하는 8개의 비트는 각각 MType(3비트), Reserved(3비트), Major Version(2비트)로 구성될 수 있다. MHDR을 구성하는 비트 중 적어도 하나는 복구 정보 설정에 이용될 수 있다. 상기 MAC Payload는 FHDR(Frame Header), FPort(Frame Port) 및 FRMPayload를 포함할 수 있다. 상기 FHDR은 DevAddr(Device Address), FCtrl(Frame Control), FCnt(Frame Count) 및 FOpts(Frame Options)를 포함할 수 있다. 상기 FRMPayload는 암호화(Encrypted)된 영역일 수 있다. 제1 LoRa 메시지는 도 3에 도시된 것과 같이 LoRa WAN 표준 메시지의 구성을 따를 수 있다.Referring to FIG. 3, the first LoRa message may include a preamble, a physical header (PHDR), a cyclic redundancy check (PHDR_CRC), a physical payload (PHY), and a cyclic redundancy check (CRC). The PHY Payload may include an MHDR (Mac Header), a MAC (Message Authentication Code) payload, and a MIC (Message Integrity Check). The MHDR and the MAC Payload may be areas where integrity is protected. The MHDR may include one byte, and the eight bits constituting one byte of the MHDR may be composed of MType (3 bits), Reserved (3 bits), and Major Version (2 bits). At least one of the bits constituting the MHDR may be used for setting recovery information. The MAC Payload may include an FHDR (Frame Header), a FPort (Frame Port), and a FRMPayload. The FHDR may include a device address (DevAddr), a frame control (FCtrl), a frame count (FCnt), and a frame option (FOpts). The FRMPayload may be an encrypted area. The first LoRa message may follow the configuration of the LoRa WAN standard message as shown in FIG.

다시 도 5를 참조하면, LoRa 서버(100)는 데이터베이스(130)를 참조하여, 상기 제1 LoRa 메시지에 포함된 세션 정보와 대응되는 정보가 데이터베이스(130)에 존재하는지 판단할 수 있다(S210).5, the LoRa server 100 may refer to the database 130 to determine whether information corresponding to the session information included in the first LoRa message exists in the database 130 (S210) .

LoRa 서버(100)는 상기 세션 정보가 데이터베이스(130)에 존재하는지 여부에 기초하여, LoRa 네트워크의 문제 발생 여부를 판단할 수 있다. 구체적으로, LoRa 서버(100)는 상기 세션 정보가 데이터베이스(130)에 존재하는 경우, LoRa 네트워크가 정상적으로 동작하고 있다고 판단할 수 있고, 상기 세션 정보가 데이터베이스(130)에 존재하지 않는 경우, LoRa 네트워크에 문제가 발생했다고 판단할 수 있다. LoRa 서버(100)는 LoRa 네트워크에 문제가 발생했다고 판단하는 경우, LoRa 네트워크 문제 해결을 위해 특정 영역에 복구 정보가 설정된 제2 LoRa 메시지를 생성한다.The LoRa server 100 can determine whether a problem has occurred in the LoRa network based on whether or not the session information exists in the database 130. [ Specifically, when the session information is present in the database 130, the LoRa server 100 can determine that the LoRa network is normally operating. If the session information does not exist in the database 130, It can be judged that a problem has occurred. When it is determined that a problem has occurred in the LoRa network, the LoRa server 100 generates a second LoRa message in which recovery information is set in a specific area for solving the LoRa network problem.

판단 결과, 상기 제1 LoRa 메시지에 포함된 세션 정보와 대응되는 정보가 데이터베이스(130)에 존재하지 않는 경우, LoRa 서버(100)는 특정 영역에 복구 정보가 설정(set)된 제2 LoRa 메시지를 생성할 수 있다(S220).As a result of the determination, if the information corresponding to the session information included in the first LoRa message is not present in the database 130, the LoRa server 100 transmits a second LoRa message in which recovery information is set in a specific area (S220).

일실시예에 있어서, 상기 제2 LoRa 메시지는 제1 LoRa 메시지와 구분되는 메시지로서, MHDR의 4번째 비트가 복구 정보로 설정될 수 있다.In one embodiment, the second LoRa message is a message distinguished from the first LoRa message, and the fourth bit of the MHDR may be set as recovery information.

도 4a를 참조하면, MHDR은 1바이트를 포함하고, 1바이트를 구성하는 8 비트가 각각 Mtype 3비트, Reserved 3비트 및 Major Version 2비트인 경우, 상기 4번째 비트는 Reserved의 첫 번째 비트일 수 있다. LoRa 서버(100)는, 도 4b에 도시된 것과 같이, MHDR의 4번째 비트, 즉 Reserved의 첫 번째 비트가 설정된 제2 LoRa 메시지를 생성할 수 있다.Referring to FIG. 4A, when the MHDR includes one byte and 8 bits constituting one byte are Mtype 3 bits, Reserved 3 bits, and Major Version 2 bits, the fourth bit is the first bit of Reserved have. The LoRa server 100 may generate a second LoRa message in which the fourth bit of the MHDR, i.e., the first bit of the Reserved, is set, as shown in FIG. 4B.

도 4a에는 이러한 제1 LoRa 메시지의 일례가 도시되어 있다.FIG. 4A shows an example of this first LoRa message.

도 4a를 참조하면, 상기 제1 LoRa 메시지의 MHDR은 MType(3비트), Reserved(3비트), Major Version(2비트)를 포함할 수 있다.Referring to FIG. 4A, the MHDR of the first LoRa message may include MType (3 bits), Reserved (3 bits), and Major Version (2 bits).

일실시예에 있어서, 임의의 값을 가지는 비트는 도 4a의 MType, Major Version과 같이 "X"로 표시될 수 있다. 즉, 상기 MType 및 Major Version을 구성하는 비트는 임의의 값(0 또는 1)을 가질 수 있다. 제1 LoRa 메시지는 도 4a에 도시된 것과 같이, 특정 영역이 MHDR의 4번째 비트(즉 Reserved의 1번째 비트)이고, 상기 MHDR의 4번째 비트가 0일 수 있다.In one embodiment, the bits with arbitrary values may be denoted as "X ", such as MType, Major Version in FIG. 4A. That is, the bits configuring the MType and Major Version may have any value (0 or 1). The first LoRa message may be the fourth bit of the MHDR (i.e., the first bit of the Reserved) and the fourth bit of the MHDR may be 0, as shown in FIG. 4A.

일실시예에 있어서, LoRa 서버(100)는 제1 LoRa 메시지의 특정 영역이 MHDR의 4번째 비트이고, 상기 제1 LoRa 메시지의 세션 정보가 데이터베이스(130)에 존재하지 않을 경우, 도 4b에 도시된 것과 같이 MHDR의 4번째 비트가 1로 설정된 제2 LoRa 메시지를 생성할 수 있다.In one embodiment, the LoRa server 100 determines if the particular region of the first LoRa message is the fourth bit of the MHDR and if the session information of the first LoRa message is not present in the database 130, A second LoRa message with the fourth bit of the MHDR set to one can be generated.

도 4b에는 LoRa 서버(100)가 생성한 제2 LoRa 메시지의 일례가 도시되어 있다. 도 4b를 참조하면, 생성된 제2 LoRa 메시지 중 MHDR의 4번째 비트가 1로 설정될 수 있다.FIG. 4B shows an example of the second LoRa message generated by the LoRa server 100. FIG. Referring to FIG. 4B, the fourth bit of the MHDR among the generated second LoRa message may be set to '1'.

일실시예에 있어서, LoRa 서버(100)는 Reserved 영역 외에도 MType 또는 Major Version의 비트가 설정된 제2 LoRa 메시지를 생성할 수도 있다. 또 다른 실시예에 있어서, LoRa 서버(100)는 MHDR에 포함된 둘 이상의 비트가 설정된 제2 LoRa 메시지를 생성할 수도 있다.In one embodiment, the LoRa server 100 may generate a second LoRa message in which a bit of MType or Major Version is set in addition to the Reserved field. In another embodiment, the LoRa server 100 may generate a second LoRa message in which more than one bit contained in the MHDR is set.

다른 실시예에 있어서, LoRa 서버(100)는 특정 비트들의 값을 미리 결정된 값(예를 들어, 특정한 3비트가 010인 경우)으로 설정함으로써 제2 LoRa 메시지를 생성할 수도 있다.In another embodiment, the LoRa server 100 may generate a second LoRa message by setting the value of certain bits to a predetermined value (e.g., if the specific 3 bits are 010).

단계(S210)의 판단 결과, 상기 제1 LoRa 메시지에 포함된 세션 정보와 대응되는 정보가 데이터베이스(130)에 존재하는 경우, LoRa 서버(100)는 LoRa 단말(200)로부터 다음 LoRa 메시지가 수신될 때까지 LoRa 단말(200)과 세션 연결을 유지할 수 있다(도시되지 않음).If it is determined in step S210 that the information corresponding to the session information included in the first LoRa message exists in the database 130, the LoRa server 100 receives the next LoRa message from the LoRa terminal 200 The session connection with the LoRa terminal 200 can be maintained (not shown).

LoRa 서버(100)는 생성한 제2 LoRa 메시지를 LoRa 단말(200)로 전송할 수 있다(S230).The LoRa server 100 may transmit the generated second LoRa message to the LoRa terminal 200 (S230).

일실시예에 있어서, LoRa 서버(100)는 MHDR의 4번째 비트가 1로 설정된 제2 LoRa 메시지를 생성하여 LoRa 단말(200)로 전송할 수 있다.In one embodiment, the LoRa server 100 may generate and transmit a second LoRa message with the fourth bit of the MHDR set to 1 to the LoRa terminal 200.

또 다른 실시예에 있어서, LoRa 서버(100)는 적어도 둘 이상의 비트를 설정하여 생성한 제2 LoRa 메시지를 LoRa 단말(200)로 전송할 수 있다.In another embodiment, the LoRa server 100 may transmit a second LoRa message generated by setting at least two bits to the LoRa terminal 200.

LoRa 단말(200)은 제2 LoRa 메시지의 MHDR의 4번째 비트가 1로 설정되어 있는지 판단할 수 있다(S240).The LoRa terminal 200 may determine whether the fourth bit of the MHDR of the second LoRa message is set to 1 (S240).

일실시예에 있어서, LoRa 단말(200)은 상기 제2 LoRa 메시지의 MHDR의 4번째 비트가 1로 설정되어 있는지 판단할 수 있다.In one embodiment, the LoRa terminal 200 may determine whether the fourth bit of the MHDR of the second LoRa message is set to '1'.

다른 실시예에 있어서, LoRa 단말(200)은 상기 제2 LoRa 메시지에 포함된 비트 중 둘 이상의 특정 비트가 1로 설정되어 있는지 판단할 수 있다(도시되지 않음).In another embodiment, the LoRa terminal 200 can determine whether two or more specific bits among the bits included in the second LoRa message are set to 1 (not shown).

판단 결과, 제2 LoRa 메시지의 MHDR의 4번째 비트가 1로 설정되어 있는 경우, LoRa 단말(200)은 LoRa 서버(100)와의 세션 연결을 해제할 수 있다(S250).If it is determined that the fourth bit of the MHDR of the second LoRa message is set to 1, the LoRa terminal 200 can release the session connection with the LoRa server 100 (S250).

일실시예에 있어서, 제2 LoRa 메시지의 MHDR의 4번째 비트가 1로 설정된 경우, LoRa 단말(200)은 LoRa 서버(100)와의 세션 연결을 해제할 수 있다.In one embodiment, when the fourth bit of the MHDR of the second LoRa message is set to 1, the LoRa terminal 200 can release the session connection with the LoRa server 100. [

다른 실시예에 있어서, LoRa 단말(200)은 상기 제2 LoRa 메시지에 포함된 비트 중 둘 이상의 특정 비트가 1로 설정되어 있는지 판단할 수 있다(도시되지 않음).In another embodiment, the LoRa terminal 200 can determine whether two or more specific bits among the bits included in the second LoRa message are set to 1 (not shown).

LoRa 단말(200)은 제2 LoRa 메시지의 MHDR의 4번째 비트가 1로 설정되어 있는 경우, LoRa 서버(100)와의 세션 연결을 해제할 수 있다.The LoRa terminal 200 can release the session connection with the LoRa server 100 when the fourth bit of the MHDR of the second LoRa message is set to 1. [

LoRa 서버(100)는 LoRa 단말(200)과의 세션 연결이 해제한 후, 해제된 세션 정보를 삭제할 수 있다.The LoRa server 100 may delete the released session information after the session connection with the LoRa terminal 200 is released.

LoRa 서버(100)와 세션 연결이 해제된 후, LoRa 단말(200)은 LoRa 서버(100)로 새로운 세션 연결 요청을 전송할 수 있다(S260).After the session connection with the LoRa server 100 is released, the LoRa terminal 200 may transmit a new session connection request to the LoRa server 100 (S260).

LoRa 단말(200)과 LoRa 서버(100)는 새롭게 세션 연결이 된 경우, LoRa 단말(200)과 LoRa 서버(100) 간의 네트워크 문제를 해결하기 위해 단계(S200) 내지 단계(S260)을 반복 수행할 수 있다.The LoRa terminal 200 and the LoRa server 100 repeat steps S200 to S260 to solve the network problem between the LoRa terminal 200 and the LoRa server 100 when a new session connection is established .

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

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer storage media, or device , Or may be permanently or temporarily embodied in a transmitted signal wave. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

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

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

100: LoRa 서버
110: 메모리
120: 중앙 처리부
130: 데이터베이스
140: 통신 인터페이스
200: LoRa 단말
100: LoRa server
110: Memory
120:
130: Database
140: Communication interface
200: LoRa terminal

Claims (10)

LoRa 단말로부터 상기 LoRa 단말과의 세션 정보를 포함하는 제1 LoRa 메시지를 수신하는 단계;
데이터베이스를 참조하여, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하지 않는 경우, 특정 영역에 복구 정보가 설정(set)된 제2 LoRa 메시지를 생성하는 단계; 및
상기 제2 LoRa 메시지를 상기 LoRa 단말로 전송하는 단계
를 포함하고,
상기 LoRa 단말은 상기 제2 LoRa 메시지의 상기 특정 영역에 상기 복구 정보가 설정된 경우, 상기 LoRa 서버와의 세션 연결을 해제한 후, 상기 LoRa 서버로 새로운 세션 연결 요청을 전송하고,
상기 제2 LoRa 메시지는, 상기 특정 영역을 제외한 다른 영역의 비트 정보는 상기 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일한,
LoRa 서버의 네트워크 통신 복구 방법.
Receiving a first LoRa message including session information from the LoRa terminal with the LoRa terminal;
Generating a second LoRa message in which restoration information is set in a specific area when information corresponding to the session information does not exist in the database by referring to the database; And
Transmitting the second LoRa message to the LoRa terminal
Lt; / RTI >
When the recovery information is set in the specific area of the second LoRa message, the LoRa terminal releases a session connection with the LoRa server and then transmits a new session connection request to the LoRa server,
Wherein the second LoRa message includes the same information as the bit information of the corresponding region of the first LoRa message,
How to recover network communication of LoRa server.
제1항에 있어서,
상기 특정 영역은 MHDR(Mac Header)이고,
상기 복구 정보는 상기 MHDR에 포함된 특정 비트인,
LoRa 서버의 네트워크 통신 복구 방법.
The method according to claim 1,
The specific area is an MHDR (Mac Header)
The recovery information includes a specific bit included in the MHDR,
How to recover network communication of LoRa server.
제2항에 있어서,
상기 복구 정보는,
상기 MHDR의 4번째 비트이고,
상기 비트를 1로 설정함으로써 상기 복구 정보를 설정하는,
LoRa 서버의 네트워크 통신 복구 방법.
3. The method of claim 2,
The recovery information may include,
The fourth bit of the MHDR,
And setting the recovery information by setting the bit to 1,
How to recover network communication of LoRa server.
제1항에 있어서,
상기 세션 정보는 상기 LoRa 단말 정보를 포함하는,
LoRa 서버의 네트워크 통신 복구 방법.
The method according to claim 1,
Wherein the session information includes the LoRa terminal information,
How to recover network communication of LoRa server.
제1항에 있어서,
상기 LoRa 서버는, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하는 경우, 상기 제1 LoRa 메시지를 IoT 앱 서버로 전송하는,
LoRa 서버의 네트워크 통신 복구 방법.
The method according to claim 1,
Wherein the LoRa server transmits the first LoRa message to the IoT app server when information corresponding to the session information exists in the database,
How to recover network communication of LoRa server.
제어 프로그램을 기록하는 메모리;
상기 제어 프로그램에 따라 동작하는 중앙 처리부;
LoRa 단말과의 세션 정보를 포함하는 데이터베이스; 및
상기 LoRa 단말 및 IoT 앱 서버와 정보를 송수신하는 통신 인터페이스
를 포함하고,
상기 제어 프로그램은,
상기 LoRa 단말로부터 상기 LoRa 단말과의 세션 정보를 포함하는 제1 LoRa 메시지를 수신하는 단계;
상기 데이터베이스를 참조하여, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하지 않는 경우, 상기 LoRa 단말로 전송할 제2 LoRa 메시지를 생성하는 단계; 및
상기 제2 LoRa 메시지를 상기 LoRa 단말로 전송하는 단계
를 포함하고,
상기 LoRa 단말은 상기 제2 LoRa 메시지의 상기 특정 영역에 포함된 상기 복구 정보가 설정된 경우, 상기 LoRa 서버와의 세션 연결을 해제한 후, 상기 LoRa 서버로 새로운 세션 연결 요청을 전송하고,
상기 제2 LoRa 메시지는, 특정 영역에 복구 정보가 설정(set)되고, 상기 특정 영역을 제외한 다른 영역의 비트 정보는 상기 제1 LoRa 메시지의 대응되는 영역의 비트 정보와 동일한,
LoRa 서버.
A memory for recording a control program;
A central processing unit operating in accordance with the control program;
A database including session information with the LoRa terminal; And
A communication interface for transmitting and receiving information to and from the LoRa terminal and the IoT app server
Lt; / RTI >
Wherein the control program comprises:
Receiving a first LoRa message including session information from the LoRa terminal with the LoRa terminal;
Generating a second LoRa message to be transmitted to the LoRa terminal when the information corresponding to the session information does not exist in the database with reference to the database; And
Transmitting the second LoRa message to the LoRa terminal
Lt; / RTI >
When the recovery information included in the specific area of the second LoRa message is set, the LoRa terminal releases a session connection with the LoRa server, and then transmits a new session connection request to the LoRa server,
Wherein the second LoRa message is configured such that recovery information is set in a specific area and bit information of another area excluding the specific area is the same as bit information of a corresponding area of the first LoRa message,
LoRa server.
제6항에 있어서,
상기 특정 영역은 MHDR(Mac Header)이고,
상기 복구 정보는 상기 MHDR에 포함된 특정 비트인,
LoRa 서버.
The method according to claim 6,
The specific area is an MHDR (Mac Header)
The recovery information includes a specific bit included in the MHDR,
LoRa server.
제6항에 있어서,
상기 복구 정보는,
상기 MHDR의 4번째이고,
상기 비트를 1로 설정함으로써 상기 복구 정보를 설정하는,
LoRa 서버.
The method according to claim 6,
The recovery information may include,
The fourth of the MHDR,
And setting the recovery information by setting the bit to 1,
LoRa server.
제6항에 있어서,
상기 세션 정보는 상기 LoRa 단말 정보를 포함하는,
LoRa 서버.
The method according to claim 6,
Wherein the session information includes the LoRa terminal information,
LoRa server.
제6항에 있어서,
상기 LoRa 서버는, 상기 세션 정보와 대응되는 정보가 상기 데이터베이스에 존재하는 경우, 상기 제1 LoRa 메시지를 IoT 앱 서버로 전송하는,
LoRa 서버.
The method according to claim 6,
Wherein the LoRa server transmits the first LoRa message to the IoT app server when information corresponding to the session information exists in the database,
LoRa server.
KR1020170028947A 2017-03-07 2017-03-07 LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF KR102032607B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170028947A KR102032607B1 (en) 2017-03-07 2017-03-07 LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170028947A KR102032607B1 (en) 2017-03-07 2017-03-07 LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020190123040A Division KR102148612B1 (en) 2019-10-04 2019-10-04 LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF

Publications (2)

Publication Number Publication Date
KR20180102383A true KR20180102383A (en) 2018-09-17
KR102032607B1 KR102032607B1 (en) 2019-10-15

Family

ID=63721822

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170028947A KR102032607B1 (en) 2017-03-07 2017-03-07 LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF

Country Status (1)

Country Link
KR (1) KR102032607B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148276A (en) * 2020-01-13 2020-05-12 武汉慧联无限科技有限公司 Communication method, device, base station and storage medium based on LoRa technology
WO2023184794A1 (en) * 2022-03-30 2023-10-05 歌尔股份有限公司 Device control method, loudspeaker device, console, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080033678A (en) * 2006-10-13 2008-04-17 임승빈 Method and system for data transmitting between local servers connected to each other via local network and outside server
KR101042745B1 (en) * 2004-01-30 2011-06-20 삼성전자주식회사 System and method for reestablishing the session between terminal and server
WO2015064828A1 (en) * 2013-10-29 2015-05-07 삼성에스디에스 주식회사 Device and method for data transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101042745B1 (en) * 2004-01-30 2011-06-20 삼성전자주식회사 System and method for reestablishing the session between terminal and server
KR20080033678A (en) * 2006-10-13 2008-04-17 임승빈 Method and system for data transmitting between local servers connected to each other via local network and outside server
WO2015064828A1 (en) * 2013-10-29 2015-05-07 삼성에스디에스 주식회사 Device and method for data transmission

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148276A (en) * 2020-01-13 2020-05-12 武汉慧联无限科技有限公司 Communication method, device, base station and storage medium based on LoRa technology
CN111148276B (en) * 2020-01-13 2023-05-05 武汉慧联无限科技有限公司 Communication method, device, base station and storage medium based on LoRa technology
WO2023184794A1 (en) * 2022-03-30 2023-10-05 歌尔股份有限公司 Device control method, loudspeaker device, console, and storage medium

Also Published As

Publication number Publication date
KR102032607B1 (en) 2019-10-15

Similar Documents

Publication Publication Date Title
JP7396768B2 (en) System and method for uplink data scheduling for grant-free transmission
KR102567666B1 (en) Techniques to manage integrity protection
US11140654B2 (en) Method for sending paging message and related device
AU2018366755B2 (en) Connection resume request method and apparatus
CN111357309A (en) Method and computing device for performing data integrity protection
US11039309B2 (en) User plane security for disaggregated RAN nodes
CN110999355B (en) Quality of service implementation for disjoint user planes
WO2019096171A1 (en) Method and apparatus for requesting recovery of connection
CN112789929A (en) Managing control plane delay for integrated access and backhaul
KR102032607B1 (en) LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF
KR20220078591A (en) User Equipment and Scheduling Nodes
KR102148612B1 (en) LoRa SERVER AND METHOD FOR NETWORK COMMUNICATION RECOVERY THEREOF
KR102280286B1 (en) Master node and operation method of the master node
ElSawy Rate adaptation and latency in heterogeneous IoT networks
US20200404743A1 (en) Method and apparatus for controlling packet duplication transmission in wireless communication system
CN110225517B (en) Information sending method, device and system and computer readable storage medium
JP5804209B2 (en) Radio access network device, control method, mobile communication system, and program
KR101711332B1 (en) Data trasmission method and device for secrecy energy efficiency in multi-tier wireless network
WO2023071712A1 (en) Secure communication method and related device
KR102225750B1 (en) Method and system for transmitting secure data using power back-off
Yang et al. Cache‐aided multiuser UAV‐MEC networks for smart grid networks: A DDPG approach
KR20240041920A (en) Communication device and communication method for allocating one or more additional operating windows for sidelink signals
WO2019096265A1 (en) Method and device for requesting connection recovery
WO2018228444A1 (en) Method and terminal for connection management and radio access network device
WO2023132786A2 (en) Advance indication of resource selection

Legal Events

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