CN109121150B - ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data - Google Patents

ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data Download PDF

Info

Publication number
CN109121150B
CN109121150B CN201811185411.7A CN201811185411A CN109121150B CN 109121150 B CN109121150 B CN 109121150B CN 201811185411 A CN201811185411 A CN 201811185411A CN 109121150 B CN109121150 B CN 109121150B
Authority
CN
China
Prior art keywords
lora
communication
server
data
noise ratio
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
CN201811185411.7A
Other languages
Chinese (zh)
Other versions
CN109121150A (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.)
Emaga Interconnect Technologies Co ltd
Original Assignee
Emaga Interconnect Technologies 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 Emaga Interconnect Technologies Co ltd filed Critical Emaga Interconnect Technologies Co ltd
Priority to CN201811185411.7A priority Critical patent/CN109121150B/en
Publication of CN109121150A publication Critical patent/CN109121150A/en
Application granted granted Critical
Publication of CN109121150B publication Critical patent/CN109121150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/336Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The invention discloses an ADR (adaptive data reduction) adjusting method and system of a LoRa (LoRa) communication system based on big data, wherein the method comprises the following steps: when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, analyzing each piece of received communication information to obtain signal-to-noise ratio data of each piece of communication information; the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server; the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data of all pieces of communication information are obtained through calculation; and the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data of all the communication information and a preset signal-to-noise ratio threshold.

