CN107104722B - LoRaWAN complex transparent transmission relay implementation method - Google Patents

LoRaWAN complex transparent transmission relay implementation method Download PDF

Info

Publication number
CN107104722B
CN107104722B CN201710398471.6A CN201710398471A CN107104722B CN 107104722 B CN107104722 B CN 107104722B CN 201710398471 A CN201710398471 A CN 201710398471A CN 107104722 B CN107104722 B CN 107104722B
Authority
CN
China
Prior art keywords
data
relay
lorawan
network
gateway
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
CN201710398471.6A
Other languages
Chinese (zh)
Other versions
CN107104722A (en
Inventor
顾庆欢
涂小朋
谢玖实
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guodong Cloud Computing Jiangsu Co ltd
Original Assignee
National Animal Network Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National Animal Network Co ltd filed Critical National Animal Network Co ltd
Priority to CN201710398471.6A priority Critical patent/CN107104722B/en
Publication of CN107104722A publication Critical patent/CN107104722A/en
Application granted granted Critical
Publication of CN107104722B publication Critical patent/CN107104722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a LoRaWAN complex transparent transmission relay implementation method, which adopts a relay mode on an SX1278 radio frequency chip of a Semtech company to receive uplink data of LoRaWAN wireless terminal equipment, then encapsulates the data and sends the encapsulated data to a gateway, then receives downlink data of the gateway, a server receives the uplink data and analyzes and judges whether the data is the relayed data, then adds relay information and the like to the relayed downlink data for encapsulation, then sends the encapsulated data to the gateway, and sends FRMPayload part of data to the wireless terminal equipment after the relay receives the downlink data. In order to better be compatible with the original LoRaWAN network and reduce the upgrade and reconstruction of the original LoRaWAN network equipment, the invention provides four optimization schemes.

Description

LoRaWAN complex transparent transmission relay implementation method
Technical Field
The invention relates to the technical field of Internet of things, in particular to a LoRaWAN complex transparent transmission relay implementation method.
Background
LoRa is a low-power consumption and long-distance Internet of things technology provided by Semtech corporation, and is widely applied to the fields of wireless meter reading and the like. LoRaWAN adopts LoRa technique to construct low-power consumption, long-distance wireless internet wide area network. LoRaWAN benefits from the gains of spread spectrum modulation and forward error correction codes, with LoRa achieving approximately 2 times the communication distance of cellular technology (handsets).
The long-distance transmission of LoRaWAN has the following defects:
1) in complex environments of high-rise forests, such as basements, closed darkrooms, sewers and other places with relatively closed spaces, LoRa signals cannot be well covered.
2) Under the environment that LoRaWAN wireless terminal equipment is not deployed much, if the gateways are deployed for the wireless terminal equipment, the cost is high, the enterprise burden is increased, the utilization rate of the gateways is low, and resources are wasted.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a LoRaWAN complex transparent transmission relay implementation method, which adopts a relay mode on an SX1278 radio frequency chip of Semtech company to receive uplink data of LoRaWAN wireless terminal equipment, encapsulates the data and sends the encapsulated data to a gateway, then receives downlink data of the gateway, a server receives the uplink data, analyzes and judges whether the data is the relayed data, then adds relay information and the like to the relayed downlink data to encapsulate the relayed data, sends the encapsulated data to the gateway, and sends FRMPayload part of the data to the wireless terminal equipment after the relay receives the downlink data. In order to better be compatible with the original LoRaWAN network and reduce the upgrade and reconstruction of the original LoRaWAN network equipment, the invention provides four optimization schemes.
In order to achieve the technical purpose and achieve the technical effect, the technical scheme specifically comprises the following steps:
a LoRaWAN complex transparent transmission relay implementation method comprises the following steps:
step 1, a relay searches a LoRaWAN network, and the LoRaWAN network is accessed to obtain corresponding SF and frequency;
step 2, LoRaWAN wireless terminal equipment fails to search LoRaWAN network and finally works in SF12 and 471.5 MHZ;
step 3, the relay receives uplink data of LoRaWAN wireless terminal equipment in fixed SF12 and 471.5MHZ in a CLASS _ C mode;
step 4, after receiving the uplink data of the LoRaWAN wireless terminal equipment, the relay splices the information of the address and the like of the relay to the head and the tail of the data so as to access the SF and the frequency in the LoRaWAN network and send the processed data to the gateway;
step 5, after the relay sends the data to the gateway, starting a receiving window of 2 seconds by using SF and frequency accessed into the LoRaWAN network;
and 6, after the gateway sends the data to the server, the server analyzes the data, if the data contains the address information of the relay, the data is transmitted through the relay, and the server does not make MAC instructions such as ADR, channel frequency, CLASS _ B and the like on the LoRaWAN wireless terminal equipment which is subjected to the relay.
And 7, the server encapsulates information such as descending data into a relay address twice, the data is sent to the gateway, and the gateway sends the data to the relay.
And 8, after the relay receives the downlink data of the gateway, analyzing the data, and then sending the FRMPayload in the downlink data sheet to LoRaWAN wireless terminal equipment by using fixed SF12 and 471.5 MHZ. And if the relay does not receive the downlink data of the gateway, the receiving is overtime.
And 9, then the relay runs in the steps 3, 4, 5, 6, 7 and 8.
Furthermore, the LoRaWAN wireless terminal device searches for the network by using fixed SF12 and 471.5MHZ under other SF and frequency preferentially when searching for the network fails.
Further, the LoRaWAN wireless terminal equipment periodically searches the network again according to the signal intensity in the access network.
Further, the LoRaWAN wireless terminal device is preferentially under other SF and frequency when searching for the network, and fixed SF and frequency are reused when the network searching fails, wherein the SF and frequency can be other better wireless resources in the current environment, and not only are those under SF12 and 471.5 MHZ.
Further, after the relay sends the data to the gateway, a receiving window of several seconds is started by using the SF and the frequency accessed into the LoRaWAN network, and the time window should be changed according to situations such as LoRa data transmission time, network delay, server response speed and the like, and not only is 2 seconds.
The invention has the following beneficial effects:
1. the relay is transparent to LoRaWAN wireless terminal equipment and a gateway, is adapted to the existing LoRaWAN equipment, and only needs to upgrade and transform a server.
2. The relay in the invention is suitable for relatively closed environment, even environment without Ethernet and the like.
3. The relay network in the invention is simple and convenient to deploy.
4. In the relay working mode, the server can obtain the whole data transmission flow and the signal environment of the LoRaWAN wireless equipment terminal, and the optimization and the maintenance in the future are facilitated.
5. The relay in the invention uses an SX1278 radio frequency chip, and the cost of the whole machine is much lower than that of a gateway.
Drawings
FIG. 1 is a diagram of data transmission for a relay;
fig. 2 is a diagram illustrating a structure of a relayed upstream data frame and a server downstream data frame.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples.
The method adopts a relay network searching mode to connect to the original LoRaWAN network, receives the uplink data of the LoRaWAN wireless terminal equipment in fixed SF12 and 471.5MHZ, then sends the data to the gateway and obtains the downlink data of the gateway in the SF and the frequency obtained after the network access, and then sends the data to the LoRaWAN wireless terminal equipment in fixed SF12 and 471.5 MHZ.
The relay data transmission process is as follows:
1. the relay searches for the LoRaWAN network, and accesses the LoRaWAN network to obtain corresponding SF and frequency;
LoRaWAN wireless terminal equipment fails to search for the LoRaWAN network and finally works in SF12 and 471.5 MHZ;
3. the relay receives uplink data of the LoRaWAN wireless terminal device in CLASS _ C in fixed SF12 and 471.5 MHZ.
4. After receiving the uplink data of the LoRaWAN wireless terminal equipment, the relay splices the information such as the address of the relay to the head and the tail of the data so as to access the SF and the frequency in the LoRaWAN network and send the processed data to the gateway.
5. The relay starts a 2 second receive window with SF and frequency access to the LoRaWAN network after sending data to the gateway.
6. After the gateway sends the data to the server, the server analyzes the data, if the data contains the address information of the relay, the data is the data transmitted through the relay, and the server does not make MAC instructions such as ADR, channel frequency, CLASS _ B and the like on the LoRaWAN wireless terminal equipment which is subjected to the relay.
7. The server encapsulates information such as descending data descending relay address twice, sends the data to the gateway, and the gateway sends the data to the relay.
8. And if the relay receives the downlink data of the gateway, analyzing the data, and then sending the FRMPayload in the downlink data sheet to LoRaWAN wireless terminal equipment by using fixed SF12 and 471.5 MHZ. And if the relay does not receive the downlink data of the gateway, the receiving is overtime.
9. The relay then runs in the above-described flows 3, 4, 5, 6, 7, 8.
Because LoRaWAN wireless terminal equipment and relay all need to search for the network, avoid LoRaWAN wireless terminal equipment that probably exists not to have access to network and relay load too big. Four schemes are used to reduce the probability of the above situation:
1) when the LoRaWAN wireless terminal equipment searches for the network, the LoRaWAN wireless terminal equipment preferentially uses other SF and frequency, and when the network searching fails, the LoRaWAN wireless terminal equipment uses fixed SF12 and 471.5MHZ to search for the network.
2) And periodically searching the network again by the LoRaWAN wireless terminal equipment according to the signal intensity in the access network.
3) The LoRaWAN wireless terminal device is preferentially under other SF and frequency when searching the network, and fixed SF and frequency are reused when the network searching fails, wherein the SF and the frequency can be other better wireless resources in the current environment, and not only are SF12 and 471.5 MHZ.
4) After the relay sends the data to the gateway, a receiving window of several seconds is started by using SF and frequency accessed into the LoRaWAN network, and the time window should be adjusted according to situations such as LoRa data transmission time, network delay, server response speed and the like, and not only is 2 seconds.
The above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and any simple modifications or equivalent substitutions of the technical solutions that can be obviously obtained by those skilled in the art within the technical scope of the present invention are within the scope of the present invention.

