CN116232542A - SPMA protocol optimization method and system based on no-rate coding - Google Patents

SPMA protocol optimization method and system based on no-rate coding Download PDF

Info

Publication number
CN116232542A
CN116232542A CN202211665381.6A CN202211665381A CN116232542A CN 116232542 A CN116232542 A CN 116232542A CN 202211665381 A CN202211665381 A CN 202211665381A CN 116232542 A CN116232542 A CN 116232542A
Authority
CN
China
Prior art keywords
module
sequence
coding
data
frame
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
CN202211665381.6A
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.)
CETC 32 Research Institute
Original Assignee
CETC 32 Research Institute
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 CETC 32 Research Institute filed Critical CETC 32 Research Institute
Priority to CN202211665381.6A priority Critical patent/CN116232542A/en
Publication of CN116232542A publication Critical patent/CN116232542A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0059Convolutional codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1671Details of the supervisory signal the supervisory signal being transmitted together with control information
    • 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
    • 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/24Negotiation of communication capabilities
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a SPMA protocol optimization method and a system based on no-rate coding, comprising the following coding steps: encoding the frame header and the load of the MAC frame to obtain a frame header sequence and a load sequence; decoding: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, returning to NAK resend sequence; a transmission step: the data is received and transmitted in the MAC layer module. The invention can effectively realize an anti-interference MAC mechanism based on SPMA protocol. The Spinal coding in the rateless coding is used, at this time, the MAC frame becomes a plurality of fragments, each fragment has an independent frame header, and part of fragments may be attacked by interference in the transmission process, but a receiver only needs to successfully receive a certain number of fragments to decode correctly, so as to resist the interference attack in the communication process.

Description

