CN116916325A - Method for constructing LoRaWan uplink channel and LoRaWan system - Google Patents

Method for constructing LoRaWan uplink channel and LoRaWan system Download PDF

Info

Publication number
CN116916325A
CN116916325A CN202310892019.0A CN202310892019A CN116916325A CN 116916325 A CN116916325 A CN 116916325A CN 202310892019 A CN202310892019 A CN 202310892019A CN 116916325 A CN116916325 A CN 116916325A
Authority
CN
China
Prior art keywords
channel
lorawan
network access
gateway
chip
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
CN202310892019.0A
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.)
Chengdu Boost Information Technology Co ltd
Original Assignee
Chengdu Boost Information 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 Boost Information Technology Co ltd filed Critical Chengdu Boost Information Technology Co ltd
Priority to CN202310892019.0A priority Critical patent/CN116916325A/en
Publication of CN116916325A publication Critical patent/CN116916325A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for constructing an uplink LoRaWan channel and a LoRaWan system constructed based on the method, which are used for designing double chip firmware aiming at a gateway, configuring a terminal node and a server side to adapt to multi-channel support, and increasing the communication capacity of the gateway and solving the problem of a large number of data reporting application scenes after constructing available frequency channel mapping tables of the gateway, equipment and the like according to preset.

Description

