Efficient feedback confirmation method suitable for LoRa transmission

文档序号:97684 发布日期:2021-10-12 浏览:16次 中文

阅读说明:本技术 一种适用于LoRa传输的高效反馈确认方法 (Efficient feedback confirmation method suitable for LoRa transmission ) 是由 蔡炜 于 2021-06-05 设计创作,主要内容包括:本发明涉及物联网通信技术领域,且公开了一种适用于LoRa传输的高效反馈确认方法,包括以下步骤:S1:发送数据包,发送端发送数据包;S2:接收,接收端收到一个数据包之后,并不需要立即反馈ACK,而是等待发送端的指示;S3:传输反馈,发送端综合考虑本地缓存数据和业务数据特征,决定是否继续发送数据,如果需要传输多个数据包,则继续传输,如果需要接收ACK反馈,则在接下来的数据包里指示接收端发送反馈,同时打开接收窗口。本发明传输多个数据包时,发送端无需频繁的切换收发模式,只需要一次收发模式切换,极大地减少切换时间和软件控制复杂度,只需要一个BlckACK帧,就可以完成多个数据包的传输,节省空口时间。(The invention relates to the technical field of communication of the Internet of things, and discloses a high-efficiency feedback confirmation method suitable for LoRa transmission, which comprises the following steps: s1: sending a data packet, wherein a sending end sends the data packet; s2: receiving, wherein after receiving a data packet, a receiving end does not need to immediately feed back ACK, but waits for the indication of the sending end; s3: and transmitting feedback, wherein the transmitting end comprehensively considers the characteristics of local cache data and service data, determines whether to continue to transmit the data, continues to transmit if a plurality of data packets need to be transmitted, and indicates the receiving end to transmit the feedback in the next data packet if ACK feedback needs to be received, and simultaneously opens a receiving window. When the invention transmits a plurality of data packets, the sending end does not need to switch the receiving and sending modes frequently, only needs one-time receiving and sending mode switching, greatly reduces the switching time and the software control complexity, can complete the transmission of a plurality of data packets only by one BlckACK frame, and saves the air interface time.)

1. An efficient feedback confirmation method suitable for LoRa transmission is characterized by comprising the following steps:

s1: sending a data packet, wherein a sending end sends the data packet;

s2: receiving, wherein after receiving a data packet, a receiving end does not need to immediately feed back ACK, but waits for the indication of the sending end;

s3: transmitting feedback, wherein a transmitting end comprehensively considers characteristics of local cache data and service data, determines whether to continuously transmit the data, if a plurality of data packets need to be transmitted, the transmitting end continuously transmits the data, if ACK feedback needs to be received, a receiving end is indicated in the next data packets to transmit the feedback, a receiving window is opened at the same time, and after the receiving end receives the indication, a Block ACK frame is immediately transmitted;

s4: the transfer is completed.

2. The method of claim 1, wherein the number of the data packets sent in S1 is at least one.

3. The method of claim 1, wherein the ACK in S2 is an abbreviation of acknowledge, meaning that: acknowledgement, sending BlockACK in S3 is a new feedback mechanism term proposed by the present invention, meaning: and (5) feedback confirmation.

4. The method of claim 1, wherein in S3, the BlockACK frame sent immediately after the receiving end receives the indication indicates a successful reception status of each packet during the transmission.

5. The method of claim 1, wherein after the data packet is uploaded in S1, the communication frequency of the data packet is switched to a sending frequency of a receiving end, and a control command issued by the receiving end is monitored in real time.

6. The method of claim 1, wherein in S1, S2, and S3, the node time is recorded for each of the sender sending a data packet, the receiver receiving an indication, and the receiver sending a BlockACK frame.

Technical Field

The invention relates to the technical field of communication of the Internet of things, in particular to a high-efficiency feedback confirmation method suitable for LoRa transmission.

Background

loRa is a comparatively extensive long distance of using, low-power consumption wireless communication technique at present, and it is through adopting spread spectrum technique, shows the sensitivity that promotes signal reception to realize long distance transmission, the wide application is in thing networking communication technology field. However, due to the adoption of the spread spectrum technology, the data transmission rate of LoRa is relatively low, and in general, the larger the spreading factor, the higher the sensitivity, and the lower the transmission rate.

The classical wireless transmission feedback mechanism is simple to implement, in which each packet is transmitted immediately after an ACK (acknowledgement) feedback indicating whether the data transmission is correctly received.

Because the LoRa chip itself does not provide a mechanism for feeding back ACK by hardware, and needs software to complete, the transmission efficiency of LoRa is relatively low, and sending an ACK frame consumes more time, and in order to ensure the sending success rate of the ACK frame, the sending of the ACK frame generally needs to adopt a transmission parameter with higher sensitivity, i.e. a larger spreading factor, which consumes more air interface time, and reduces the transmission efficiency of the whole system, therefore, the main drawbacks of the LoRa transmission adopting the classical scheme can be summarized as follows: when a plurality of data packets are transmitted, a plurality of times of ACK frame transmission are needed, and the air interface time is wasted.

