A method for continuous and reliable transmission of uplink data based on LoRaWAN

By dividing LoRaWAN into random channels and dedicated channels and using MAC commands to manage channel resources, the reliability and timeliness issues of LoRaWAN uplink data transmission are solved, and orderly data transmission and efficient resource utilization are achieved.

CN116266959BActive Publication Date: 2025-09-19BEIJING XINGYUN DIGITAL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111541715.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2025-09-19
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

The existing LoRaWAN cannot simultaneously guarantee timeliness and continuous reliable transmission without occupying downlink resources in uplink data transmission, resulting in channel resource contention and congestion problems.

Method used

The network server divides the uplink channel into random channels and dedicated channels. The terminal sends data on the dedicated channel and applies for and releases channel resources through MAC commands to ensure the orderliness and reliability of data transmission.

Benefits of technology

It achieves continuous and reliable transmission of uplink data, avoids data accumulation and reduced transmission rate, and ensures efficient use of channel resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116266959B_ABST
    Figure CN116266959B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for continuous and reliable transmission of uplink data based on LoRaWAN, which is applied in the field of wide area Internet of Things communications. The key points of the technical solution are: including a network server, an uplink channel allocated by the network server, and the resources of the uplink channel are divided into random channels and dedicated channels under the configuration mode of the network server. The MAC command of the dedicated channel exchanged between the terminal and the network server provides the terminal with the dedicated channel required for use, and the terminal transmits the uplink data continuously and reliably through the dedicated channel, so that the use of random channels and dedicated channels can be divided in an orderly manner; the technical effect is: during the process of transmitting uplink data by the terminal, the random transmission of the uplink data of the terminal can be not affected, and the dedicated channel for uplink data transmission obtained by applying for the MAC command can ensure the continuous and reliable transmission of the uplink data of the terminal, providing effective help for the expansion of the application scenarios of LoRaWAN.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wide area Internet of Things communications, and in particular to a method for continuous and reliable transmission of uplink data based on LoRaWAN. Background Art

[0002] In the LoRaWAN standard, the terminal's channel access method is a pure ALOHA mechanism. The terminal does not perform channel detection and sends directly. As the number of terminals increases or the frequency of sending uplink data packets increases, the probability of uplink data packets from multiple terminals colliding on the channel greatly increases, resulting in terminal data packet loss. To ensure continuous and reliable transmission of terminal uplink data, there are currently two common methods.

[0003] Method 1: To solve the channel contention problem, LoRaWAN has implemented CSMA-CA technology. The CSMA-CA algorithm is divided into two steps. First, the channel is detected. By detecting the busy or idle status of the channel, data is sent when the channel is idle. Secondly, a delayed backoff is performed when the channel is busy. After the delay, another detection is performed. If the detection is still busy, the backoff time is doubled.

[0004] Method 2: The terminal uses the uplink confirmation packet mechanism and considers that the data has been sent successfully after receiving the uplink data response message.

[0005] Since the timeliness of uplink data transmission cannot be guaranteed in method 1, if the channel busy state is detected multiple times, the data transmission delay will be very long or even discarded. In this way, for scenarios where multiple uplink data are continuously transmitted, the transmission delay will increase exponentially; the uplink confirmation packet response message in method 2 will occupy the gateway's downlink channel resources. Since the proportion of the LoRaWAN gateway's downlink channel resources to the uplink channel resources is very small, most LoRaWAN gateways only have one downlink channel, so the uplink confirmation packet mechanism is used with caution; continuous uplink confirmation data transmission will fill up the downlink channel resources, directly leading to congestion of the gateway's downlink channel.

[0006] Both of the above methods can only ensure the continuous and reliable transmission of uplink data at the expense of time domain or frequency domain resources, which will cause impact.

[0007] Therefore, the existing LoRaWAN cannot meet the timeliness requirements and continuously and reliably transmit uplink data without occupying downlink resources during the transmission process. Summary of the Invention

[0008] The purpose of the present invention is to provide a method for continuous and reliable transmission of uplink data based on LoRaWAN, which has the advantage of being able to ensure the performance of continuous and reliable transmission of uplink data.

[0009] The above technical objectives of the present invention are achieved through the following technical solutions: a method for continuous and reliable transmission of uplink data based on LoRaWAN, the specific steps are as follows:

[0010] Step 1: Configure and divide the uplink channel resources of the LoRaWAN gateway through the network server, specifically dividing the uplink channel into random channels and dedicated channels for use;

[0011] Step 2: The terminal sends a registration request message to the network server, and the network server sends the uplink channel resource configuration and division to the terminal through a registration response message;