Method for constructing LoRaWan uplink channel and LoRaWan system
Technical Field
The invention relates to the field of wireless communication, in particular to a method for constructing an LoRaWan uplink channel and an LoRaWAN system.
Background
With the continuous development and extension of the Internet and the development of related matched technologies such as communication technology, big data and the like, the Internet connected with people, machines and machines in the past extends and expands to the Internet of things for information exchange between any objects. Among them, the LoraWan, which is a solution of the internet of things, has been developed in various countries and regions. A typical LoraWan network consists of a network server, a plurality of gateways, and a number of end nodes. The existing LoraWan network is sufficiently used in application scenes such as water, electricity and gas meter reading, but is insufficient in capacity in a large number of other application scenes such as personnel position reporting and the like, cannot meet specific requirements and needs system reconstruction.
Disclosure of Invention
In view of the above, the invention provides a method for constructing a LoRaWan uplink channel and a LoRaWan system constructed based on the method, which are used for designing double chip firmware aiming at a gateway and configuring a terminal node and a server to adapt to multi-channel support, so that the problem of a large number of data reporting application scenes is solved.
In order to solve the technical problems, the invention provides a method for constructing an uplink LoRaWan channel, which comprises the steps of carrying out channel arrangement and system erection on a LoRaWan system; the channel arrangement is that the gateway module is arranged according to the preset value of the channel quantity, and a gateway chip and an antenna are additionally arranged; the gateway module is provided with a first chip, and the added gateway chip is a second chip; the gateway chip is additionally arranged, which comprises the following configuration steps: confirming chip parameters, writing a device driver, configuring pins and realizing bus communication and control; the system erection comprises the steps of configuring a LoRaWan server and configuring LoRaWan nodes, wherein the LoRaWan server is connected to the gateway module, and based on the configuration of the second chip, the gateway channel is changed and the nodes matched with the chip are arranged; the LoRaWan node is configured to reassign frequencies and channels to join responses in the network entry flow.
As an alternative way, after the system erection is finished, heartbeat detection is also carried out on the gateway module; heartbeat detection is used to flag the number of channels of the gateway module, which includes the steps of:
the gateway module assembles a heartbeat frame data packet according to the LoRaWan standard protocol format and sends the heartbeat frame data packet to the network server;
after receiving the heartbeat frame data packet sent by the gateway module, the network server analyzes the data packet and checks the channel configuration quantity of the gateway;
if the gateway identification is the gateway with the preset number of channels, the network server configures a channel mapping table of the network access response of the node equipment into the preset number of channels;
if the gateway is not marked as the gateway with the preset number of channels, the network server configures the network access response of the node equipment according to the channel mapping table of the network access response configured by the original channel gateway;
wherein the gateway module periodically transmits heartbeat frame packets to maintain a communication connection between the gateway module and the network server to ensure that the gateway is still running and ready to receive packets from the node device.
As an alternative, validating the chip parameters includes: confirming parameters of the second chip according to the frequency range and the power range of the first chip; writing a device driver includes: programming an interface program, wherein the interface program is used for connecting the first chip and the second chip with the processor in a communication way, and processing communication protocols among the processor, the first chip and the second chip to realize configuration and control of the processor; the configuration pins include: connecting each input port and each output port of the first chip and the second chip with the main board for communication, centralized receiving and transmitting and noise shielding; the bus communication and control comprises connecting the processor with the first chip and the second chip through SPI bus interfaces.
As an alternative, the gateway module further includes a centralized receiving mode and a centralized transmitting mode;
when the gateway module is in the centralized receiving mode, the gateway module comprises centralized receiving and unpacking functions: the gateway module receives data of a plurality of LoRaWan devices at the same time, and analyzes and unpacks the data so as to forward the data to the application server;
when the gateway module is in the centralized transmission mode, the gateway module comprises the functions of centralized transmission and encapsulation: the gateway module simultaneously transmits data to a plurality of LoRaWan devices, and the specific process is as follows: the application server sends the data to the gateway module, and the gateway module sends the data to a plurality of LoRaWan terminal devices at a designated frequency by using a LoRaWan protocol.
As an alternative, the configured lorewan server is configured to process a device network access request, and includes:
A1. when the equipment requests to join the network, a network access request is sent through a gateway module, wherein the request contains the EUI of the equipment and a corresponding key, and the gateway module forwards the request to a network access server;
A2. the network access server verifies the equipment, checks whether the EUI of the equipment is matched with the secret key, and verifies the identity and the credibility of the equipment; if the equipment passes the verification, the network access server generates a channel key;
A3. the network access server sends a joining response to the equipment, encrypts a joining response message by using a channel key of the equipment to the network, and sends the joining response message back to the equipment; wherein, the joining response message contains the channel key and available parameter information so that the device joins the network;
A4. after agreeing to join, the gateway module forwards the message to the device, and if the device receives the join response message, it decrypts and verifies the data using the channel key and the network session key therein, and configures the available parameter information.
As an alternative, when the network access server sends a joining response message to the device, the channels of the channel mapping table are configured to be a preset number of channels; when the device receives the joining response message, it verifies whether the channel configuration of its channel mapping table is a preset number of channels.
As an alternative, the configured lorewa node includes start-up, network access and operation links;
the starting link is used for indicating that the node just enters a process of preparing work, and the process is used for judging parameters;
the network access flow comprises the following steps:
B1. starting a network access request, and sending a network access request message to a gateway module by a node, wherein the message comprises equipment EUI and a secret key;
B2. the gateway module forwards the network access request, and forwards the network access request message to a network access server in the network, and the network access server verifies the identity and the legitimacy according to the node EUI and the secret key;
B3. the network access server verifies the equipment, and the network access server can check whether the EUI of the equipment is matched with the secret key or not and verify the identity and the credibility of the equipment; if the equipment passes the verification, the network access server generates a channel key;
B4. the network access server sends a joining response to the node, encrypts the joining response message by using the channel keys of the node and the network, and sends the joining response message back to the node; the joining response message comprises the device channel key and available parameter information so that the device joins the network;
run for application processing after the web.
As an alternative way, when the network access server sends a joining response message to the set node, the channels of the channel mapping table are configured to be a preset number of channels; when the node receives the joining response message, it is verified whether the channel configuration of the channel mapping table is a preset number of channels.
As an alternative way, when any node needs to report data, the node arbitrarily selects one reporting channel according to a channel mapping table configured by the server;
and before reporting, firstly, using a CSMA method to detect whether other nodes occupy the channel to transmit data, if so, waiting for a transmission period of 200ms and then detecting, and if the transmission period is still occupied, changing to an active channel to detect, until the channel occupation is empty, and then transmitting data.
In another aspect, the present invention further provides a lorewa system, including:
the system comprises a LoRaWan server, an Ethernet interface, an MCU processor, a first LoRaWan radio frequency receiver, a second LoRaWan radio frequency receiver, an antenna and a plurality of terminal nodes;
the LoRaWan server is in communication connection with the MCU processor through an Ethernet interface, and the first LoRaWan radio frequency receiver and the second LoRaWan radio frequency receiver are respectively in communication connection with the MCU processor.
The beneficial effects of the invention are as follows:
according to the invention, the gateway communication capacity is increased after the available frequency channel mapping table of the network server is constructed according to the preset, so that the problem of application scenes of reporting a large amount of data is solved.
Drawings
Fig. 1 is a schematic diagram of an lw uplink channel construction flow provided in embodiment 1 of the present invention;
fig. 2 is a schematic diagram of an 8-channel gateway receiving channel according to embodiment 1 of the present invention;
fig. 3 is a schematic diagram of an improved 16-channel gateway receiving channel according to embodiment 1 of the present invention.
Fig. 4 is a schematic diagram of an lw system network architecture according to embodiment 2 of the present invention;
Detailed Description
In order to make the technical scheme of the present invention better understood by those skilled in the art, the present invention will be further described in detail with reference to the following specific embodiments.
Example 1
Referring to fig. 1-3, the present embodiment provides a method for constructing a lorewan uplink channel, which includes performing channel arrangement and system erection on a lorewan system; the channel arrangement is that the gateway module is arranged according to the preset value of the channel quantity, and a gateway chip and an antenna are additionally arranged; the gateway module is provided with a first chip, and the added gateway chip is a second chip; the gateway chip is additionally arranged, which comprises the following configuration steps: confirming chip parameters, writing a device driver, configuring pins and realizing bus communication and control; the system erection comprises the steps of configuring a LoRaWan server and configuring LoRaWan nodes, wherein the LoRaWan server is connected to the gateway module, and based on the configuration of the second chip, the gateway channel is changed and the nodes matched with the chip are arranged; the LoRaWan node is configured to reassign frequencies and channels to join responses in the network entry flow.
In this embodiment, the scheme and the reverse operation are described by expanding from 8 channels to 16 channels. Specifically, in this embodiment, a piece of LoRaWAN SX1301 chip and an antenna are added to the gateway, and the firmware of the dual chip is redesigned, so that the number of channels is doubled compared with the original gateway. Wherein, confirming the chip parameters includes: parameters of the second chip are confirmed according to the frequency range and the power range of the first chip, for example, the receiving frequency range of the first chip is 470.3 MHz-471.3 MHz, the receiving frequency range of the second chip is 471.425 MHz-472.3 MHz, and the power range is kept default. Writing a device driver includes: programming an interface program, wherein the interface program is used for connecting the first chip and the second chip with the processor in a communication way, and processing communication protocols among the processor, the first chip and the second chip to realize configuration and control of the processor; the configuration pins include: and connecting the input ports and the output ports of the first chip and the second chip with the main board for communication, centralized transceiving and noise shielding. The bus communication and control comprises connecting the processor with the first chip and the second chip through SPI bus interfaces.
In addition, the firmware needs to realize the functions of centralized receiving and unpacking, so the gateway module also comprises a centralized receiving mode and a centralized sending mode; when the gateway module is in the centralized receiving mode, the gateway module comprises centralized receiving and unpacking functions: the gateway module receives data of a plurality of LoRaWan devices at the same time, and analyzes and unpacks the data so as to forward the data to the application server; when the gateway module is in the centralized transmission mode, the gateway module comprises the functions of centralized transmission and encapsulation: the gateway module simultaneously transmits data to a plurality of LoRaWan devices, and the specific process is as follows: the application server sends the data to the gateway module, and the gateway module sends the data to a plurality of LoRaWan terminal devices at a designated frequency by using a LoRaWan protocol.
In order to better integrate and verify the feasibility of the scheme, after the system is erected, the embodiment also carries out heartbeat detection on the gateway module; heartbeat detection is used to flag the number of channels of the gateway module, which includes the steps of:
the gateway module assembles and transmits the heartbeat frame data packet to the network server according to the LoRaWan standard protocol format (the heartbeat packet is a data packet which is periodically transmitted to the network server by the gateway so as to indicate that the gateway is still in an operating state and is ready to receive the data packet of the node equipment);
after receiving the heartbeat frame data packet sent by the gateway module, the network server analyzes the data packet and checks the channel configuration quantity (whether 8 channels or 16 channels are adopted) of the gateway;
if the gateway is identified as a 16 channel gateway, the network server configures the CHMAP for the node device network access response as 16 channels. If the gateway is not identified as a 16-channel gateway, the node equipment is accessed to the network, and a CHMAP (channel map, which is stored in a terminal node channel mapping table) of an access response is configured according to the original 8-channel gateway, parameters indicate the activation condition of each current channel, wherein the CHmap is 6 bytes from front to back, each Bit corresponds to 1 channel, 0 indicates that the gateway is not activated, 1 indicates that the gateway is activated, and the activation state indicates that the terminal can send data from the channel. After the node is configured into 16 channels, the communication channel is increased from 8 channels to 16 channels, and the communication capacity is doubled.
Wherein the gateway module periodically transmits heartbeat frame packets to maintain a communication connection between the gateway module and the network server to ensure that the gateway is still running and ready to receive packets from the node device.
After the channel access arrangement is completed, the system erection is also required to be adaptively arranged and modified, and LoRaWAN servers and LoRaWAN nodes are configured in the embodiment. The configured lorewan server is used for processing equipment network access requests, and comprises the following components:
A1. when the equipment requests to join the network, a network access request is sent through a gateway module, wherein the request contains the EUI of the equipment and a corresponding key, and the gateway module forwards the request to a network access server;
A2. the network access server verifies the equipment, checks whether the EUI of the equipment is matched with the secret key, and verifies the identity and the credibility of the equipment; if the device passes the verification, the network access server generates a channel Key (Application Session Key, network Session Key and Join Accept Key);
A3. the network access server sends a joining response (Join Accept) to the equipment, encrypts the joining response message by using the channel key of the equipment to the network, and sends the joining response message back to the equipment; wherein, the joining response message contains the channel key and available parameter information so that the device joins the network;
A4. after agreeing to join, the gateway module forwards the message to the device, and if the device receives the join response message, it decrypts and verifies the data using the channel key and the network session key therein, and configures the available parameter information. Here, the channels of the channel map table (CHMAP) are configured as a preset number of channels; when the device receives the joining response message, it verifies whether the channel configuration of its channel mapping table is a preset number of channels. That is, the available frequency CHMAP is configured as 16 channels. The device uses it to encrypt and decrypt data and to communicate at the application layer in the network.
The configured LoRaWan node comprises a starting link, a network access link and an operation link;
the start-up link is used for indicating that the node just enters a process of preparing work, and the process is used for judging parameters, such as judging whether the current parameters are consistent with the previous parameters or whether the node enters a network access process or directly runs.
The network access flow comprises the following steps:
B1. starting a network access request, and sending a network access request message to a gateway module by a node, wherein the message comprises equipment EUI and a secret key;
B2. the gateway module forwards the network access request, and forwards the network access request message to a network access server in the network, and the network access server verifies the identity and the legitimacy according to the node EUI and the secret key;
B3. the network access server verifies the equipment, and the network access server can check whether the EUI of the equipment is matched with the secret key or not and verify the identity and the credibility of the equipment; if the equipment passes the verification, the network access server generates a channel key;
B4. the network access server sends a joining response to the node, encrypts the joining response message by using the channel keys of the node and the network, and sends the joining response message back to the node; the join response message includes the device channel key and available parameter information to facilitate the joining of the device to the network. Wherein the channels of the channel mapping table are configured as a preset number of channels; when the node receives the joining response message, it is verified whether the channel configuration of the channel mapping table is a preset number of channels.
The method comprises the steps that the method is operated for carrying out application processing after the network, and when any node needs to report data, the node randomly selects one reporting channel according to a channel mapping table configured by a server; and before reporting, firstly, using a CSMA method to detect whether other nodes occupy the channel to transmit data, if so, waiting for a transmission period of 200ms and then detecting, and if the transmission period is still occupied, changing to an active channel to detect, until the channel occupation is empty, and then transmitting data.
Through the scheme, the available frequency CHMAP of the network server is changed from 8 channels to 16 channels through the gateway and the node equipment, so that the communication capacity of the gateway is doubled, and the problem of application scenes of large data reporting is solved.
Example 2
Referring to fig. 4, the present embodiment provides a lorewan system, including:
the system comprises a LoRaWan server, an Ethernet interface, an MCU processor, a first LoRaWan radio frequency receiver, a second LoRaWan radio frequency receiver, an antenna and a plurality of terminal nodes;
the LoRaWan server is in communication connection with the MCU processor through an Ethernet interface, and the first LoRaWan radio frequency receiver and the second LoRaWan radio frequency receiver are respectively in communication connection with the MCU processor. The models of the first LoRaWan radio frequency receiver and the second LoRaWan radio frequency receiver are SX1301.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that the above-mentioned preferred embodiment should not be construed as limiting the invention, and the scope of the invention should be defined by the appended claims. It will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the spirit and scope of the invention, and such modifications and adaptations are intended to be comprehended within the scope of the invention.