Description

ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data
Technical Field
The invention relates to the technical field of LoRa communication systems, in particular to an ADR (adaptive data rate) adjusting method and system of a LoRa communication system based on big data.
Background
Currently, the ADR strategy of LoRaWan is to determine the communication quality between a terminal and a gateway according to the received signal strength and the signal-to-noise ratio, so as to adjust the communication rate (spreading factor) of the terminal through the LoRaWan server, so that terminals distributed at different positions are at different rates; in the spread spectrum modulation, under the condition of the same bandwidth, different data rates are mutually orthogonal, that is, even if two terminals are on the same frequency, if the communication data rates of the two terminals are different, normal communication can be carried out without mutual interference, so that the purpose of capacity expansion can be achieved, and meanwhile, the high-quality communication of the terminals far away from a gateway can be ensured.
1. For a half-duplex communication system, the transmitter and the receiver can only work alternately, but not simultaneously; however, the adjustment of ADR requires the gateway to issue a rate adjustment command to the node, and frequent ADR adjustment commands without intervention can cause the gateway to be in a high-load state, thereby affecting the system capacity.
2. Factors such as diversity of communication environment and interference of electromagnetic waves can cause misjudgment of ADR adjustment strategy;
3. the ADR strategy cannot completely consider the communication specifications of various regions, and the duty ratio of the gateway exceeds the standard when a large number of ADR adjustment instructions are issued;
4. due to different radio planning in each country and region, the radio environment of each country is different, and a fixed set of ADR strategies cannot adapt to the global communication environment.
Disclosure of Invention
The invention provides an ADR (adaptive data reduction) adjusting method and system of an LoRa (LoRa radio communication) system based on big data, aiming at more accurately controlling the balance between the capacity and the communication quality of the LoRa communication system by utilizing an ADR strategy of big data analysis.
In order to achieve the above object, the present invention provides an ADR adjustment method for a big data based LoRa communication system, the method being applied to the ADR adjustment system for the big data based LoRa communication system, the ADR adjustment system for the big data based LoRa communication system including an LoRa server and an LoRa gateway communicatively connected to the LoRa server, the LoRa gateway being communicatively connected to an external LoRa terminal, the method including the steps of:
when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, analyzing each piece of received communication information to obtain signal-to-noise ratio data of each piece of communication information;
the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server;
the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data stored in the container are obtained through calculation;
and the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
A further technical solution of the present invention is that the step of the LoRa server adjusting the communication rate of the LoRa terminal according to the average value and the extreme difference of the snr data of all the communication information and a preset snr threshold includes:
the LoRa server obtains an adjustment value of the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold;
and the LoRa server adjusts the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value.
A further technical solution of the present invention is that, after the step of adjusting the communication rate of the LoRa terminal by the LoRa gateway according to the adjustment value, the LoRa server further includes:
the LoRa server compares the adjusted communication speed value reported by the LoRa terminal with a preset communication speed value;
if the two are the same, the adjustment is successful;
and if not, returning to the step of analyzing each piece of received communication information to obtain the signal-to-noise ratio data of each piece of communication information when the LoRa gateway receives the plurality pieces of communication information sent by the LoRa terminal according to the preset period.
A further technical solution of the present invention is that, after the step of adjusting the communication rate of the LoRa terminal by the LoRa server according to the average value and the extreme difference of the snr data of all the communication information and a preset snr threshold, the method further includes:
the LoRa server records a result of adjusting the communication rate of the LoRa terminal;
the LoRa server empties the signal-to-noise ratio data of the communication information of the container;
and returning to execute the step that when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, each piece of received communication information is analyzed to obtain the signal-to-noise ratio data of each piece of communication information.
A further technical solution of the present invention is that the ADR adjustment system of the big data based LoRa communication system further includes a cloud database and a data processing server, and the method further includes:
the cloud database collects communication data of an LoRa terminal which sends communication information to the LoRa gateway and the communication data of the LoRa gateway;
the data processing server processes the data collected by the cloud server, and the processing content comprises the following steps: counting the number of the LoRa terminals, the working time of the LoRa gateway, the signal-to-noise ratio normal distribution of each LoRa terminal and the packet loss rate of each LoRa terminal;
and if the data volume reported by the LoRa terminal reaches a preset ADR adjustment trigger threshold, the data processing server starts to adjust the LoRa terminal, and at the moment, the LoRaWan server does not independently adjust the ADR of the LoRa terminal any more unless the LoRa terminal is reset or is accessed to the network again.
In order to achieve the above object, the present invention further provides an ADR adjustment system of an LoRa communication system based on big data, where the ADR adjustment system includes an LoRa server and an LoRa gateway communicatively connected to the LoRa server, where the LoRa gateway is communicatively connected to an external LoRa terminal;
the LoRa gateway is used for analyzing each piece of received communication information to obtain signal-to-noise ratio data of each piece of communication information when receiving a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, and sending the signal-to-noise ratio data of each piece of communication information to the LoRa server;
the LoRa server is used for storing the signal-to-noise ratio data of each piece of communication information in a preset corresponding container, obtaining the average value and the extreme difference of the signal-to-noise ratio data stored in the container through calculation, and adjusting the communication rate of the LoRa terminal according to the average value and the extreme difference of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
The present invention further adopts the technical scheme that the LoRa server is further configured to obtain an adjustment value of the communication rate of the LoRa terminal according to the average value and the range of the snr data of all the communication information and a preset snr threshold, and adjust the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value.
The invention has the further technical scheme that the LoRa server is further configured to compare the adjusted communication rate value reported by the LoRa terminal with a preset communication rate value.
The invention has the further technical scheme that the LoRa server is further configured to record a result of adjusting the communication rate of the LoRa terminal, and empty the signal-to-noise ratio data of the communication information of the container.
The invention further adopts the technical scheme that the ADR adjusting system of the LoRa communication system based on the big data further comprises a cloud database and a data processing server;
the cloud database is used for collecting communication data of an LoRa terminal which sends communication information to the LoRa gateway and the communication data of the LoRa gateway; the data processing server is used for processing the data collected by the cloud server, and the processing content comprises: counting the number of the LoRa terminals, the working time of the LoRa gateway, the signal-to-noise ratio normal distribution of each LoRa terminal and the packet loss rate of each LoRa terminal;
and if the data volume reported by the LoRa terminal reaches a preset ADR adjustment trigger threshold, the data processing server starts to adjust the LoRa terminal, and at the moment, the LoRaWan server does not independently adjust the ADR of the LoRa terminal any more unless the LoRa terminal is reset or is accessed to the network again.
The invention has the beneficial effects that: according to the ADR adjusting method and system of the LoRa communication system based on the big data, through the technical scheme, when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to the preset period, each piece of received communication information is analyzed, and the signal-to-noise ratio data of each piece of communication information is obtained; the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server; the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data of all pieces of communication information are obtained through calculation; the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data of all the communication information and the preset signal-to-noise ratio threshold, and the ADR strategy of big data analysis is utilized to more accurately control the balance between the capacity and the communication quality of the LoRa communication system, so that the system capacity is optimized, the communication success rate is improved, and the adaptability of the LoRa communication system to the environment is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating a preferred embodiment of an ADR adjustment method for a big data based LoRa communication system according to the present invention;
FIG. 2 is a detailed flowchart of step S40 in FIG. 1;
fig. 3 is a schematic diagram of the distribution of LoRa terminals;
FIG. 4 is a block diagram of the radio frequency front end of a half-duplex gateway;
FIG. 5 is a block diagram of a full-duplex gateway radio frequency front end;
FIG. 6 is a schematic diagram of half-duplex gateway on-time allocation;
FIG. 7 is a schematic ADR control flow diagram;
fig. 8 is a diagram of ADR policy for a LoRaWan cloud server;
FIG. 9 is a schematic diagram of data processing and flow using a database;
FIG. 10 is a graph of packet length versus transmission time;
fig. 11 is a schematic diagram of predicting the packet loss rate of the terminal by analyzing the SNR normal distribution and SNR value of the terminal by the gateway.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an ADR adjustment method for a large data-based LoRa communication system according to a preferred embodiment of the present invention.
This embodiment is applied to big data based on loRa communication system's ADR adjustment system, big data based on loRa communication system's ADR adjustment system include the loRa server, with loRa server communication connection's loRa gateway, the loRa gateway and external loRa terminal communication connection.
The present embodiment is directed to a LoRaWan communication system of a star networking, and is configured to determine, by using a LoRaWan cloud server, a communication signal-to-noise ratio of an LoRa terminal forwarded by an LoRa gateway, and control a communication rate of the LoRa terminal, where a data processing server performs big data processing by using an LoRa cloud database.
The LoRa gateway comprises a central processing unit, a LoRa communication module, a power supply module, an Ethernet module or a GSM/GPRS module or a 3G/4G/5G module or a WIFI module, a peripheral device interface and the like. The LoRa terminal comprises a central processing unit, a LoRa module, a power supply module and the like, and the application scene of the LoRa terminal is a non-mobile application scene.
The method comprises the following steps:
step S10, when the LoRa gateway receives the plurality of pieces of communication information sent by the LoRa terminal according to the preset period, the LoRa gateway analyzes each piece of received communication information to obtain the signal-to-noise ratio data of each piece of communication information.
Step S20, the LoRa gateway sends the snr data of each piece of communication information to the LoRa server.
In the LoRaWan communication system, a LoRa terminal reports a message with fixed power within a given period, and after receiving and demodulating the message, the LoRa gateway uploads signal quality (signal-to-noise ratio) data of current communication to the LoRa server and stores the data to a cloud database.
And step S30, the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the range of the signal-to-noise ratio data stored in the container are obtained through calculation.
The average value of the signal-to-noise ratio data of the communication information with a certain sample size is calculated to ensure the accuracy of sampling, the extreme difference is calculated by considering the uncertain factors of the radio environment, and when the extreme difference is larger, a more conservative communication rate needs to be adopted to ensure the success rate of communication.
And step S40, the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
After the LoRa server obtains the average value and the range of the signal-to-noise ratio data stored in the container through calculation, the LoRaWan cloud server issues a command to enable the LoRa terminal to enter a proper communication rate according to a given signal-to-noise ratio threshold.
Specifically, referring to fig. 2, fig. 2 is a detailed flowchart of step S40.
As shown in fig. 2, the step of adjusting the communication rate of the LoRa terminal by the LoRa server according to the average value and the extreme difference of the snr data stored in the container and the preset snr threshold includes:
step S401, the LoRa server obtains the adjustment value of the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
Step S402, the LoRa server adjusts the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value.
According to the technical scheme, when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to the preset period, the LoRa gateway analyzes each piece of received communication information to obtain the signal-to-noise ratio data of each piece of communication information; the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server; the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data stored in the container are obtained through calculation; the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold, and controls the balance between the capacity and the communication quality of the LoRa communication system more accurately by using an ADR strategy of big data analysis.
As an implementation manner, in this embodiment, in step S402, after the step of adjusting, by the LoRa server, the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value, the method further includes the following steps:
step S50, the LoRa server compares the adjusted communication rate value reported by the LoRa terminal with a preset communication rate value.
If the two are the same, the adjustment is successful.
And if not, returning to the step of analyzing each piece of received communication information to obtain the signal-to-noise ratio data of each piece of communication information when the LoRa gateway receives the plurality pieces of communication information sent by the LoRa terminal according to the preset period.
As an implementation manner, in this embodiment, in step S40, after the step of adjusting the communication rate of the LoRa terminal by the LoRa server according to the average value and the range of the snr data of all the communication information and a preset snr threshold, the method further includes the following steps:
step S60, the LoRa server records the result of adjusting the communication rate of the LoRa terminal.
Step S70, the LoRa server empties the snr data of the communication information of the container.
The LoRa server empties the signal-to-noise ratio data of the communication information of the container, and is used for storing the next group of data again; the signal-to-noise ratio data of the communication information of the container emptied by the LoRa server is used for reducing the sending frequency of the ADR adjusting instruction of the LoRa gateway and enhancing the response of the system to the environment change.
And after emptying the signal-to-noise ratio data of the communication information of the container, the LoRa server returns to execute the step of analyzing each piece of received communication information to obtain the signal-to-noise ratio data of each piece of communication information when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period.
Further, in this embodiment, the ADR adjustment system of the big data based LoRa communication system further includes a cloud database and a data processing server, and the ADR adjustment method of the big data based LoRa communication system further includes the following steps:
step S80, the cloud database collects communication data of the LoRa terminal that sends communication information to the LoRa gateway, and communication data of the LoRa gateway.
It should be noted that the step S80 may be executed simultaneously with the step S10.
Step S90, the data processing server processes the data collected by the cloud server, and the processing content includes: and counting the number of the LoRa terminals, the working time of the LoRa gateway, the signal-to-noise ratio normal distribution of each LoRa terminal and the packet loss rate of each LoRa terminal.
Step S100, if the data volume reported by the LoRa terminal reaches a preset ADR adjustment trigger threshold, the data processing server starts to adjust the LoRa terminal, and at this time, the LoRaWan server does not independently adjust the ADR of the LoRa terminal any more unless the LoRa terminal is reset or is accessed to the network again.
The ADR adjustment method of the large data based LoRa communication system according to the present invention is specifically described below with reference to fig. 3 to 11 by way of example.
Fig. 3 is a schematic diagram of the distribution of LoRa terminals, which is a terminal distribution diagram showing the final rate allocation and location distribution of terminals after the ADR strategy is adopted, and terminals adopting the same channel and different data rates do not interfere with each other.
Aiming at a LoRaWan communication system of a star networking, the LoRaWan cloud server is used for judging the terminal communication signal-to-noise ratio forwarded by the LoRa gateway and controlling the communication rate of the terminal, and the data processing server is used for processing big data by using the LoRa cloud database. The LoRa gateway comprises a central processing unit, a LoRa communication module, a power module, an Ethernet module or a GSM/GPRS module or a 3G/4G/5G module or a WIFI module, a peripheral device interface and the like. The LoRa terminal comprises a central processing unit, a LoRa module, a power supply module and the like, and the terminal application scene is a non-mobile application scene.
In a LoRaWan communication system, a LoRa terminal reports a message with fixed power in a given period, and after receiving and demodulating the message, a LoRa gateway uploads signal quality (signal-to-noise ratio) data of current communication to a LoRaWan cloud server and stores the data to a cloud database.
Firstly, the LoRa gateway can carry out primary processing on the signal-to-noise ratio data of the message reported by the current received LoRa terminal through a LoRaWan server; and collecting 10 data samples reported by the terminal, respectively storing the data samples into 10 containers set by the LoRaWan server, calculating the average value and the range of the group of data, and issuing a command by the LoRaWan cloud server according to a given signal-to-noise ratio threshold to enable the terminal to enter a proper communication rate. The LoRaWan cloud server records the result of the adjustment, empties the data in 10 containers after the adjustment is completed, and collects the data again, and the process is performed in a circulating mode. The sample number can be set by the cloud database according to the analysis result.
Meanwhile, the cloud database also continuously collects data, and the data processing server performs a series of analyses on the collected data: counting the number of terminals, calculating the packet loss rate of each terminal, calculating the receiving time of a gateway and calculating the transmitting time of the gateway; and feeding back the finally obtained result to the LoRaWan cloud server for final adjustment. When a certain amount of data is collected by the database, ADR adjustment of the data processing server is triggered, and once the communication condition of a terminal or a gateway exceeds a preset index, the data processing server can issue an adjustment instruction to the LoRaWan cloud server at any time.
The two processes are independently performed, namely before the data processing server intervenes in ADR adjustment, the LoRaWan cloud server can independently perform rate adjustment on the terminal, and the adjustment of the data processing server is triggered when the data amount of a single LoRa terminal collected by a database reaches a certain amount; the user can flexibly configure the adjustment threshold of the data processing server according to the communication specification of each global area and different application scenes; it should be noted that the adjustment instruction level of the data processing server is higher than that of the LoRaWan cloud server. Once the adjustment of the data processing server is triggered, the LoRaWan server will not make ADR adjustments to the terminal independently unless the terminal is reset or re-networked.
The signal-to-noise ratio threshold adjusted by ADR is determined by hardware index of communication chip provided by liter company, and 3-5 dB margin is reserved to ensure the communication success rate after adjustment. The average value is calculated to ensure the accuracy of sampling; the calculation of the range is to take the uncertainty of the radio environment into consideration, and a more conservative communication rate is needed when the range is larger, so as to ensure the success rate of communication.
The judgment conditions of the data processing server regulation instruction are as follows:
1. national or regional telecommunications specifications; taking the specification of the European telecommunication union as an example, the requirement of the region on the duty cycle of 863MHz-868MHz is 0.1%, the requirement on the duty cycle of 868MHz-868.6MHz is 1%, and the requirement on the duty cycle of 869.4MHz-869.65MHz is 10%; it must be done within these requirements when designing the algorithm.
2. Reporting period and number of terminals; the capacity of the LoRa gateway for processing data simultaneously is limited, and the shorter the reporting period of the terminal is, the larger the number is, the heavier the processing task of the gateway is.
3. A data packet structure; the time taken to transmit the same packet is different for different communication rates, with longer packet lengths the longer the transmission time.
Adjusting the frequency by ADR; because of the half-duplex system, the receiving and transmitting can not be performed simultaneously, so the higher the frequency of ADR adjustment, the time that the gateway is in the receiving state is reduced correspondingly, and the system capacity is reduced correspondingly. The adjustment frequency of the ADR can be adjusted by adjusting the number of data samples to the terminal, and when the number of the sampled data is 20, the adjustment frequency of the ADR is theoretically reduced by at least one time.
5. A communication success rate; and predicting the communication success rate of the terminal by utilizing normal distribution.
As shown in fig. 2, the half-duplex gateway cannot receive and transmit simultaneously, if it is counted by 1 hour as a time unit, as shown in fig. 4:
t1+t2+t3=1h
in order to ensure the expandable capacity of the gateway capacity, considering that the expected utilization rate of the gateway is below 30%, the working time of the gateway is not more than 3600s × 30% — 1080s, that is:
t2+t3≤1080s
considering the requirement of the gateway on the duty cycle of the frequency of electromagnetic waves transmitted, there is a limit condition for t3, which is 10% for the duty cycle requirement of 869.4-869.65MHz band, taking the european telecommunications union as an example:
t3≤3600s×10%
for a full-duplex gateway, transmission and reception can occur simultaneously, with the following relationship:
Max[t2,t3]≤1080s
t3≤360s
the above formula is suitable for global frequency bands, and the duty ratio of each frequency band is only needed to be brought in.
The data processing server calculates the packet loss rate P of the terminal and the counted data amount M, and the actual packet sending number N in the time period T can be obtained:
N=M/(1-P)
because the packet length L is the same under the same application, the air time used by the same data rate is the same (TDR0, TDR1, TDR2, TDR3, TDR4, TDR5), and the packet transmission period T0 of each terminal is the same; in fact, the data rate actually used by the lost part of the data cannot be obtained, but the average rate of the terminal communication is used to estimate the air time Tper of the part:
tper ≈ (N-M). times.TDR average
The total air time Ts of a terminal in the time T is:
Ts≈Tper+TDR0×M0+TDR1×M1+TDR2×M2+TDR3×M3+TDR4×M4+TDR5×M5
from the number n of terminals counted by the data processing server, the reception time t2 of the gateway can be found:
Figure BDA0001826070330000101
the LoRa gateway has 8 channels capable of demodulating LoRa signals, each of which can demodulate LoRa signals of all data rates, and the above formula is divided by 8; in the actual gateway configuration, there are gateways of 4 channels and 16 channels, and in the specific implementation, the setting may be performed according to the configuration of the gateway.
The cloud data processor can count the adjustment times of the ADR of the gateway and other gateway issued messages, so that the gateway transmission time t3 can also be counted.
Under the condition of meeting the limiting conditions of t2 and t3, the system capacity n is enabled to be as large as possible, meanwhile, the orthogonal relation of each data rate is utilized to reasonably adjust the terminal rate distribution, and the requirement on the terminal packet loss rate P in practical application can be utilized, so that the system can find a dynamic balance among the capacity, the communication distance and the communication quality.
In summary, according to the ADR adjustment method for the LoRa communication system based on big data in the present invention, according to the above technical solution, when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, the received pieces of communication information are analyzed to obtain the signal-to-noise ratio data of each piece of communication information; the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server; the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data stored in the container are obtained through calculation; the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and the preset signal-to-noise ratio threshold, and the ADR strategy of big data analysis is utilized to more accurately control the balance between the capacity and the communication quality of the LoRa communication system, so that the system capacity is optimized, the communication success rate is improved, and the adaptability of the LoRa communication system to the environment is improved.
In order to achieve the above object, the present invention further provides an ADR adjustment system of an LoRa communication system based on big data, where the ADR adjustment system includes an LoRa server and an LoRa gateway communicatively connected to the LoRa server, and the LoRa gateway is communicatively connected to an external LoRa terminal.
The LoRa gateway is used for analyzing each piece of received communication information to obtain signal-to-noise ratio data of each piece of communication information when receiving the plurality of pieces of communication information sent by the LoRa terminal according to a preset period, and sending the signal-to-noise ratio data of each piece of communication information to the LoRa server.
The LoRa server is used for storing the signal-to-noise ratio data of each piece of communication information in a preset corresponding container, obtaining the average value and the extreme difference of the signal-to-noise ratio data stored in the container through calculation, and adjusting the communication rate of the LoRa terminal according to the average value and the extreme difference of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
The present embodiment is directed to a LoRaWan communication system of a star networking, and is configured to determine, by using a LoRaWan cloud server, a communication signal-to-noise ratio of an LoRa terminal forwarded by an LoRa gateway, and control a communication rate of the LoRa terminal, where a data processing server performs big data processing by using an LoRa cloud database.
The LoRa gateway comprises a central processing unit, a LoRa communication module, a power supply module, an Ethernet module or a GSM/GPRS module or a 3G/4G/5G module or a WIFI module, a peripheral device interface and the like. The LoRa terminal comprises a central processing unit, a LoRa module, a power supply module and the like, and the application scene of the LoRa terminal is a non-mobile application scene.
Further, the LoRa server is further configured to obtain an adjustment value of the communication rate of the LoRa terminal according to the average value and the range of the snr data of all the communication information and a preset snr threshold, and adjust the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value.
Further, the LoRa server is further configured to compare the adjusted communication rate value reported by the LoRa terminal with a preset communication rate value.
Further, the LoRa server is further configured to record a result of adjusting the communication rate of the LoRa terminal, and empty the signal-to-noise ratio data of the communication information of the container.
The LoRa server empties the signal-to-noise ratio data of the communication information of the container, and is used for storing the next group of data again; the signal-to-noise ratio data of the communication information of the container emptied by the LoRa server is used for reducing the sending frequency of the gateway ADR adjusting instruction and enhancing the response of the system to the environment change.
Further, the ADR adjustment system of the big data based LoRa communication system also comprises a cloud database and a data processing server,
the cloud database is used for collecting communication data of an LoRa terminal which sends communication information to the LoRa gateway and the communication data of the LoRa gateway;
the data processing server is used for processing the data collected by the cloud server, and the processing content comprises: counting the number of the LoRa terminals, the working time of the LoRa gateway, the signal-to-noise ratio normal distribution of each LoRa terminal and the packet loss rate of each LoRa terminal;
and if the data volume reported by the LoRa terminal reaches a preset ADR adjustment trigger threshold, the data processing server starts to adjust the LoRa terminal, and at the moment, the LoRaWan server does not independently adjust the ADR of the LoRa terminal any more unless the LoRa terminal is reset or is accessed to the network again.
According to the ADR adjustment system of the LoRa communication system based on the big data, through the technical scheme, when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to the preset period, each piece of received communication information is analyzed, and the signal-to-noise ratio data of each piece of communication information is obtained; the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server; the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data of all pieces of communication information are obtained through calculation; the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data of all the communication information and the preset signal-to-noise ratio threshold, and the ADR strategy of big data analysis is utilized to more accurately control the balance between the capacity and the communication quality of the LoRa communication system, so that the system capacity is optimized, the communication success rate is improved, and the adaptability of the LoRa communication system to the environment is improved.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all equivalent structures or flow transformations made by the present specification and drawings, or applied directly or indirectly to other related arts, are included in the scope of the present invention.

