CN113993197B - Communication method and device of LoRa gateway and node, storage medium and electronic equipment - Google Patents

Communication method and device of LoRa gateway and node, storage medium and electronic equipment Download PDF

Info

Publication number
CN113993197B
CN113993197B CN202111249998.5A CN202111249998A CN113993197B CN 113993197 B CN113993197 B CN 113993197B CN 202111249998 A CN202111249998 A CN 202111249998A CN 113993197 B CN113993197 B CN 113993197B
Authority
CN
China
Prior art keywords
receiving window
node
lora gateway
downlink data
receiving
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
CN202111249998.5A
Other languages
Chinese (zh)
Other versions
CN113993197A (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.)
Chengdu Ebyte Electronic Technology Co ltd
Original Assignee
Chengdu Ebyte Electronic 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 Chengdu Ebyte Electronic Technology Co ltd filed Critical Chengdu Ebyte Electronic Technology Co ltd
Priority to CN202111249998.5A priority Critical patent/CN113993197B/en
Publication of CN113993197A publication Critical patent/CN113993197A/en
Application granted granted Critical
Publication of CN113993197B publication Critical patent/CN113993197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a communication method, a device, a storage medium and electronic equipment of a LoRa gateway and a node, wherein the method comprises the following steps: after the node sends uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state through a first receiving window and a second receiving window; and starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in the current channel in real time, and if so, starting at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.

Description

