CN109451470A - A kind of LoRa server and its data transmission method - Google Patents

A kind of LoRa server and its data transmission method Download PDF

Info

Publication number
CN109451470A
CN109451470A CN201811610669.7A CN201811610669A CN109451470A CN 109451470 A CN109451470 A CN 109451470A CN 201811610669 A CN201811610669 A CN 201811610669A CN 109451470 A CN109451470 A CN 109451470A
Authority
CN
China
Prior art keywords
data
lora
server module
transmission method
parameter
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
CN201811610669.7A
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.)
Lingxi Industrial Internet Technology Guangzhou Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811610669.7A priority Critical patent/CN109451470A/en
Publication of CN109451470A publication Critical patent/CN109451470A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Abstract

A kind of LoRa server and its data transmission method, which comprises data application server module sends the first data according to the first parameter, and receives the second data and notification message according to the second parameter;The data application server module is to third-party application platform propelling data and the subscription that gives out information, wherein the LoRa server includes LoRa network management server module and data application server module.LoRa server and its data transmission method provided by the invention can be realized the functions such as the authentication to LoRa terminal node, connection management, data encrypting and deciphering, the configuration of LoRa gateway, realize the safe and reliable transmission of user data, improve the experience of user.

Description

A kind of LoRa server and its data transmission method
Technical field
The present invention relates to Lora technical field more particularly to a kind of LoRa servers and its data transmission method.
Background technique
LoRaWAN is a set of communications protocol and system architecture for the design of LoRa electric communication network.Lora communication system System generally comprises terminal, base station, network server, this four parts of application server.Star network is used between base station and terminal Network topology is able to due to the long range characteristic of LoRa, between them using single-hop transmission.Terminal node can be issued multiple simultaneously Forward process is then done to the LoRaWAN protocol data between network server and terminal in base station, base station, by LoRaWAN data point It has not been carried on LoRa radio frequency transmission and TCP/IP.
LoRa ad hoc network is the wireless access product based on LoRa/LoRaWAN technology, in specific application, is needed pair LoRa terminal node authenticated, connection management and is configured to LoRa gateway, it is also desirable to carry out encryption reconciliation to data It is close.How to realize these functions, facilitates user independently to construct network to generate the wireless application solution of oneself, realize user The safe transmission of data is vital.But still lacks in current LoRa technical field and be not only able to achieve above-mentioned function, but also energy side Just such product that user uses.
Summary of the invention
In view of the drawbacks of the prior art, the present invention proposes a kind of LoRa server and its data transmission method.By this LoRa server can be realized the function such as the authentication to LoRa terminal node, connection management, data encrypting and deciphering, the configuration of LoRa gateway Can, it realizes the safe and reliable transmission of user data, improves the experience of user.
According to an aspect of the present invention, the present invention provides a kind of data transmission method for LoRa server, institutes The method of stating includes:
Data application server module sends the first data according to the first parameter, and receives the second data according to the second parameter And notification message;
The data application server module is to third-party application platform propelling data and the subscription that gives out information, wherein institute Stating LoRa server includes LoRa network management server module and data application server module.
According to an aspect of the present invention, first data include unicast data and multi-case data.
According to an aspect of the present invention, when first data are unicast data, first parameter includes as follows Field: confirmed, data, devEUI, fport, reference.
According to an aspect of the present invention, when first data are multi-case data, first parameter includes as follows Field: application ID, data, fport, retry.
According to an aspect of the present invention, second data include upstream data, and second parameter includes message hair Parameter, data rate and message is sent to receive parameter.
According to an aspect of the present invention, the notification message includes networking notification message, acknowledgement notification message and mistake Notification message.
According to an aspect of the present invention, if at least one terminal does not have data reporting to receive successfully, the number According to application server module by specified retransmission data, after data retransmit, return is not connect successfully to System Reports Receive the terminal list of multi-case data.
According to an aspect of the present invention, the LoRa network management server module and/or data application server mould Block can be by distributed deployment to Cloud Server.
According to an aspect of the present invention, the present invention also provides a kind of LoRa server, the LoRa server includes LoRa network management server module and data application server module, the data application server module execute above-mentioned data Transmission method.
LoRa server and its data transmission method provided by the invention, can be realized the authentication to LoRa terminal node, The functions such as connection management, data encrypting and deciphering, the configuration of LoRa gateway, realize the safe and reliable transmission of user data, improve user's Experience.
By referring to the following drawings and to the detailed description of a specific embodiment of the invention, feature and advantage of the invention It will become apparent.
Detailed description of the invention
Fig. 1 is the data transmission method flow diagram for LoRa server of the invention;
Fig. 2 and Fig. 3 is the structural schematic diagram of LoRa server of the invention.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases Any and all combinations of the listed item of pass.
Fig. 1 is the data transmission method flow diagram for LoRa server of the invention.As shown in Figure 1, of the invention Provide a kind of data transmission method for LoRa server, which comprises
Data application server module sends the first data according to the first parameter, and receives the second data according to the second parameter And notification message;
The data application server module is to third-party application platform propelling data and the subscription that gives out information, wherein institute Stating LoRa server includes LoRa network management server module and data application server module.
Specifically, system supports that upper level applications receive data in a manner of http post or MQTT and notice disappears Breath.LoRa network management server module is also known as Network Server, is responsible for management LoRa terminal node and LoRa net The software module of pass.Such as Fig. 3, in order to simplify user installation and use, LoRa ad hoc network is by LoRa network management server module It is integrated in a physical gateway equipment, operates on the high-performance embedded mainboard of Atom and (also run data on the mainboard to answer With server module, the two software modules can also be deployed to cloud).
NS is mainly responsible for:
The connectivity management of 1.LoRa terminal node, authentication management, grouping management (supporting multicast and broadcast application) etc.;
The realization of 2.LoRaWAN agreement;
3. the integrity check that terminal user applies data;
4. the forwarding that terminal user applies data;
The configuration of 5.LoRa gateway.
The software module provides a user the graphical configuration interface UI, and user is facilitated to carry out terminal and gateway management.
It is specific how the management of being attached property, authentication management, grouping management, integrity check, gateway configuration, can use Whether general method carries out in the communications field, for example, authenticated by password comparison, according to authenticating by deciding whether Allow terminal node to be attached, management is grouped to terminal node by the position or application characteristic of terminal node, is passed through The CRC check for sending message carries out integrity check etc., the present embodiment not reinflated discussion to this.
Data application server module becomes Application Server, is responsible for the encryption and decryption using data, and to the Tripartite's application platform provides various data push services and message subscribing issuing service.User can pass through standard HTTP POST User data is obtained with MQTT network protocol, sends user's control signaling.
Such as Fig. 3, in order to simplify user installation and use, LoRa ad hoc network will be integrated in one using data server module In physical gateway equipment, operating on the high-performance embedded veneer host of Atom (can also be deployed to cloud).Ethernet can be passed through Or the connection of 4G LTE network and third-party platform communicate.
When application side subscribes to message, system is given out information with following subject pattern:
application/[applicationID]/node/[devEUI]/rx
Example: following order indicates to subscribe to the end that devEUI is 373138357837820e in the application that ID is 3 The uplink message at end
mosquitto_sub-t application/3/node/373138357837820e/rx
System support sets theme in a manner of asterisk wildcard, and "+" indicates single-stage asterisk wildcard, and " # " indicates multistage asterisk wildcard.
Example: following order indicates to subscribe to the uplink message that devEUI in the application that ID is 3 is arbitrary value
mosquitto_sub-t"application/3/node/+/rx"
Example: following order indicates to subscribe to any message in the application that ID is 3
mosquitto_sub-t"application/#"
When carrying out data-pushing, system is supported by the url of the setting reception message as unit of application.
Configuration method: POST/api/applications/ { id }/integrations/http
Example: being the sample configured using curl below
Fig. 2 and Fig. 3 is the structural schematic diagram of LoRa server of the invention.As shown in Fig. 2, the LoRa server includes LoRa network management server module and data application server module.Optionally, LoRa network management server module and/or Data application server module can also be by distributed deployment to Cloud Server.
According to another aspect of the present invention, first data include unicast data and multi-case data.When described first Data be unicast data when, first parameter includes following field: confirmed, data, devEUI, fport, reference.When first data are multi-case data, first parameter includes following field: application ID, data,fport,retry.If at least one terminal does not have data reporting to receive successfully, the data application server Module is by specified retransmission data, and after data retransmit, return is not successfully received multi-case data to System Reports Terminal list.
Specifically, the example of data application server module transmission unicast data is as follows:
API:post/api/nodes/{devEUI}/queue
Example: the message for needing to confirm is sent to the terminal that devEUI is 373138357837820e using curl
It is as shown in table 1 that unicast data sends parameter:
Table 1: unicast data sends parameter
Field name Field type Explanation
confirmed Boolean Whether need to confirm
data string Message content is encoded with base64
devEUI HEX string The destination node devEUI indicated with 16 binary forms
fPort Integer Port numbers
reference string Any banner message provided by application for confirmation
The example that data application server module sends multi-case data is as follows:
API:post/api/multicast/multicast/{applicationID}
Example: sent using curl to No. 2 ports of the application ID all terminals for being 2 " hello ".
It is received successfully if at least one terminal is not reported, system will be retransmitted by specified number and (be retransmitted herein secondary 1) number is.This API can finally return to the list that the terminal of multi-case data is not successfully received to System Reports.
Return do not feed back multi-case data receive successful terminal list example it is as follows:
It is as shown in table 2 that multi-case data sends parameter:
Table 2: multi-case data sends parameter
According to another aspect of the present invention, second data include upstream data, and second parameter includes message It sends parameter, data rate and message and receives parameter.The notification message includes networking notification message, acknowledgement notification message and mistake Accidentally notification message.
It is as shown in table 3 that the message sends parameter:
Table 3: message sends parameter
Field name Field type Explanation
Frequency Integer Send frequency
DataRate Object Data rate
ADR Boolean Whether enabled automatic rate is adapted to
CodeRate string Encoding rate
The data rate is as shown in table 4:
Table 4: data rate
Field name Field type Explanation
modulation string Modulator approach, FSK or LORA
bandwidth Integer Bandwidth, as unit of kHz
spreadFactor Integer Spreading factor
It is as shown in table 5 that the message receives parameter:
Table 5: message receives parameter
Field name Field type Explanation
MAC HEX string Receive the gateway MAC of the message
name string Receive the gateway name of the message
RSSI float Received signal strength, unit dB
LoRaSNR float Receive the signal-to-noise ratio of signal, unit dB
Latitude float Gateway coordinate, latitude
Longitude float Gateway coordinate, longitude
Altitude float Gateway coordinate, height above sea level
A specific message sample is given below:
Networking notification message is generated when having terminal successfully to network by OTAA, the networking notification message is as shown in table 6:
Table 6: networking notification message
Field name Field type Explanation
ApplicationID Integer Apply Names
ApplicationName string Application ID
NodeName string Nodename
DevEUI HEX string Node DEV-EUI
DevAddr HEX string The node address distributed during networking
Data are generated acknowledgement notification message when terminal check, the acknowledgement notification message is as shown in table 7:
Table 7: acknowledgement notification message
Field name Field type Explanation
ApplicationID Integer Apply Names
ApplicationName string Application ID
NodeName string Nodename
DevEUI HEX string Node DEV-EUI
DevAddr HE X string The node address distributed during networking
Reference string The receipt filled in when sending data
Data generate error notification message when sending failure, for example equipment not yet networks.The error notification message such as table 8 It is shown:
Table 8: error notification message
Field name Field type Explanation
ApplicationID Integer Apply Names
ApplicationName string Application ID
NodeName string Nodename
DevEUI HEX string Node DEV-EUI
DevAddr HEX string The node address distributed during networking
Type string Type of error
Error String Wrong content
According to another aspect of the present invention, the present invention also provides a kind of LoRa server, the LoRa server packets LoRa network management server module and data application server module are included, the data application server module is executed as above Described data transmission method.
LoRa server and its data transmission method provided by the invention, can be realized the authentication to LoRa terminal node, The functions such as connection management, data encrypting and deciphering, the configuration of LoRa gateway, realize the safe and reliable transmission of user data, improve user's Experience.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this Under the design of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/it is used in it indirectly He is included in scope of patent protection of the invention relevant technical field.

Claims (9)

1. a kind of LoRa server and its data transmission method, which is characterized in that the described method includes:
Data application server module sends the first data according to the first parameter, and receives the second data according to the second parameter and lead to Know message;
The data application server module is to third-party application platform propelling data and the subscription that gives out information, wherein described LoRa server includes LoRa network management server module and data application server module.
2. data transmission method according to claim 1, which is characterized in that first data include unicast data and more Multicast data.
3. data transmission method according to claim 2, which is characterized in that when first data are unicast data, First parameter includes following field: confirmed, data, devEUI, fport, reference.
4. data transmission method according to claim 2, which is characterized in that when first data are multi-case data, First parameter includes following field: application ID, data, fport, retry.
5. data transmission method according to claim 1, which is characterized in that second data include upstream data, institute Stating the second parameter includes that message sends parameter, data rate and message reception parameter.
6. data transmission method according to claim 1, which is characterized in that the notification message includes networking to notify to disappear Breath, acknowledgement notification message and error notification message.
7. data transmission method according to claim 2, which is characterized in that if at least one terminal does not have number of reports According to receiving successfully, then the data application server module is by specified retransmission data, and after data retransmit, return does not have Oriented System Reports are successfully received the terminal list of multi-case data.
8. data transmission method according to claim 4, which is characterized in that the LoRa network management server module And/or data application server module can be by distributed deployment to Cloud Server.
9. a kind of LoRa server, which is characterized in that the LoRa server includes LoRa network management server module sum number According to application server module, the data application server module executes the method according to claim 1.
CN201811610669.7A 2018-12-28 2018-12-28 A kind of LoRa server and its data transmission method Pending CN109451470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811610669.7A CN109451470A (en) 2018-12-28 2018-12-28 A kind of LoRa server and its data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811610669.7A CN109451470A (en) 2018-12-28 2018-12-28 A kind of LoRa server and its data transmission method