Claims (10)

1. The ADR adjusting method based on the big data LoRa communication system is characterized by being applied to the ADR adjusting system based on the big data LoRa communication system, the ADR adjusting system based on the big data LoRa communication system comprises a LoRa server and a LoRa gateway in communication connection with the LoRa server, the LoRa gateway is in communication connection with an external LoRa terminal, and the ADR adjusting method based on the big data LoRa communication system comprises the following steps:
when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, analyzing each piece of received communication information to obtain signal-to-noise ratio data of each piece of communication information;
the LoRa gateway sends the signal-to-noise ratio data of each piece of communication information to the LoRa server;
the LoRa server stores the signal-to-noise ratio data of each piece of communication information into a preset corresponding container, and the average value and the extreme difference of the signal-to-noise ratio data stored in the container are obtained through calculation;
and the LoRa server adjusts the communication rate of the LoRa terminal according to the average value and the range of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
2. The ADR adjustment method for a LoRa communication system based on big data as claimed in claim 1, wherein the step of the LoRa server adjusting the communication rate of the LoRa terminal according to the average value and the range of the snr data stored in the container and a preset snr threshold comprises:
the LoRa server obtains an adjustment value of the communication rate of the LoRa terminal according to the average value and the range of signal-to-noise ratio data of all communication information and a preset signal-to-noise ratio threshold;
and the LoRa server adjusts the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value.
3. The ADR adjustment method for LoRa communication system according to claim 2, wherein the step of adjusting the communication rate of LoRa terminal by LoRa gateway according to the adjustment value by LoRa server further comprises:
the LoRa server compares the adjusted communication speed value reported by the LoRa terminal with a preset communication speed value;
if the two are the same, the adjustment is successful;
and if not, returning to the step of analyzing each piece of received communication information to obtain the signal-to-noise ratio data of each piece of communication information when the LoRa gateway receives the plurality pieces of communication information sent by the LoRa terminal according to the preset period.
4. The ADR adjustment method for a LoRa communication system based on big data as claimed in claim 1, wherein the step of the LoRa server adjusting the communication rate of the LoRa terminal according to the average value and the range of the snr data stored in the container and a preset snr threshold further comprises:
the LoRa server records a result of adjusting the communication rate of the LoRa terminal;
the LoRa server empties the signal-to-noise ratio data of the communication information of the container;
and returning to execute the step that when the LoRa gateway receives a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, each piece of received communication information is analyzed to obtain the signal-to-noise ratio data of each piece of communication information.
5. The ADR adjustment method for a big data based LoRa communication system according to claim 1, wherein the ADR adjustment system for a big data based LoRa communication system further comprises a cloud database and a data processing server, and the method further comprises:
the cloud database collects communication data of an LoRa terminal which sends communication information to the LoRa gateway and the communication data of the LoRa gateway;
the LoRa server processes the data collected by the cloud server, and the processing content comprises: counting the number of the LoRa terminals, the working time of the LoRa gateway, the signal-to-noise ratio normal distribution of each LoRa terminal and the packet loss rate of each LoRa terminal;
and if the data volume reported by the LoRa terminal reaches a preset ADR adjustment trigger threshold, the data processing server starts to adjust the LoRa terminal, and at the moment, the LoRa server does not independently adjust the ADR of the LoRa terminal any more unless the LoRa terminal is reset or is accessed to the network again.
6. An ADR adjustment system of an LoRa communication system based on big data is characterized by comprising an LoRa server and an LoRa gateway in communication connection with the LoRa server, wherein the LoRa gateway is in communication connection with an external LoRa terminal;
the LoRa gateway is used for analyzing each piece of received communication information to obtain signal-to-noise ratio data of each piece of communication information when receiving a plurality of pieces of communication information sent by the LoRa terminal according to a preset period, and sending the signal-to-noise ratio data of each piece of communication information to the LoRa server;
the LoRa server is used for storing the signal-to-noise ratio data of each piece of communication information in a preset corresponding container, obtaining the average value and the extreme difference of the signal-to-noise ratio data stored in the container through calculation, and adjusting the communication rate of the LoRa terminal according to the average value and the extreme difference of the signal-to-noise ratio data stored in the container and a preset signal-to-noise ratio threshold.
7. The ADR adjustment system of an LoRa communication system based on big data of claim 6, wherein the LoRa server is further configured to obtain an adjustment value of the communication rate of the LoRa terminal according to an average value and a range of the snr data of all communication information and a preset snr threshold, and adjust the communication rate of the LoRa terminal through the LoRa gateway according to the adjustment value.
8. The ADR adjustment system for an LoRa communication system according to claim 7, wherein the LoRa server is further configured to compare the adjusted communication rate value reported by the LoRa terminal with a preset communication rate value.
9. The ADR adjustment system of a big data based LoRa communication system as claimed in claim 6, wherein the LoRa server is further configured to record the result of adjusting the communication rate of the LoRa terminal, and to empty the snr data of the communication information of the container.
10. The ADR adjustment system of the big data based LoRa communication system according to claim 6, further comprising a cloud database and a data processing server;
the cloud database is used for collecting communication data of an LoRa terminal which sends communication information to the LoRa gateway and the communication data of the LoRa gateway;
the LoRa server is used for processing the data collected by the cloud server, and the processing content comprises: counting the number of the LoRa terminals, the working time of the LoRa gateway, the signal-to-noise ratio normal distribution of each LoRa terminal and the packet loss rate of each LoRa terminal;
and if the data volume reported by the LoRa terminal reaches a preset ADR adjustment trigger threshold, the data processing server starts to adjust the LoRa terminal, and at the moment, the LoRa server does not independently adjust the ADR of the LoRa terminal any more unless the LoRa terminal is reset or is accessed to the network again.
CN201811185411.7A 2018-10-11 2018-10-11 ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data Active CN109121150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811185411.7A CN109121150B (en) 2018-10-11 2018-10-11 ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811185411.7A CN109121150B (en) 2018-10-11 2018-10-11 ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data

