CN106911430B - LoRaWAN adaptive rate adjustment method - Google Patents

LoRaWAN adaptive rate adjustment method Download PDF

Info

Publication number
CN106911430B
CN106911430B CN201710124472.1A CN201710124472A CN106911430B CN 106911430 B CN106911430 B CN 106911430B CN 201710124472 A CN201710124472 A CN 201710124472A CN 106911430 B CN106911430 B CN 106911430B
Authority
CN
China
Prior art keywords
rate
terminal
value
data
snr
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710124472.1A
Other languages
Chinese (zh)
Other versions
CN106911430A (en
Inventor
谢玖实
涂小朋
顾庆欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guodong Information Technology Group Co ltd
Original Assignee
National Animal Network Co ltd
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 National Animal Network Co ltd filed Critical National Animal Network Co ltd
Priority to CN201710124472.1A priority Critical patent/CN106911430B/en
Publication of CN106911430A publication Critical patent/CN106911430A/en
Application granted granted Critical
Publication of CN106911430B publication Critical patent/CN106911430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a LoRaWAN adaptive rate adjustment method, which is characterized in that when a terminal uploads data, the SNR mean value of the latest N pieces of data is calculated, the corresponding proper working rate is obtained according to the difference of the calculation results, and the rate adjustment is carried out by issuing a command to the terminal. N is determined according to the actual network condition: when the fluctuation of the electromagnetic environment of the terminal is small, a larger value is taken; and when the environment of the terminal is severe and the fluctuation is large, N is properly small to deal with the environment with fast change. The invention has the function of adaptively adjusting the terminal speed. The rate is adjusted according to the SNR mean value of the latest N times of uploading data, so that the change of the terminal network environment can be reflected more uniformly, and the method is more suitable for being used as a rate control strategy. The N value used for calculating the SNR mean value is automatically adjusted according to the intensity of the network environment change, and the change of the network environment can be intelligently responded.

Description

LoRaWAN adaptive rate adjustment method
Technical Field
The invention belongs to the technical field of Internet of things, and relates to an adaptive Rate Adjustment (ADR) method for LoRaWAN.
Background
LoRa is a low-power consumption internet of things technology provided by Semtech corporation, and is widely applied to the fields of wireless meter reading and the like. LoRaWAN adopts LoRa technique to construct low-power consumption wireless internet wide area network. The LoRaWAN terminal works under different rates (Data rates are abbreviated as DR) according to the network signal state, and the DR is divided into 6 levels of 0-5. The higher the DR, the higher the transmission rate, and the lower the sensitivity; conversely, the lower the DR, the smaller the transmission rate, and the higher the sensitivity. Since the network environment of the LoRaWAN terminal is not stable, the terminal needs to adjust the working DR to adapt to the change of the network environment.
The existing rate adjustment schemes issue a command to adjust the rate of the terminal according to the best signal in the latest n times of data uploaded by the terminal, so that the rate is adjusted upwards most of the time, the existing rate adjustment schemes are insensitive to the situation of poor network conditions, and the existing rate adjustment schemes cannot adjust in time. When the network situation becomes worse, the rate should be adjusted downward to ensure the transmission stability, and if the current rate adjustment strategy is adjusted according to the best signal in the latest n times of uploading data, the rate cannot be guaranteed to be adjusted to a low state immediately, so that the network cannot cope with the deterioration situation in time.
Disclosure of Invention
The invention aims to provide a LoRaWAN adaptive rate adjustment method, which is characterized in that when a terminal uploads data, the SNR mean value of the latest N (N > -3) pieces of data is calculated, the corresponding proper working rate is obtained according to the difference of the calculation results, and the rate adjustment is carried out on the command issued by the terminal. N is determined according to the actual network condition: when the fluctuation of the electromagnetic environment of the terminal is small, a larger value is taken; and when the environment of the terminal is severe and the fluctuation is large, N is properly small to deal with the environment with fast change.
In order to achieve the technical purpose and achieve the technical effect, the technical scheme specifically comprises the following steps:
a LoRaWAN self-adaptive rate adjustment method is characterized in that a terminal is in DR0 after being started, after data are uploaded for the first time, a LoRaWAN server determines the proper working rate according to the SNR value of the first piece of data according to the following rule, and issues a corresponding MAC instruction to enable the LoRaWAN server to perform rate switching:
when the SNR value is less than-17, the rate is 0;
when the SNR value is more than-17 and less than or equal to-14, the rate is 1;
when the SNR value is larger than-14 and smaller than or equal to-11, the rate is 2;
when the SNR value is more than-11 and less than or equal to-8, the rate is 3;
when the SNR value is more than-8 and less than or equal to-5, the rate is 4;
when the SNR value is more than-5, the rate is 5;
after uploading data for the second time, calculating SNR mean values of the first time and the second time and determining a working rate according to the mean values; if the rate is different from the rate determined after the data is uploaded for the first time, then N of the average SNR of uploading for N times calculated by adjusting the rate is taken as a smaller value; if it is the same as the first time, N takes a larger value.
And calculating the SNR mean value of the latest N times of uploaded data every time the terminal uploads the data, determining the working rate according to the same rule, transmitting an MAC instruction to the terminal if the rate changes, adjusting the working rate after the terminal receives the MAC instruction and responding, and considering that the transmission fails if the LoRaWAN server does not receive the response and repeatedly transmitting the MAC instruction until the response is received.
Further, if the terminal has rate adjustment during continuous M times of data uploading, the network environment changes violently, and the N value is properly reduced to cope with the situation; and if the terminal does not have the condition of rate adjustment when the data are uploaded for K times continuously, the N value is properly increased to deal with the network environment with gentle change.
The invention has the following beneficial effects:
1. has the function of adaptively adjusting the terminal speed.
2. The rate is adjusted according to the SNR mean value of the latest N times of uploading data, so that the change of the terminal network environment can be reflected more uniformly, and the method is more suitable for being used as a rate control strategy.
3. The N value used for calculating the SNR mean value is automatically adjusted according to the intensity of the network environment change, and the change of the network environment can be intelligently responded.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments.
A LoRaWAN self-adaptive rate adjustment method is characterized in that a terminal is in DR0 after being started, after data are uploaded for the first time, a LoRaWAN server determines the proper working rate according to the SNR value of the first piece of data according to the following rule, and issues a corresponding MAC instruction to enable the LoRaWAN server to perform rate switching:
when the SNR value is less than-17, the rate is 0;
when the SNR value is more than-17 and less than or equal to-14, the rate is 1;
when the SNR value is larger than-14 and smaller than or equal to-11, the rate is 2;
when the SNR value is more than-11 and less than or equal to-8, the rate is 3;
when the SNR value is more than-8 and less than or equal to-5, the rate is 4;
when the SNR value is greater than-5, the rate is 5.
After uploading data for the second time, calculating the SNR mean value of the first time and the SNR mean value of the second time and determining the working rate according to the mean value. If the rate is different from the rate determined after the data is uploaded for the first time, the smaller value of N of the N times of uploading average SNR calculated by adjusting the rate later is 3; if it is the first time, N takes a larger value such as 6.
And calculating the SNR mean value of the latest N times of uploaded data every time the terminal uploads the data, determining the working rate according to the same rule, transmitting an MAC instruction to the terminal if the rate changes, adjusting the working rate after the terminal receives the MAC instruction and responding, and considering that the transmission fails if the LoRaWAN server does not receive the response and repeatedly transmitting the MAC instruction until the response is received.
If the terminal has the speed adjustment condition when uploading data for M times continuously, the change of the network environment is severe, and the N value is properly reduced to deal with the situation; and if the terminal does not have the condition of rate adjustment when the data are uploaded for K times continuously, the N value is properly increased to deal with the network environment with gentle change.
The following table is a detailed condition of the terminal data received after the adaptive rate adjustment algorithm of the present invention is implemented, as shown in table 1:
TABLE 1
Figure BDA0001238036200000051
The above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and any simple modifications or equivalent substitutions of the technical solutions that can be obviously obtained by those skilled in the art within the technical scope of the present invention are within the scope of the present invention.

Claims (2)

1. A LoRaWAN self-adaptive rate adjustment method is characterized in that a terminal is located at DR0 after being started, after data are uploaded for the first time, a LoRaWAN server determines the proper working rate according to the SNR value of the first piece of data according to the following rule, and sends a corresponding MAC instruction to enable the LoRaWAN server to perform rate switching:
when the SNR value is less than-17, the rate is 0 level;
when the SNR value is more than-17 and less than or equal to-14, the rate is 1 level;
when the SNR value is larger than-14 and smaller than or equal to-11, the rate is 2 level;
when the SNR value is more than-11 and less than or equal to-8, the rate is 3 levels;
when the SNR value is more than-8 and less than or equal to-5, the rate is 4 levels;
when the SNR value is more than-5, the rate is 5 levels;
after uploading data for the second time, calculating SNR mean values of the first time and the second time and determining a working rate according to the mean values; if the rate is different from the rate determined after the data is uploaded for the first time, then N of the average SNR of uploading for N times calculated by adjusting the rate is taken as a smaller value; if the same as the first time, N takes a larger value;
and calculating the SNR mean value of the latest N times of uploaded data every time the terminal uploads the data, determining the working rate according to the same rule, transmitting an MAC instruction to the terminal if the rate changes, adjusting the working rate after the terminal receives the MAC instruction and responding, and considering that the transmission fails if the LoRaWAN server does not receive the response and repeatedly transmitting the MAC instruction until the response is received.
2. The LoRaWAN adaptive rate adjustment method according to claim 1, wherein if the rate adjustment occurs in the terminal during M consecutive data uploads, it indicates that the network environment changes violently, and the N value is properly reduced to cope with the change; and if the terminal does not have the condition of rate adjustment when the data are uploaded for K times continuously, the N value is properly increased to deal with the network environment with gentle change.
CN201710124472.1A 2017-03-03 2017-03-03 LoRaWAN adaptive rate adjustment method Active CN106911430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710124472.1A CN106911430B (en) 2017-03-03 2017-03-03 LoRaWAN adaptive rate adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710124472.1A CN106911430B (en) 2017-03-03 2017-03-03 LoRaWAN adaptive rate adjustment method

Publications (2)

Publication Number Publication Date
CN106911430A CN106911430A (en) 2017-06-30
CN106911430B true CN106911430B (en) 2020-09-29

Family

ID=59186558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710124472.1A Active CN106911430B (en) 2017-03-03 2017-03-03 LoRaWAN adaptive rate adjustment method

Country Status (1)

Country Link
CN (1) CN106911430B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107959949B (en) * 2017-12-14 2020-11-06 天津中科物联网技术研究所 Optimization method of LoRa wireless communication MAC command
CN108112062A (en) * 2017-12-19 2018-06-01 中山大学花都产业科技研究院 The Low-power-consumptiocontrol control method that LoRaWAN adaptive powers and rate combine
CN109963309B (en) * 2017-12-22 2022-12-09 上海未来宽带技术股份有限公司 Adaptive rate adjustment method, system, storage medium and network server in LoRaWAN (Long Range network)
CN108199892B (en) * 2018-01-12 2019-11-26 电子科技大学 LoRa terminal maximum transmission rate dynamic prediction method neural network based
CN111800829B (en) * 2020-07-03 2023-08-11 瑞兴恒方网络(深圳)有限公司 LoRaWAN communication self-adaptive rate adjustment method, system and network server
CN112217608B (en) * 2020-10-13 2023-10-20 腾讯科技(深圳)有限公司 Data rate adjusting method and device, computer readable medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10484478B2 (en) * 2015-05-04 2019-11-19 Johnson Controls Technology Company HVAC controller with integrated wireless network processor chip
CN106385303A (en) * 2016-08-30 2017-02-08 中兴长天信息技术(南昌)有限公司 Adaptive information rate adjusting method of LORA wireless transmission system for Internet of Things (IoT)
CN106255137B (en) * 2016-09-18 2019-08-27 南方电网科学研究院有限责任公司 Promote the method and system of LoRa network communication rate
CN106374965A (en) * 2016-10-18 2017-02-01 杭州隽德科技有限公司 Lora-modulation-mode-based SPI interface internet-of-things wireless transceiver

Also Published As

Publication number Publication date
CN106911430A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106911430B (en) LoRaWAN adaptive rate adjustment method
TWI399992B (en) Interference control in a wireless communication system
US9998271B2 (en) Method and apparatus for selecting modulation and coding selection (MCS) level in wireless mobile communication system
CN107920031B (en) Adaptive adjustment method and device for access bandwidth
KR20170017920A (en) Minimizing interference between communication networks
TW200926707A (en) Method for adapting transmission rate of wireless network
CN101057415B (en) A method of operating a communication system, a radio station, and a radio communication system
US20140006667A1 (en) Adaptive hardware interrupt moderation
CN104104453B (en) The system that can reduce Radio frequency interference and the method reducing Radio frequency interference thereof
US7969162B2 (en) Method and device for dynamic adjustment of network operating voltage
CN101969418A (en) Threshold handover decision method for adaptive modulation coding
CN111800829B (en) LoRaWAN communication self-adaptive rate adjustment method, system and network server
CN103442419A (en) Short-distance point-to-point electromagnetic wave communication method based on self-adaption wave beam adjustment
JP4774460B2 (en) System and method for adaptively controlling averaging parameters for PCINR and RSSI
US20010036238A1 (en) Radio communication system
CN104683066B (en) The anti-mutual interference method of multimode gateway
CN110545315A (en) heartbeat interval adjusting method based on data block quantity change and bandwidth change
CN101583181B (en) Method and device for controlling transmission power of mobile station
CN106559491B (en) A kind of cloud business uplink dispatch method based on the optimization of improved Liapunov
CN108495363A (en) A kind of router control method and system
CN109600827A (en) A kind of power distribution method and device of reference signal
CN114222328A (en) Wireless link self-adaption method
CN106535235B (en) The decision threshold value of DTX detection determines method and apparatus, DTX detection method and device
CN112996094B (en) TA-based uplink power adjustment method and device, electronic equipment and storage medium
CN102388560B (en) Method and device for controlling block error rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200041 Shanghai Chengdu North Road, No. 333, North building, room 1604-05, building 16, room

Applicant after: National animal Network Co.,Ltd.

Address before: 200041 Shanghai Chengdu North Road, No. 333, North building, room 1604-05, building 16, room

Applicant before: GUODONG IOT TECHNOLOGY (SHANGHAI) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221215

Address after: 201900 Room 169, Floor 2, No. 148, Lane 999, Xin'er Road, Baoshan District, Shanghai

Patentee after: Guodong Information Technology Group Co.,Ltd.

Address before: Room 1604-05, 16th Floor, North Building, No. 333, Chengdu North Road, Jing'an District, Shanghai, 200041

Patentee before: National animal Network Co.,Ltd.