Disclosure of Invention

Technical problem to be solved

Aiming at the defects of the prior art, the invention provides an efficient feedback confirmation method suitable for LoRa transmission, and solves the problems that in the existing LoRa transmission, when a plurality of data packets exist, software control is needed to repeatedly switch a transceiving mode, transceiving switching time is wasted, the software switching process is low in efficiency, and when a plurality of data packets are transmitted, ACK frame transmission needs to be carried out for many times, and air interface time is wasted.

(II) technical scheme

In order to achieve the purpose, the invention provides the following technical scheme:

an efficient feedback confirmation method suitable for LoRa transmission comprises the following steps:

s1: sending a data packet, wherein a sending end sends the data packet;

s2: receiving, wherein after receiving a data packet, a receiving end does not need to immediately feed back ACK, but waits for the indication of the sending end;

s3: transmitting feedback, wherein a transmitting end comprehensively considers characteristics of local cache data and service data, determines whether to continuously transmit the data, if a plurality of data packets need to be transmitted, the transmitting end continuously transmits the data, if ACK feedback needs to be received, a receiving end is indicated in the next data packets to transmit the feedback, a receiving window is opened at the same time, and after the receiving end receives the indication, a Block ACK frame is immediately transmitted;

s4: the transfer is completed.

As a still further aspect of the present invention, the number of the data packets transmitted in S1 is at least one.

Further, ACK in S2 is an abbreviation of acknowlegee, meaning: acknowledgement, sending BlockACK in S3 is a new feedback mechanism term proposed by the present invention, meaning: and (5) feedback confirmation.

Based on the foregoing scheme, in S3, after receiving the indication, the receiving end immediately sends a BlockACK frame, where a reception success status of each data packet in the transmission process is indicated.

Further, after the data packet is uploaded in S1, the communication frequency of the data packet is switched to the sending frequency of the receiving end, and the control instruction issued by the receiving end is monitored in real time.

Based on the foregoing solution, in S1, S2, and S3, the node time is all recorded when the sender sends a data packet, the receiver receives an indication, and the receiver sends a BlockACK frame.

(III) advantageous effects

Compared with the prior art, the invention provides the efficient feedback confirmation method suitable for LoRa transmission, which has the following beneficial effects:

1. when the invention transmits a plurality of data packets, the sending end does not need to switch the receiving and sending modes frequently, and only needs to switch the receiving and sending modes once, thereby greatly reducing the switching time and the software control complexity.

2. The invention provides a new feedback confirmation mechanism, which can complete the transmission of a plurality of data packets only by one BlckACK frame, saves air interface time, avoids the occupation opportunity of contending for an air interface channel when switching to a sending mode every time, and avoids data delay caused by the failure of contending for the air interface time.

Drawings

Fig. 1 is a schematic diagram of a BlockAck feedback mechanism of an efficient feedback acknowledgement method suitable for LoRa transmission according to the present invention;

fig. 2 is a schematic flow chart of an efficient feedback confirmation method suitable for LoRa transmission according to the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1-2, an efficient feedback acknowledgement method suitable for LoRa transmission includes the following steps:

s1: sending a data packet, wherein a sending end sends the data packet;

s2: receiving, after a receiving end receives a data packet, the receiving end does not need to immediately feed back ACK, but waits for the indication of the sending end, when a plurality of data packets are transmitted, the sending end does not need to frequently switch the receiving and sending modes, only needs to switch the receiving and sending modes once, and greatly reduces the switching time and the software control complexity;

s3: transmitting feedback, wherein a transmitting end comprehensively considers characteristics of local cache data and service data, determines whether to continue to transmit the data, continues to transmit if a plurality of data packets need to be transmitted, indicates a receiving end to transmit the feedback in the next data packet if ACK feedback needs to be received, simultaneously opens a receiving window, immediately transmits a Block ACK frame after the receiving end receives the indication, can complete transmission of a plurality of data packets only by one BlckACK frame, and saves air interface time;

s4: the transfer is completed.

The number of the data packets sent in S1 is at least one, and the ACK in S2 is an abbreviation of acknowledge, meaning that: acknowledgement, sending BlockACK in S3 is a new feedback mechanism term proposed by the present invention, meaning: and feedback confirmation, namely, after receiving the instruction by the receiving terminal in the S3, immediately sending a Block ACK frame, wherein the receiving success state of each data packet in the transmission process is indicated, after the data packet is uploaded in the S1, switching the communication frequency of the receiving terminal to the sending frequency of the receiving terminal, and monitoring a control instruction sent by the receiving terminal in real time, wherein the node time is required to be recorded by the sending terminal, the receiving terminal and the instruction which are sent by the receiving terminal in the S1, S2 and S3.

In the description herein, it is noted that relational terms such as first and second, and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:混合自动重传请求应答反馈方法、终端及网络节点

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类