Publications (2)

Publication Number Publication Date
CN109121150A CN109121150A (en) 2019-01-01
CN109121150B true CN109121150B (en) 2021-07-16

Family

ID=64857962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811185411.7A Active CN109121150B (en) 2018-10-11 2018-10-11 ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data

Country Status (1)

Country Link
CN (1) CN109121150B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217608B (en) * 2020-10-13 2023-10-20 腾讯科技(深圳)有限公司 Data rate adjusting method and device, computer readable medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016013901A1 (en) * 2014-07-24 2016-01-28 엘지전자(주) Method for controlling power and apparatus therefor in wireless communication system supporting device-to-device communication
CN106899387A (en) * 2017-03-13 2017-06-27 武汉慧联无限科技有限公司 Speed self-adaption method based on LoRa wireless networks
CN107959949A (en) * 2017-12-14 2018-04-24 天津中科智城网络科技有限公司 A kind of optimization method of LoRa wireless communications MAC orders
CN108093436A (en) * 2017-12-21 2018-05-29 中兴克拉科技(苏州)有限公司 A kind of Adaptive Rate Shape method of LPWAN Internet of Things based on Network status
CN108199892A (en) * 2018-01-12 2018-06-22 电子科技大学 LoRa terminal maximum transmission rate dynamic prediction methods based on neural network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5418087B2 (en) * 2009-09-09 2014-02-19 富士通株式会社 Communication device and communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016013901A1 (en) * 2014-07-24 2016-01-28 엘지전자(주) Method for controlling power and apparatus therefor in wireless communication system supporting device-to-device communication
CN106899387A (en) * 2017-03-13 2017-06-27 武汉慧联无限科技有限公司 Speed self-adaption method based on LoRa wireless networks
CN107959949A (en) * 2017-12-14 2018-04-24 天津中科智城网络科技有限公司 A kind of optimization method of LoRa wireless communications MAC orders
CN108093436A (en) * 2017-12-21 2018-05-29 中兴克拉科技(苏州)有限公司 A kind of Adaptive Rate Shape method of LPWAN Internet of Things based on Network status
CN108199892A (en) * 2018-01-12 2018-06-22 电子科技大学 LoRa terminal maximum transmission rate dynamic prediction methods based on neural network

