CN117580109A - LoRa-based communication method and system - Google Patents

LoRa-based communication method and system Download PDF

Info

Publication number
CN117580109A
CN117580109A CN202311442390.3A CN202311442390A CN117580109A CN 117580109 A CN117580109 A CN 117580109A CN 202311442390 A CN202311442390 A CN 202311442390A CN 117580109 A CN117580109 A CN 117580109A
Authority
CN
China
Prior art keywords
relay
data
terminal node
lora
instruction
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.)
Pending
Application number
CN202311442390.3A
Other languages
Chinese (zh)
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.)
Clover Shaoxing Intelligent Technology Co ltd
Original Assignee
Clover Shaoxing Intelligent Technology 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 Clover Shaoxing Intelligent Technology Co ltd filed Critical Clover Shaoxing Intelligent Technology Co ltd
Priority to CN202311442390.3A priority Critical patent/CN117580109A/en
Publication of CN117580109A publication Critical patent/CN117580109A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a communication method and a communication system based on LoRa, and belongs to the technical field of communication. According to the invention, the relay sends the function addressing real-time instruction to the terminal node, the terminal node uploads the data to the relay after waiting for the preset reporting time, when the relay monitors that the terminal node is abnormal and the data is not uploaded, the physical addressing instruction is sent to the terminal node which is not uploaded, and the terminal node which is not uploaded immediately sends the corresponding data to the relay when receiving the instruction, so that the data uploading of all the terminal nodes in the set time of the system is ensured, the strong real-time performance of the LoRa system is improved, and the problem of poor real-time performance of the LoRa system is solved.

Description