SPMA protocol optimization method and system based on no-rate coding
Technical Field
The invention relates to the technical field of communication, in particular to an SPMA protocol optimization method and system based on no-rate coding. And more particularly to a coding and decoding method based on rateless coding.
Background
The rateless code, also known as fountain code, is a forward error correction code proposed by Michael Luby, john byrs, et al. The sender of the code performs random encoding to generate any number of encoded packets from the original k initial packets. The sender only needs to continuously send data packets, and the receiver only needs to receive any subset of (1+) k coded packets, so that all initial packets can be successfully recovered by decoding with high probability. The ideal no-rate code can be correctly decoded when the effective rate is lower than the channel capacity, and the calculated amount is moderate, so that the reliability and the effectiveness of communication transmission are ensured.
In unmanned aerial vehicle ad hoc networks, the MAC layer belongs to a lower layer protocol that controls how nodes access channels, and transmit and receive data and control messages. The conventional MAC protocol can solve interference collision from inside between nodes, but cannot work against fixed persistent jammers from outside, random hopping jammers, etc. The jammer often transmits an interfering signal, so that the transmission channel is always occupied or the transceiver ends are kept in a waiting state. For a more intelligent interference mode, the rule of signal transmission can be captured. In this case, the time slots occupied by the interference signal and the transmission signal are consistent, even the hopping rule, and the intelligent interference seriously affects the communication quality.
The research and implementation of the IEEE802.11b physical layer on the software radio platform discloses a system scheme for implementing the IEEE802.11b physical layer protocol, comprising a network structure, a system construction, a software and hardware implementation framework and the like, through the research on the architecture of the software radio and the key technology of the IEEE802.11b physical layer. According to the design scheme, the GNU Radio and USRP2 are finally adopted to realize a wireless local area network transmission system, wherein the wireless local area network transmission system comprises a wireless signal transmitting and receiving module, a frame generation module, a signal modulation and demodulation module, a clock recovery module, a CRC (cyclic redundancy check code) module and the like, and the system comprises the following characteristics: 1. operating at 2.4GHz; 2. the signal processing is modularized; 3. completing various operations on the signals in a software programming mode; 4. and dynamically detecting a signal spectrogram. Finally, the function test is carried out on the realized wireless communication system, and the system successfully realizes the transmission and the reception of the IEEE802.11b physical layer data.
Patent document CN110602712a discloses a method and a system for frequency point switching anti-interference wireless local area network communication, which comprises an anti-interference access point and a plurality of anti-interference terminals, wherein the anti-interference access point and the anti-interference terminals are developed based on an IEEE802.11 software radio platform GRT system, and the method comprises the following steps: the anti-interference access point performs spectrum sensing on the selectable channels, selects channels with less interference, and generates an alternative channel list; the alternative channel list comprises a plurality of frequency points; the anti-interference access point randomly selects a target frequency point from the alternative channel list, sends a beacon frame to a channel corresponding to the target frequency point at a fixed frequency, and listens for an association request; the beacon frame comprises the alternative channel list; the anti-interference terminal selects a channel from a current available channel list, and judges whether the channel contains a beacon frame from the anti-interference access point or not; if the channel contains a beacon frame from the anti-interference access point, the anti-interference terminal extracts a time stamp TS and the alternative channel list from the beacon frame; when the synchronization mark in the anti-interference terminal is 0, the anti-interference terminal synchronizes a self channel timer with a channel timer of the anti-interference access point according to the time stamp TS, sends an association request to the anti-interference access point, sets the synchronization mark as 1, and updates the current available channel list stored by the anti-interference terminal into the alternative channel list; when the anti-interference access point receives an association request sent by the anti-interference terminal, the anti-interference access point communicates with the anti-interference terminal by utilizing a channel corresponding to the target frequency point; when the channel timer reaches a preset channel residence time Tc, the anti-interference terminal switches the target frequency point to the next frequency point on the alternative channel list according to the frequency point sequence on the alternative channel list, and communicates with the anti-interference access point by utilizing a channel corresponding to the switched frequency point.
But its interference-free nature and robustness of the protocol has room for improvement.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an SPMA protocol optimization method and system based on no-rate coding.
The SPMA protocol optimization method based on the rate-free coding provided by the invention comprises the following steps:
encoding: respectively encoding a frame header and a load of the MAC frame to obtain a frame header sequence and a load sequence;
decoding: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, returning to NAK resend sequence;
a transmission step: the data is received and transmitted in the MAC layer module.
Preferably, the encoding of the frame header and the payload for the MAC frame includes performing convolutional encoding on the frame header portion and performing rateless encoding on the payload portion;
the convolutional coding comprises the steps of scrambling, then interleaving the code words after convolutional coding by a convolutional coder with the code rate of 1/2, and finally performing BPSK modulation on the interleaved bit sequences;
the non-rate coding comprises the steps of scrambling, sending a load sequence to a Spinal coder, generating an initialization state by the Spinal coder, dividing data into a plurality of message blocks, enabling each message block to serve as a random seed to enter a pseudo-random number generator after a hash function, and generating a plurality of coding symbols.
Preferably, the decoding process comprises the following sub-steps:
step S2.1: performing soft decision on the frame header sequence through BPSK demodulation;
step S2.2: de-interleaving the soft-decided sequence, and performing convolutional decoding by a soft-input Viterbi decoder;
step S2.3: restoring the decoded output bits to the original frame data by a scrambler;
step S2.4: performing CRC operation on the restored original frame data, comparing the operation result with CRC check fields in frame heads, judging whether the comparison contents are consistent, and if yes, triggering step S2.5; if not, returning an ACK stop sending sequence;
step S2.5: and sending the load sequence into a Spinal decoder for decoding, and recovering the decoded output bits to the original frame data through a scrambler.
Preferably, the scrambler and the scrambler in the encoding step are identical.
Preferably, the MAC layer module includes an encapsulation framing module, a virtual listening module, a queue management module, a counter module, an automatic transmitter/receiver, and a decapsulation module;
the encapsulation framing module encapsulates the data sent by the application layer into a frame format after receiving the data;
the virtual interception and RTS/CTS module completes channel access;
the queue management module manages a buffer queue for transmitting data and receiving data;
the counter module generates the maximum transmission times and provides a system termination condition;
the automatic transmitter/receiver is an event type loop module, the event including receipt of an ACK, exceeding a maximum number of transmissions, and receipt of a NAK.
The SPMA protocol optimization system based on the rate-free coding provided by the invention comprises the following components:
and a coding module: respectively encoding a frame header and a load of the MAC frame to obtain a frame header sequence and a load sequence;
and a decoding module: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, returning to NAK resend sequence;
and a transmission module: the data is received and transmitted in the MAC layer module.
Preferably, the encoding of the frame header and the payload for the MAC frame includes performing convolutional encoding on the frame header portion and performing rateless encoding on the payload portion;
the convolutional coding comprises the steps of scrambling, then interleaving the code words after convolutional coding by a convolutional coder with the code rate of 1/2, and finally performing BPSK modulation on the interleaved bit sequences;
the non-rate coding comprises the steps of scrambling, sending a load sequence to a Spinal coder, generating an initialization state by the Spinal coder, dividing data into a plurality of message blocks, enabling each message block to serve as a random seed to enter a pseudo-random number generator after a hash function, and generating a plurality of coding symbols.
Preferably, the decoding process includes the following sub-modules:
module M2.1: performing soft decision on the frame header sequence through BPSK demodulation;
module M2.2: de-interleaving the soft-decided sequence, and performing convolutional decoding by a soft-input Viterbi decoder;
module M2.3: restoring the decoded output bits to the original frame data by a scrambler;
module M2.4: performing CRC operation on the restored original frame data, comparing an operation result with a CRC check field in a frame header, judging whether comparison contents are consistent, and if so, triggering a module M2.5; if not, returning an ACK stop sending sequence;
module M2.5: and sending the load sequence into a Spinal decoder for decoding, and recovering the decoded output bits to the original frame data through a scrambler.
Preferably, the scrambler and the scrambler in the encoding module are identical.
Preferably, the MAC layer module includes an encapsulation framing module, a virtual listening module, a queue management module, a counter module, an automatic transmitter/receiver, and a decapsulation module;
the encapsulation framing module encapsulates the data sent by the application layer into a frame format after receiving the data;
the virtual interception and RTS/CTS module completes channel access;
the queue management module manages a buffer queue for transmitting data and receiving data;
the counter module generates the maximum transmission times and provides a system termination condition;
the automatic transmitter/receiver is an event type loop module, the event including receipt of an ACK, exceeding a maximum number of transmissions, and receipt of a NAK.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention can effectively realize an anti-interference MAC mechanism based on SPMA protocol. The Spinal coding in the rateless coding is used, at this time, the MAC frame becomes a plurality of fragments, each fragment has an independent frame header, and part of fragments may be attacked by interference in the transmission process, but a receiver only needs to successfully receive a certain number of fragments to decode correctly, so as to resist the interference attack in the communication process.
2. The invention adopts different coding modes for the MAC frame head and the load. Because of the importance of the frame header, 1/2 code rate convolution coding with stronger error correction is adopted, and in order to prevent interference, a non-rate coding Spinal code is adopted for carrying out slice transmission in a load part, so that the anti-interference characteristic and the robustness of the SPMA protocol are improved.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a schematic diagram of the workflow of the encoding in the present invention.
Fig. 2 is a schematic diagram of the decoding operation in the present invention.
Fig. 3 is a block diagram of the MAC module according to the present invention.
Fig. 4 is a logic diagram of a protocol implementation in the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
ACK Acknowledge character is an acknowledgement character, NAK, negative Acknowledgment is an abbreviation for acknowledgement or non-acknowledgement, BPSK, binary Phase Shift Keying is binary phase shift keying.
Example 1
According to the SPMA protocol optimization method based on the rate-free coding, as shown in figures 1 to 3, the SPMA protocol optimization method comprises the following steps:
encoding: and respectively encoding the frame header and the load of the MAC frame to obtain a frame header sequence and a load sequence.
Specifically, as shown in fig. 1, encoding the frame header and payload for the MAC frame includes convolutionally encoding the frame header portion and non-rate encoding the payload portion, respectively. The convolutional coding comprises scrambling, passing through a convolutional encoder with a code rate of 1/2, interleaving the code words after convolutional coding, and performing BPSK modulation on the interleaved bit sequences. The non-rate coding comprises scrambling, sending a load sequence to a Spinal coder, generating an initialization state by the Spinal coder, dividing data into a plurality of message blocks, taking each message block as a random seed after a hash function, and entering a pseudo-random number generator to generate a plurality of coding symbols. When the MAC layer requires one more generation of the encoded symbol, the process is repeated more than once.
Wherein, the frame head part is firstly scrambled, so that the data is more random, and the performance of convolution coding is improved. Interleaving is performed on the code words after convolutional coding, and the correlation of adjacent code words is reduced.
Decoding: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, a NAK resend sequence is returned. As shown in fig. 2, the decoding process includes the following sub-steps:
step S2.1: the frame header sequence is soft-decided by BPSK demodulation.
Step S2.2: the soft-decided sequence is de-interleaved so that the sequence is restored to its original position. And enters a soft input Viterbi decoder for convolutional decoding.
Step S2.3: and restoring the decoded output bits to the original frame data through a scrambler. The scrambler is identical to the scrambler in the encoding step.
Step S2.4: performing CRC operation on the restored original frame data, comparing the operation result with CRC check fields in frame heads, judging whether the comparison contents are consistent, and if yes, triggering step S2.5; if not, returning to the ACK to stop sending the sequence.
Step S2.5: and sending the load sequence into a Spinal decoder for decoding, and recovering the decoded output bits to the original frame data through a scrambler.
A transmission step: the data is received and transmitted in the MAC layer module. The MAC layer module comprises an encapsulation framing module, a virtual interception module, a queue management module, a counter module, an automatic sending/receiving device and an decapsulation module. Specifically, the encapsulation framing module encapsulates the data sent by the application layer into a frame format after receiving the data. The virtual interception and RTS/CTS module completes channel access. The queue management module manages a buffer queue for transmitting data and receiving data. The counter module generates a maximum number of transmissions, providing a system termination condition. The automatic transmitter/receiver is an event type loop module, the events include the receipt of an ACK, exceeding the maximum number of transmissions, and the receipt of a NAK.
The invention aims to adopt different coding modes aiming at the MAC frame head and the load, thereby ensuring the robustness of an anti-interference mechanism. And (3) using the Spinal code in the rateless code to transmit the MAC frame in the SPMA protocol in a slicing way so as to resist interference in the transmission process. When interference exists in a communication environment, an anti-interference MAC mechanism is designed and realized.
Further, the present invention is specifically described below with reference to fig. 4:
if the channel is detected to be empty, the sending node starts to send frame fragments, n/k fragments are sent in each pass, if the receiving side receives enough fragments to be decoded successfully after one pass, an ACK confirmation frame is returned, the fragments of the frame are requested to stop being sent, and the next frame is sent. If it is not, a NAK negative acknowledgement frame is returned to request the next pass of the frame. Where n represents the size of the incoming message and k represents the length of the fragment, specifically as follows:
first, data is acquired, it is determined whether channel detection is empty, and if not, listening is continued, and in this embodiment, it is assumed that at this time, RTS (Request To Send) is sent and whether CTS (Clear To Send) is received is confirmed. And if not, carrying out exponential back-off, namely after data collision occurs between the nodes, waiting for a certain time and retransmitting.
And then, if the transmission time is confirmed to be received, encoding the MAC frame, encoding the frame header part and the load part respectively, transmitting the fragments, judging whether the maximum transmission time is exceeded currently, stopping transmitting if the maximum transmission time is exceeded, and not exceeding the frame header Viterbi decoding.
Then, CRC operation is carried out on the restored original frame data, the operation result is compared with CRC check fields in the frame header, whether the comparison content is consistent or not is judged, and if not, a NAK retransmission sheet is returned; if yes, it is indicated that the frame header has been decoded correctly.
Then, receiving the fragments and performing Spinal decoding, judging whether the original frame data can be restored, and if so, returning the ACK fragments to stop sending; if not, a NAK negative acknowledgement frame is returned to request the next pass of the frame.
Example two
The invention also provides an SPMA protocol optimization system based on the rateless code, and a person skilled in the art can realize the SPMA protocol optimization system based on the rateless code by executing the step flow of the SPMA protocol optimization method based on the rateless code, namely the SPMA protocol optimization method based on the rateless code can be understood as a preferred implementation mode of the SPMA protocol optimization system based on the rateless code.
The SPMA protocol optimization system based on the rate-free coding provided by the invention comprises the following components:
and a coding module: and respectively encoding the frame header and the load of the MAC frame to obtain a frame header sequence and a load sequence. The encoding of the frame header and payload for the MAC frame includes convolutionally encoding the frame header portion and non-rate encoding the payload portion, respectively. The convolutional coding comprises the steps of scrambling, passing through a convolutional coder with the code rate of 1/2, interleaving the code words after convolutional coding, and performing BPSK modulation on the interleaved bit sequences. The non-rate coding comprises the steps of scrambling, sending a load sequence to a Spinal coder, generating an initialization state by the Spinal coder, dividing data into a plurality of message blocks, enabling each message block to serve as a random seed to enter a pseudo-random number generator after a hash function, and generating a plurality of coding symbols.
And a decoding module: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, a NAK resend sequence is returned. The decoding process comprises the following sub-modules:
module M2.1: the frame header sequence is soft-decided by BPSK demodulation. Module M2.2: the soft-decided sequence is de-interleaved and enters a soft-input Viterbi decoder for convolutional decoding. Module M2.3: and restoring the decoded output bits to the original frame data through a scrambler. The scrambler is identical to the scrambler in the encoding module. Module M2.4: performing CRC operation on the restored original frame data, comparing an operation result with a CRC check field in a frame header, judging whether comparison contents are consistent, and if so, triggering a module M2.5; if not, returning to the ACK to stop sending the sequence. Module M2.5: and sending the load sequence into a Spinal decoder for decoding, and recovering the decoded output bits to the original frame data through a scrambler.
And a transmission module: the data is received and transmitted in the MAC layer module. The MAC layer module comprises an encapsulation framing module, a virtual interception module, a queue management module, a counter module, an automatic transmitting/receiving machine and an decapsulation module; the encapsulation framing module encapsulates the data sent by the application layer into a frame format after receiving the data; the virtual interception and RTS/CTS module completes channel access; the queue management module manages a buffer queue for transmitting data and receiving data; the counter module generates the maximum transmission times and provides a system termination condition; the automatic transmitter/receiver is an event type loop module, the event including receipt of an ACK, exceeding a maximum number of transmissions, and receipt of a NAK.
Those skilled in the art will appreciate that the systems, apparatus, and their respective modules provided herein may be implemented entirely by logic programming of method steps such that the systems, apparatus, and their respective modules are implemented as logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc., in addition to the systems, apparatus, and their respective modules being implemented as pure computer readable program code. Therefore, the system, the apparatus, and the respective modules thereof provided by the present invention may be regarded as one hardware component, and the modules included therein for implementing various programs may also be regarded as structures within the hardware component; modules for implementing various functions may also be regarded as being either software programs for implementing the methods or structures within hardware components.
The foregoing describes specific embodiments of the present invention. It is to be understood that the invention is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the invention. The embodiments of the present application and features in the embodiments may be combined with each other arbitrarily without conflict.