Publications (1)

Publication Number Publication Date
CN109451470A true CN109451470A (en) 2019-03-08

Family

ID=65538281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811610669.7A Pending CN109451470A (en) 2018-12-28 2018-12-28 A kind of LoRa server and its data transmission method

Country Status (1)

Country Link
CN (1) CN109451470A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110492978A (en) * 2019-08-13 2019-11-22 翱捷科技(深圳)有限公司 A kind of LoRaWAN system and its implementation quickly confirmed
CN111416746A (en) * 2020-03-26 2020-07-14 西安电子科技大学 CDN-based data distribution method
WO2020199968A1 (en) * 2019-03-29 2020-10-08 阿里巴巴集团控股有限公司 Multicast communication method and system for communication network, multicast application server, and terminal
CN113194508A (en) * 2021-03-31 2021-07-30 新华三信息技术有限公司 Data transmission method, LoRA server and LoRA terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789259A (en) * 2016-12-26 2017-05-31 中国科学院信息工程研究所 A kind of LoRa core network systems and implementation method
CN206332860U (en) * 2017-01-04 2017-07-14 路晓明 LoRa gateways
CN107567107A (en) * 2017-09-29 2018-01-09 新华三技术有限公司 A kind of method and device for transmitting data
US20180248983A1 (en) * 2016-12-21 2018-08-30 Ncore Communications, Inc. Methods and apparatus for aggregating network access within a single unified platform for a myriad of devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180248983A1 (en) * 2016-12-21 2018-08-30 Ncore Communications, Inc. Methods and apparatus for aggregating network access within a single unified platform for a myriad of devices
CN106789259A (en) * 2016-12-26 2017-05-31 中国科学院信息工程研究所 A kind of LoRa core network systems and implementation method
CN206332860U (en) * 2017-01-04 2017-07-14 路晓明 LoRa gateways
CN107567107A (en) * 2017-09-29 2018-01-09 新华三技术有限公司 A kind of method and device for transmitting data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020199968A1 (en) * 2019-03-29 2020-10-08 阿里巴巴集团控股有限公司 Multicast communication method and system for communication network, multicast application server, and terminal
CN111757273A (en) * 2019-03-29 2020-10-09 阿里巴巴集团控股有限公司 Multicast communication method, system, multicast application server and terminal of communication network
CN111757273B (en) * 2019-03-29 2022-04-12 阿里巴巴集团控股有限公司 Multicast communication method, system, multicast application server and terminal of communication network
CN110492978A (en) * 2019-08-13 2019-11-22 翱捷科技(深圳)有限公司 A kind of LoRaWAN system and its implementation quickly confirmed
CN111416746A (en) * 2020-03-26 2020-07-14 西安电子科技大学 CDN-based data distribution method
CN111416746B (en) * 2020-03-26 2022-03-04 西安电子科技大学 CDN-based data distribution method
CN113194508A (en) * 2021-03-31 2021-07-30 新华三信息技术有限公司 Data transmission method, LoRA server and LoRA terminal