LoRa-based communication method and system
Technical Field
The invention relates to the technical field of communication, in particular to a communication method and system based on LoRa.
Background
The LoRa system is a low-power-consumption wide area network technology, has the characteristics of long-distance communication, low power consumption, high capacity, interference resistance and the like, is suitable for the application of the Internet of things, has wide application fields, and needs to be further optimized along with the increasing requirements of people on the communication technology. The real-time performance of the LoRa system is relatively poor because the design goal is low power consumption and long distance transmission. In application scenarios requiring high real-time performance, such as real-time monitoring of data, the real-time performance of existing LoRa systems may not meet the requirements.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a communication method and a communication system based on LoRa, and aims to solve the technical problem that the real-time performance of a LoRa system is poor.
In order to achieve the above object, the present invention provides a communication method based on LoRa, the communication system based on LoRa at least includes a gateway, a relay and a terminal node, wherein the relay is wirelessly connected with the terminal node through LoRa, the communication method based on LoRa is applied to the relay, the method includes:
when a data uploading instruction is received, a function addressing real-time instruction is sent to the terminal node, so that the terminal node waits for a preset reporting time and uploads the data to the relay when receiving the function addressing real-time instruction;
and monitoring the uploaded data of the terminal nodes, and when the terminal nodes without uploading data are detected, sending physical addressing instructions to the terminal nodes without uploading data, so that the terminal nodes without uploading data send corresponding data to the relay when receiving the physical addressing instructions.
Optionally, the sending a physical addressing instruction to the terminal node that does not upload data includes:
and sending a physical addressing instruction to the terminal node which does not upload data through a retransmission time window.
Optionally, after uploading the data, the monitoring terminal node further includes:
obtaining the signal intensity of the terminal node according to the received data;
and adjusting channel parameters according to the signal strength.
Optionally, the adjusting the channel parameter according to the signal strength includes:
comparing the signal intensity with a preset adjustment threshold value to obtain a first comparison result;
if the first comparison result meets the preset adjustment condition, a functional addressing non-real-time instruction is issued to adjust the channel parameters, and an adjusted channel is obtained;
acquiring preset signal strength of the terminal node of the adjusted channel;
comparing the preset signal strength with a preset transmission threshold value to obtain a second comparison result;
if the second comparison result meets the target adjustment condition, acquiring a target parameter;
calculating the size of a retransmission time window according to the target parameter to obtain a target retransmission time window;
and according to the target retransmission time window and the target parameter, issuing a functional addressing non-real-time instruction to adjust the channel parameter.
Optionally, before the sending the physical addressing instruction to the terminal node that does not upload data, the method further includes:
acquiring a terminal node ID of a database;
obtaining the terminal node ID of the uploaded data according to the uploaded data of the terminal node;
comparing the terminal node ID of the database with the terminal node ID of the uploaded data to obtain a terminal node ID of the data which is not uploaded;
and determining the terminal nodes without uploading data according to the terminal node IDs without uploading data.
Optionally, before the sending the physical addressing instruction to the terminal node that does not upload data, the method further includes:
acquiring the number of uplink channels;
and grouping the terminal nodes according to the signal intensity of the terminal nodes, the number of the terminal nodes and the number of the uplink channels.
In addition, in order to achieve the above object, the present invention further provides a communication method based on LoRa, where the communication system based on LoRa at least includes a gateway, a relay and a terminal node, where the relay is wirelessly connected to the terminal node by LoRa, and the communication method based on LoRa is applied to the terminal node, and the method includes:
when a function addressing real-time instruction sent by the relay is received, waiting for a preset reporting time and uploading data to the relay so that the relay monitors the uploading data of the terminal node, and when a terminal node which does not upload data is detected, sending a physical addressing instruction to the terminal node which does not upload data;
and when receiving the physical addressing instruction sent by the relay, sending corresponding data to the relay.
Optionally, before the waiting for the preset reporting time and uploading the data to the relay, the method further includes:
and determining preset reporting time according to the terminal node ID and the minimum system time slice.
Optionally, when receiving the physical addressing instruction sent by the relay, the method includes:
and receiving the physical addressing instruction sent by the relay through a retransmission time window.
In addition, to achieve the above object, the present invention also proposes a communication system based on LoRa, which at least comprises a gateway, a relay and a terminal node, wherein the relay is wirelessly connected with the terminal node through the LoRa, the relay performs the steps of the communication method based on LoRa described above, and the terminal node performs the steps of the communication method based on LoRa described above.
According to the communication method and system based on the LoRa, the terminal node transmits the function addressing real-time instruction to the terminal node through the relay, the terminal node uploads the data to the relay after waiting for the preset reporting time, when the relay monitors that the terminal node is abnormal and does not upload the data, the terminal node which does not upload the data transmits the physical addressing instruction to the terminal node which does not upload the data, and the terminal node which does not upload the data immediately transmits the corresponding data to the relay when receiving the instruction, so that the completion of data uploading of all the terminal nodes in the system setting time is ensured, and the strong real-time performance of the LoRa system is improved.
Drawings
FIG. 1 is a schematic diagram of a LoRa-based communication device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of a LoRa-based communication method of the present invention;
fig. 3 is a schematic diagram of a network access process according to a first embodiment of a LoRa-based communication method of the present invention;
FIG. 4 is a schematic instruction sending diagram of a first embodiment of a LoRa-based communication method according to the present invention;
FIG. 5 is a flow chart of a second embodiment of a LoRa based communication method of the present invention;
FIG. 6 is a flow chart of a third embodiment of a LoRa based communication method of the present invention;
FIG. 7 is a schematic diagram of functional modules of a third embodiment of a LoRa-based communication method of the present invention;
FIG. 8 is a flow chart of a fourth embodiment of a LoRa based communication method of the present invention;
FIG. 9 is a flow chart of a fifth embodiment of a LoRa based communication method of the present invention;
fig. 10 is a schematic overall flow chart of a fifth embodiment of a communication method based on LoRa according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a communication device based on LoRa in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the LoRa-based communication device may include: gateway, relay and end nodes. The relay may include, among other things, a portal, an MCU (Microcontroller Unit ) and a plurality of LoRa modules. One relay is provided with a plurality of physical channels, one of which is a downlink channel and is used for issuing control instructions. The other ones are uplink channels. The downlink channel and the uplink channel can be mutually concurrent by frequency point division. The connection between the gateway and the relay may be a wired connection or a wireless connection, depending on the actual application and design choice.
Those skilled in the art will appreciate that the structure shown in fig. 1 is not limiting of the LoRa-based communication device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
The embodiment of the invention provides a communication method based on LoRa, and referring to FIG. 2, FIG. 2 is a flow chart of a first embodiment of the communication method based on LoRa.
In this embodiment, the communication method based on LoRa includes the following steps:
step S10: when a data uploading instruction is received, a function addressing real-time instruction is sent to the terminal node, so that the terminal node waits for a preset reporting time and uploads the data to the relay when receiving the function addressing real-time instruction;
it should be noted that, a plurality of relays are set under one gateway, and the plurality of relays are divided into different communication spaces, and each communication space can be mutually concurrent through frequency points, SF and bandwidth division. One relay is provided with a plurality of physical channels, one of which is a downlink channel and is used for issuing control instructions. The other ones are uplink channels. The downlink channel and the uplink channel can be mutually concurrent by frequency point division. If each relay has M uplink channels, each uplink channel can access n terminal nodes, then each relay can access a total of l=m×n terminal nodes. Before receiving a data uploading instruction, referring to fig. 3, fig. 3 is a schematic diagram of a network access process according to a first embodiment of a communication method based on LoRa of the present invention, as shown in fig. 3: the terminal node sends a network access request to a gateway through the relay, the gateway determines response data according to the network access request, the response data is issued to the terminal node through the relay, and the terminal node and the relay access the network according to the response data. The relay reserves equipment mac of the terminal node, node ID of the terminal node and channel information of the corresponding channel in a local database in the network access stage.
As can be appreciated, referring to fig. 4, fig. 4 is a schematic instruction sending diagram of a first embodiment of a communication method based on LoRa according to the present invention, as shown in fig. 4: addressing modes are divided into functional addressing and physical addressing, wherein the functional addressing aims at all terminal nodes, and the physical addressing aims at a certain terminal node. The functional addressing may send real-time instructions or non-real-time instructions. In this embodiment and the embodiments described below, the function addressing real time instruction may be sent at any time, and the physical addressing instruction and the function addressing non-real time instruction are sent only in the retransmission time window.
It should be appreciated that the preset reporting time is determined based on the terminal node ID and the system minimum time slice. The minimum time slice of the system is calculated by the relay according to the channel parameters.
In a specific implementation, when the relay receives a data uploading instruction, a function addressing real-time instruction is sent to a corresponding terminal node, and when the terminal node receives the function addressing real-time instruction, the terminal node waits for a preset reporting time and then uploads the data to the relay.
Step S20: and monitoring the uploaded data of the terminal nodes, and when the terminal nodes without uploading data are detected, sending physical addressing instructions to the terminal nodes without uploading data, so that the terminal nodes without uploading data send corresponding data to the relay when receiving the physical addressing instructions.
The physical addressing instruction is sent in a retransmission time window.
The retransmission time window refers to a time range in which a data packet is retransmitted when a data packet loss occurs in data transmission. This concept is mainly applied in network communication, in particular in unreliable network connections, such as wireless communication networks.
The setting of the retransmission time window is typically dependent on the characteristics of the network and the requirements of the application. In some cases, if the probability of packet loss is high, it may be necessary to set a longer retransmission time window to increase the probability of successful transmission of the packet. However, too long a retransmission time window may cause an increase in delay, and an application having a high real-time requirement may not be suitable.
The size of the retransmission time window is generally determined by the negotiation between the sender and the receiver. In practical applications, the size of the retransmission time window may be adjusted according to network conditions, data transmission requirements, and characteristics of the application.
In a specific implementation, the relay in the data uploading stage judges the received data in real time, analyzes whether any terminal node does not upload, and sends a physical addressing instruction to the terminal node which does not upload data in a retransmission time window.
Further, before the sending the physical addressing instruction to the terminal node that does not upload data, the method further includes: acquiring a terminal node ID of a database; obtaining the terminal node ID of the uploaded data according to the uploaded data of the terminal node; comparing the terminal node ID of the database with the terminal node ID of the uploaded data to obtain a terminal node ID of the data which is not uploaded; and determining the terminal nodes without uploading data according to the terminal node IDs without uploading data.
It should be noted that, the relay will keep the terminal node mac, the terminal node ID and the channel information of the corresponding channel in the local database during the network access stage.
Each end node will attach a unique data identifier, which may be an end node ID or other unique identifier, to identify which end node the data was uploaded from.
In the embodiment, the terminal node uploads data to the relay according to the preset reporting time by sending the function addressing real-time instruction to the terminal node through the relay, when the relay judges that the terminal node is abnormal, the abnormal terminal node ID is obtained, the physical addressing instruction is sent to the corresponding terminal node according to the ID, and the terminal node immediately sends the corresponding data to the relay according to the instruction, so that the data uploading of all the terminal nodes is completed within the system setting time is ensured, and the aim of improving the strong real-time performance of the LoRa system is achieved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a second embodiment of a communication method based on LoRa according to the present invention.
Based on the foregoing first embodiment, in this embodiment, after uploading data by the monitoring terminal node, the method further includes:
step S30: obtaining the signal intensity of the terminal node according to the received data;
it should be noted that, the signal strength of the terminal node may be obtained by the following method:
RSSI (Received Signal Strength Indicator, received signal strength indication): the relay may estimate the strength of the signal by measuring the power level of the received signal. RSSI is an indicator of signal strength, typically in decibels (dB). A higher RSSI value indicates a stronger signal strength, while a lower RSSI value indicates a weaker signal strength.
Received signal quality (Received Signal Quality): the relay may determine the strength of the signal by evaluating the quality of the received signal. This may include indicators of signal-to-noise ratio (SNR), bit Error Rate (BER), etc. A higher signal-to-noise ratio and a lower bit error rate generally indicate better signal quality and stronger signal strength.
Channel state information: the relay may infer the signal strength of the terminal node by monitoring channel state information. This may include channel fading, multipath effects, etc. By analyzing the channel state information, the relay can estimate the signal strength of the terminal node.
The above methods are just a few common ways to obtain the signal strength of the end node, and the specific implementation may vary depending on the system design and implementation. The relay may select an appropriate method to record and evaluate the signal strength of the terminal node according to specific needs and application scenarios. Meanwhile, the relay can be combined with other technologies and algorithms to further improve the accuracy and reliability of the signal strength. This embodiment is not particularly limited.
Step S40: and adjusting channel parameters according to the signal strength.
In a specific implementation, the relay adjusts SF (spreading factor) of a corresponding channel according to signal strength of the terminal node, and bandwidth parameters.
In this embodiment, the relay records the signal strength of all subordinate terminal nodes according to the received terminal node uploading data, and adjusts the SF (spreading factor) of the channel according to the signal strength, and the bandwidth parameter. By adjusting the channel parameters, the data transmission time is reduced.
Referring to fig. 6, fig. 6 is a schematic flow chart of a third embodiment of a communication method based on LoRa according to the present invention.
Based on the above second embodiment, in this embodiment, the step S40 includes:
step S401: comparing the signal intensity with a preset adjustment threshold value to obtain a first comparison result;
it should be noted that, the gateway configures channel information: including frequency points, SF, and bandwidth information.
In wireless communications, a frequency bin is typically referred to as a particular frequency range that is used to transmit data or signals. Frequency bins are often used as markers to distinguish different signal sources or services. For example, in a cellular mobile communication system, different frequency points are allocated to different mobile operators.
Bandwidth generally refers to the amount of data that can be transmitted over a period of time. In wireless communications, bandwidth generally refers to a range of frequencies used to transmit data. The size of this range directly affects the transmission rate and data quality. For example, in a 4G mobile communication system, the bandwidth is typically between 20MHz and 100 MHz.
SF (spreading factor) is a modulation parameter used in wireless communication that determines the number of symbols transmitted per information bit. A larger spreading factor implies a lower transmission rate and higher interference immunity, while a smaller spreading factor implies a higher transmission rate and poorer interference immunity.
It is understood that the preset adjustment threshold is set according to a specific LoRa system, which is not particularly limited in this embodiment.
It should be understood that signal strength refers to the strength of a received wireless signal, which is affected by a variety of factors, such as signal propagation paths, obstructions, interference, etc. Due to variations in these factors, transient fluctuations and jitter in signal strength may occur.
To reduce the effect of such transient fluctuations we can average the signal intensities m times. By averaging the successive signal strengths, a more stable and reliable signal strength value can be obtained. Such an average value may better reflect the overall strength of the signal without being affected by transient fluctuations. In this embodiment, the numerical value of m is not particularly limited, and in this embodiment and the following embodiments, m will be described as an example.
In specific implementation, the signal intensity is obtained, an average value of m times is taken, and the average value of m times is compared with a preset adjustment threshold value to obtain a first comparison result.
Step S402: if the first comparison result meets the preset adjustment condition, a functional addressing non-real-time instruction is issued to adjust the channel parameters, and an adjusted channel is obtained;
it should be noted that the preset adjustment condition is that the signal strength is greater than an adjustment threshold.
In a specific implementation, the relay records the signal intensity of all subordinate terminal nodes, compares the signal intensity with an adjustment threshold, and if the signal intensity is larger than the adjustment threshold, modifies the spreading factor and bandwidth parameters of the corresponding channel, and issues a functional addressing non-real-time instruction adjustment parameter to obtain an adjusted channel.
Step S403: acquiring preset signal strength of the terminal node of the adjusted channel;
it will be appreciated that after adjusting the channel parameters, the signal strength of the terminal node will also change accordingly.
Step S404: comparing the preset signal strength with a preset transmission threshold value to obtain a second comparison result;
it should be noted that, the transmission threshold is set according to a specific LoRa system, which is not specifically limited in this embodiment.
Step S405: if the second comparison result meets the target adjustment condition, acquiring a target parameter;
it should be noted that the target adjustment condition is that the signal strength is greater than an adjustment threshold.
In a specific implementation, when the signal strength of the terminal node is greater than an adjustment threshold, adjusting parameters of a corresponding channel, and obtaining adjusted channel parameters.
Step S406: calculating the size of a retransmission time window according to the target parameter to obtain a target retransmission time window;
it should be noted that, the retransmission time window refers to that, during the data transmission, if the transmitted data is not received correctly by the receiving side, the transmitting side retransmits within a certain time window.
In a specific implementation, the size of the retransmission time window is calculated according to the adjusted channel parameters, and a new retransmission time window is obtained.
Step S407: and according to the target preset time window and the target parameter, issuing a functional addressing non-real-time instruction to adjust the channel parameter.
In a specific implementation, the issuing function addresses the non-real-time instruction to update the channel parameters according to the new retransmission time window and the adjusted channel parameters.
As shown in fig. 7, fig. 7 is a schematic diagram of a functional module of a third embodiment of a communication method based on LoRa of the present invention, wherein data of all subordinate terminal nodes are received by relay to obtain signal strength of the terminal nodes, an average value is taken m times, whether the signal strength is greater than an adjustment threshold is judged, if yes, SF (spreading factor) is adjusted, bandwidth parameters, i.e. adjustment parameters and retransmission time length, and a function addressing non-real-time instruction adjustment parameter is issued; if not, the current channel parameters are reserved. After adjustment, the relay continues to judge whether the signal intensity of the average value of m times is larger than a transmission threshold value, if so, SF (spreading factor) is modified again, bandwidth parameters are transmitted, and function addressing non-real-time instruction adjustment parameters are issued; if not, the previous parameters are returned.
In this embodiment, the signal strength of all subordinate terminal nodes is recorded through the relay, and if the signal strength is greater than the adjustment threshold, the spreading factor and the bandwidth parameter are modified, and the function addressing non-real-time instruction adjustment parameter is issued. After the adjustment, the relay judges whether the signal strength is larger than the transmission threshold value, if so, the state of the previous parameter is returned, if so, the spread spectrum factor and the bandwidth parameter are repeatedly adjusted, otherwise, the adjustment is finished. The relay calculates the size of the retransmission time window according to the new parameters, and issues the function addressing non-real-time instruction update parameters in the retransmission time window. The channel parameters are adjusted to increase the transmission speed and reduce the data transmission time.
Referring to fig. 8, fig. 8 is a schematic flow chart of a fourth embodiment of a communication method based on LoRa according to the present invention.
Based on the first embodiment, in this embodiment, before sending the physical addressing instruction to the terminal node that does not upload data, the method further includes:
step S50: acquiring the number of uplink channels;
it should be noted that, one relay is provided with a plurality of physical channels, one of which is a downlink channel, for issuing a control instruction. The other ones are uplink channels. The downlink channel and the uplink channel can be mutually concurrent by frequency point division.
Step S60: and grouping the terminal nodes according to the signal intensity of the terminal nodes, the number of the terminal nodes and the number of the uplink channels.
It can be understood that if each relay has M uplink channels, and each uplink channel can access n terminal nodes, then each relay can access a total of l=m×n terminal nodes. The L terminal nodes are divided into M groups according to the signal strength. And the L nodes are arranged according to the relay received signal strength from big to small, wherein R1 is more than or equal to R2 is more than or equal to RL. The grouping method is as follows: the nodes of the m group are: rn, (m-1) +1, rn, (m-1) +2.
In this embodiment, the terminal node grouping is performed according to the signal strength of the terminal node, the number of the terminal nodes and the number of uplink channels, so as to reduce the retransmission time of the physical addressing window as much as possible.
The embodiment of the invention also provides a communication method based on LoRa, which is applied to the terminal node, and referring to FIG. 9, FIG. 9 is a flow chart diagram of a fifth embodiment of the communication method based on LoRa.
In this embodiment, the communication method based on LoRa includes the following steps:
step S10': and when a terminal node which does not upload data is detected, a physical addressing instruction is sent to the terminal node which does not upload the data.
It should be noted that, the execution body of this embodiment is a terminal node, and the terminal node is provided with a plurality of terminal nodes.
In a specific implementation, when a terminal node receives a function addressing real-time instruction sent by a relay, the terminal node waits for a preset reporting time and then uploads data to the relay. And when detecting that the terminal node which does not upload the data exists, the relay transmits a physical addressing instruction to the terminal node which does not upload the data.
Step S20': and when receiving a physical addressing instruction sent by the relay, sending corresponding data to the relay.
In a specific implementation, when the terminal node receives a physical addressing instruction sent by the relay, the terminal node sends corresponding data to the relay according to the instruction.
As shown in fig. 10, fig. 10 is a schematic overall flow chart of a fifth embodiment of a communication method based on LoRa, after receiving an alignment instruction, a node determines whether a functional addressing real-time instruction sent by a relay is received in a transmission time period, and when the functional addressing real-time instruction is received, the node reckons, waits for n×t (n is a terminal node ID, and T is a minimum system time slice) time, and then uploads data to the relay; and waiting for n times T (n is a terminal node ID and T is a minimum time slice of the system) when the data is not received, and uploading the data to the relay. Judging whether a physical addressing instruction sent by a relay is received in a retransmission time window, and immediately replying related data when the instruction is received; when a function addressing instruction is received, waiting for n times T (n is a terminal node ID and T is a minimum time slice of a system) and uploading data to a relay; and when the instruction of relay transmission is not received in the retransmission time window, waiting for a new alignment instruction.
In this embodiment, the terminal node waits for a preset reporting time and then uploads data to the relay according to a functional addressing real-time instruction sent by the relay and received by the terminal node. And when the terminal node receives the physical addressing instruction sent by the relay, sending corresponding data to the relay according to the instruction. And the data uploading of all terminal nodes according to the instruction is ensured within the set time of the system, and the real-time performance of the system is improved.
In addition, to achieve the above object, the present invention also proposes a communication system based on LoRa, the system at least comprising a gateway, a relay and a terminal node, wherein the relay is wirelessly connected with the terminal node through LoRa, the relay performs the steps of the communication method based on LoRa as described above, and the terminal node performs the steps of the communication method based on LoRa as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a LoRa system communication" does not exclude the presence of additional identical elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method of LoRa-based communication, the method of LoRa-based communication comprising at least a gateway, a relay and a terminal node, wherein the relay is wirelessly connected to the terminal node by LoRa, the method of LoRa-based communication being applied to the relay, the method of LoRa-based communication comprising:
when a data uploading instruction is received, a function addressing real-time instruction is sent to the terminal node, so that the terminal node waits for a preset reporting time and uploads the data to the relay when receiving the function addressing real-time instruction;
and monitoring the uploaded data of the terminal nodes, and when the terminal nodes without uploading data are detected, sending physical addressing instructions to the terminal nodes without uploading data, so that the terminal nodes without uploading data send corresponding data to the relay when receiving the physical addressing instructions.
2. The method of claim 1, wherein the sending physical addressing instructions to the end node that does not upload data comprises:
and sending a physical addressing instruction to the terminal node which does not upload data through a retransmission time window.
3. The LoRa-based communication method of claim 1, wherein after uploading the data by the monitoring terminal node, further comprising:
obtaining the signal intensity of the terminal node according to the received data;
and adjusting channel parameters according to the signal strength.
4. The method of LoRa-based communication of claim 3, wherein said adjusting channel parameters based on said signal strength comprises:
comparing the signal intensity with a preset adjustment threshold value to obtain a first comparison result;
if the first comparison result meets the preset adjustment condition, a functional addressing non-real-time instruction is issued to adjust the channel parameters, and an adjusted channel is obtained;
acquiring preset signal strength of the terminal node of the adjusted channel;
comparing the preset signal strength with a preset transmission threshold value to obtain a second comparison result;
if the second comparison result meets the target adjustment condition, acquiring a target parameter;
calculating the size of a retransmission time window according to the target parameter to obtain a target retransmission time window;
and according to the target retransmission time window and the target parameter, issuing a functional addressing non-real-time instruction to adjust the channel parameter.
5. The method of claim 1, wherein prior to sending the physical addressing instruction to the end node that did not upload data, further comprising:
acquiring a terminal node ID of a database;
obtaining the terminal node ID of the uploaded data according to the uploaded data of the terminal node;
comparing the terminal node ID of the database with the terminal node ID of the uploaded data to obtain a terminal node ID of the data which is not uploaded;
and determining the terminal nodes without uploading data according to the terminal node IDs without uploading data.
6. The method of claim 1, wherein prior to sending the physical addressing instruction to the end node that did not upload data, further comprising:
acquiring the number of uplink channels;
and grouping the terminal nodes according to the signal intensity of the terminal nodes, the number of the terminal nodes and the number of the uplink channels.
7. A LoRa-based communication method, wherein the LoRa-based communication system at least comprises a gateway, a relay and a terminal node, wherein the relay is wirelessly connected with the terminal node through the LoRa, the LoRa-based communication method is applied to the terminal node, and the LoRa-based communication method comprises:
when a function addressing real-time instruction sent by the relay is received, waiting for a preset reporting time and uploading data to the relay so that the relay monitors the uploading data of the terminal node, and when a terminal node which does not upload data is detected, sending a physical addressing instruction to the terminal node which does not upload data;
and when receiving the physical addressing instruction sent by the relay, sending corresponding data to the relay.
8. The method of claim 1, wherein waiting for a preset reporting time before uploading data to the relay, further comprises:
and determining preset reporting time according to the terminal node ID and the minimum system time slice.
9. The method of claim 1, wherein upon receiving the physical addressing instruction sent by the relay, the method comprises:
and receiving the physical addressing instruction sent by the relay through a retransmission time window.
10. A LoRa-based communication system comprising at least a gateway, a relay and an end node, wherein the relay is wirelessly connected with the end node via LoRa, the relay performs the steps of the LoRa-based communication method according to any of claims 1 to 6, and the end node performs the steps of the LoRa-based communication method according to any of claims 7 to 9.
CN202311442390.3A 2023-10-31 2023-10-31 LoRa-based communication method and system Pending CN117580109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311442390.3A CN117580109A (en) 2023-10-31 2023-10-31 LoRa-based communication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311442390.3A CN117580109A (en) 2023-10-31 2023-10-31 LoRa-based communication method and system

