CN113132054A - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN113132054A
CN113132054A CN201911405816.1A CN201911405816A CN113132054A CN 113132054 A CN113132054 A CN 113132054A CN 201911405816 A CN201911405816 A CN 201911405816A CN 113132054 A CN113132054 A CN 113132054A
Authority
CN
China
Prior art keywords
data
gateway
original data
error correction
terminal equipment
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.)
Granted
Application number
CN201911405816.1A
Other languages
Chinese (zh)
Other versions
CN113132054B (en
Inventor
黄荣宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Ezviz Software Co Ltd
Original Assignee
Hangzhou Ezviz Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ezviz Software Co Ltd filed Critical Hangzhou Ezviz Software Co Ltd
Priority to CN201911405816.1A priority Critical patent/CN113132054B/en
Publication of CN113132054A publication Critical patent/CN113132054A/en
Application granted granted Critical
Publication of CN113132054B publication Critical patent/CN113132054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/0061Error detection 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/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/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1806Go-back-N protocols

Abstract

The embodiment of the invention provides a data transmission method, a device and a system, which are applied to a Sub-1G wireless communication network, and the method comprises the following steps: terminal equipment analyzes a CRC value, original data and RS supervision data from a data message sent by a gateway; calculating the analyzed original data by using a CRC algorithm to obtain a local CRC value, and judging whether the local CRC value is consistent with the analyzed CRC value; if the data are consistent, the analyzed original data are considered to have no errors; if the error correction data is inconsistent with the original data, calculating the analyzed original data and the RS supervision data by adopting a preset RS encoding and decoding error-checking algorithm, judging whether the error correction data is in an error correction range according to a calculation result, and if the error correction data is in the error correction range, decoding and carrying out error correction calculation on the analyzed original data and the RS supervision data by adopting a preset RS encoder and decoder to restore accurate original data. The embodiment of the invention improves the communication efficiency in the Sub-1G wireless communication network.

Description

Data transmission method, device and system
Technical Field
The invention relates to the technical field of Sub-1G wireless communication, in particular to a data transmission method, a device and a system.
Background
The Sub-1G is wireless communication in a frequency band of 1GHz or less, and a longer transmission distance can be obtained with the same transmission power than wireless communication in a frequency band higher than 1 GHz.
When the Sub-1G wireless communication mode is adopted, when the interference is large, the error detection capability communication mode is adopted, if the communication data is detected to have errors, the communication data is abandoned, and the communication data is retransmitted, so that the communication efficiency is poor.
At present, a method for Correcting errors by using an RS (Reed-solomon Code) ECC (Error Correcting Code) algorithm appears, but the RSECC algorithm has high complexity, and affects the real-time performance of communication under the conditions of long processing time and low communication Error rate on equipment which does not support hardware matrix operation with low computational power.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device and a data transmission system, which are used for improving the communication efficiency in a Sub-1G wireless communication network.
The technical scheme of the embodiment of the invention is realized as follows:
a data transmission method is applied to terminal equipment in a Sub-1G wireless communication network, and comprises the following steps:
analyzing a Cyclic Redundancy Check (CRC) value, original data and Reed code (RS) supervision data from a data message sent by a gateway;
calculating the analyzed original data by adopting a preset CRC algorithm to obtain a local CRC value, and judging whether the local CRC value is consistent with the analyzed CRC value;
if the data are consistent, the analyzed original data are considered to have no errors;
if the error correction data is inconsistent with the original data, the analyzed original data is considered to have errors, the analyzed original data and the RS supervisory data are calculated by adopting a preset RS coding and decoding error-checking algorithm, whether the error correction data are in an error correction range is judged according to the calculation result, if the error correction data are in the error correction range, the analyzed original data and the RS supervisory data are decoded and subjected to error correction calculation by adopting a preset RS coder-decoder, and accurate original data are recovered.
The judging whether the error correction range is within the error correction range according to the calculation result further comprises the following steps:
if not, the TDM mode is adopted, a retransmission request is sent to the gateway in the time slot pre-allocated to the terminal equipment, and the terminal equipment enters a receiving mode.
Before parsing out the CRC value, the original data and the RS supervisory data from the data packet sent from the gateway, the method further includes:
and monitoring a WOR packet sent by the gateway by adopting a wireless wake-up WOR carrier monitoring mode, entering a receiving mode from a low-power-consumption mode, and waiting for receiving a data message sent by the gateway.
A data transmission device is applied to terminal equipment in a Sub-1G wireless communication network, and the device comprises:
the wireless transceiver is used for receiving the message sent by the gateway under the Sub-1G frequency band, sending the message sent by the gateway to the processor for processing, and sending the message generated by the processor in the processing process to the gateway;
a processor for implementing the method of any one of claims 1 to 3.
A data transmission method is applied to a gateway in a Sub-1G wireless communication network, and comprises the following steps:
calculating original data by adopting a preset CRC algorithm to obtain a CRC value;
performing coding calculation on the original data by adopting a preset RS coder-decoder to obtain RS supervision data;
packing the CRC value, the original data and the RS supervision data into a data message to be transmitted;
and sending the data message to all terminal equipment through a pre-allocated channel, wherein all the terminals share the channel with the same frequency.
After the CRC value, the original data, and the RS supervisory data are packed into the data packet to be transmitted, and before the data packet is sent to all the terminal devices through the pre-allocated channel, the method further includes:
detecting interference on a pre-allocated channel, judging whether the interference exceeds a preset threshold value, if so, returning to the action of detecting the interference on the pre-allocated channel after waiting for a preset first time length;
and when the interference does not exceed the preset threshold value, the action of sending the data message to all the terminal equipment through the pre-allocated channel is executed.
After sending the data packet to all the terminal devices through the pre-allocated channel, the method further includes:
and receiving a retransmission request sent by any terminal equipment, and retransmitting the data message to the terminal equipment when a time slot pre-allocated to the terminal equipment arrives.
A data transmission apparatus, applied to a gateway in a Sub-1G wireless communication network, the apparatus comprising:
the wireless transceiver is used for receiving the message sent by the terminal equipment under the Sub-1G frequency band, sending the message sent by the terminal equipment to the processor for processing, and sending the message generated by the processor in the processing process to the terminal equipment;
a processor for implementing the method of any one of claims 5 to 7.
A data transmission system for use in a Sub-1G wireless communication network, the system comprising:
the gateway is used for calculating the original data by adopting a preset Cyclic Redundancy Check (CRC) algorithm to obtain a CRC value; adopting a preset Reed-Solomon (RS) coder-decoder to perform coding calculation on the original data to obtain RS supervision data; packing the CRC value, the original data and the RS supervision data into a data message to be transmitted; sending the data message to all terminal equipment through a pre-allocated channel, wherein all terminals share the channel with the same frequency;
the terminal equipment is used for receiving the data message sent by the gateway and analyzing a CRC value, original data and RS supervision data from the message; calculating the analyzed original data by adopting a preset CRC algorithm to obtain a local CRC value, and judging whether the local CRC value is consistent with the analyzed CRC value; if the data are consistent, the analyzed original data are considered to have no errors; if the error correction data is inconsistent with the original data, the analyzed original data is considered to have errors, the analyzed original data and the RS supervisory data are calculated by adopting a preset RS coding and decoding error-checking algorithm, whether the error correction data are in an error correction range is judged according to the calculation result, if the error correction data are in the error correction range, the analyzed original data and the RS supervisory data are decoded and subjected to error correction calculation by adopting a preset RS coder-decoder, and accurate original data are recovered.
The terminal equipment judges whether the error correction range is within the error correction range according to the calculation result and then is further used for:
if not, adopting a time division multiplexing TDM mode, sending a retransmission request to the gateway in a time slot pre-allocated to the terminal equipment, and entering a receiving mode;
and the gateway is further configured to receive a retransmission request sent by the terminal device, and retransmit the data packet to the terminal device when a timeslot pre-allocated to the terminal device arrives.
After the gateway packages the CRC value, the original data and the RS supervisory data into a data packet to be transmitted, before sending the data packet to all terminal devices through a pre-allocated channel, the gateway is further configured to:
detecting interference on a pre-allocated channel, judging whether the interference exceeds a preset threshold value, if so, returning to the action of detecting the interference on the pre-allocated channel after waiting for a preset first time length;
and when the interference does not exceed the preset threshold value, the action of sending the data message to all the terminal equipment through the pre-allocated channel is executed.
After the gateway packages the CRC value, the original data and the RS supervisory data into a data packet to be transmitted, before sending the data packet to all terminal devices through a pre-allocated channel, the gateway is further configured to:
the gateway sends WOR packets on pre-allocated channels;
before the terminal device receives the data message sent by the gateway, the method further comprises the following steps:
the terminal equipment monitors WOR packets sent by the gateway in a wireless wake-up WOR carrier monitoring mode, enters a receiving mode from a low-power-consumption mode, and waits for receiving data messages sent by the gateway.
In the embodiment of the invention, the gateway adopts CRC and RS to check and encode the original data, after the terminal equipment receives the data message, the CRC is firstly adopted to check whether the received data is correct, if the received data is correct, RS decoding and error correction processing are not needed, and if the received data is incorrect, RS decoding and error correction processing are carried out.
Drawings
FIG. 1 is an architecture diagram of a Sub-1G wireless communication network;
fig. 2 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a flowchart of a data transmission method according to another embodiment of the present invention;
fig. 4 is a flowchart of a data transmission method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating RS encoding according to an embodiment of the present invention;
fig. 6 is a flowchart of a data receiving method according to an embodiment of the present invention;
fig. 7 is a flowchart of a data retransmission method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is an architecture diagram of a Sub-1G wireless communication network, which mainly includes: the gateway supporting a certain frequency band and the terminal devices supporting different frequencies, wherein all the terminal devices supporting the same frequency share the same channel.
Fig. 2 is a flowchart of a data transmission method according to an embodiment of the present invention, where the method is applied to a terminal device in a Sub-1G wireless communication network, and includes the following specific steps:
step 201: the terminal device parses a CRC (Cyclic Redundancy Check) value, original data and RS (Reed-solomon codes) supervision data from a data message sent from the gateway.
Step 202: the terminal equipment calculates the analyzed original data by adopting a preset CRC algorithm to obtain a local CRC value, judges whether the local CRC value is consistent with the analyzed CRC value, and if so, executes step 203; otherwise, step 204 is performed.
Step 203: the terminal equipment considers that the analyzed original data has no error, and the process is finished.
Step 204: and the terminal equipment considers that the analyzed original data has errors, calculates the analyzed original data and the RS supervision data by adopting a preset RS coding and decoding error-checking algorithm, judges whether the analyzed original data and the RS supervision data are in an error correction range according to a calculation result, and decodes and corrects the analyzed original data and the RS supervision data by adopting a preset RS coder and decoder if the analyzed original data and the RS supervision data are in the error correction range, so that accurate original data are recovered.
In the above embodiment, the gateway checks and encodes the original data by using the CRC and the RS, and after receiving the data packet, the terminal device first checks whether the received data is correct by using the CRC, and if so, does not need to perform RS decoding and error correction processing, and if not, performs RS decoding and error correction processing.
When accurate original data cannot be recovered, terminal equipment needs to send a retransmission request to a gateway, and in order to avoid packet collision of retransmission requests sent by a plurality of terminal equipment on a channel, the embodiment of the invention provides the following solution:
in an alternative embodiment, in step 204, after determining whether the error correction range is within the error correction range according to the calculation result, the method further includes: if not, a TDM (Time Division multiplexing) Mode is adopted, and a retransmission request is sent to the gateway in a Time slot pre-allocated to the terminal equipment, and the terminal equipment enters a receiving Mode.
In the above embodiment, when the terminal device sends the retransmission request to the gateway, the TDM mode is adopted, so that the retransmission request sent by different terminal devices is prevented from colliding with a packet on a channel, and the reliability of the retransmission request is ensured.
In order to reduce the power consumption of the terminal device, in an optional embodiment, step 201 further includes: the terminal device monitors a WOR packet sent by the gateway by adopting a WOR (Wake On Radio) carrier monitoring mode, enters a receiving mode from a low power consumption mode, and waits for receiving a data message sent by the gateway.
In the embodiment, when the terminal equipment does not receive the request, the terminal equipment keeps the low power consumption mode, and the WOR carrier monitoring mode is adopted to wake up and monitor whether the WOR packet exists or not at regular time in the low power consumption mode, so that the power consumption is reduced, and meanwhile, the data message can not be missed.
Fig. 3 is a flowchart of a data transmission method according to another embodiment of the present invention, which is applied to a gateway in a Sub-1G wireless communication network, and includes the following specific steps:
step 301: and the gateway calculates the original data by adopting a preset CRC algorithm to obtain a CRC value.
Step 302: and the gateway adopts a preset RS coder-decoder to perform coding calculation on the original data to obtain RS supervision data.
Step 303: and the gateway packages the CRC value, the original data and the RS supervision data into a data message to be transmitted.
Step 304: and the gateway sends the data message to all terminal equipment through a pre-allocated channel, wherein all terminals share the channel with the same frequency.
In the above embodiment, the gateway performs checksum coding on the original data by using CRC and RS, so as to: after receiving the data message, the terminal equipment can firstly adopt CRC to check whether the received data is correct, if so, RS decoding and error correction processing are not needed, and if not, RS decoding and error correction processing are carried out.
In order to increase the success rate of data transmission, in an optional embodiment, after step 303 and before step 304, further include:
the gateway detects interference on a pre-allocated channel, judges whether the interference exceeds a preset threshold value, and returns to the action of detecting the interference on the pre-allocated channel after waiting for a preset first time length if the interference exceeds the preset threshold value;
and, when the interference does not exceed the preset threshold, step 304 is executed.
By the embodiment, the data message can be sent when the channel interference is not serious, so that the successful transmission probability of the data message is ensured.
In order to save power consumption of the terminal device when data retransmission is performed, in an optional embodiment, the gateway receives a retransmission request sent by any terminal device, and retransmits the data packet to the terminal device when a timeslot pre-allocated to the terminal device arrives.
In the above embodiment, when a certain terminal device has a retransmission request, data is retransmitted in a one-to-one manner in the time slot of the terminal device, so that all terminal devices do not need to be woken up, and the power consumption of other terminal devices is saved.
Fig. 4 is a flowchart of a data transmission method according to an embodiment of the present invention, where the method is applied to a gateway in a Sub-1G wireless communication network, and includes the following specific steps:
step 401: a gateway in a Sub-1G wireless communication network sends data to a plurality of terminal devices using the same frequency, and performs CRC calculation on original data to be sent by adopting a preset CRC algorithm to obtain a CRC value.
CRC is a channel coding technique that generates a short fixed bit check code from data, such as network packets or computer files, and is used primarily to detect or check errors that may occur after data transmission or storage.
Step 402: the gateway adopts a preset RS codec to perform coding calculation on the data to obtain RS supervision data; and the gateway packages the CRC value, the original data and the RS supervision data into a data message.
RS is a special subclass of q-ary BCH codes, and RS coding is a coding method with error correction capability.
Fig. 5 is a schematic diagram of RS encoding according to an embodiment of the present invention, where B is an RS codec, D is raw data, and C is RS supervisory data. It can be seen that the upper part of the codec matrix used by the RS codec is an identity matrix.
Step 403: the gateway monitors whether the interference value on the channel to be used by the data message is greater than a preset threshold value, if so, the step 404 is executed; otherwise, step 405 is performed.
The interference value on the channel can be obtained as follows:
when the channel is idle, that is, when no data is transmitted or Received, the RSSI (Received Signal Strength Indication) on the channel is detected, and the RSSI is used as the interference value on the channel.
Step 404: the gateway waits for the preset first duration and then returns to step 403.
Step 405: the gateway sends WOR packets to all the terminal devices through the channel to wake up all the terminal devices, and then sends the data message to each terminal device through the channel.
The terminal device is normally in a low power consumption mode when there is no data reception need. In the low power consumption mode, the terminal device adopts a WOR carrier monitoring mode, that is, the terminal device is in a sleep state for most of time, but wakes up at intervals to monitor whether a WOR packet is sent by the gateway, if the WOR packet is monitored, the terminal device is switched to a receiving mode to wait for a data message sent by the gateway, otherwise, the terminal device enters the sleep state again.
Fig. 6 is a flowchart of a data receiving method according to an embodiment of the present invention, where the method is applied to a terminal device in a Sub-1G wireless communication network, and includes the following specific steps:
step 601: and the terminal equipment receives the WOR packet sent by the gateway, enters a receiving mode and waits for receiving the data message sent by the gateway.
Step 602: when the terminal equipment receives the data message sent by the gateway, the CRC value, the original data and the RS supervision data are analyzed from the message.
It should be noted that the original data analyzed in this step is not necessarily identical to the original data in step 401, because the original data may be damaged or modified due to various reasons during the intermediate transmission process. Similarly, the content of the RS supervisory data analyzed in this step is not necessarily identical to that of the RS supervisory data in step 401.
Step 603: and the terminal equipment adopts a preset CRC algorithm to perform CRC calculation on the analyzed original data to obtain a CRC value.
Step 604: the terminal device determines whether the calculated CRC value is the same as the CRC value analyzed in step 602, if so, step 605 is executed; otherwise, step 606 is performed.
Step 605: and the terminal equipment determines that the analyzed original data has no error, directly carries out subsequent processing on the analyzed original data, and the process is finished.
Step 606: and the terminal equipment performs error checking calculation on the analyzed original data and the analyzed RS supervision data according to a preset RS encoding and decoding error checking algorithm.
The RS codec error checking algorithm is a mature algorithm, and is not described herein again.
And if the original data is an n-dimensional vector and the RS monitoring data is an m-dimensional vector, the RS encoding and decoding error-checking algorithm performs error-checking calculation on the analyzed original data and the analyzed RS monitoring data to obtain an n + m-dimensional vector.
If the original data and the RS monitoring data are not wrong in the transmission process, calculating the analyzed original data and the analyzed RS monitoring data by adopting an RS encoding and decoding error-checking algorithm, wherein each dimension vector in the obtained n + m dimension vectors is a 0 vector, and if any dimension vector is not a 0 vector, confirming that the data block corresponding to the dimension vector is wrong in transmission.
Step 607: the terminal equipment judges whether the errors of the analyzed original data and the analyzed supervision data are within the error correction range or not according to the calculation result, if yes, the step 609 is executed; otherwise, step 608 is performed.
For example: the original data are n-dimensional vectors, the RS supervision data are m-dimensional vectors, the terminal equipment can judge whether the number of vectors which are not 0 in the n + m-dimensional vectors is larger than a preset threshold value or not after the analyzed original data and the analyzed RS supervision data are calculated by adopting an RS coding and decoding error-checking algorithm, and if the number of vectors is larger than the preset threshold value, the vectors are not in an error correction range.
Step 608: the terminal equipment adopts a TDM mode, when the time slot pre-allocated to the terminal equipment arrives, the terminal equipment sends a retransmission request to the gateway, accesses a receiving mode, waits for the data message which is retransmitted by the gateway one to one, and the process is finished.
When the terminal equipment using the same frequency sends a message to the gateway, a TDM mode is adopted, and each terminal equipment is allocated with a time slot so as to avoid the packet collision of the message sent by the terminal equipment on a channel.
When the own time slot does not arrive, the terminal equipment is in a dormant state to reduce power consumption.
Step 609: and the terminal equipment adopts the original data analyzed by the preset RS codec and the analyzed supervision data to carry out decoding and error correction calculation to obtain accurate original data.
The decoding and error correction calculation by using a preset RS codec belongs to a mature technology, and is not described herein again.
Fig. 7 is a flowchart of a data retransmission method according to an embodiment of the present invention, where the method is applied to a gateway in a Sub-1G wireless communication network, and includes the following specific steps:
step 701: the gateway receives a retransmission request sent by a terminal device.
Step 702: and when the time slot of the terminal equipment arrives, the gateway retransmits the data message to the terminal equipment.
If the gateway copies and caches the data message after packaging the data message in step 402, the gateway directly sends the cached data message to the terminal device in this step. Otherwise, the gateway performs CRC and RS encoding calculation on the original data again, and packs the data to obtain a data message.
Fig. 8 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention, where the apparatus is applied to a terminal device in a Sub-1G wireless communication network, and the apparatus mainly includes: a wireless transceiver 81 and a processor 82, wherein:
and a wireless transceiver 81, configured to perform message transceiving with the gateway in the Sub-1G frequency band. The method comprises the following steps: and receiving the message sent by the gateway, sending the message sent by the gateway to the processor 82 for processing, and sending the message generated by the processor 82 in the processing process to the gateway.
The processor 82 is configured to implement the method as described in step 201-.
Another embodiment of the present invention further provides a data transmission apparatus, which is applied to a gateway in a Sub-1G wireless communication network, and the apparatus mainly includes: a wireless transceiver, a memory, and a processor, wherein:
and the wireless transceiver is used for receiving and transmitting messages with the terminal equipment under the Sub-1G frequency band. The method comprises the following steps: and sending the message generated in the processing process of the processor to the terminal equipment, receiving the message sent by the terminal equipment, and sending the message sent by the terminal equipment to the processor for processing.
A processor for implementing the method described in step 301-.
An embodiment of the present invention further provides a data transmission system, which is applied to a Sub-1G wireless communication network, and the system mainly includes: gateway and at least one terminal equipment, wherein:
the gateway is used for calculating the original data by adopting a preset CRC algorithm to obtain a CRC value; performing coding calculation on the original data by adopting a preset RS coder-decoder to obtain RS supervision data; packing the CRC value, the original data and the RS supervision data into a data message to be transmitted; and sending the data message to all terminal equipment through a pre-allocated channel, wherein all the terminals share the channel with the same frequency.
The terminal equipment is used for receiving the data message sent by the gateway and analyzing a CRC value, original data and RS supervision data from the message; calculating the analyzed original data by adopting a preset CRC algorithm to obtain a local CRC value, and judging whether the local CRC value is consistent with the analyzed CRC value; if the data are consistent, the analyzed original data are considered to have no errors; if the error correction data is inconsistent with the original data, the analyzed original data is considered to have errors, the analyzed original data and the RS supervisory data are calculated by adopting a preset RS coding and decoding error-checking algorithm, whether the error correction data are in an error correction range is judged according to the calculation result, if the error correction data are in the error correction range, the analyzed original data and the RS supervisory data are decoded and subjected to error correction calculation by adopting a preset RS coder-decoder, and accurate original data are recovered.
In an optional embodiment, the terminal device, after determining whether the error correction is within the error correction range according to the calculation result, is further configured to: if not, adopting TDM mode, sending retransmission request to gateway in time slot pre-allocated to terminal equipment, and entering receiving mode;
and the gateway is further used for receiving a retransmission request sent by the terminal equipment and retransmitting the data message to the terminal equipment when a time slot pre-allocated to the terminal equipment arrives.
In an optional embodiment, after the gateway packages the CRC value, the original data, and the RS supervisory data into a data packet to be transmitted, before sending the data packet to all terminal devices through a pre-allocated channel, the gateway is further configured to: detecting interference on a pre-allocated channel, judging whether the interference exceeds a preset threshold value, if so, returning to the action of detecting the interference on the pre-allocated channel after waiting for a preset first time length;
and when the interference does not exceed the preset threshold value, the action of sending the data message to all the terminal equipment through the pre-allocated channel is executed.
In an optional embodiment, after the gateway packages the CRC value, the original data, and the RS supervisory data into a data packet to be transmitted, before sending the data packet to all terminal devices through a pre-allocated channel, the gateway is further configured to: the gateway sends WOR packets on pre-allocated channels;
before the terminal device receives the data message sent by the gateway, the method further comprises the following steps: the terminal equipment monitors a WOR packet sent by the gateway in a WOR carrier monitoring mode, enters a receiving mode from a low power consumption mode, and waits for receiving a data message sent by the gateway.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A data transmission method is applied to a terminal device in a Sub-1G wireless communication network, and is characterized by comprising the following steps:
analyzing a Cyclic Redundancy Check (CRC) value, original data and Reed code (RS) supervision data from a data message sent by a gateway;
calculating the analyzed original data by adopting a preset CRC algorithm to obtain a local CRC value, and judging whether the local CRC value is consistent with the analyzed CRC value;
if the data are consistent, the analyzed original data are considered to have no errors;
if the error correction data is inconsistent with the original data, the analyzed original data is considered to have errors, the analyzed original data and the RS supervisory data are calculated by adopting a preset RS coding and decoding error-checking algorithm, whether the error correction data are in an error correction range is judged according to the calculation result, if the error correction data are in the error correction range, the analyzed original data and the RS supervisory data are decoded and subjected to error correction calculation by adopting a preset RS coder-decoder, and accurate original data are recovered.
2. The method according to claim 1, wherein the determining whether the error correction is within the error correction range according to the calculation result further comprises:
if not, the TDM mode is adopted, a retransmission request is sent to the gateway in the time slot pre-allocated to the terminal equipment, and the terminal equipment enters a receiving mode.
3. The method of claim 1, wherein parsing the data message from the gateway to obtain the CRC value, the original data, and the RS supervisory data further comprises:
and monitoring a WOR packet sent by the gateway by adopting a wireless wake-up WOR carrier monitoring mode, entering a receiving mode from a low-power-consumption mode, and waiting for receiving a data message sent by the gateway.
4. A data transmission apparatus, applied to a terminal device in a Sub-1G wireless communication network, the apparatus comprising:
the wireless transceiver is used for receiving the message sent by the gateway under the Sub-1G frequency band, sending the message sent by the gateway to the processor for processing, and sending the message generated by the processor in the processing process to the gateway;
a processor for implementing the method of any one of claims 1 to 3.
5. A data transmission method is applied to a gateway in a Sub-1G wireless communication network, and is characterized by comprising the following steps:
calculating original data by adopting a preset CRC algorithm to obtain a CRC value;
performing coding calculation on the original data by adopting a preset RS coder-decoder to obtain RS supervision data;
packing the CRC value, the original data and the RS supervision data into a data message to be transmitted;
and sending the data message to all terminal equipment through a pre-allocated channel, wherein all the terminals share the channel with the same frequency.
6. The method of claim 5, wherein after packaging the CRC value, the original data and the RS supervisory data into the data packet to be transmitted, and before sending the data packet to all terminal devices through the pre-allocated channel, further comprises:
detecting interference on a pre-allocated channel, judging whether the interference exceeds a preset threshold value, if so, returning to the action of detecting the interference on the pre-allocated channel after waiting for a preset first time length;
and when the interference does not exceed the preset threshold value, the action of sending the data message to all the terminal equipment through the pre-allocated channel is executed.
7. The method according to claim 5 or 6, wherein the sending the data packet to all terminal devices via the pre-allocated channel further comprises:
and receiving a retransmission request sent by any terminal equipment, and retransmitting the data message to the terminal equipment when a time slot pre-allocated to the terminal equipment arrives.
8. A data transmission apparatus, applied to a gateway in a Sub-1G wireless communication network, the apparatus comprising:
the wireless transceiver is used for receiving the message sent by the terminal equipment under the Sub-1G frequency band, sending the message sent by the terminal equipment to the processor for processing, and sending the message generated by the processor in the processing process to the terminal equipment;
a processor for implementing the method of any one of claims 5 to 7.
9. A data transmission system for use in a Sub-1G wireless communication network, the system comprising:
the gateway is used for calculating the original data by adopting a preset Cyclic Redundancy Check (CRC) algorithm to obtain a CRC value; adopting a preset Reed-Solomon (RS) coder-decoder to perform coding calculation on the original data to obtain RS supervision data; packing the CRC value, the original data and the RS supervision data into a data message to be transmitted; sending the data message to all terminal equipment through a pre-allocated channel, wherein all terminals share the channel with the same frequency;
the terminal equipment is used for receiving the data message sent by the gateway and analyzing a CRC value, original data and RS supervision data from the message; calculating the analyzed original data by adopting a preset CRC algorithm to obtain a local CRC value, and judging whether the local CRC value is consistent with the analyzed CRC value; if the data are consistent, the analyzed original data are considered to have no errors; if the error correction data is inconsistent with the original data, the analyzed original data is considered to have errors, the analyzed original data and the RS supervisory data are calculated by adopting a preset RS coding and decoding error-checking algorithm, whether the error correction data are in an error correction range is judged according to the calculation result, if the error correction data are in the error correction range, the analyzed original data and the RS supervisory data are decoded and subjected to error correction calculation by adopting a preset RS coder-decoder, and accurate original data are recovered.
10. The system according to claim 9, wherein the terminal device is further configured to, after determining whether the error correction is within the error correction range according to the calculation result:
if not, adopting a time division multiplexing TDM mode, sending a retransmission request to the gateway in a time slot pre-allocated to the terminal equipment, and entering a receiving mode;
and the gateway is further configured to receive a retransmission request sent by the terminal device, and retransmit the data packet to the terminal device when a timeslot pre-allocated to the terminal device arrives.
11. The system of claim 9, wherein after the gateway packages the CRC value, the original data and the RS supervisory data into the data packet to be transmitted, before sending the data packet to all terminal devices through the pre-allocated channel, the gateway further:
detecting interference on a pre-allocated channel, judging whether the interference exceeds a preset threshold value, if so, returning to the action of detecting the interference on the pre-allocated channel after waiting for a preset first time length;
and when the interference does not exceed the preset threshold value, the action of sending the data message to all the terminal equipment through the pre-allocated channel is executed.
12. The system of claim 9, wherein after the gateway packages the CRC value, the original data and the RS supervisory data into the data packet to be transmitted, before sending the data packet to all terminal devices through the pre-allocated channel, the gateway further:
the gateway sends WOR packets on pre-allocated channels;
before the terminal device receives the data message sent by the gateway, the method further comprises the following steps:
the terminal equipment monitors WOR packets sent by the gateway in a wireless wake-up WOR carrier monitoring mode, enters a receiving mode from a low-power-consumption mode, and waits for receiving data messages sent by the gateway.
CN201911405816.1A 2019-12-31 2019-12-31 Data transmission method, device and system Active CN113132054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911405816.1A CN113132054B (en) 2019-12-31 2019-12-31 Data transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911405816.1A CN113132054B (en) 2019-12-31 2019-12-31 Data transmission method, device and system

Publications (2)

Publication Number Publication Date
CN113132054A true CN113132054A (en) 2021-07-16
CN113132054B CN113132054B (en) 2022-04-26

Family

ID=76768758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911405816.1A Active CN113132054B (en) 2019-12-31 2019-12-31 Data transmission method, device and system

Country Status (1)

Country Link
CN (1) CN113132054B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268205A1 (en) * 2004-05-31 2005-12-01 Samsung Electronics Co., Ltd. Method and apparatus for decoding inner and outer codes in a mobile communication system
EP1764941A2 (en) * 2005-09-16 2007-03-21 Samsung Electronics Co.,Ltd. Apparatus and method of multicyclic redundancy checking for section detection and reliability information acquisition in a DVBH system
CN101610139A (en) * 2009-07-20 2009-12-23 中国船舶重工集团公司第七一五研究所 A kind of hybrid automatic repeat request method of underwater sound MODEM
CN101674153A (en) * 2008-09-09 2010-03-17 普天信息技术研究院有限公司 Method, device and system for processing information
US20130254622A1 (en) * 2010-03-24 2013-09-26 Kabushiki Kaisha Toshiba Semiconductor memory device
US20150139204A1 (en) * 2013-11-18 2015-05-21 Netgear, Inc. Systems and methods for improving wlan range

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268205A1 (en) * 2004-05-31 2005-12-01 Samsung Electronics Co., Ltd. Method and apparatus for decoding inner and outer codes in a mobile communication system
EP1764941A2 (en) * 2005-09-16 2007-03-21 Samsung Electronics Co.,Ltd. Apparatus and method of multicyclic redundancy checking for section detection and reliability information acquisition in a DVBH system
CN101674153A (en) * 2008-09-09 2010-03-17 普天信息技术研究院有限公司 Method, device and system for processing information
CN101610139A (en) * 2009-07-20 2009-12-23 中国船舶重工集团公司第七一五研究所 A kind of hybrid automatic repeat request method of underwater sound MODEM
US20130254622A1 (en) * 2010-03-24 2013-09-26 Kabushiki Kaisha Toshiba Semiconductor memory device
US20150139204A1 (en) * 2013-11-18 2015-05-21 Netgear, Inc. Systems and methods for improving wlan range

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BINGRUI WANG, ETC.: "The Design of Vertical RS-CRC and LDPC Code for Ship-Based Satellite Communications On-the-Move", 《IEEE ACCESS》 *
李勇等: "基于CRC-RS编码的无线双信道模型", 《云南大学学报(自然科学版)》 *
蒋学东: "一种高速数据采集记录系统的设计和实现", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *
魏龙飞: "Link16数据链系统中消息可靠传输研究", 《物联网技术》 *

Also Published As

Publication number Publication date
CN113132054B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
AU715820B2 (en) Method and apparatus for data recovery in arq systems
US20200112394A1 (en) Code block level error correction and media access control (mac) level hybrid automatic repeat requests to mitigate bursty puncturing and interference in a multi-layer protocol wireless system
US11677513B2 (en) Retransmission for punctured signals
US20180167171A1 (en) HARQ Feedback Scheme for 5G New Radio
US10659209B2 (en) System and method for low latency acknowledgements
US20180131474A1 (en) Baseband processors, base station, user device, and methods thereof
CN108347311B (en) Method for sending and receiving feedback information, access network equipment and terminal equipment
Dong et al. CARE: Corruption-aware retransmission with adaptive coding for the low-power wireless
WO2018103659A1 (en) Harq feedback scheme for 5g new radio
US8595598B2 (en) High-efficiency dynamic transmission that has a high speed and reliability
CN113132054B (en) Data transmission method, device and system
KR101719503B1 (en) Adaptive forward error correction system for increase reliability in wireless body area network
US20160134399A1 (en) System and Method for Low-Payload Acknowledgment
Ghamari et al. Improving transmission reliability of low-power medium access control protocols using average diversity combining
WO2020076380A1 (en) System and method for retransmission of individual codewords
CN112217602B (en) Method, device and terminal for processing cluster voice packet
KR101342647B1 (en) Error processing apparatus and method in downlink feedback channel for uplink common channel using synchronous hybrid automatic request
KR101773290B1 (en) Data distribution method and apparatus in wireless energy harvesting networks
CN117498984A (en) Wireless communication decoding method, device, equipment and storage medium
EP3403349B1 (en) Harq transmission of transport blocks
TW202118322A (en) Method and apparatus for processing multi-user transmissions
CN117640017A (en) Communication method, system and related equipment
CN116055011A (en) HARQ retransmission method, device, system and medium of UWB data transmission system
Seo et al. Performance analysis of a type-II hybrid-ARQ in a TDMA system over a non-stationary channel
WO2017111678A1 (en) Methods and nodes for communication of data over a radio link

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