Claims (10)

1. An SPMA protocol optimization method based on no rate coding, comprising:
encoding: respectively encoding a frame header and a load of the MAC frame to obtain a frame header sequence and a load sequence;
decoding: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, returning to NAK resend sequence;
a transmission step: the data is received and transmitted in the MAC layer module.
2. The method of optimizing SPMA protocol based on rateless coding according to claim 1, wherein the encoding of frame header and payload for MAC frame includes convolutionally encoding frame header portion and rateless encoding payload portion, respectively;
the convolutional coding comprises the steps of scrambling, then interleaving the code words after convolutional coding by a convolutional coder with the code rate of 1/2, and finally performing BPSK modulation on the interleaved bit sequences;
the non-rate coding comprises the steps of scrambling, sending a load sequence to a Spinal coder, generating an initialization state by the Spinal coder, dividing data into a plurality of message blocks, enabling each message block to serve as a random seed to enter a pseudo-random number generator after a hash function, and generating a plurality of coding symbols.
3. The method for optimizing SPMA protocol based on rateless codes as recited in claim 1, wherein the decoding process includes the sub-steps of:
step S2.1: performing soft decision on the frame header sequence through BPSK demodulation;
step S2.2: de-interleaving the soft-decided sequence, and performing convolutional decoding by a soft-input Viterbi decoder;
step S2.3: restoring the decoded output bits to the original frame data by a scrambler;
step S2.4: performing CRC operation on the restored original frame data, comparing the operation result with CRC check fields in frame heads, judging whether the comparison contents are consistent, and if yes, triggering step S2.5; if not, returning an ACK stop sending sequence;
step S2.5: and sending the load sequence into a Spinal decoder for decoding, and recovering the decoded output bits to the original frame data through a scrambler.
4. The SPMA protocol optimization method based on rate-less coding as claimed in claim 3, wherein the scrambler and the scrambler in the coding step are identical.
5. The SPMA protocol optimization method based on no rate coding of claim 1, wherein the MAC layer module comprises an encapsulation framing module, a virtual listening module, a queue management module, a counter module, an automatic transmitter/receiver, and a decapsulation module;
the encapsulation framing module encapsulates the data sent by the application layer into a frame format after receiving the data;
the virtual interception and RTS/CTS module completes channel access;
the queue management module manages a buffer queue for transmitting data and receiving data;
the counter module generates the maximum transmission times and provides a system termination condition;
the automatic transmitter/receiver is an event type loop module, the event including receipt of an ACK, exceeding a maximum number of transmissions, and receipt of a NAK.
6. A rate-free coding based SPMA protocol optimization system comprising:
and a coding module: respectively encoding a frame header and a load of the MAC frame to obtain a frame header sequence and a load sequence;
and a decoding module: respectively carrying out decoding processing on the frame header sequence and the load sequence, judging whether to recover the original frame data, and if so, returning to the ACK to stop sending the sequence; if not, returning to NAK resend sequence;
and a transmission module: the data is received and transmitted in the MAC layer module.
7. The rate-less coding based SPMA protocol optimization system of claim 6, wherein the encoding of the frame header and payload for the MAC frame comprises rate-less encoding of the frame header portion and the payload portion, respectively;
the convolutional coding comprises the steps of scrambling, then interleaving the code words after convolutional coding by a convolutional coder with the code rate of 1/2, and finally performing BPSK modulation on the interleaved bit sequences;
the non-rate coding comprises the steps of scrambling, sending a load sequence to a Spinal coder, generating an initialization state by the Spinal coder, dividing data into a plurality of message blocks, enabling each message block to serve as a random seed to enter a pseudo-random number generator after a hash function, and generating a plurality of coding symbols.
8. The rate-less coding based SPMA protocol optimization system of claim 6, wherein the decoding process comprises the following sub-modules:
module M2.1: performing soft decision on the frame header sequence through BPSK demodulation;
module M2.2: de-interleaving the soft-decided sequence, and performing convolutional decoding by a soft-input Viterbi decoder;
module M2.3: restoring the decoded output bits to the original frame data by a scrambler;
module M2.4: performing CRC operation on the restored original frame data, comparing an operation result with a CRC check field in a frame header, judging whether comparison contents are consistent, and if so, triggering a module M2.5; if not, returning an ACK stop sending sequence;
module M2.5: and sending the load sequence into a Spinal decoder for decoding, and recovering the decoded output bits to the original frame data through a scrambler.
9. The rate-less coding based SPMA protocol optimization system of claim 8, wherein the scrambler and the scrambler in the coding module are identical.
10. The rate-free encoding-based SPMA protocol optimization system of claim 6, wherein the MAC layer module comprises an encapsulation framing module, a virtual listening module, a queue management module, a counter module, an automatic transmit/receiver and decapsulation module;
the encapsulation framing module encapsulates the data sent by the application layer into a frame format after receiving the data;
the virtual interception and RTS/CTS module completes channel access;
the queue management module manages a buffer queue for transmitting data and receiving data;
the counter module generates the maximum transmission times and provides a system termination condition;
the automatic transmitter/receiver is an event type loop module, the event including receipt of an ACK, exceeding a maximum number of transmissions, and receipt of a NAK.
CN202211665381.6A 2022-12-23 2022-12-23 SPMA protocol optimization method and system based on no-rate coding Pending CN116232542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211665381.6A CN116232542A (en) 2022-12-23 2022-12-23 SPMA protocol optimization method and system based on no-rate coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211665381.6A CN116232542A (en) 2022-12-23 2022-12-23 SPMA protocol optimization method and system based on no-rate coding