Also Published As

Publication number Publication date
CN109121150A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN101720107B (en) Multi-way integrated communication system and method for wireless multimedia transmission
CN103229570B (en) Multi-band channel capacity for meter network
CN108449763A (en) A kind of LoRaWAN self-adapted adjustment method for network speed based on channel status identification
US20030036361A1 (en) Method and device for transmitting burst signal in mobile communication system, information distribution method, and information distribution controller
CN101202573B (en) Intelligent straight placement station and parameter automatic adjustment method
EP3051884B1 (en) Uplink power control method and device
US8873414B2 (en) Communication apparatus, communication method, and communication system
CN109005228B (en) Method and system for multipath communication between parking lot equipment and cloud
CN110474854A (en) The method and apparatus of resource allocation
CN113115330B (en) Big data analysis-based Beidou short message service optimization method and system
CN109121150B (en) ADR (adaptive Doppler response) adjustment method and system of LoRa (LoRa) communication system based on big data
US20190120927A1 (en) Position detection system and receiver
CN103108354B (en) Control data transmission
CN101207570A (en) Data transmission method, data sending rate control method and base station
CN103945462A (en) Assistance service cell configuration method and device
US8989074B2 (en) Communication apparatus, communication method, and communication system
CN101674126A (en) Compound uplink power control method of multi-frequency time division multiple access satellite communication system
CN112804742B (en) Method, device and system for configuring transmitting power and computer storage medium
JP2005006358A (en) Method and device for transmitting burst signal in mobile communications system, information distribution method, and information distribution controller
US20220338136A1 (en) Transmission power adjustment method and apparatus, terminal, base station and storage medium
CN103167527A (en) Method for multi-community sounding reference signal detection, related base station and related system
EP4195571A1 (en) Srs transmission method, terminal, and storage medium
US10064132B2 (en) Bidirectional wireless data transmission method
US20040170135A1 (en) Radio communication device, radio communication method, and computer program
CN107734585B (en) Power communication networking system and control method

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
GR01 Patent grant
GR01 Patent grant