[0012] Step 3: When the terminal needs to continuously send uplink data, it first sends a channel request to the interactive command between the network server and the terminal, carrying the information about the duration of the application to occupy the dedicated channel;

[0013] Step 4: The network server allocates a dedicated channel for the terminal to send uplink data;

[0014] Step 5: The terminal continues to send uplink data on the dedicated channel allocated by the network server;

[0015] Step 6: The terminal completes sending the uplink data to be sent and sends an interactive command to the network server to release the dedicated channel. After receiving the interactive command, the network server responds with a successful release, and the uplink data continuous transmission process ends.

[0016] Step 7: The network server detects how long the terminal has been using the dedicated channel. If the terminal sends an interactive command to release the channel, it will be sent back to the network server, and the dedicated channel resource will be forcibly released.

[0017] Through the above technical solution, data needs to be transmitted according to usage during the transmission process. In order to avoid accumulation during data transmission, the uplink channel configuration is divided into random channels and dedicated channels through the network server. Before applying for an interactive command, the terminal can only view the information of a specific random channel during data transmission, so that the data can be transmitted on the random channel. Then, the terminal carries the applied occupancy time information to apply for the use of the dedicated channel. When the interactive command receives the request and detects the busy or idle status of the dedicated channel, the number of dedicated channels is allocated to the terminal according to the busy or idle status of the dedicated channel. The terminal transmits uplink data on the dedicated channel sent down. After the uplink data is transmitted, the terminal sends an interactive command to release the dedicated channel to the network server. After receiving the interactive command, the network server replies with the interactive command of successful release, completing the continuous transmission of uplink data.

[0018] The present invention is further configured as follows: the division of random channels and dedicated channels in step 1 is flexibly configured according to actual needs to occupy the proportion of uplink channels.

[0019] Through the above technical solution, the uplink channel configuration is divided into dedicated channels and random channels, which makes it convenient to plan different channels for transmission of uplink data during transmission, and can avoid data accumulation during transmission and reduce the transmission rate.

[0020] The present invention is further configured such that: in step 2, the terminal can only see the information of the random channel, and at this time the terminal will not send uplink data on the dedicated channel.

[0021] With the above technical solution, by checking the information of the random channel, the uplink data can be transmitted through the random channel during the process of the terminal carrying the uplink data.

[0022] The present invention is further configured such that: the interactive command in step three is a MAC command, and the interactive commands in step six and step seven are both the same MAC commands as those in step three.

[0023] Through the above technical solution, MAC commands are used to independently determine whether to receive or transmit data, without relying on the use of other network layer protocols, to achieve independent data transmission and reception, and ensure smooth data transmission.

[0024] The present invention is further configured as follows: in step 4, if all dedicated channels are occupied during the process of allocating dedicated channels for use by the network server, the allocation is terminated; if there are idle dedicated channels, the successful interaction command is allocated to the idle dedicated channels.

[0025] Through the above technical solution, the network server first judges the busy or idle status of the dedicated channel during the process of allocating the use of the channel. The idle dedicated channel will receive the interaction command of successful allocation, which is convenient for the transmission of uplink data in the dedicated channel. When the dedicated channel is not in an idle state, the interaction command is directly terminated. The resources of the dedicated channel are timely judged and allocated through the mutual transmission of interaction commands between the network server and the terminal, which facilitates data transmission.

[0026] The present invention is further configured such that dedicated channel number information is carried during the dedicated channel allocation process.

[0027] With the above technical solution, by allocating numbers corresponding to dedicated channels during the dedicated channel allocation process, it is possible to easily identify the usage of the dedicated channels, thereby facilitating the transmission of uplink data.

[0028] The present invention is further configured such that: the uplink channel resources are set to 8 uplink channels.

[0029] Another object of the present invention is to provide a system for continuous and reliable transmission of uplink data based on LoRaWAN, which has the advantage of being able to ensure the performance of continuous and reliable transmission of uplink data.

[0030] The above technical objectives of the present invention are achieved through the following technical solutions: a system for continuous and reliable transmission of uplink data based on LoRaWAN, including an OSI model, wherein the OSI model stores a network layer for communication, and an address is allocated by the network layer to realize a method for continuous and reliable transmission of uplink data based on LoRaWAN.

[0031] In summary, the present invention has the following beneficial effects:

[0032] 1. The network server divides the uplink channel resources into random channels and dedicated channels. The terminal transmits uplink data on the allocated dedicated channels.

[0033] 2. Apply for the use information of the uplink dedicated channel through the MAC command. After applying for the use information of the uplink dedicated channel, the terminal continuously transmits uplink data in real time according to the allocation of the uplink channel. After the uplink data is sent, the network server responds with a MAC command indicating a successful release after receiving it, and the single uplink data continuous transmission process ends;

[0034] 3. The present invention divides the uplink channel resources into random channels and dedicated channels, provides a transmission channel for the uplink data that needs to be transmitted, and after the uplink channel resources are allocated, the uplink data is transmitted and sent in an orderly manner, avoiding the problem of time delay caused by data transmission accumulation. At the same time, the uplink data is transmitted in an orderly manner, so as to achieve the purpose of continuous and reliable transmission of uplink data by the terminal, which provides effective help in the expansion of the application scenarios of LoRaWAN. While not affecting the random transmission of the terminal uplink data, the random transmission uses the uplink random channel obtained through the registration response message, and can also ensure the continuous and reliable transmission of the terminal uplink data. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 Schematic diagram of gateway channel allocation in this embodiment;

[0036] Figure 2 This is a schematic diagram of the terminal registration process of this embodiment;

[0037] Figure 3 This is a flowchart of the terminal of this embodiment using a dedicated channel to continuously transmit uplink data. DETAILED DESCRIPTION

[0038] The present invention will be further described in detail below with reference to the accompanying drawings.

[0039] Example 1:

[0040] A method for continuous and reliable transmission of uplink data based on LoRaWAN, see Figures 1 to 3 ,

[0041] Figure 1 To divide uplink channel resources into random channels for uplink data transmission and dedicated channels for uplink data transmission, the figure shows the use of uplink channel resources set to 8 channels. In this case, the 8 uplink channel resources are divided into 5 random channels for uplink data transmission and 3 dedicated channels for uplink data transmission under the allocation of the network server. After the terminal sends a registration request message to the network server, the network server allocates an available dedicated channel for uplink data transmission to the terminal based on the requested occupation duration information carried by the terminal.

[0042] Figure 2 This is a registration flow chart when the terminal needs to transmit data; Figure 3 For terminal use Figure 1 The dedicated channel allocated in the network is used to continuously transmit uplink data;

[0043] The specific steps are as follows:

[0044] Step 1: Configure and divide the uplink channel resources of the LoRaWAN gateway through the network server, specifically dividing the uplink channel into random channels and dedicated channels for use;

[0045] Step 2: The terminal sends a registration request message to the network server, and the network server sends the uplink channel resource configuration and division to the terminal through a registration response message;

[0046] Step 3: When the terminal needs to continuously send uplink data, it first sends a channel request to the interactive command between the network server and the terminal, carrying the information about the duration of the application to occupy the dedicated channel;

[0047] Step 4: The network server allocates a dedicated channel for the terminal to send uplink data;

[0048] Step 5: The terminal continues to send uplink data on the dedicated channel allocated by the network server;

[0049] Step 6: The terminal completes sending the uplink data to be sent and sends an interactive command to the network server to release the dedicated channel. After receiving the interactive command, the network server responds with a successful release, and the uplink data continuous transmission process ends.

[0050] Step 7: The network server detects how long the terminal has been using the dedicated channel. If the terminal sends an interactive command to release the channel, it will be sent back to the network server, and the dedicated channel resource will be forcibly released.

[0051] During the transmission process, data needs to be transmitted according to usage. In order to avoid accumulation during the data transmission process, the uplink channel configuration is divided into random channels and dedicated channels through the network server. Before applying for the interactive command, the terminal can only view the information of the specific random channel during data transmission, so that the data can be transmitted on the random channel. Then, the requested occupancy time information is carried to apply for the use of the dedicated channel. When the interactive command receives the request and detects the busy or idle status of the dedicated channel, the number of dedicated channels is allocated to the terminal according to the busy or idle status of the dedicated channel. The terminal transmits uplink data on the dedicated channel sent down. After the uplink data is transmitted, the terminal sends an interactive command to the network server to release the dedicated channel. After receiving the interactive command, the network server replies with the interactive command of successful release to complete the continuous transmission of the uplink data.

[0052] The division of random channels and dedicated channels in step one is flexibly configured according to the actual needs to occupy the proportion of uplink channels; the uplink channel configuration is divided into dedicated channels and random channels, which is convenient for planning different channels for transmission of uplink data during the transmission process, and can avoid data accumulation during the transmission process and reduce the transmission rate.

[0053] In step 2, the terminal can only see the information of the random channel, and the terminal will not send uplink data on the dedicated channel at this time; by checking the information of the random channel, the uplink data can be transmitted through the random channel while the terminal is carrying uplink data.