Communication method and device of LoRa gateway and node, storage medium and electronic equipment
Technical Field
The application relates to the technical field of LoRa communication, in particular to a communication method and device of a LoRa gateway and a node, a storage medium and electronic equipment.
Background
LoRa is a modulation technique of physical layer and can be used in different protocols, such as LoRaWAN protocol, loRa private protocol, etc. The final product and business form will vary with the protocol used. Today, the lorewan standard has established a complete ecological chain of "LoRa chip-module-sensor-gateway-web service-application service".
The lorewan protocol is a global universal standard, and cannot achieve good effects on some subdivision fields, such as measurement equipment of water, gas, heat meters and the like, is generally powered by a battery, has high requirements on power consumption, and simultaneously is required to be capable of realizing operations of real-time sensing, real-time valve control and the like. The classsA mode in the LoRaWAN protocol can well meet the power consumption requirement, but cannot realize the functions of real-time sensing, real-time valve control and the like; although the class B mode in the LoRaWAN protocol can meet certain real-time performance, the receiving gap time of the class B mode is generally tens of seconds, so that actual requirements cannot be met well, and meanwhile, in the class B mode, a child node needs to receive synchronous beacon frames at fixed time, so that more requirements are put forward on the power consumption of the child node; the class c mode in the lorewan protocol supports a long-term reception state, which is basically unable to satisfy battery-powered measurement device nodes.
Meanwhile, in the standard LoRaWAN protocol, relay is not supported, the general installation environment of water, gas and heat meters is bad, and for measurement equipment which cannot be covered by small signals, the problem can be solved only by adding the LoRaWAN gateway, and the selling price of one LoRaWAN gateway is thousands of yuan, so that the cost is not small for network deployment, and the method is not particularly suitable for networking application scenes of low-power consumption Internet of things equipment.
Disclosure of Invention
The application aims to provide a communication method and device of a LoRa gateway and a node, a storage medium and electronic equipment, which are used for solving the technical defect that the real-time response speed in the prior art cannot be compatible with low power consumption.
The embodiment of the application provides a communication method of a LoRa gateway and a node, which comprises the following steps: after the node sends uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state through a first receiving window and a second receiving window; and starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in the current channel in real time, and if so, starting at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.
With reference to the first aspect, in a first possible implementation manner, after the node sends uplink data to the LoRa gateway, the node switches from a sending state to a low power consumption state through a first receiving window and a second receiving window, and includes: if the node receives downlink data sent by the LoRa gateway in a first receiving window or a second receiving window after the node sends the uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state; or if the node does not receive the downlink data sent by the LoRa gateway in the first receiving window or the second receiving window after sending the uplink data to the LoRa gateway, the node is switched from the sending state to the low-power consumption state.
With reference to the first aspect, in a second possible implementation manner, the first receiving window and the second receiving window are continuously arranged, and the receiving frequency, the airspeed and the window length of the first receiving window are different from those of the second receiving window.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the receiving frequency of the second receiving window is a fixed frequency.
With reference to the second possible implementation manner of the first aspect, in a fourth possible implementation manner, at least one of the first receiving window and the second receiving window is opened to receive downlink data sent by the LoRa gateway, including: according to a response instruction sent by the LoRa gateway, the first receiving window is in an open state for receiving downlink data issued by the LoRa gateway; if the communication duration is within the first receiving window, only the first receiving window receives downlink data issued by the LoRa gateway; or if the communication duration exceeds the first receiving window, opening a second receiving window, wherein the first receiving window and the second receiving window both receive downlink data issued by the LoRa gateway; or if the communication duration exceeds the first receiving window, opening a second receiving window, wherein the first receiving window does not receive downlink data issued by the LoRa gateway, and the second receiving window receives the downlink data issued by the LoRa gateway; or if the communication duration exceeds the first receiving window, opening a second receiving window, wherein the first receiving window and the second receiving window do not receive downlink data issued by the LoRa gateway.
In a second aspect, an embodiment of the present application provides a method for communicating a LoRa gateway with a node, where the method includes: the LoRa gateway monitors a plurality of channels in the LoRa gateway in real time to obtain uplink data sent by the node; the LoRa gateway sends a preamble to the node to wake up the node; the LoRa gateway sends downstream data to the node.
With reference to the second aspect, in a first possible implementation manner, the sending, by the LoRa gateway, downlink data to the node includes: the LoRa gateway selects a sending time window according to the current signal transmission rate and network quality, wherein the sending time window corresponds to a receiving window of the node; if the communication duration of the communication link corresponding to the current LoRa gateway is smaller than the first duration, selecting a first sending time window to send downlink data, and correspondingly opening a first receiving window of the node; if the communication time length of the communication link corresponding to the current LoRa gateway is longer than the first time length, a first sending time window is selected, a second sending time window is selected to send downlink data, and a first receiving window of a node is opened first and then a second receiving window is opened correspondingly.
In a third aspect, an embodiment of the present application provides a communication device between a LoRa gateway and a node, where the device includes: the sending unit is used for switching the node from a sending state to a low-power consumption state after the node sends uplink data to the LoRa gateway and passes through the first receiving window and the second receiving window; the detection unit is used for starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in the current channel in real time, and if so, starting at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.
In a fourth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored, where the computer program can be executed to implement the above-mentioned method for communication between a LoRa gateway and a node.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a communication bus, a communication interface, and a memory; the communication bus is respectively connected with the processor, the communication interface and the memory; the memory stores computer readable instructions that when executed by the processor, operate the method of communication between the LoRa gateway and the node.
Compared with the prior art, the application has the beneficial effects that: on one hand, after the node actively reports the data, two continuous receiving windows with different frequencies and window lengths exist for receiving the data issued by the gateway, and the node is switched from a sending mode to a low-power consumption mode so as to reduce the power consumption; on the other hand, the embodiment supports the WOR active wake-up function, realizes the active data issuing of the receiving server and the gateway, and improves the real-time response capability.
Drawings
Fig. 1 is an exemplary structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a flow chart of a communication method between a LoRa gateway and a node at a node side according to an embodiment of the present application;
fig. 3 is a communication timing diagram of a node according to an embodiment of the present application;
fig. 4 is a flow chart of a communication method between a LoRa gateway and a node at a gateway side according to an embodiment of the present application;
fig. 5 is a gateway communication timing diagram according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device between a LoRa gateway and a node according to an embodiment of the present application.
Icon: 10-electronic equipment, 111-memory, 112-communication interface, 113-communication bus, 114-processor, 20-LoRa gateway and node communication device, 210-transmitting unit, 220-detecting unit.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, some possible embodiments of the application provide an apparatus 10. The device 10 may be a personal computer (Personal Computer, PC), tablet, smart phone, personal digital assistant (Personal Digital Assistant, PDA), etc., or the device 10 may be a web server, database server, cloud server, or a server integration made up of multiple sub-servers, etc.
Further, the device 10 may include: the memory 111, the communication interface 112, the communication bus 113 and the processor 114, wherein the processor 114, the communication interface 112 and the memory 111 are connected through the communication bus 113. The processor 114 is for executing executable modules, such as computer programs, stored in the memory 111. The components and structures of the electronic device 10 shown in fig. 1 are exemplary only and not limiting, as the device 10 may have other components and structures as desired.
The memory 111 may include a high-speed random access memory (Random Access Memory RAM) and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.
Communication bus 113 may be an ISA bus ((Industry Standard Architecture, industry standard architecture), PCI bus (Peripheral Component Interconnect, peripheral component interconnect standard), or EISA bus (Extended Industry Standard Architecture ), etc. communication buses may be divided into address buses, data buses, control buses, etc. for ease of illustration, only one bi-directional arrow is shown in fig. 1, but not only one bus or type of bus.
The processor 114 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the methods described above may be performed by integrated logic circuitry in hardware or instructions in software in processor 114. The processor 114 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; the methods, steps and logic blocks disclosed in the embodiments of the present application may be implemented or performed by a digital signal processor (Digital Signal Process, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art.
The method performed by the apparatus defined in the embodiment of the present application may be applied to the processor 114 or implemented by the processor 114. Processor 114 may perform the method of communication of the LoRa gateway with the node by cooperating with other modules or components in apparatus 10. The execution of the communication method between the LoRa gateway and the node will be described in detail below.
The network architecture of the LoRaWAN comprises Nodes (End Nodes), gateways (Gateway) and servers. The server can be further divided into a network server directly communicating with the gateway and an application server at the back end of the network server. And the nodes and the gateway adopt LoRa technology for wireless communication. The gateway and the server communicate by adopting a TCP/IP protocol. The gateway forwards the LoRaWAN protocol data between the node and the server. In the LoRaWAN system, the node transmits data to a server through one or more gateways in a turning mode, namely uplink, and the server transmits data to a uniquely determined node through the gateway in a turning mode, namely downlink.
The LoRaWAN protocol sets three types (Classes) according to application scenes, and the three types are Class A, class B and Class C respectively, and are used for standardizing communication commands, message formats and the like between nodes and servers. Class A is that the node firstly performs uplink transmission, a downlink receiving window is opened for a period of time after uplink transmission, and the node performs downlink receiving only after uplink transmission. Class B is to increase the opening time of the downlink receiving window negotiated by the node and the server based on Class A, and then to receive the downlink at the agreed time. Class C is when the node opens the downstream receive window at other times than upstream transmission.
As can be seen from the above description, the Class A, class B and Class C in the LoRaWAN protocol have the defects of long response time and high power consumption, so the embodiment of the application provides a communication method of the LoRa gateway and the node, which belongs to an extended communication protocol of the LoRaWAN protocol, and is called as Class D in the embodiment of the application, the Class D, the Class A, the Class B and the Class C belong to a parallel relationship, and the four types are mutually independent and do not influence each other. The type of communication protocol adopted between the node and the gateway to be determined for communication transmission can be determined according to the type of data reported by the node, or can be determined according to the instruction issued by the server. In the embodiment of the application, the type of the adopted communication protocol is determined by the type of the instruction issued by the server.
The communication method in the embodiment of the present application will be described from the point of view of the node and the gateway, respectively, and first, the communication method in the embodiment of the present application will be described from the point of view of the node.
Referring to fig. 2, some possible embodiments of the present application provide a method for communication between a LoRa gateway and a node. The communication method between the LoRa gateway and the node can be executed by electronic equipment, and the method comprises the following steps: s11 and S12.
S11: after the node sends uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state after passing through a first receiving window and a second receiving window;
s12: and starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in the current channel in real time, and if so, starting at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.
The process of the above-described step S11 and step S12 will be described in detail below.
S11: after the node sends uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state through the first receiving window and the second receiving window.
Specifically, if the node receives downlink data sent by the LoRa gateway in the first receiving window RX1 or the second receiving window RX2 after sending the uplink data to the LoRa gateway, the node switches from a sending state to a low power consumption state; or if the node does not receive the downlink data sent by the LoRa gateway in the first receiving window RX1 or the second receiving window RX2 after sending the uplink data to the LoRa gateway, the node switches from the sending state to the low power consumption state.
It should be noted that, after the node sends the uplink data, the first receiving window RX1 and the second receiving window RX2 may be in an on state at different time points to receive the downlink data, that is, during the communication transmission process based on the communication link, there are a plurality of first receiving windows RX1 and second receiving windows RX2.
After the node sends uplink data to the LoRa gateway, the node receives a related control instruction to enable a first receiving window RX1 to be in an open state so as to receive downlink data, after the node receives the downlink data through the first receiving window RX1 and the receiving time reaches to enable the first receiving window RX1 to be closed, if the code stream data transmission is finished, the node is switched from a sending state to a low power consumption state; if the code stream data is not transmitted, the node receives the related control instruction to enable the second receiving window RX2 to be in an open state so as to continuously receive the downlink data, and after the second receiving window RX2 is closed, the node is switched from a transmitting state to a low-power consumption state.
If the communication quality is poor, the first receiving window RX1 is in an on state, but fails to receive downlink data, and the second receiving window RX2 is in an on state and fails to receive downlink data, and when the receiving time reaches to cause the second receiving window RX2 to be closed, the node switches from the transmitting state to the low power consumption state.
In the embodiment of the present application, two receiving windows, namely a first receiving window RX1 and a second receiving window RX2, are continuously set, where the receiving frequency, airspeed and window length of the first receiving window RX1 are different from those of the second receiving window RX2, specifically, the receiving duration of the first receiving window RX1 is 2 seconds, the receiving duration of the second receiving window RX2 is 3 seconds, and the window length of the receiving window is the corresponding receiving duration; the reception frequency of the first reception window RX1 may be changed, and the reception frequency of the second reception window RX2 is a fixed frequency, and the fixed frequency value is 505.3MHZ.
S12: and starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in the current channel in real time, and if so, starting at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.
After the node sends the uplink data and passes through the first receiving window RX1 and the second receiving window RX2, when the node switches from the sending state to the low power consumption state, the WOR wake-up function is started. The WOR wake-up function is to wake up the node by sending a preamble with a specific length through the gateway, and the node starts a receiving window to wait for receiving downlink data sent by the gateway after the node is awakened by the preamble. One preamble length corresponds to one WOR wakeup period, and a preamble of a specific length is added to wake up a node before transmitting downlink data, so that the node is switched from a low power consumption state to a receiving state, wherein the transmission period of the preamble is determined according to the WOR wakeup period of the node.
In the embodiment of the present application, at least one of the first receiving window RX1 and the second receiving window RX2 is opened to receive the downlink data sent by the LoRa gateway, including: according to a response instruction sent by the LoRa gateway, the first receiving window RX1 is in an open state for receiving downlink data sent by the LoRa gateway; if the communication duration is within the first receiving window RX1, only the first receiving window RX1 receives downlink data issued by the LoRa gateway; or if the communication duration exceeds the first receiving window RX1, starting a second receiving window RX2, wherein the first receiving window RX1 and the second receiving window RX2 both receive downlink data issued by the LoRa gateway; or if the communication duration exceeds the first receiving window RX1, starting a second receiving window RX2, wherein the first receiving window RX1 does not receive downlink data issued by the LoRa gateway, and the second receiving window RX2 receives the downlink data issued by the LoRa gateway; or if the communication duration exceeds the first receiving window RX1, starting the second receiving window RX2, wherein the first receiving window RX1 and the second receiving window do not receive the downlink data issued by the LoRa gateway.
In the communication method of the LoRa gateway and the node provided by the embodiment of the application, after the node is switched to the low-power-consumption state in the sending state, the WOR wake-up function is started, so that the node is in the low-power-consumption state, and the data issued by the server can be actively received after the WOR wake-up, thereby taking into account the low power consumption and the high real-time response speed.
The communication method in the embodiment of the present application will be described from the gateway point of view.
S21, the LoRa gateway monitors a plurality of channels in the LoRa gateway in real time to obtain uplink data sent by the node;
s22, the LoRa gateway sends a preamble to the node to wake the node.
And S23, the LoRa gateway transmits downlink data to the node.
The specific implementation of the method will be described in detail.
And S21, the LoRa gateway monitors a plurality of channels in the LoRa gateway in real time to obtain uplink data sent by the node.
After the node sends the uplink data to the LoRa gateway, the LoRa gateway will receive the uplink data. The LoRa gateway has 12 frequency bands according to the CN470 rule convention, each frequency band has 8 channels, and for the node, only a single channel can transmit, and a single channel accepts, and for the gateway, 8 channels can be monitored simultaneously, and uplink data transmitted by the node is received.
S22, the LoRa gateway sends a preamble to the node to wake the node.
The LoRa gateway sends a preamble with a specific length to wake up the node, and after the node is awakened by the preamble, the node opens a receiving window to wait for receiving downlink data sent by the gateway.
And S23, the LoRa gateway transmits downlink data to the node.
Specifically, the LoRa gateway selects a sending time window according to the current signal transmission rate and network quality, wherein the sending time window corresponds to a receiving window of a node; if the communication duration of the communication link corresponding to the current LoRa gateway is smaller than the first duration, a first sending time window TX1 is selected to send downlink data, and a first receiving window RX1 of the node is correspondingly opened; if the communication time length of the communication link corresponding to the current LoRa gateway is longer than the first time length, a first sending time window TX1 is selected, a second sending time window TX2 is selected to send downlink data, and a first receiving window RX1 of the node is opened and a second receiving window RX2 is opened correspondingly.
The embodiment of the application also provides a communication device 20 of the LoRa gateway and the node, and the device 20 comprises:
a sending unit 210, configured to switch, after the node sends uplink data to the LoRa gateway and passes through the first receiving window and the second receiving window, the node from a sending state to a low power consumption state;
the detecting unit 220 is configured to start WOR wakeup, detect in real time whether a preamble sent by the LoRa gateway exists in the current channel, and if so, start at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and then enter the low power consumption state again by the node.
In summary, an embodiment of the present application provides a method for communication between a LoRa gateway and a node, where the method includes: after the node sends uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state through a first receiving window and a second receiving window; and starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in the current channel in real time, and if so, starting at least one of the first receiving window and the second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (7)

1. A method of communication between a LoRa gateway and a node, the method comprising:
after the node sends uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state through a first receiving window and a second receiving window; comprising the following steps: if the node receives downlink data sent by the LoRa gateway in a first receiving window or a second receiving window after sending the uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state; specifically, after the node receives downlink data through the first receiving window RX1 and the receiving time reaches to cause the first receiving window RX1 to be closed, if the transmission of the code stream data is completed, the node switches from a transmitting state to a low power consumption state; if the code stream data is not transmitted completely, the node receives a related control instruction to enable the second receiving window RX2 to be in an open state so as to continuously receive downlink data, and after the second receiving window RX2 is closed, the node is switched from a transmitting state to a low-power consumption state;
and starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in a current channel in real time, and if so, starting at least one of a first receiving window and a second receiving window to receive downlink data sent by the LoRa gateway, wherein the node enters a low-power consumption state again.
2. The method according to claim 1, wherein the two receiving windows, i.e. the first receiving window and the second receiving window, are arranged consecutively, and the receiving frequency, the airspeed and the window length of the first receiving window are different from those of the second receiving window.
3. The method of claim 2, wherein the second receiving window has a fixed frequency.
4. The method for communication between a LoRa gateway and a node according to claim 2, wherein said opening at least one of the first receiving window and the second receiving window to receive the downlink data sent by the LoRa gateway comprises:
according to the response instruction sent by the LoRa gateway, the first receiving window is in an open state for receiving downlink data sent by the LoRa gateway;
if the communication duration is within the first receiving window, only the first receiving window receives downlink data issued by the LoRa gateway; or (b)
If the communication duration exceeds the first receiving window, opening the second receiving window, wherein the first receiving window and the second receiving window both receive downlink data issued by the LoRa gateway; or (b)
If the communication duration exceeds the first receiving window, opening the second receiving window, wherein the first receiving window does not receive downlink data issued by the LoRa gateway, and the second receiving window receives the downlink data issued by the LoRa gateway; or (b)
And if the communication duration exceeds the first receiving window, opening the second receiving window, wherein the first receiving window and the second receiving window do not receive downlink data issued by the LoRa gateway.
5. A communication device between a LoRa gateway and a node, the device comprising:
the sending unit is used for switching the node from a sending state to a low-power consumption state after the node sends uplink data to the LoRa gateway and passes through a first receiving window and a second receiving window; comprising the following steps: if the node receives downlink data sent by the LoRa gateway in a first receiving window or a second receiving window after sending the uplink data to the LoRa gateway, the node is switched from a sending state to a low-power consumption state; specifically, after the node receives downlink data through the first receiving window RX1 and the receiving time reaches to cause the first receiving window RX1 to be closed, if the transmission of the code stream data is completed, the node switches from a transmitting state to a low power consumption state; if the code stream data is not transmitted completely, the node receives a related control instruction to enable the second receiving window RX2 to be in an open state so as to continuously receive downlink data, and after the second receiving window RX2 is closed, the node is switched from a transmitting state to a low-power consumption state;
the detection unit is used for starting WOR awakening, detecting whether a preamble sent by the LoRa gateway exists in a current channel in real time, and if so, starting at least one of a first receiving window and a second receiving window to receive downlink data sent by the LoRa gateway, and enabling the node to enter a low-power consumption state again.
6. A storage medium having stored thereon a computer program which, when executed by a computer, performs the method of communication of a LoRa gateway with a node according to any of claims 1-4.
7. An electronic device, the electronic device comprising: a processor, a communication bus, a communication interface, and a memory;
the communication bus is respectively connected with the processor, the communication interface and the memory;
the memory stores computer readable instructions which, when executed by the processor, operate the method of communication of a LoRa gateway with a node as claimed in any one of claims 1-4.
CN202111249998.5A 2021-10-26 2021-10-26 Communication method and device of LoRa gateway and node, storage medium and electronic equipment Active CN113993197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111249998.5A CN113993197B (en) 2021-10-26 2021-10-26 Communication method and device of LoRa gateway and node, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111249998.5A CN113993197B (en) 2021-10-26 2021-10-26 Communication method and device of LoRa gateway and node, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113993197A CN113993197A (en) 2022-01-28
CN113993197B true CN113993197B (en) 2023-11-03

Family

ID=79741811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111249998.5A Active CN113993197B (en) 2021-10-26 2021-10-26 Communication method and device of LoRa gateway and node, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113993197B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547163A (en) * 2018-12-12 2019-03-29 视联动力信息技术股份有限公司 A kind of control method and device of message transmission rate
CN110290574A (en) * 2019-08-13 2019-09-27 厦门四信通信科技有限公司 A kind of data transmission method, device, equipment, system and storage medium
CN111901853A (en) * 2020-05-08 2020-11-06 广州技象科技有限公司 Low-power-consumption operation method and device for narrow-band Internet of things terminal
CN113438180A (en) * 2021-06-02 2021-09-24 广联达科技股份有限公司 Transmission control method, device and equipment for UDP (user Datagram protocol) data packet and readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3595217B1 (en) * 2018-07-13 2023-12-27 Sagemcom Energy & Telecom Sas Acknowledgement of unit in a wireless communication network
CN110312299B (en) * 2019-07-11 2022-07-22 京东方科技集团股份有限公司 Communication system, gateway, terminal and communication method based on LoRa technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547163A (en) * 2018-12-12 2019-03-29 视联动力信息技术股份有限公司 A kind of control method and device of message transmission rate
CN110290574A (en) * 2019-08-13 2019-09-27 厦门四信通信科技有限公司 A kind of data transmission method, device, equipment, system and storage medium
CN111901853A (en) * 2020-05-08 2020-11-06 广州技象科技有限公司 Low-power-consumption operation method and device for narrow-band Internet of things terminal
CN113438180A (en) * 2021-06-02 2021-09-24 广联达科技股份有限公司 Transmission control method, device and equipment for UDP (user Datagram protocol) data packet and readable storage medium

Also Published As

Publication number Publication date
CN113993197A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
EP2800341B1 (en) A method and technical equipment for short range data transmission
WO2017185867A1 (en) Method for service transmission and terminal
US8818429B2 (en) System and method for enabling wireless data transfer
US11909674B2 (en) Wake-up mechanisms in wireless communications
JP2023513443A (en) Method and device for sidelink communication
CN110493892B (en) Network connection method and device, storage medium and communication terminal
US20130138987A1 (en) Method for entering idle mode and mobile terminal for implementing such method
CN104917619A (en) Wakeup control method and terminal
US11394506B2 (en) Communication system, gateway device, terminal device and communication method for reducing power consumption
WO2024120230A1 (en) Network device management method and apparatus and storage medium
CN113993197B (en) Communication method and device of LoRa gateway and node, storage medium and electronic equipment
Cao et al. Automatic meter reading system based on wireless mesh networks and SOPC technology
Wang et al. How much benefit can dynamic frequency scaling bring to WiFi?
Perdomo-Campos et al. ESP32 based low-power and low-cost wireless sensor network
CN108668239B (en) Wireless communication system with low power consumption and supporting one-to-many interaction and communication method thereof
CN107466018B (en) Data transmission method of terminal equipment and terminal equipment
Wang et al. Detection performance of packet arrival under downclocking for mobile edge computing
CN107590981A (en) A kind of LORAWAN ammeters communication module and its control method
US20080198817A1 (en) System and Method for Enabling Wireless Data Transfer
CN110824343A (en) Detection method, device, equipment and medium of communication chip
CN104900032B (en) Wireless device controls method and system
Gimenez-Guzman et al. Goal-Oriented Source Coding and Filtering for Vehicular Communications
WO2024032489A1 (en) Prs receiving method and apparatus, and terminal
WO2023123341A1 (en) Signal reception method and communication apparatus
WO2023169571A1 (en) Wake-up signal receiving method and apparatus, terminal, and network side device

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