Claims (10)

1. A method for constructing a lorewan uplink channel, comprising:
carrying out channel arrangement and system erection on the LoRaWan system;
the channel arrangement is that channel arrangement is carried out on the gateway module according to the preset value of the number of channels, and a gateway chip and an antenna are additionally arranged; the gateway module is provided with a first chip, and the added gateway chip is a second chip;
the adding gateway chip comprises the following configuration steps: confirming chip parameters, writing a device driver, configuring pins and realizing bus communication and control;
the system erection comprises a configuration LoRaWan server and a configuration LoRaWan node, wherein the configuration LoRaWan server is used for connecting the configuration LoRaWan server to the gateway module, changing a gateway channel based on the configuration of the second chip and arranging the node matched with the chip; the LoRaWan node is configured to reallocate frequency and channel for joining response in the network access flow.
2. The method for constructing a lorewan uplink channel according to claim 1, characterized in that after system erection is completed, heartbeat detection is also performed on the gateway module; the heartbeat detection is used for marking the number of channels of the gateway module, and comprises the following steps:
the gateway module assembles a heartbeat frame data packet according to the LoRaWan standard protocol format and sends the heartbeat frame data packet to the network server;
after receiving the heartbeat frame data packet sent by the gateway module, the network server analyzes the data packet and checks the channel configuration quantity of the gateway;
if the gateway identification is the gateway with the preset number of channels, the network server configures a channel mapping table of the network access response of the node equipment into the preset number of channels;
if the gateway is not marked as the gateway with the preset number of channels, the network server configures the network access response of the node equipment according to the channel mapping table of the network access response configured by the original channel gateway;
wherein the gateway module periodically transmits heartbeat frame packets to maintain a communication connection between the gateway module and the network server to ensure that the gateway is still running and ready to receive packets from the node device.
3. The method for constructing a LoRaWan uplink channel as recited in claim 1, wherein,
the confirming chip parameters include: confirming parameters of the second chip according to the frequency range and the power range of the first chip;
the writing device driver includes: programming an interface program, wherein the interface program is used for connecting the first chip, the second chip and the processor in a communication way, and processing a communication protocol between the processor and the first chip and the second chip so as to realize configuration and control of the processor;
the configuration pin comprises: connecting each input port and each output port of the first chip and the second chip with a main board for communication, centralized receiving and transmitting and noise shielding;
the bus communication and control comprises connecting a processor with the first chip and the second chip through SPI bus interfaces.
4. A method of constructing a lorewan uplink channel as claimed in claim 3, wherein said gateway module further comprises a centralized receiving mode and a centralized transmitting mode;
when the gateway module is in the centralized receiving mode, the gateway module comprises centralized receiving and unpacking functions: the gateway module receives data of a plurality of LoRaWan devices at the same time, and analyzes and unpacks the data to forward the data to the application server;
when the gateway module is in the centralized sending mode, the gateway module comprises centralized sending and packaging functions: the gateway module simultaneously transmits data to a plurality of LoRaWan devices, and the specific process is as follows: and the application server sends the data to the gateway module, and the gateway module sends the data to a plurality of LoRaWan terminal devices at a designated frequency by using a LoRaWan protocol.
5. The method for constructing a lorewan uplink channel according to claim 1, wherein the configured lorewan server is configured to process a device network access request, and the method comprises:
A1. when the equipment requests to join the network, a network access request is sent through the gateway module, wherein the request comprises the EUI of the equipment and a corresponding key, and the gateway module forwards the request to a network access server;
A2. the network access server verifies the equipment, checks whether the EUI of the equipment is matched with the secret key, and verifies the identity and the credibility of the equipment; if the equipment passes the verification, the network access server generates a channel key;
A3. the network access server sends a joining response to the equipment, encrypts a joining response message by using a channel key of the equipment to the network, and sends the joining response message back to the equipment; wherein, the joining response message contains the channel key and available parameter information so that the device joins the network;
A4. after agreeing to join, the gateway module forwards the message to the device, and if the device receives the join response message, the device decrypts and verifies the data by using the channel key and the network session key therein, and configures available parameter information.
6. The method for constructing a lorewan uplink channel as claimed in claim 5, wherein when the network access server transmits a join response message to the device, the channels of the channel mapping table are configured as a preset number of channels; when the device receives the joining response message, it verifies whether the channel configuration of its channel mapping table is a preset number of channels.
7. The method for constructing a loreran uplink channel according to claim 1, wherein the configured loreran node comprises start-up, network access and operation links;
the starting link is used for indicating that the node just enters a process of preparing work, and the process is used for judging parameters;
the network access flow comprises the following steps:
B1. starting a network access request, and sending a network access request message to the gateway module by the node, wherein the message comprises equipment EUI and a secret key;
B2. the gateway module forwards a network access request, and forwards a network access request message to a network access server in a network, wherein the network access server verifies identity and legitimacy according to the node EUI and the secret key;
B3. the network access server verifies the equipment, and the network access server can check whether the EUI of the equipment is matched with the secret key or not and verify the identity and the credibility of the equipment; if the equipment passes the verification, the network access server generates a channel key;
B4. the network access server sends a joining response to the node, encrypts the joining response message by using the channel keys of the node and the network, and sends the joining response message back to the node; the joining response message comprises the device channel key and available parameter information so that the device joins the network;
the operation is used for application processing after the network.
8. The method for constructing a lorewan uplink channel as claimed in claim 7, wherein when the network access server transmits a join response message to the set node, the channels of the channel mapping table are configured as a preset number of channels; when the node receives the joining response message, it is verified whether the channel configuration of the channel mapping table is a preset number of channels.
9. The method for constructing a lorewa uplink channel according to claim 7, wherein when any node needs to report data, the node arbitrarily selects one reporting channel according to a channel mapping table configured by the server;
and before reporting, firstly, using a CSMA method to detect whether other nodes occupy the channel to transmit data, if so, waiting for a transmission period of 200ms and then detecting, and if the transmission period is still occupied, changing to an active channel to detect, until the channel occupation is empty, and then transmitting data.
10. A lorewa system comprising:
the system comprises a LoRaWan server, an Ethernet interface, an MCU processor, a first LoRaWan radio frequency receiver, a second LoRaWan radio frequency receiver, an antenna and a plurality of terminal nodes;
the LoRaWan server is in communication connection with the MCU processor through an Ethernet interface, and the first LoRaWan radio frequency receiver and the second LoRaWan radio frequency receiver are respectively in communication connection with the MCU processor.
CN202310892019.0A 2023-07-18 2023-07-18 Method for constructing LoRaWan uplink channel and LoRaWan system Pending CN116916325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310892019.0A CN116916325A (en) 2023-07-18 2023-07-18 Method for constructing LoRaWan uplink channel and LoRaWan system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310892019.0A CN116916325A (en) 2023-07-18 2023-07-18 Method for constructing LoRaWan uplink channel and LoRaWan system