Publications (1)

Publication Number Publication Date
CN117580109A true CN117580109A (en) 2024-02-20

Family

ID=89894533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311442390.3A Pending CN117580109A (en) 2023-10-31 2023-10-31 LoRa-based communication method and system

Country Status (1)

Country Link
CN (1) CN117580109A (en)

Similar Documents

Publication Publication Date Title
US9838889B2 (en) Link quality estimation and apparatus in a telecommunication system
US6381445B1 (en) Radio communication device and method of controlling transmission rate
EP2636246B1 (en) System and method for autonomous discovery of peak channel capacity in a wireless communication network
CA2519646C (en) Method and system for power control during the traffic channel initialization period in a cdma network
US11228382B2 (en) Controlling the channel occupancy measurement quality
US11412460B2 (en) Method and device for relay communication in a user equipment or a base station
KR101908951B1 (en) Method and apparatus for controlling transmission power in a d2d communication network
EP1583256A1 (en) A power control method in a wcdma mobile communication system
KR100809191B1 (en) Apparatus and method for transmitting channel quality indicators in a mobile communication system
CN110547000A (en) power control method, device, terminal and storage medium for direct communication
US8744472B2 (en) Method for reporting channel quality information and system thereof
EP4195571A1 (en) Srs transmission method, terminal, and storage medium
US20200374810A1 (en) Augmenting a neighbor report with uplink received signal strength indicators (rssi) from scanning radios
CN110099409B (en) Method and system for controlling client access by Mesh networking AP
CN117580109A (en) LoRa-based communication method and system
CN109819455B (en) Uplink order selection method, user terminal and base station
CN105846924A (en) Wireless local area network interference suppression method and anti-interference wireless local area network device
CN102740432B (en) Dynamic transmission power control method
CN101754345B (en) Control method of transmitting power and communication equipment
CN113556777B (en) Method for reporting side link channel state information and user equipment
CN118234036A (en) Uplink power control method and device, radio equipment and storage medium
CN110809285A (en) Data transmission method and data transmission system based on channel conditions

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