Claims (3)

1. A LoRaWAN complex transparent transmission relay implementation method is characterized by comprising the following steps:
step 1, a relay searches a LoRaWAN network, and the LoRaWAN network is accessed to obtain corresponding SF and frequency;
step 2, LoRaWAN wireless terminal equipment fails to search LoRaWAN network and finally works in SF12 and 471.5 MHZ;
step 3, the relay receives uplink data of LoRaWAN wireless terminal equipment in fixed SF12 and 471.5MHZ in a CLASS _ C mode;
step 4, after receiving the uplink data of the LoRaWAN wireless terminal equipment, the relay splices the information of the address of the relay to the head and the tail of the data so as to access the SF and the frequency in the LoRaWAN network and send the processed data to the gateway;
step 5, after the relay sends the data to the gateway, starting a receiving window of 2 seconds by using SF and frequency accessed into the LoRaWAN network; the receiving window is adjusted according to LoRa data transmission time, network delay and server response speed;
step 6, after the gateway sends the data to the server, the server analyzes the data, if the data contains the address information of the relay, the data is transmitted through the relay, and the server does not make an ADR (address data record), a channel frequency and a CLASS _ B MAC (CLASS identifier _ B) instruction on the LoRaWAN wireless terminal equipment which passes through the relay;
step 7, the server packages the information of the downlink data added with the relay address twice, sends the data to the gateway, and then the gateway sends the data to the relay;
step 8, after the relay receives the downlink data of the gateway, analyzing the data, and then sending the FRMPayload in the downlink data to LoRaWAN wireless terminal equipment by fixed SF12 and 471.5 MHZ; if the relay does not receive the downlink data of the gateway, the receiving is overtime;
and 9, then the relay runs in the steps 3, 4, 5, 6, 7 and 8.
2. The method for implementing LoRaWAN complex transparent transmission relay of claim 1, wherein the LoRaWAN wireless terminal device searches for the network by using fixed SF12 and 471.5MHZ when the network searching fails under other SF and frequency preferentially.
3. The method for implementing the LoRaWAN complex transparent transmission relay of claim 1, wherein the LoRaWAN wireless terminal equipment periodically re-searches the network according to the signal strength in the access network.
CN201710398471.6A 2017-05-31 2017-05-31 LoRaWAN complex transparent transmission relay implementation method Active CN107104722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710398471.6A CN107104722B (en) 2017-05-31 2017-05-31 LoRaWAN complex transparent transmission relay implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710398471.6A CN107104722B (en) 2017-05-31 2017-05-31 LoRaWAN complex transparent transmission relay implementation method