Publications (1)

Publication Number Publication Date
CN116916325A true CN116916325A (en) 2023-10-20

Family

ID=88364336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310892019.0A Pending CN116916325A (en) 2023-07-18 2023-07-18 Method for constructing LoRaWan uplink channel and LoRaWan system

Country Status (1)

Country Link
CN (1) CN116916325A (en)

Similar Documents

Publication Publication Date Title
CN111050403B (en) Data transmission method, device and equipment
CN103945539B (en) A kind of transmission method and device and communication system for strengthening Physical Downlink Control Channel
CN207766561U (en) A kind of system of control terminal and equipment access network
EP2573970B1 (en) Near field communication reader device, near field communication tag device, near field communication system and near field communication method
CN111427335A (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN106911428B (en) Information transmission method and device
CN110022374A (en) Method for connecting network, device, communication equipment and storage medium based on Internet of Things
CN110913006A (en) Remote diagnosis method and system
CN207652705U (en) A kind of system of control terminal and the equipment access network based on wifi Beacon frames
CN106604342A (en) Point-to-point communication method and point-to-point communication device
CN112640504B (en) Method and device for secure communication
CN112217592B (en) Management control method and equipment for new forwarding network
CN116916325A (en) Method for constructing LoRaWan uplink channel and LoRaWan system
US9992767B2 (en) Data transmission method and device
US20220312552A1 (en) Gateway for use in wireless communication
EP3890195B1 (en) Apparatus and methods for g3-plc bootstrap in hybrid networks
CN113438606B (en) Message transmission method, device, related equipment and storage medium
CN102480463B (en) Network interaction method and network interaction system
CN110035549A (en) A kind of transmission method, terminal and base station
CN101636963A (en) The method and apparatus of the data communication feature of test network system
KR101704300B1 (en) Method for transmitting/receiving can message and system performing the same
US9877355B2 (en) Wireless communicator connectable to different types of wireless communication networks
CN113973274A (en) Management method compatible with LoRaWAN standard communication and private LoRa communication simultaneously
CN114489730A (en) Remote upgrading method, terminal equipment and computer readable storage medium
CN116034593A (en) Data transmission method and communication device applied to short-distance wireless communication

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