Publications (1)

Publication Number Publication Date
CN116232542A true CN116232542A (en) 2023-06-06

Family

ID=86588192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211665381.6A Pending CN116232542A (en) 2022-12-23 2022-12-23 SPMA protocol optimization method and system based on no-rate coding

Country Status (1)

Country Link
CN (1) CN116232542A (en)

Similar Documents

Publication Publication Date Title
US6977888B1 (en) Hybrid ARQ for packet data transmission
EP2093921B1 (en) Method and product for memory management in a HARQ communication system
KR950015190B1 (en) Method for error correction of a trasmitted data word
RU2622770C1 (en) Highly reliable transmission scheme with low level of use of resources
EP2924907B1 (en) Concept for combining coded data packets with robust header protection
KR100918759B1 (en) Apparatus and method for transmitting control message of pdcch in a mobile communication system supporting packet data service
US20180167171A1 (en) HARQ Feedback Scheme for 5G New Radio
CN101741527B (en) Rate adaption method and device
WO2009116759A2 (en) Method of transmitting group ack/nack in a communication system
US20050073978A1 (en) Apparatus and method for receiving data through channels in mobile communication system
EP1436935A2 (en) Method of transmitting data packets
Dong et al. CARE: Corruption-aware retransmission with adaptive coding for the low-power wireless
JP2022516802A (en) Data retransmission over wireless network
RU2462822C2 (en) Method to confirm data reception
US9203441B2 (en) Partial packet recovery in wireless networks
JP7306266B2 (en) Wireless communication device, wireless communication method and wireless communication system
EP1401139B1 (en) Data communication device and data communication method
He et al. Reliable cross-technology communication with physical-layer acknowledgement
CN116232542A (en) SPMA protocol optimization method and system based on no-rate coding
US20040170192A1 (en) Method of transmitting data packets
CN111601342B (en) Bit error-based low-speed wireless personal area network error data packet recovery method
CN101296059A (en) Error detection and retransmission methods and devices for communication systems
WO2005048519A1 (en) Communication method, system and device
Valenti et al. Custom coding, adaptive rate control, and distributed detection for bluetooth
CN114679241A (en) Communication method and device based on hybrid automatic repeat request (HARQ)

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