Publications (2)

Publication Number Publication Date
CN107104722A CN107104722A (en) 2017-08-29
CN107104722B true CN107104722B (en) 2021-01-01

Family

ID=59659937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710398471.6A Active CN107104722B (en) 2017-05-31 2017-05-31 LoRaWAN complex transparent transmission relay implementation method

Country Status (1)

Country Link
CN (1) CN107104722B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769834B (en) * 2017-09-30 2020-05-19 中兴克拉科技(苏州)有限公司 LoRaWAN Internet of things signal relay method
CN109842919B (en) * 2017-11-28 2021-11-23 阿里巴巴集团控股有限公司 Communication between terminal and base station, and network access method and device of terminal
CN108093436B (en) * 2017-12-21 2020-11-20 中兴克拉科技(苏州)有限公司 Self-adaptive rate adjustment method based on network condition for LPWAN Internet of things
CN108173685B (en) * 2017-12-26 2023-05-05 金卡智能集团股份有限公司 LoRa communication-based upgrading method and system and corresponding terminal equipment and server
CN110557184B (en) * 2018-05-31 2021-11-16 阿里巴巴集团控股有限公司 Communication method and device based on relay equipment and communication method and device between terminal and base station
CN108882253B (en) * 2018-06-21 2022-11-29 中国船舶集团有限公司第七一一研究所 Long-distance wireless transmission system based on LoRa communication and communication method thereof
CN110505633A (en) * 2019-01-31 2019-11-26 物兴科技(深圳)有限公司 A kind of means of communication, communication device and the communication system of energy information acquisition
CN110035428B (en) * 2019-03-13 2022-08-19 中兴克拉科技(苏州)有限公司 LoRaWAN Internet of things with relays inside
CN110138431A (en) * 2019-04-24 2019-08-16 杭州中科先进技术研究院有限公司 A kind of Radio frequency relay system
CN115119216A (en) * 2022-06-24 2022-09-27 深圳友讯达科技股份有限公司 Constant-power-supply LoRaWAN network communication method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809929A (en) * 2016-04-28 2016-07-27 陕西永诺信息科技有限公司 LoRa technology-based surface-borehole monitoring and management system
CN106375482A (en) * 2016-11-08 2017-02-01 华清慧商(北京)科技有限公司 Wireless Internet-of-Things transmission system connected to TCP/IP network
CN106526617A (en) * 2016-12-12 2017-03-22 福建工程学院 LORA-based deformation monitoring system and method with high precision positioning
CN106602728A (en) * 2017-01-12 2017-04-26 合肥工业大学 Distributed substation patrol system based on RFID and LoRa fusion network
CN106713002A (en) * 2015-11-18 2017-05-24 博世科智能股份有限公司 Regional monitoring system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713002A (en) * 2015-11-18 2017-05-24 博世科智能股份有限公司 Regional monitoring system
CN105809929A (en) * 2016-04-28 2016-07-27 陕西永诺信息科技有限公司 LoRa technology-based surface-borehole monitoring and management system
CN106375482A (en) * 2016-11-08 2017-02-01 华清慧商(北京)科技有限公司 Wireless Internet-of-Things transmission system connected to TCP/IP network
CN106526617A (en) * 2016-12-12 2017-03-22 福建工程学院 LORA-based deformation monitoring system and method with high precision positioning
CN106602728A (en) * 2017-01-12 2017-04-26 合肥工业大学 Distributed substation patrol system based on RFID and LoRa fusion network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
N. Sornin (Semtech) .et al.N. Sornin (Semtech) .et al.《LoRaWAN™Specification》.2015, *