Similar Documents

Publication Publication Date Title
CN109451470A (en) A kind of LoRa server and its data transmission method
JP7186868B2 (en) Service data transmission method and device, computer equipment and computer program
US20200221329A1 (en) Method and apparatus for processing data in wireless communication system
CN111034340B (en) Method and apparatus for reestablishing PDCP in wireless communication system
CN110463236A (en) The design of the scheduling request of narrowband Internet of Things (feNB-IoT) for further enhancing
US20090325479A1 (en) Relay antenna indexing for shared antenna communication
KR102269703B1 (en) Method and apparatus for supporting qos(quality of service) flow to drb(data radio bearer) remapping for sidelink communication in a wireless communication system
NZ543129A (en) Radio network assignment and access system by publishing a network resource list, allowing siezure of resources, and updating list
KR20180038716A (en) Method for transferring sinmaling messages of the terminal between the network function
KR20200039306A (en) Method and apparatus for provisioning service parameters to the ue and the network in 5g system
KR102535138B1 (en) Method and apparatus for transmission and reception of data in wireless communication system
CN104918220B (en) The system that interconnects between digital clustering communication system is realized based on air interface
CN108886420A (en) System and method for the channel interleaving in wireless network
CN111373837A (en) Method and apparatus for transmitting and receiving data in wireless communication system
CN106550317B (en) Individual calling method, device and system under a kind of broadband DMO
CN104158752A (en) Method and device of processing business flow
US11330439B2 (en) Method and apparatus of supporting lossless PDCP version change in next-generation mobile communication system
KR20200127669A (en) Method and apparatus for session configuration of terminal according to time or service area in wireless communication system
KR20180006841A (en) Method and apparatus for transmitting and receiving data using multilink
CN108282772A (en) A kind of role's locator service realization method and system
CN109379242A (en) A kind of configuration method of LoRa gateway
US20210051739A1 (en) Apparatus and method for handling pdu session in wireless communication system
WO2021160123A1 (en) Methods and apparatus of multicast radio bearer establishment for nr multicast and broadcast services
WO2018228177A1 (en) Scheduling request transmission method and related equipment
CN114223141A (en) Method and apparatus for configuring MIMO supporting uplink in next generation mobile communication system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200805

Address after: 510000 office Card No. 500, building A4 (inktime maker space), No. 3, Kexue Road, Science City, Guangzhou high tech Industrial Development Zone, Guangzhou, Guangdong Province

Applicant after: Lingxi industrial Internet technology (Guangzhou) Co.,Ltd.

Address before: Wujiang District of Suzhou City, Jiangsu province 215211 Lili town FENHU Road No. 558

Applicant before: Wan Neng

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190308