[0054] The interactive command in step 3 is a MAC command, and the interactive commands in steps 6 and 7 are the same MAC commands as in step 3; the MAC command is used to independently determine whether to receive or transmit data, without relying on the use of other network layer protocols, to achieve independent data transmission and reception, and to ensure smooth data transmission.

[0055] In step 4, during the process of allocating dedicated channels for use by the network server, if all dedicated channels are occupied, the allocation is terminated; if there are idle dedicated channels, the successful interaction command is allocated to the idle dedicated channels; the network server first determines the busy or idle status of the dedicated channels during the process of allocating channels for use, and the idle dedicated channels will receive the successfully allocated interaction command, which is convenient for the transmission of uplink data in the dedicated channels. When the dedicated channels are not idle, the interaction command is directly terminated, and the resources of the dedicated channels are timely judged and allocated through the mutual transmission of interaction commands between the network server and the terminal, which is convenient for data transmission. The dedicated channel number information is carried in the process of dedicated channel allocation; by allocating the corresponding dedicated channel number during the process of dedicated channel allocation, the usage of the dedicated channel can be easily identified, which is convenient for the transmission of uplink data.

[0056] Example 2

[0057] A system for continuous and reliable transmission of uplink data based on LoRaWAN includes an OSI model. The OSI model stores a network layer for communication. The method for continuous and reliable transmission of uplink data based on LoRaWAN as disclosed in Example 1 is implemented by allocating addresses through the network layer.

[0058] Brief description of the usage process: The uplink channel resources are reasonably allocated into random channels and dedicated channels through the network server. The terminal sends a registration request message to the network server. The network server feeds back the division of uplink channel resources to the terminal. Then the terminal calls the interactive command between the terminal and the network server, namely the MAC command. When calling the MAC command, the occupancy time information of the application is carried. At this time, the network server allocates the uplink dedicated channel required to transmit uplink data to the terminal according to the application information, so that the terminal can continuously transmit uplink data on the successfully allocated uplink dedicated channel until the MAC command is successfully released and the uplink data transmission is completed. During the transmission of the entire uplink data, the transmission of uplink data on the random channel will not be affected, and the uplink data can be continuously and reliably transmitted on the uplink dedicated channel obtained through the MAC command.

[0059] This specific embodiment is merely an explanation of the present invention and is not intended to limit the present invention. After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed. However, as long as such modifications are within the scope of the claims of the present invention, they are protected by patent law.

Claims

1. A method for continuous and reliable transmission of uplink data based on LoRaWAN, characterized in that: The specific steps are as follows: Step 1: Divide the uplink channel resources of the LoRaWAN gateway through the network server, specifically dividing the uplink channel into random channels and dedicated channels for use; Step 2: The terminal sends a registration request message to the network server. The network server sends the uplink channel resource allocation to the terminal via a registration response message. The terminal can only see the information of the random channel and will not send uplink data on the dedicated channel at this time. Step 3: When the terminal needs to continuously send uplink data, it first sends a channel application command with the duration information of the requested channel occupation. The application command is a MAC command. Step 4: The network server allocates a dedicated channel for the terminal to send uplink data. During the process of allocating dedicated channels, if all dedicated channels are occupied, the allocation is terminated; if there are idle dedicated channels, the successful interaction command is allocated to the idle dedicated channels; Step 5: The terminal continues to send uplink data on the channel allocated by the network server; Step 6: The terminal completes sending the uplink data to be sent and sends a MAC command to the network server to release the channel; Step 7: The network server detects whether the MAC command is sent successfully and releases the uplink channel resources.

2. The method for continuous and reliable transmission of uplink data based on LoRaWAN according to claim 1, wherein: The division of random channels and dedicated channels in step 1 is flexibly configured according to actual needs to occupy the proportion of uplink channels.

3. The method for continuous and reliable transmission of uplink data based on LoRaWAN according to claim 1, wherein: The dedicated channel allocation process carries dedicated channel number information.

4. The method for continuous and reliable transmission of uplink data based on LoRaWAN according to claim 1, wherein: The uplink channel resources are set to 8 uplink channels.

5. A LoRaWAN-based uplink data continuous and reliable transmission system, characterized in that: The invention comprises an OSI model, wherein the OSI model stores a network layer for communication, and the address is allocated by the network layer to implement the method for continuous and reliable transmission of uplink data based on LoRaWAN according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • LoRaWAN Internet of Things supporting TDMA access

    CN110049562A