Also Published As

Publication number Publication date
CN107104722A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN107104722B (en) LoRaWAN complex transparent transmission relay implementation method
CN107769834B (en) LoRaWAN Internet of things signal relay method
US9504026B2 (en) Keep alive periodicity determination for WiFi networks
CN102017672B (en) Relay node connection management
CN108235404B (en) Method and system for realizing wireless network relay
CN112953991A (en) Data return method and device, RRU (remote radio unit) and BBU (base band unit)
CN114205350A (en) Edge side protocol conversion system and method
CN113424593B (en) Information transmission method, device, communication equipment and storage medium
CN105052076A (en) Interface management service entity, functional service entity and network element management method
WO2023032529A1 (en) METHOD OF COMMUNICATION APPARATUS, METHOD OF gNB-CU-CP APPARATUS, METHOD OF AMF APPARATUS, METHOD OF SMF APPARATUS, METHOD OF gNB-DU APPARATUS, METHOD OF UPF APPARATUS, COMMUNICATION APPARATUS, gNB-CU-CP APPARATUS, AMF APPARATUS, SMF APPARATUS, gNB-DU APPARATUS AND UPF APPARATUS
MX2015002943A (en) Air interface transmission method and relevant device and system.
US11228667B2 (en) Base station, method, and device for data transmission
US20240072882A1 (en) Information transmission method and system, and apparatus
CN212183750U (en) Low-power consumption ultra-narrow-band Internet of things module
US20230268982A1 (en) Network controlled repeater
CN106454754B (en) Data transmission method and broadband cluster system
US20210127277A1 (en) Terminal coverage method, communications apparatus, and computer-readable storage medium
CN110611892B (en) Modem short message reporting method, device, system, equipment and medium
CN116266917A (en) Backscattering communication method, terminal and network side equipment
CN108207037B (en) Railway interval wireless networking intercom system with network management function and application thereof
Le et al. An approach to design a multi-protocol gateway device for Internet of Things system
CN112398627B (en) Information transmission method, device, related equipment and storage medium
CN114270782B (en) Method and entity for transmitting multiple MAC addresses
WO2023002991A1 (en) Access and mobility management function (amf) device, user equipment (ue), method of amf device and method of ue
WO2024020731A1 (en) Method and apparatus for determining timing information, computer device, medium and program product

Legal Events

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

Address after: 200014, room 168, 2, 999, Lane 148, new two road, Shanghai, Baoshan District

Applicant after: National animal Network Co.,Ltd.

Address before: 200014, room 168, 2, 999, Lane 148, new two road, Shanghai, Baoshan District

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220509

Address after: 226001 room 14008, building 21 (22), No. 1692, Xinghu Avenue, development zone, Nantong City, Jiangsu Province

Patentee after: Guodong cloud computing (Jiangsu) Co.,Ltd.

Address before: Room 168, 2 / F, 148 Lane 999, XINER Road, Baoshan District, Shanghai 200014

Patentee before: National animal Network Co.,Ltd.

TR01 Transfer of patent right