CN108848538B - File transmitting method and device - Google Patents
File transmitting method and device Download PDFInfo
- Publication number
- CN108848538B CN108848538B CN201810542883.7A CN201810542883A CN108848538B CN 108848538 B CN108848538 B CN 108848538B CN 201810542883 A CN201810542883 A CN 201810542883A CN 108848538 B CN108848538 B CN 108848538B
- Authority
- CN
- China
- Prior art keywords
- lora
- terminal
- rate
- lora terminal
- server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/22—Negotiating communication rate
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides file transmitting methods and device.In the application, LoRa server is just that LoRa terminal has determined the rate to send datagram establishing in connection procedure with LoRa terminal, in this way, it can send datagram according to iptimum speed in initial LoRa terminal, under the premise of reduction manual configuration scheme bring work surveys workload, compared to ADR scheme, a large amount of interface-free resources wastes caused by capable of preventing LoRa terminal initial from sending datagram using minimum speed limit.
Description
Technical field
This application involves network communication technologies, in particular to file transmitting method and device.
Background technique
Low-power consumption wide area network (LoRaWAN) is the wide area network of the mac-layer protocol based on open source, specifically include that it is long away from
(LoRa:Long Range) terminal, LoRa gateway and LoRa server.Fig. 1 shows the network structure of LoRaWAN.
LoRa terminal: battery power supply can be used, for gleanings networked information and be sent to LoRa gateway.LoRa terminal can
One or more LoRa gateways are connected to using single-hop, all LoRa terminals and LoRa gateway are two-way communications.
LoRa gateway: LoRa gateway is the relaying of a transparent transmission, for passing between LoRa terminal and LoRa server
Pass information.LoRa gateway is connected to LoRa server by IP network.
LoRa server: it is responsible for the processing of data, the access of LoRa terminal controls and pass through ADR (Adaptive Data
Rate, rate adaptation) scheme controls the radio frequency power output of message transmission rate and every LoRa terminal, make LoRa terminal
Battery and whole network capacity reach maximization.
In LoRaWAN, the coverage area of LoRa gateway is especially big, reaches 15km in unobstructed situation, this is allowed for
Distance change range between LoRa terminal and LoRa gateway is very big, herein under the premise of, how for LoRa terminal select one it is best
The rate to send datagram be current technical problem urgently to be resolved.
Summary of the invention
This application provides file transmitting method and device, to select one optimal to send datagram for LoRa terminal
Rate.
The technical scheme provided by the application includes:
A kind of file transmitting method, this method are applied to long away from LoRa server, comprising:
The first protocol massages from LoRa gateway are received, first protocol massages are the LoRa gateway according to LoRa
Terminal is establishing what the second protocol message sent in connection procedure generated with LoRa server;
Determine that this LoRa server allows to access the LoRa terminal, then according to described in first protocol massages carrying
The signal quality that LoRa gateway receives the second protocol message is that the LoRa terminal determines the rate to send datagram;
The rate to send datagram determined for the LoRa terminal is sent to the LoRa terminal, so that described
LoRa terminal sends datagram according to the rate to the LoRa server.
A kind of packet transmission device, the device are applied to long away from LoRa server, comprising:
Receiving unit, for receiving the first protocol massages from LoRa gateway, first protocol massages are described
LoRa gateway is establishing what the second protocol message sent in connection procedure generated with LoRa server according to LoRa terminal;
Determination unit, for determining that the LoRa server allows to access the LoRa terminal, then according to first association
The signal quality that the LoRa gateway that view message carries receives the second protocol message is that the LoRa terminal determines transmission
The rate of data message;
Transmission unit, for being that the rate to send datagram that the LoRa terminal determines is sent by the determination unit
To the LoRa terminal, so that the LoRa terminal sends datagram according to the rate to the LoRa server.
As can be seen from the above technical solutions, in the application, LoRa server is established in connection procedure with LoRa terminal
The rate to send datagram just is determined for LoRa terminal, in this way, can send out according to iptimum speed in initial LoRa terminal
Data message is sent, under the premise of reduction manual configuration scheme bring work surveys workload, ADR scheme is compared, can prevent
The a large amount of interface-free resources wastes caused by being sent datagram using minimum speed limit of LoRa terminal initial.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 shows the network structure of LoRaWAN;
Fig. 2 is method flow diagram provided by the present application;
Fig. 3 is described in the LoRa gateway carried in step 202 provided by the present application according to the first protocol massages receives
The signal quality of second protocol message is the example flow diagram that the LoRa terminal determines the rate to send datagram;
Fig. 4 is embodiment flow chart provided by the present application;
Fig. 5 is apparatus structure schematic diagram provided by the present application.
Specific embodiment
Currently, common scheme there are two types of the rates to send datagram for the selection of LoRa terminal, one is manual configurations
Scheme, another kind are rate adaptation (ADR:Adaptive Data Rate) schemes.
For manual configuration scheme, need to implement personnel and arrive first the position of LoRa terminal to test the position using test equipment
The iptimum speed that the place of setting sends datagram, then the configuration interface of LoRa server configure the test for LoRa terminal
The iptimum speed to send datagram, later, LoRa server by configuration be used for LoRa terminal send datagram it is best
Rate is sent to LoRa terminal.Later, LoRa terminal will send and receive data message according to received iptimum speed.Though
So, manual configuration scheme can guarantee that LoRa terminal will initially send datagram according to iptimum speed, but match by hand
The scheme of setting need to implement personnel tested to the position of LoRa terminal using test equipment send datagram at the position it is best
It is long to implement the time, and will increase a large amount of works and survey workload for rate.
ADR scheme can be reduced manual configuration scheme bring work and survey workload.For ADR scheme, inception requirements LoRa is whole
End fixation is sent datagram using minimum speed limit, wait LoRa server receive LoRa terminal sent according to minimum speed limit it is N number of
Data message, N such as value are 20, then LoRa server is according to the signal quality of the N number of data message received according to setting
Algorithm is that LoRa terminal calculates the iptimum speed that sends datagram, and sending datagram of calculating for LoRa terminal is best
Rate is sent to LoRa terminal.Later, LoRa terminal will send datagram most according to LoRa server for what it was calculated
Good rate sends and receives data message.
But for ADR scheme, because initial LoRa terminal fixation is sent datagram using minimum speed limit, also just anticipate
Taste LoRa terminal at least use minimum speed limit send top n data message, this cause LoRa terminal be not used iptimum speed hair
Data message is sent, a large amount of interface-free resources are wasted.
Under the premise of reducing manual configuration scheme bring work and surveying workload, LoRa terminal in ADR scheme in order to prevent
Initially being sent datagram using minimum speed limit causes a large amount of interface-free resources to waste, and this application provides methods shown in Fig. 2.
Referring to fig. 2, Fig. 2 is method flow diagram provided by the present application.The process is applied to LoRa server.
As shown in Fig. 2, the process can comprise the following steps that
Step 201, the first protocol massages from LoRa gateway are received, first protocol massages are the LoRa gateway
Establishing what the second protocol message sent in connection procedure generated with LoRa server according to LoRa terminal.
As one embodiment, second protocol message here is that LoRa terminal is establishing connection procedure with LoRa server
(Request) is requested in the addition (Join) of middle transmission.
As one embodiment, the first protocol massages here are that LoRa gateway is packaged generation to second protocol message
's.By taking second protocol message is Join Request as an example, the first protocol massages here are push (Push) data (Data)
Message.
Step 202, it determines that this LoRa server allows to access the LoRa terminal, is then taken according to first protocol massages
The signal quality that the LoRa gateway of band receives the second protocol message is that LoRa terminal determination sends datagram
Rate.
It can be that every LoRa server determination can connect previously according to networking requirements in this application as one embodiment
The LoRa terminal entered deposits the information (being denoted as LoRa terminal iidentification ID list) for the LoRa terminal that every LoRa server can access
Enter the corresponding database of every LoRa server (being denoted as the first specified storage medium).In the application, the ID of LoRa terminal is unique
LoRa terminal is identified, different LoRa terminals have different ID.
Storage medium recorded LoRa terminal iidentification ID list is specified based on first, then in step 202, determines that this LoRa takes
Business device allows to access the LoRa terminal can include: checks that first specifies in storage medium recorded LoRa terminal iidentification ID list
With the presence or absence of the LoRa Termination ID for the LoRa terminal that the first protocol massages carry, if so, determining that this LoRa server allows
Access the LoRa terminal.
In the application, it is institute that the LoRa gateway according to the carrying of the first protocol massages, which receives the signal quality of second protocol message,
It states LoRa terminal and determines that the rate to send datagram has many implementations, Fig. 3 is shown in which a kind of implementation, hereafter
It specifically describes, wouldn't repeat here.
Step 203, the rate to send datagram determined for the LoRa terminal is sent to the LoRa terminal, with
The LoRa terminal is set to send datagram according to the rate to the LoRa server.
So far, process shown in Fig. 2 is completed.
It can be seen that in the application from process shown in Fig. 2, LoRa server is established in connection procedure just with LoRa terminal
The rate to send datagram is determined for LoRa terminal, in this way, can send according to iptimum speed in initial LoRa terminal
Data message compares ADR scheme, can prevent LoRa under the premise of reduction manual configuration scheme bring work surveys workload
Terminal initial a large amount of interface-free resources wastes caused by being sent datagram using minimum speed limit.
The second protocol is received to the LoRa gateway how carried according to the first protocol massages in step 202 below
The signal quality of message is that the LoRa terminal determines that the rate to send datagram is described:
Referring to Fig. 3, Fig. 3 is the LoRa gateway carried in step 202 provided by the present application according to the first protocol massages
The signal quality for receiving the second protocol message is the example flow of the determining rate to send datagram of the LoRa terminal
Figure.As shown in figure 3, the process can comprise the following steps that
Step 301, the LoRa gateway carried according to first protocol massages receives the second protocol message
Signal quality and preset disturbance fluctuation parameter calculate signal sensitivity K.
As one embodiment, this step 301 be may particularly include: step a1, the institute that first protocol massages are carried
It states LoRa gateway and receives the signal quality of the second protocol message and subtract preset disturbance fluctuation parameter, obtained difference is true
It is set to signal sensitivity K.
In this application, as one embodiment, the LoRa gateway that the first protocol massages carry receives the second protocol
The signal quality of message can indicate (RSSI:Received Signal Strength by received signal intensity
Indication it) characterizes.Based on step a1, then signal sensitivity K is the RSSI and preset interference that the first protocol massages carry
The difference of fluctuation parameters.Here, as one embodiment, preset disturbance fluctuation parameter can be configured rule of thumb.
Step 302, it specifies in storage medium recorded signal sensitivity table and is searched with the signal sensitivity K most from second
Close signal sensitivity L.
Here the specified storage medium of second can be exemplified as the memory of LoRa server local, or take independently of LoRa
Other storage mediums of business device, the application do not limit specifically.
In this application, signal sensitivity table is that the characteristic of foundation LoRa terminal itself determines, mainly includes rate
Corresponding relationship between signal sensitivity, can hereafter illustrate description.
Here signal sensitivity L can be equal with above-mentioned signal sensitivity K, is also smaller than or is greater than signal sensitivity K,
As long as the application guarantees closest.
Step 303, rate corresponding with the signal sensitivity L in the signal sensitivity table is determined as the LoRa
Terminal determines the rate to send datagram.
So far, process shown in Fig. 3 is completed.
Realizing LoRa server by process shown in Fig. 3 is that LoRa terminal determines the rate to send datagram.
Process shown in Fig. 2, Fig. 3 is described below by one embodiment:
Referring to fig. 4, Fig. 4 is embodiment flow chart provided by the present application.In the network scenarios of process application, LoRa terminal
The distance between (being denoted as LoRa terminal 40) and LoRa gateway (being denoted as LoRa gateway 41) about 8.1km, centre are blocked less.
As shown in figure 4, the process can comprise the following steps that
Step 401, it after 40 electrifying startup of LoRa terminal, sends to be added to LoRa server (being denoted as LoRa server 42) and ask
Ask (Join Request).
LoRa terminal 40 sends Join Request to LoRa server 42, and the purpose is to realize LoRa terminal 40 and LoRa
Connection is established between server 42.
LoRa gateway 41 is between LoRa terminal 40 and LoRa server 42, and LoRa gateway 41 is prior to LoRa server 42
Receive Join Request.
Step 402, LoRa gateway 41 receives Join Request, calculates this LoRa gateway 41 and receives Join Request's
Signal quality (by taking received signal intensity instruction (RSSI:Received Signal Strength Indication) as an example),
The RSSI of Join Request and calculating are encapsulated in push (Push) data (Data) message and are sent to LoRa server 42.
If in this step 402, the calculated RSSI value of LoRa gateway 41 is -112.
Step 403, after LoRa server 42 receives Push Data message, Push confirmation (ACK) is replied to LoRa gateway 41
Message, and Push Data message is decapsulated to obtain Join Request and RSSI.
Step 404, LoRa server 42 checks the Join of the terminal device ID list records in local data base
The ID for the LoRa terminal 40 that Request is carried, it is determined that LoRa terminal 40 is allowed to access.
If LoRa server 42 checks that the terminal device ID list in local data base does not record Join Request
The ID of the LoRa terminal 40 of carrying, then LoRa server 42 does not allow LoRa terminal 40 to access, at this point, the not needle of LoRa server 42
Join Request is replied and is responded.
Step 405, LoRa server 42 is that the determination of LoRa terminal 40 sends datagram according to RSSI (by taking -112dbm as an example)
The iptimum speed of text.
Specifically, in this step 405, LoRa server 42 calculates RSSI (by taking -112dbm as an example) and preset interference wave
The difference of dynamic parameter (by taking 20db as an example) obtains signal sensitivity K (value is -132dbm), finds in the sensitivity table of pre-configuration
It is closest to the signal sensitivity L of the signal sensitivity K (value is -132dbm) of number sensitivity K, signal in sensitivity table is sensitive
The corresponding rate of degree L is determined as the iptimum speed that LoRa terminal 40 sends datagram.Here, sensitivity table includes sensitivity
Corresponding relationship between rate.The illustrated sensitivity table of table 1:
Spreading factor | Rate | Sensitivity |
7 | 5469 | -126.5 |
8 | 3125 | -129.0 |
9 | 1758 | -131.5 |
10 | 977 | -134.0 |
11 | 537 | -136.5 |
12 | 293 | -139.5 |
Table 1
Based on table 1, then as described above, approach signal sensitivity K is eventually found in the sensitivity table shown in table 1 and (is taken
Value be -132dbm) signal sensitivity L (value be -131.5dbm), by rate corresponding with signal sensitivity L in table 1 be expansion
The corresponding rate of the frequency factor (SF:Spreading Factor) 9 is determined as the iptimum speed that LoRa terminal 40 sends datagram.
Step 406, LoRa server 42 will be (SF9 pairs of the iptimum speed to send datagram of the determination of LoRa terminal 40
The rate answered), the information such as the ID of LoRa terminal 40 that carry of Join Request carry to the response for being directed to Join Request
In message (Join Accept), then Join Accept is encapsulated in Pull Response and is sent to LoRa gateway 41.
Step 407, LoRa gateway 41 receives Pull Response, is decapsulated to obtain Join to Pull Response
Join Accept is sent to LoRa terminal 40 by Accept.
As one embodiment, LoRa gateway 41 can check local with the presence or absence of the speed carried with Join Accept at this time
The corresponding channel of rate, if it is not, then open corresponding with the rate that Join Accept is carried channel, with guarantee LoRa gateway 41 and
(SF9 pairs of the iptimum speed to send datagram determined between LoRa terminal 40 according to LoRa server 42 for LoRa terminal 40
The rate answered) it interacts.
As one embodiment, LoRa gateway 41 can also reply to LoRa server 42 and send confirmation (Tx ACK) message,
Wherein, if forwarding Join Accept success to LoRa terminal 40, the result code (Result Code) in Tx ACK message
Instruction is successfully transmitted, conversely, result code (Result Code) instruction in Tx ACK message is unsuccessfully sent.
Step 408, LoRa terminal 40 receives Join Accept, and parsing Join Accept is taken with obtaining Join Accept
The LoRa server 42 of band is the iptimum speed (the corresponding rate of SF9) to send datagram that this LoRa terminal 40 determines, will
The rate of acquisition is issued to driving, and just the use of LoRa server 42 being then that this LoRa terminal 40 is determining sends datagram
Collected data message is sent to LoRa server 42 by iptimum speed (the corresponding rate of SF9).
This step 408 is gone to, then LoRa terminal 40 is just the determining hair of this LoRa terminal 40 using LoRa server 42
Send the iptimum speed (the corresponding rate of SF9) of data message that collected data message is sent to LoRa server 42, below
It illustrates:
LoRa terminal 40 is with the iptimum speed to send datagram that LoRa server 42 is that this LoRa terminal 40 determines
The first data message (being denoted as the first data message (Data1 message)) that (the corresponding rate of SF9) is sent.
LoRa gateway 41 between LoRa terminal 40 and LoRa server 42 receives Data with the corresponding rate of SF9
Data 1 is encapsulated in Push Data message and is sent to LoRa server 42 by 1 message.
LoRa server 42 receives Push Data message, replys Push ACK message to LoRa gateway 41.
LoRa server 42 decapsulates Push Data message to obtain 1 message of Data, if the report of 1 message of Data
Literary type is that recipient must respond (Confirmed data UP), then returning to continuous and type is that recipient must respond
The data message of (Confirmed data Down) (is denoted as the second data message (2 message of Data), 2 message of Data is encapsulated
LoRa gateway 41 is sent in Pull Response.It is that LoRa terminal 40 is matched that 2 message of Data, which carries LoRa server 42,
Service configuration information set such as wireless service configuration, packet sending intervals etc..
LoRa gateway 41 receives Pull Response, obtains 2 message of Data after decapsulating to Pull Response,
By 2 message of Data, with LoRa server 42, for the determining iptimum speed to send datagram of LoRa terminal 40, (SF9 is corresponding
Rate) it is transmitted to LoRa terminal 40.
Here, it if LoRa gateway 41 forwards the success of 2 message of Data to LoRa terminal 40, is returned to LoRa server 42
The multiple successful Tx ACK message of Result Code, conversely, then replying the Tx of Result Code failure to LoRa server 42
ACK message.
LoRa terminal 40 is with the iptimum speed (SF9 to send datagram that LoRa server 42 is that LoRa terminal 40 determines
Corresponding rate) receive 2 message of Data.
Later, LoRa terminal 40 is still the determining best speed to send datagram of LoRa terminal 40 with LoRa server 42
Rate (the corresponding rate of SF9) sends datagram to LoRa server 42, specific as above similar, no longer repeats one by one here.
So far, the description of embodiment is completed.
It should be noted that in this application, when the signal quality between LoRa gateway and LoRa terminal changes,
LoRa server can be that the LoRa terminal determines the rate to send datagram according to ADR mode again, will again be described
The rate to send datagram that LoRa terminal determines is sent to the LoRa terminal, so that the LoRa terminal is according to again true
Fixed rate sends datagram to the LoRa server.Here, LoRa server is the LoRa according to ADR mode again
Terminal determines that the rate to send datagram similar to existing ADR scheme, repeats no more.
Method provided by the present application is described above, device provided by the present application is described below:
Referring to Fig. 5, Fig. 5 is structure drawing of device provided by the present application.The device is applied to LoRa server, comprising:
Receiving unit, for receiving the first protocol massages from LoRa gateway, first protocol massages are described
LoRa gateway is establishing what the second protocol message sent in connection procedure generated with LoRa server according to LoRa terminal;
Determination unit, for determining that the LoRa server allows to access the LoRa terminal, then according to first association
The signal quality that the LoRa gateway that view message carries receives the second protocol message is that the LoRa terminal determines transmission
The rate of data message;
Transmission unit, for being that the rate to send datagram that the LoRa terminal determines is sent by the determination unit
To the LoRa terminal, so that the LoRa terminal sends datagram according to the rate to the LoRa server.
As one embodiment, the determination unit determines that LoRa server allows to access the LoRa terminal and includes:
Check that first specifies in storage medium recorded LoRa terminal iidentification ID list with the presence or absence of the first agreement report
The LoRa Termination ID for the LoRa terminal that text carries,
If so, determining that LoRa server allows to access the LoRa terminal.
As one embodiment, described in the LoRa gateway reception that the determination unit is carried according to the first protocol massages
The signal quality of second protocol message is that the LoRa terminal determines that the rate to send datagram includes:
According to first protocol massages carry the LoRa gateway receive the second protocol message signal quality,
And preset disturbance fluctuation parameter calculates signal sensitivity K;
It specifies in storage medium recorded signal sensitivity table and searches and the immediate letter of signal sensitivity K from second
Number sensitivity L;
Rate corresponding with the signal sensitivity L in the signal sensitivity table is determined as the LoRa terminal to determine
The rate to send datagram.
As one embodiment, the receiving unit further receives the first data message, and first data message is
The LoRa terminal is successfully established with LoRa server connect after the first data message that sends and type of message be that recipient must
Confirmed data UP must be responded;
It is that recipient must respond that the transmission unit, which further returns to continuous and type to the LoRa terminal,
The second data message of Confirmed data Down, it is the LoRa terminal that the second data message, which carries LoRa server,
The service configuration information of configuration.
As one embodiment, the determination unit is further when detecting between the LoRa gateway and LoRa terminal
When signal quality changes, send datagram according to the rate adaptation ADR mode again LoRa terminal determination
Rate;
The determination unit is further that the LoRa terminal is determining by the transmission unit again to send datagram
Rate be sent to the LoRa terminal so that the LoRa terminal is sent out according to the rate redefined to the LoRa server
Send data message.
So far, structure drawing of device provided by the present application is completed.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (10)
1. a kind of file transmitting method, which is characterized in that this method is applied to long away from LoRa server, comprising:
The first protocol massages from LoRa gateway are received, first protocol massages are the LoRa gateway according to LoRa terminal
Establishing what the second protocol message sent in connection procedure generated with LoRa server;
Determine that this LoRa server allows to access the LoRa terminal, then the LoRa carried according to first protocol massages
The signal quality that gateway receives the second protocol message is that the LoRa terminal determines the rate to send datagram;
The rate to send datagram determined for the LoRa terminal is sent to the LoRa terminal, so that the LoRa is whole
End sends datagram according to the rate to the LoRa server.
2. the method according to claim 1, wherein this LoRa of determination server allows to access the LoRa
Terminal includes:
Inspection first is specified in storage medium recorded LoRa terminal iidentification ID list and is taken with the presence or absence of first protocol massages
The LoRa Termination ID of the LoRa terminal of band,
If so, determining that this LoRa server allows to access the LoRa terminal.
3. the method according to claim 1, wherein the LoRa net that the first protocol massages of the foundation carry
Closing and receiving the signal quality of the second protocol message is that the LoRa terminal determines that the rate to send datagram includes:
According to first protocol massages carry the LoRa gateway receive the second protocol message signal quality and
Preset disturbance fluctuation parameter calculates signal sensitivity K;
It specifies and is searched in storage medium recorded signal sensitivity table and the immediate signal spirit of the signal sensitivity K from second
Sensitivity L;
Rate corresponding with the signal sensitivity L in the signal sensitivity table is determined as the LoRa terminal and determines transmission
The rate of data message.
4. the method according to claim 1, wherein this method further comprises:
It is connect when received first data message of this LoRa server is successfully established for the LoRa terminal with this LoRa server
The type of message of the first data message and first data message that send afterwards is that recipient must respond Confirmed
When data UP, then returning to continuous and type to the LoRa terminal is that recipient must respond Confirmed data Down's
Second data message, the second data message carry the service configuration information that this LoRa server is LoRa terminal configuration.
5. the method according to claim 1, wherein this method further comprises:
When detecting that the signal quality between the LoRa gateway and LoRa terminal changes, according to rate adaptation ADR
Mode is that the LoRa terminal determines the rate to send datagram again;
Again the rate to send datagram determined for the LoRa terminal is sent to the LoRa terminal, so that described
LoRa terminal sends datagram according to the rate redefined to the LoRa server.
6. a kind of packet transmission device, which is characterized in that the device is applied to long away from LoRa server, comprising:
Receiving unit, for receiving the first protocol massages from LoRa gateway, first protocol massages are the LoRa net
It closes and is establishing what the second protocol message sent in connection procedure generated with LoRa server according to LoRa terminal;
Determination unit, for determining that the LoRa server allows to access the LoRa terminal, then according to the first agreement report
The signal quality that the LoRa gateway that text carries receives the second protocol message is that the LoRa terminal determines transmission data
The rate of message;
Transmission unit, the rate to send datagram for determining the determination unit for the LoRa terminal are sent to institute
LoRa terminal is stated, so that the LoRa terminal sends datagram according to the rate to the LoRa server.
7. device according to claim 6, which is characterized in that the determination unit determines that LoRa server allows to access institute
Stating LoRa terminal includes:
Inspection first is specified in storage medium recorded LoRa terminal iidentification ID list and is taken with the presence or absence of first protocol massages
The LoRa Termination ID of the LoRa terminal of band,
If so, determining that LoRa server allows to access the LoRa terminal.
8. device according to claim 6, which is characterized in that the institute that the determination unit is carried according to the first protocol massages
Stating LoRa gateway and receiving the signal quality of the second protocol message is that the LoRa terminal determines the rate to send datagram
Include:
According to first protocol massages carry the LoRa gateway receive the second protocol message signal quality and
Preset disturbance fluctuation parameter calculates signal sensitivity K;
It specifies and is searched in storage medium recorded signal sensitivity table and the immediate signal spirit of the signal sensitivity K from second
Sensitivity L;
Rate corresponding with the signal sensitivity L in the signal sensitivity table is determined as the LoRa terminal and determines transmission
The rate of data message.
9. device according to claim 6, which is characterized in that the receiving unit further receives the first data message,
First data message be the LoRa terminal be successfully established with LoRa server connect after the first data message that sends and
Type of message is that recipient must respond Confirmed data UP;
It is that recipient must respond Confirmed that the transmission unit, which further returns to continuous and type to the LoRa terminal,
The second data message of data Down, the second data message carry the business that LoRa server is LoRa terminal configuration
Configuration information.
10. device according to claim 6, which is characterized in that the determination unit is further when detecting the LoRa
It is again the LoRa whole according to rate adaptation ADR mode when signal quality between gateway and LoRa terminal changes
End determines the rate to send datagram;
The determination unit is further the determining speed to send datagram of the LoRa terminal by the transmission unit again
Rate is sent to the LoRa terminal, so that the LoRa terminal sends number to the LoRa server according to the rate redefined
According to message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810542883.7A CN108848538B (en) | 2018-05-30 | 2018-05-30 | File transmitting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810542883.7A CN108848538B (en) | 2018-05-30 | 2018-05-30 | File transmitting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108848538A CN108848538A (en) | 2018-11-20 |
CN108848538B true CN108848538B (en) | 2019-09-06 |
Family
ID=64209837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810542883.7A Active CN108848538B (en) | 2018-05-30 | 2018-05-30 | File transmitting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108848538B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109816886A (en) * | 2018-12-27 | 2019-05-28 | 深圳市宏电技术股份有限公司 | A kind of express delivery cabinet management system, express delivery cabinet and express delivery cabinet management method |
CN110290509B (en) * | 2019-07-30 | 2023-04-28 | 北京华三通信技术有限公司 | Data transmission method and device |
CN110809287B (en) * | 2019-10-10 | 2023-02-28 | 北京云智数芯科技有限公司 | Communication method of LoRa system |
CN110572481B (en) * | 2019-10-15 | 2022-07-08 | 广西交科集团有限公司 | Intelligent electromechanical equipment data interaction method based on LoRa communication |
CN110996298A (en) * | 2019-12-25 | 2020-04-10 | 北京汽车集团越野车有限公司 | Communication rate adjustment system and car |
CN113395669A (en) * | 2020-03-11 | 2021-09-14 | 新开普电子股份有限公司 | LoRa networking method, node centralized reading method and network server |
US11589195B2 (en) | 2020-08-20 | 2023-02-21 | Ip Co, Llc | Asset tracking systems and methods |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106385303A (en) * | 2016-08-30 | 2017-02-08 | 中兴长天信息技术(南昌)有限公司 | Adaptive information rate adjusting method of LORA wireless transmission system for Internet of Things (IoT) |
CN106255137B (en) * | 2016-09-18 | 2019-08-27 | 南方电网科学研究院有限责任公司 | Method and system for improving communication rate of LoRa network |
KR101731996B1 (en) * | 2016-12-07 | 2017-05-04 | 주식회사 우리 | Automatic power switching device for lora and wifi mobile communication |
CN106899387B (en) * | 2017-03-13 | 2020-03-31 | 武汉慧联无限科技有限公司 | Rate self-adaption method based on LoRa wireless network |
CN108093436B (en) * | 2017-12-21 | 2020-11-20 | 中兴克拉科技(苏州)有限公司 | Self-adaptive rate adjustment method based on network condition for LPWAN Internet of things |
-
2018
- 2018-05-30 CN CN201810542883.7A patent/CN108848538B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108848538A (en) | 2018-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848538B (en) | File transmitting method and device | |
CN101217784B (en) | Radio network, communication apparatus and access point of communication architecture | |
Durand et al. | Evaluation of next‐generation low‐power communication technology to replace GSM in IoT‐applications | |
RU2577336C2 (en) | TROUBLESHOOTING Wi-Fi CONNECTIVITY BY MEASURING ROUND TRIP TIME OF PACKETS SENT WITH DIFFERENT MODULATION RATES | |
US11171711B2 (en) | Maximizing performance in extended-coverage wireless communication network under transmission constraints | |
CN101217785A (en) | Radio network, access point and client terminal apparatus of communication architecture | |
CN108551683A (en) | Enhanced active scan in a wireless local area network | |
KR20130096300A (en) | Network entity, communication device, mobile communication device and method thereof | |
KR101453523B1 (en) | Method and apparatus for providing information based on wireless local area network | |
CN103686696B (en) | A kind of method for sending data, gateway and sensor node | |
WO2018121574A1 (en) | Internet-of-things communication apparatus and method | |
CN107295545A (en) | A kind of wireless sensor network method for monitoring operation states | |
CN111147566A (en) | Platform area ubiquitous Internet of things dual-mode networking system and method based on open network protocol | |
CN103945409A (en) | Wireless link quality detection method and device | |
Costa et al. | On energy efficiency and lifetime in low power wide area network for the Internet of Things | |
GB2448367A (en) | Transmission power adjustment | |
Tsavalos et al. | Low power wide area network (LPWAN) Technologies for Industrial IoT applications | |
Ji et al. | Performance analysis of multihop relaying caching for internet of things under Nakagami channels | |
CN105992208A (en) | Wireless connection authentication method and wireless connection authentication device | |
Matsuo et al. | Overhearing-based efficient boundary detection in dense mobile wireless sensor networks | |
Eriksen | Energy consumption of low power wide area network node devices in the industrial, scientific and medical band | |
CN110099450A (en) | A kind of method and apparatus in narrow band communication | |
CN109076597A (en) | Data transmission method, device and the storage medium of FBE | |
Wang et al. | Low‐Cost and Long‐Range Node‐Assisted WiFi Backscatter Communication for 5G‐Enabled IoT Networks | |
Budomo et al. | 4G LTE-A systems at vehicular speeds: Performance evaluation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |