Adaptive hybrid automatic repeat request method and multi-mode adaptive retransmission method
Through the adaptive hybrid automatic retransmission request method and multi-mode adaptive retransmission strategy, the problem of insufficient real-time and reliability in underwater snake robot communication is solved, and efficient and robust data transmission is achieved to adapt to complex channel environments. .
Patent Information
- Application Number
- CN202411382468.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-30
AI Technical Summary
Existing underwater snake robots have insufficient real-time and reliability in underwater communication, especially in dynamic environments where signal propagation delays and frequent changes in shape, resulting in poor stability of communication links. The existing automatic repeat request (ARQ) method Retransmission is frequently triggered when channel conditions are poor, reducing system throughput and efficiency.
Adaptive hybrid automatic retransmission request method is adopted, data is encoded and decoded through RS encoder and Turbo encoder, and encoding parameters are dynamically adjusted to optimize channel error correction capabilities. Combined with multi-mode adaptive retransmission strategy, it switches work according to channel state Mode to balance throughput, energy consumption and real-time.
It improves the reliability and efficiency of data transmission, reduces the number of repeated transmissions, enhances the robustness and throughput of the system, adapts to complex channel conditions, and improves user experience.
Smart Images

Figure CN118921149B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission in a communication system, and in particular to an adaptive hybrid automatic repeat request method and a multi-mode adaptive retransmission method. Background Art
[0002] With the development and utilization of various resources, the development of terrestrial natural resources has reached a bottleneck and is being exhausted. Therefore, people have turned their attention to the deep sea and ocean. At present, the exploration of the underwater world through underwater robots has become a hot topic of research, but underwater communication technology is an important factor restricting the operation of underwater robots.
[0003] Existing underwater snake robots have deficiencies in real-time and reliability in underwater communication. Due to the particularity of the working environment of snake-like underwater robots, the real-time and reliability requirements of communication technology are relatively high. However, underwater communication usually affects applications with high real-time requirements, such as remote control or real-time monitoring, due to delays in signal propagation. In addition, snake-like robots frequently change shape and direction, especially in highly dynamic underwater environments, which may also cause the stability of the communication link to deteriorate.
[0004] Therefore, in order to achieve reliable communication, it is necessary to control errors in the data transmission process. The existing error control method often uses the automatic repeat request (ARQ) method, but this method has limitations in terms of throughput and transmission reliability. For example, in the case of poor channel conditions, ARQ may frequently trigger retransmissions. In this case, a large number of repeated transmissions may be caused, further reducing the throughput and efficiency of the system. In addition, the ARQ scheme consumes additional bandwidth during the retransmission process because erroneous data packets need to be retransmitted, which may reduce the user's effective data transmission efficiency. Summary of the invention
[0005] The problem solved by the present invention is one or more of the above-mentioned problems in the prior art.
[0006] To solve the above problems, the present invention provides an adaptive hybrid automatic repeat request method, which is applied to a communication system, wherein the communication system includes a transmitting end and a receiving end, the transmitting end includes an RS encoder and a Turbo encoder, and the receiving end includes a decoder. The adaptive hybrid automatic repeat request method includes:
[0007] When the transmitting end receives the current target information,
[0008] Encoding the current target information by the RS encoder to obtain initial coded data; and interleaving and encoding the initial coded data by the Turbo encoder to obtain temporary coded data;
[0009] Decoding the temporary coded data by the decoder to obtain decoded data; and determining the number of bit errors in the decoded data;
[0010] If the number of bit errors is not within a preset error range, obtaining a current bit error rate according to the current target information and the decoded data, and comparing the current bit error rate with a preset bit error rate to obtain a comparison result;
[0011] The parameters of the RS encoder are adjusted according to the comparison result to change the code rate of the initial encoded data, and negative confirmation information is fed back to the transmitting end to request retransmission.
[0012] Optionally, the component coded data includes first component coded data, second component coded data and third component coded data; the temporary check sequence includes a first check sequence and a second check sequence; encoding and interleaving the target component coded data to obtain a temporary check sequence; and fusing the temporary check sequence with the remaining component coded data to obtain the temporary coded data, comprises:
[0013] performing convolution processing on the second component coded data to obtain the first check sequence;
[0014] performing interleaving processing on the third component coded data to obtain the second check sequence;
[0015] The first check sequence, the second check sequence and the first component coded data are merged to obtain the temporary coded data.
[0016] Optionally, the fusing the first check sequence, the second check sequence and the first component coded data to obtain the temporary coded data includes:
[0017] Performing puncturing processing on the first check sequence and the second check sequence respectively based on a preset puncturing matrix; and fusing the punctured sequences to obtain a target check sequence;
[0018] The target check sequence is merged with the first component coded data to obtain the temporary coded data.
[0019] Optionally, the adaptive hybrid automatic repeat request method further includes:
[0020] When the receiving end receives the temporary coded data, determining whether the current temporary coded data is retransmission data;
[0021] If it is the retransmitted data, the current temporary coded data is merged with the last temporary coded data to obtain merged data, and the merged data is decoded.
[0022] Optionally, adjusting the parameters of the RS encoder according to the comparison result to change the bit rate of the initial encoded data includes:
[0023] Obtaining basic parameters of the RS encoder, wherein the basic parameters include an initial codeword length and an initial data length;
[0024] When the current bit error rate is greater than or equal to the preset bit error rate, reducing the initial data length to increase the corresponding number of check symbols;
[0025] When the current bit error rate is less than the preset bit error rate, increasing the initial data length to reduce the corresponding number of check symbols;
[0026] Reconfiguring parameters of the RS encoder according to the initial codeword length and the adjusted initial data length;
[0027] The number of check symbols is obtained by the initial codeword length and the corresponding data length.
[0028] The adaptive hybrid automatic repeat request method of the present invention has the following beneficial effects: when the transmitting end receives the current target information, the current target information is encoded using the RS encoder. That is, the RS encoder divides the data into data blocks and adds check symbols to generate initial coded data, which improves the error correction capability of the data. The initial coded data is then interleaved and Turbo encoded. Turbo encoding optimizes the efficiency of data transmission by processing multiple data streams in parallel, while enhancing the error correction capability, thereby generating temporary coded data. At the receiving end, the decoder receives the temporary coded data, and decodes it using the RS decoder and the Turbo decoder to obtain decoded data. After the decoding is completed, the number of error codes in the decoded data is calculated. If the number of error codes is within the preset error range, the current transmission is considered successful. If the number of error codes is not within the preset error range, the current bit error rate (BER) is calculated based on the current target information and the decoded data. At this time, the current bit error rate is compared with the preset bit error rate to determine the quality of the channel. If the current bit error rate exceeds the preset range, the parameters of the RS encoder will be adjusted. For example, the error correction capability can be improved by increasing the number of check symbols (reducing the data length). If the current bit error rate is within an acceptable range, it is also possible to consider reducing the number of check symbols to increase the data transmission rate. Finally, according to the adjustment results of the encoder parameters, negative confirmation information (NACK) is fed back to the transmitter at the same time to request retransmission.
[0029] Therefore, by dynamically adjusting the parameters of the RS encoder, errors can be effectively reduced according to changes in the channel environment and the success rate of data transmission can be improved, that is, the error correction capability of the RS code can be dynamically adjusted to optimize the transmission performance. When the channel quality is good, the error correction capability of the RS code is reduced to reduce transmission delay and power consumption. When the channel quality is poor, the error correction capability of the RS code is increased to improve the bit error rate performance and enhance the robustness of the system. And through the interleaving process of the Turbo encoder, the burst errors are discretely distributed to different code words, and the burst errors are randomized, so that the outer code is easy to decode correctly, and the data is also randomized, which increases the code length, improves the error correction performance of the serial cascade code, and then improves the reliability of transmission. At the same time, it also reduces the number of repeated transmissions, further improving the throughput and efficiency of the system.
[0030] On the other hand, in order to solve the above problem, the present invention provides an adaptive hybrid automatic repeat request device, which is applied to a communication system, wherein the communication system includes a transmitting end and a receiving end, the transmitting end includes an RS encoder and a Turbo encoder, the receiving end includes a decoder, and the adaptive hybrid automatic repeat request device includes:
[0031] A processing unit is configured to, after the transmitting end receives the current target information, encode the current target information through the RS encoder to obtain initial coded data; and interleave and encode the initial coded data through the Turbo encoder to obtain temporary coded data;
[0032] a judgment unit, configured to decode the temporary coded data through the decoder to obtain decoded data; and judge the number of bit errors in the decoded data; if the number of bit errors is not within a preset error range, obtain a current bit error rate according to the current target information and the decoded data, and compare the current bit error rate with a preset bit error rate to obtain a comparison result;
[0033] The processing unit is further configured to adjust the parameters of the RS encoder according to the comparison result to change the code rate of the initial encoded data, and feed back negative confirmation information to the transmitting end to request retransmission.
[0034] The advantages of the adaptive hybrid automatic repeat request device described in the present invention and the adaptive hybrid automatic repeat request method described in the present invention are the same as those of the prior art, which will not be described in detail here.
[0035] On the other hand, to solve the above problem, the present invention provides a communication retransmission device, including a memory and a processor;
[0036] The memory is used to store computer programs;
[0037] The processor is used to implement the adaptive hybrid automatic repeat request method as described above when executing the computer program.
[0038] The communication retransmission device of the present invention and the adaptive hybrid automatic repeat request method have the same advantages over the prior art, which will not be described in detail here.
[0039] On the other hand, to solve the above problem, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the adaptive hybrid automatic repeat request method as described above is implemented.
[0040] The computer-readable storage medium of the present invention and the adaptive hybrid automatic repeat request method have the same advantages over the prior art, which will not be described in detail here.
[0041] On the other hand, to solve the above problem, the present invention provides a multi-mode adaptive retransmission method, comprising:
[0042] Determine a current working mode, where the current working mode includes a first transmission mode or a second transmission mode, where the second transmission mode is a working mode based on the adaptive hybrid automatic repeat request method;
[0043] When the current working mode is the first transmission mode, the number of negative confirmation information is compared with a first preset value;
[0044] When the number of the negative confirmation information is greater than the first preset value, switching the current working mode from the first transmission mode to the second transmission mode;
[0045] When the current working mode is the second transmission mode, the number of confirmation information is compared with a second preset value;
[0046] When the amount of the confirmation information is greater than the second preset value, the current working mode is switched from the second transmission mode to the first transmission mode.
[0047] The multi-mode adaptive retransmission method of the present invention introduces multiple working modes and dynamically switches between the working modes through preset values (including first preset values and second preset values). This strategy enables intelligent selection of a suitable error correction scheme according to the real-time channel status, thereby balancing the throughput, energy consumption and real-time requirements of the system.
[0048] On the other hand, in order to solve the above problem, the present invention provides a multi-mode adaptive retransmission device, comprising:
[0049] A judgment module, used to determine a current working mode, wherein the current working mode includes a first transmission mode or a second transmission mode, wherein the second transmission mode is a working mode based on the adaptive hybrid automatic repeat request method;
[0050] The judging module is further configured to judge the number of negative confirmation information and a first preset value when the current working mode is the first transmission mode;
[0051] The judgment module is further configured to switch the current working mode from the first transmission mode to the second transmission mode when the number of the negative confirmation information is greater than the first preset value;
[0052] The judging module is further configured to judge the amount of confirmation information against a second preset value when the current working mode is the second transmission mode;
[0053] The judgment module is further configured to switch the current working mode from the second transmission mode to the first transmission mode when the amount of the confirmation information is greater than the second preset value.
[0054] The advantages of the multi-mode adaptive retransmission device described in the present invention and the multi-mode adaptive retransmission method described in the present invention are the same as those of the prior art, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A schematic diagram of a flow chart of an adaptive hybrid automatic repeat request method according to an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of the structure of a communication system according to an embodiment of the present invention;
[0057] Figure 3 A schematic diagram of a processing process of a Turbo encoder according to an embodiment of the present invention;
[0058] Figure 4 Schematic diagram of data frame bit error rate curves of three transmission modes according to an embodiment of the present invention;
[0059] Figure 5 A schematic diagram of average transmission times of data frames in three transmission modes according to an embodiment of the present invention;
[0060] Figure 6 A schematic diagram of the structure of a communication retransmission device according to an embodiment of the present invention;
[0061] Figure 7 Schematic diagram of a mode conversion mechanism according to an embodiment of the present invention. DETAILED DESCRIPTION
[0062] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0063] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0064] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0065] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0066] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0067] like Figure 1 As shown, an adaptive hybrid automatic repeat request method provided by an embodiment of the present invention is applied to a communication system, wherein the communication system includes a transmitting end and a receiving end, the transmitting end includes an RS encoder and a Turbo encoder, and the receiving end includes a decoder. The adaptive hybrid automatic repeat request method includes:
[0068] S100, when the transmitting end receives the current target information, the current target information is encoded by the RS encoder to obtain initial encoded data; and the initial encoded data is interleaved and encoded by the Turbo encoder to obtain temporary encoded data;
[0069] Specifically, Figure 2 As shown in the figure, the structure diagram of the communication system is shown. At the transmitting end, the current target information, such as image, audio or other types of data, is received. The received current target information is input into the RS encoder. RS (Reed-Solomon) coding is a forward error correction coding technology that can add redundant information in data transmission so that a certain number of errors can be detected and corrected at the receiving end. The encoder will encode the target information according to the specified error correction capability to generate initial coded data, which is then passed to the Turbo encoder. Turbo (turbocharger) coding is a convolutional coding technology based on parallel connection, which can provide high coding efficiency and low error rate. The Turbo encoder interleaves and encodes the initial coded data, where interleaving: rearranges the data to disrupt the order of the original data. This step can improve the anti-interference ability in transmission and make the error distribution more uniform. Encoding: The interleaved data display is encoded by an energy-saving convolutional encoder, which enhances the robustness of the signal. Finally, the Turbo encoder outputs temporary coded data that has been interleaved and encoded.
[0070] It should be noted that the encoding and decoding processes can be stored in real time, or the results of any process can be stored to facilitate subsequent retransmission.
[0071] After using RS coding and Turbo coding, the bit error rate in data transmission is significantly reduced, which can better resist the influence of channel noise and detect and correct a certain degree of errors at the receiving end by adding redundant information, thereby improving the reliability of data transmission. In addition, Turbo coding can compress information in a way close to the Shannon limit and optimize the efficiency of data transmission. Due to the flexibility of RS coding and Turbo coding, these two coding technologies can adapt to different channel conditions and provide corresponding coding strategies for changing environments.
[0072] S200, decoding the temporary coded data by a decoder to obtain decoded data; and determining the number of errors in the decoded data;
[0073] Specifically, Figure 2As shown in the figure, the decoder includes an RS decoder and a Turbo decoder. The temporary coded data generated after RS coding and Turbo coding at the transmitting end is received by the decoder at the receiving end. These data now need to be decoded to restore the original information. The Turbo decoder first processes the received temporary coded data, and usually uses soft decision input technology, which means that the reliability of the signal (such as signal-to-noise ratio) is considered during the decoding process, not just the value of the bit (0 or 1). And the Turbo encoder usually adopts iterative decoding, which is divided into two or more sub-encoders (i.e., forward and backward decoders), and improves the decoding accuracy through multiple rounds of iterations. The output of each round of iteration will be fed back to the next round to continuously improve the decoding results. After iterative processing, the Turbo decoder outputs temporary decoded data, and finally, it is decoded by the RS decoder to obtain the final decoded data.
[0074] The receiving end needs to compare the decoded data with the original data (if there is a copy of the original data, or through a preset checksum verification mechanism). By comparing, the receiving end can calculate the number of error bits in the decoded data, that is, the number of error codes. This can be achieved through a simple bit exclusive OR operation (XOR), where the same bits are 0, different bits are 1, and the number of 1s is counted.
[0075] Through effective decoding algorithms (such as Turbo decoding), the original information can be restored to the maximum extent, the bit error rate can be reduced, and the reliability of data transmission can be improved. The process of determining the number of bit errors enables the receiving end to evaluate the data integrity during the transmission process and take measures such as requesting retransmission or correcting errors. Accurate decoding and error judgment improve the overall performance of the communication system and user experience, and it is also crucial to ensure the accurate transmission of data.
[0076] S300, if the number of bit errors is not within a preset error range, obtaining a current bit error rate according to current target information and decoded data, and comparing the current bit error rate with a preset bit error rate to obtain a comparison result;
[0077] Specifically, in the decoding step, the number of bit errors (i.e., the number of erroneous bits) in the decoded data is first calculated. This value will be used for subsequent comparison and evaluation. The current bit error rate (BER) refers to the ratio between the number of erroneous bits in the received data and the total number of received bits, and is usually calculated using the following formula:
[0078] Current bit error rate = number of bit errors / total number of bits; the total number of bits can be obtained through the current target information.
[0079] During the design phase, an acceptable bit error rate threshold (preset bit error rate) is set to ensure that the system can operate normally under specific conditions. Directly compare the currently calculated bit error rate with the preset bit error rate: If the current bit error rate is less than or equal to the preset bit error rate: It indicates that the transmission quality is good and the communication system is within the normal range. If the current bit error rate is greater than the preset bit error rate: It indicates that the transmission quality is poor, the communication may be disturbed or lost, and measures need to be taken.
[0080] By monitoring and comparing bit error rates, communication problems that may cause data loss or errors can be proactively identified and repaired, improving the reliability of data transmission. According to changes in bit error rates, its parameters can be dynamically adjusted to adapt to different channel environments, user needs and application scenarios, thereby ensuring continuous and efficient communication.
[0081] By comparing the preset bit error rates and implementing corresponding measures, the communication system gains stronger anti-interference capabilities, enabling it to operate normally under harsh conditions.
[0082] S400, adjusting the parameters of the RS encoder according to the comparison result to change the code rate of the initial encoded data, and feeding back negative confirmation information to the transmitting end to request retransmission.
[0083] Specifically, adjusting the parameters of the RS (Reed-Solomon) encoder according to the comparison results, changing the code rate of the initial encoded data, and feeding back negative confirmation information to the transmitter to request retransmission are important steps to ensure the reliability of data communication. The receiver calculates the current bit error rate (BER) by comparing the decoded data with the original target information and compares it with the preset bit error rate. If the current bit error rate is higher than the preset value, it indicates that the data transmission quality is poor. That is, the receiver determines that the transmission error exceeds the tolerance range, and then starts to adjust the parameters of the RS encoder. The code rate of the RS encoder is usually determined by the number of input data bits and the total number of output data bits. If a high error rate occurs, you can try to adjust the parameters by increasing the redundant bits: by selecting a higher error correction capability (for example, increasing the number of symbols in the coding block), the system's resistance to errors can be improved. Or you can adjust the parameters by reducing the length of the information content: reduce the amount of data transmitted in each data block and reduce the error propagation of each data packet.
[0084] After adjusting the encoder parameters, the receiver will generate new initial encoded data to adapt to the new settings. This means that the new data sent will have stronger error correction characteristics.
[0085] When the bit error rate is judged to have exceeded the preset bit error rate, the receiving end will feedback negative confirmation information (NACK) to the transmitting end. This is usually achieved in the form of a control message or protocol packet, indicating that the currently received data has errors and requesting retransmission.
[0086] By adjusting the parameters of the RS encoder and requesting retransmission, the system can effectively reduce the bit error rate and improve the reliability of data transmission. In addition, increasing the coding redundancy bits or adjusting other parameters can improve the resistance to various interferences and fading in communication, ensuring more stable data transmission. This process has dynamic adaptability and can adjust the data transmission strategy according to the real-time bit error situation to effectively respond to changes in the channel environment. In addition, by adjusting the coding parameters in the initial stage, it can reduce the bit error rate while reducing the cost required for subsequent retransmissions, thereby improving overall transmission efficiency.
[0087] Temporary coded data is sent from the transmitter to the receiver, often based on the linear time-varying underwater acoustic channel model of the BELLHOP deterministic channel model (BELLHOP is a software tool for underwater acoustic propagation modeling, which can simulate the linear time-varying underwater acoustic channel in the deterministic channel model). That is, based on the BELLHOP deterministic channel model, the idea of wide-sense stationary incoherent scattering (WSSUS) is introduced.
[0088] The amplitude modulation fading simulator is used to simulate the wide-sense stationary non-correlated scattering channel, and the mathematical expression of the linear time-varying underwater acoustic channel model is as follows:
[0089] (1);
[0090] in: Indicates that at time t, the signal undergoes a delay The channel response after ; N is the number of multipaths, which is determined by the channel model; (t) is the amplitude attenuation of the nth path; is the delay of the nth path, which is a Gaussian random variable whose mean is determined by the BELLHOP deterministic channel model; is the carrier frequency; Indicates that the original signal is delayed In the form after , j is the imaginary unit, which is usually used to represent the imaginary part of a complex number.
[0091] According to the simulation test model, the characteristics of the underwater acoustic channel are manifested in effects such as multipath propagation and Doppler frequency shift. The multipath propagation effect will cause amplitude fading and inter-symbol interference of the signal in the time domain, which will seriously affect the transmission rate of the communication system. In the frequency domain, this effect is manifested as frequency selective fading. In addition, the Doppler effect not only causes time selective fading of the channel, but also causes frequency shift and Doppler spread. This complex time-varying, space-varying and frequency-varying characteristics of the underwater acoustic channel have brought many inconveniences to underwater acoustic communication and seriously affected the real-time and reliability of communication.
[0092] Therefore, through the adaptive hybrid automatic repeat request method described in this embodiment, the current target information is encoded through the RS encoder and the Turbo encoder, the bit error rate in data transmission is significantly reduced, and it can better resist the influence of channel noise and by adding redundant information, a certain degree of errors can be detected and corrected at the receiving end, thereby improving the reliability of data transmission.
[0093] In this embodiment, when the transmitting end receives the current target information, the RS encoder is used to encode the current target information. That is, the RS encoder divides the data into data blocks and adds check symbols to generate initial coded data. This process improves the error correction capability of the data. The initial coded data is then interleaved and Turbo encoded. Turbo encoding optimizes the efficiency of data transmission by processing multiple data streams in parallel, while enhancing the error correction capability, thereby generating temporary coded data. At the receiving end, the decoder receives the temporary coded data, decodes it using the RS decoder and the Turbo decoder, and obtains the decoded data. After the decoding is completed, the number of error codes in the decoded data is calculated. If the number of error codes is within the preset error range, the current transmission is considered successful. If the number of error codes is not within the preset error range, the current bit error rate (BER) is calculated based on the current target information and the decoded data. At this time, the current bit error rate is compared with the preset bit error rate to determine the quality of the channel. If the current bit error rate exceeds the preset range, the parameters of the RS encoder will be adjusted. For example, the error correction capability can be improved by increasing the number of check symbols (reducing the data length). If the current bit error rate is within an acceptable range, it is also possible to consider reducing the number of check symbols to increase the data transmission rate. Finally, according to the adjustment results of the encoder parameters, negative confirmation information (NACK) is fed back to the transmitter at the same time to request retransmission.
[0094] Therefore, by dynamically adjusting the parameters of the RS encoder, errors can be effectively reduced according to changes in the channel environment and the success rate of data transmission can be improved, that is, the error correction capability of the RS code can be dynamically adjusted to optimize the transmission performance. When the channel quality is good, the error correction capability of the RS code is reduced to reduce transmission delay and power consumption. When the channel quality is poor, the error correction capability of the RS code is increased to improve the bit error rate performance and enhance the robustness of the system. And through the interleaving process of the Turbo encoder, the burst errors are discretely distributed to different code words, and the burst errors are randomized, so that the outer code is easy to decode correctly, and the data is also randomized, which increases the code length, improves the error correction performance of the serial cascade code, and then improves the reliability of transmission. At the same time, it also reduces the number of repeated transmissions, further improving the throughput and efficiency of the system.
[0095] Optionally, the interleaving and encoding the initial encoded data by the Turbo encoder to obtain temporary encoded data includes:
[0096] Dividing the initial coded data according to a preset convolutional code to obtain a plurality of component coded data;
[0097] Selecting target component coded data, wherein the target component coded data includes any of the component coded data;
[0098] The target component coded data is encoded and interleaved to obtain a temporary check sequence; and the temporary check sequence is merged with the remaining component coded data to obtain the temporary coded data.
[0099] Specifically, first, the initial coded data is divided according to a preset convolutional coding rule. This division divides the initial data into multiple component coded data, each component representing a part of the original data, which is convenient for subsequent processing. Among the multiple component coded data obtained by segmentation, one or more target component coded data are selected. These target components may be selected according to specific needs or strategies, and may only process part of the important information. The selected target component coded data is encoded, and this step usually involves using one of the coding chains of the Turbo coding algorithm to generate new redundant bits to provide error correction capabilities. The purpose of interleaving is to rearrange the data so that adjacent bits are not adjacent during transmission, thereby resisting burst noise in the time domain. This operation can enhance the signal's anti-interference ability. After encoding and interleaving the target component coded data, the generated output is called a temporary check sequence. This sequence contains redundant information for the input data, aiming to improve the ability of future error detection and correction. The generated temporary check sequence is merged with the remaining component coded data. This step combines the redundant information and other uncoded data to form temporary coded data, which is usually the final signal to be transmitted.
[0100] Through the processing of coding and interleaving, the temporarily coded data can effectively improve the ability to resist interference and error. When the signal is interfered during transmission, the system will be more likely to detect and correct errors and reduce the bit error rate. Dividing the data into components and selectively processing them can focus on protecting important information without affecting the overall data volume. This method effectively utilizes bandwidth and improves data transmission efficiency. The interleaving process can greatly enhance the robustness of the signal in the time domain. Even in poor channel conditions, the signal can be accurately received. This protection mechanism is also effective in the frequency domain, reducing the impact of frequency selective fading.
[0101] This process allows different component encoding data to be selected during encoding, which provides great flexibility and adaptability, and can adjust the encoding strategy according to actual needs. At the same time, this process also provides a way to expand the subsequent various encoding methods and standards. And through preprocessing and the generation of temporary check sequences, decoding can be quickly performed at the receiving end, improving the real-time performance of the entire communication system and meeting application scenarios that require efficient transmission.
[0102] Optionally, the component coded data includes first component coded data, second component coded data and third component coded data; the temporary check sequence includes a first check sequence and a second check sequence; encoding and interleaving the target component coded data to obtain a temporary check sequence; and fusing the temporary check sequence with the remaining component coded data to obtain the temporary coded data, comprises:
[0103] performing convolution processing on the second component coded data to obtain the first check sequence;
[0104] performing interleaving processing on the third component coded data to obtain the second check sequence;
[0105] The first check sequence, the second check sequence and the first component coded data are merged to obtain the temporary coded data.
[0106] Specifically, the initial coded data is divided into three component coded data: first component coded data, second component coded data, and third component coded data. This division allows each part to be encoded and processed independently. The second component coded data is convolved, and this process uses a specific convolutional encoder to generate redundant bits to generate a first check sequence. The convolutional encoder usually relies on a series of predefined generating polynomials to generate output by performing convolution operations on the input data stream. This process enhances the error detection and correction capabilities of data during transmission.
[0107] The third component coded data is interleaved. This operation rearranges the bits so that adjacent bits are not adjacent during transmission, which can effectively reduce the interference effect of data in the time domain. Interleaving is usually implemented using an interleaving matrix or a specific algorithm. The output generated by interleaving is called the second check sequence, which aims to enhance the signal recovery capability when the channel conditions are poor.
[0108] Finally, the first check sequence, the second check sequence and the first component coded data are merged. This process can form a new data packet by simple concatenation, overlap or according to a specific coding strategy, and finally obtain temporary coded data.
[0109] By convolutionally encoding the second component and interleaving the third component, the generated temporary check sequence can effectively improve the error detection and recovery capabilities of the signal during transmission, thereby reducing the bit error rate. Multiple component coding and check sequences are combined to generate temporary coded data, so that each transmission contains the necessary redundant information, ensuring that even under poor channel conditions, a high transmission efficiency can be maintained. Among them, interleaving rearranges the data so that adjacent bits do not appear one after another during transmission, thereby effectively alleviating interference caused by multipath propagation. This strategy is particularly effective in dynamic channel environments.
[0110] This process allows different coding strategies to be applied to different component data, making the system highly flexible and able to optimize data processing solutions according to actual needs. By preprocessing the generated temporary check sequence, the receiving end can decode the data faster, thereby improving the real-time performance of the entire communication system and meeting the application requirements for fast transmission.
[0111] Optionally, the fusing the first check sequence, the second check sequence and the first component coded data to obtain the temporary coded data includes:
[0112] Performing puncturing processing on the first check sequence and the second check sequence respectively based on a preset puncturing matrix; and fusing the punctured sequences to obtain a target check sequence;
[0113] The target check sequence is merged with the first component coded data to obtain the temporary coded data.
[0114] Specifically, a preset puncturing matrix is used to perform puncturing on the first check sequence and the second check sequence respectively. The puncturing matrix is a matrix with a specific structure, which can effectively determine which bits are retained and which bits are discarded in the check sequence to achieve the purpose of data compression or optimization. The puncturing matrix is applied to the first check sequence and the second check sequence respectively to reduce redundant information so that the most critical information is retained in each sequence to reduce the complexity of subsequent processing.
[0115] The first check sequence and the second check sequence after pruning are merged to obtain the target check sequence. This process may be done by concatenation, weighted averaging or other fusion algorithms to comprehensively retain the information to form a new check sequence to enhance the integrity and reliability of subsequent data. Finally, the target check sequence is merged with the first component coded data. The information in the target check sequence is integrated with the data in the first component to form the final temporary coded data. This data will carry the key information of the original data and redundant check information for errors, preparing for subsequent transmission.
[0116] By eliminating redundant information through puncturing, the check sequence is made more concise, thereby improving the efficiency of subsequent encoding and decoding. This method can optimize the use of storage and transmission resources. And the puncturing process ensures that the most critical information is retained. The target check sequence will contain information that is crucial for error recovery, which improves the system's ability to correct errors. And because the check information has been punctured and fused, the temporary coded data formed is more adaptable to the dynamic changes of the channel, thereby tolerating higher signal fading and resisting adverse effects such as multipath propagation. And through appropriate puncturing and fusion processing, the computational complexity of subsequent decoding operations can also be reduced, thereby achieving faster real-time decoding and improving the overall response speed of the system. Finally, the punctured check information is combined with the coded data to increase the reliability of the transmitted data, ensure that the information can be stably transmitted under harsh channel conditions, and provide safer information transmission.
[0117] This process allows different puncturing strategies and fusion methods to be adopted for different check sequences, making it highly flexible and adaptable to different application scenarios and communication requirements.
[0118] In some embodiments, Figure 3 As shown in FIG. 1 , a schematic diagram of the processing process of the Turbo encoder is shown. The preset convolutional code selects a convolutional code with a code rate of 1 / 3. In the Turbo encoder, the initial coded data is divided into the first component coded data Cs, the second component coded data and the third component coded data. The second component coded data is passed through the convolutional encoder to generate the first check sequence C1p. The third component coded data is randomly interleaved and then iterated to finally obtain the second check sequence C2p. The check sequences C1p and C2p are punctured using a preset puncturing matrix, and the punctured sequences are fused to obtain the target check sequence Cp to improve the coding rate. Finally, Cs and Cp are connected to obtain the final coding output, that is, the temporary coded data.
[0119] Optionally, the adaptive hybrid automatic repeat request method further includes:
[0120] When the receiving end receives the temporary coded data, determining whether the current temporary coded data is retransmission data;
[0121] If it is the retransmitted data, the current temporary coded data is merged with the last temporary coded data to obtain merged data, and the merged data is decoded.
[0122] Specifically, the receiving end obtains temporary coded data during the receiving process. These data are generated by previous coding and interleaving processing, and may be affected by the channel environment and produce errors. The receiving end analyzes the temporary coded data just received to determine whether the data is retransmitted data. This judgment is usually based on some kind of mark or sequence number, which is attached to the data packet by the sending end when sending. If the data is a retransmission triggered by the previous data transmission failure, the receiving end will recognize it.
[0123] If the receiving end confirms that the current temporary coded data is retransmitted data, it will be merged with the previously received temporary coded data. The fusion process may include simple concatenation: connecting two data packets together. Or weighted averaging: if the target data is similar information sent continuously, weighted averaging is used to retain more reliable information. Or bit selection: select the most likely correct bits in the two data packets for combination. The purpose of this fusion is to combine the latest received data with the previous data to use the information of both to improve the overall reliability of the data.
[0124] After obtaining the fused data, the receiving end will perform decoding processing. The decoding process can restore the original data with the help of redundant information and error detection mechanism. Through the decoding process, the receiving end can reconstruct the original information more accurately, thereby effectively correcting the errors in the transmission.
[0125] By fusing retransmitted data, the receiving end can improve data recovery capabilities, reduce bit error rates, and ensure correct information transmission in the face of channel noise or loss. At the same time, combining repeated information received at different times can reduce the impact of instantaneous interference on data reception and improve the robustness of the signal under actual transmission conditions. Through the adaptive retransmission mechanism, only the distorted data part can be retransmitted when necessary, instead of all the data, thereby effectively utilizing bandwidth resources and reducing unnecessary network burden. This method allows adaptive adjustment of the retransmission mechanism under dynamic channel conditions, and can select appropriate retransmission strategies based on the network environment and requirements. By fusing retransmissions and original signals, the receiving end can achieve the purpose of information recovery more quickly, reduce the waiting time for data packets, and thus reduce the overall transmission delay.
[0126] In summary, the adaptive hybrid automatic repeat request method improves the reliability and efficiency of data transmission by intelligently managing the data retransmission process, so that the communication system can better adapt to complex channel conditions.
[0127] Optionally, adjusting the parameters of the RS encoder according to the comparison result to change the bit rate of the initial encoded data includes:
[0128] Obtaining basic parameters of the RS encoder, wherein the basic parameters include an initial codeword length and an initial data length;
[0129] When the current bit error rate is greater than the preset bit error rate, reducing the initial data length to increase the corresponding number of check symbols;
[0130] When the current bit error rate is less than the preset bit error rate, increasing the initial data length to reduce the corresponding number of check symbols;
[0131] Reconfiguring parameters of the RS encoder according to the initial codeword length and the adjusted initial data length;
[0132] The number of check symbols is obtained by the initial codeword length and the corresponding data length.
[0133] Specifically, when the current bit error rate exceeds the preset value, the parameters of the RS encoder will be adjusted to adapt to the channel. First, the basic parameters of the RS encoder are obtained, including: Initial codeword length (N): refers to the total length of the codeword generated by RS encoding, usually the sum of the data length and the check symbol length. Initial data length (K): refers to the effective data length in RS encoding, that is, the encoded data part.
[0134] During the continuous data transmission process, the receiving end monitors and calculates the current bit error rate (BER) in real time. The bit error rate refers to the ratio of error bits to the total number of bits in the received data, and uses this information to judge the transmission quality.
[0135] If the current bit error rate is greater than or equal to the preset bit error rate (BER_threshold), it means that the current transmission conditions are poor and data errors may occur frequently. Therefore, it is necessary to enhance the error correction capability, that is, by reducing the length of the encodable data and increasing the corresponding number of check symbols (NK) to improve the error correction capability of RS coding. More check symbols help to recover lost or damaged data and improve reliability.
[0136] If the current bit error rate is less than the preset bit error rate, it means that the channel conditions are relatively good and more data can be transmitted. The efficiency of data transmission can be improved by increasing the length of the encodable data and reducing the number of corresponding check symbols. Reconfigure the parameters of the RS encoder based on the adjusted initial data length and basic parameters.
[0137] By adding check symbols when channel conditions are poor, the error correction capability of the RS encoder is improved, which helps to better correct potential data errors, thereby ensuring the integrity of data transmission. When channel conditions are good, by increasing the data length and reducing redundant check symbols, the effective data transmission volume is increased, thereby improving bandwidth utilization and reducing latency. This dynamic adjustment process enables the coding strategy to adapt to different channel states, improves the flexibility and adaptability of the system, and can be effectively adjusted in a changing network environment. At the same time, it improves the reliability and speed of data transmission, provides better support for applications such as real-time communication and video transmission, and directly improves user experience. And by effectively managing the growth and reduction of check symbols, the channel overhead caused by excessive redundant information is reduced, making the system more economical when link conditions change. At the same time, the dynamic adaptability enables the system to quickly respond to changes in signal quality, ensuring that the data flow maintains a high degree of real-time performance in an unstable network.
[0138] In a specific embodiment, the adaptive hybrid automatic repeat request method is verified: three methods are selected, namely ARQ, RS-Turbo cascade coding scheme (RS-Turbo scheme) and the adaptive hybrid automatic repeat request method (RS-Turbo adaptive HARQ method) of the present invention, and the three data retransmission methods of ARQ, RS-Turbo and RS-Turbo adaptive HARQ methods are tested under different signal-to-noise ratio conditions. First, a linear time-varying underwater acoustic channel model is used, and then the source data (current target information) is encoded and modulated, the data is transmitted through this channel and noise is added, the receiving end demodulates and decodes the encoded data, calculates the bit error rate, and feeds back an ACK or NACK message based on the result, and the data frame bit error rate and average number of transmissions of each method are counted, and a performance curve is drawn. Figure 4 Schematic diagram of data frame bit error rate curves of three transmission modes (data frame bit error rate curves of three error control modes) and Figure 5 Schematic diagram of the average transmission times of data frames for three transmission modes (the average transmission times of data frames for three error control modes).
[0139] pass Figure 4 and Figure 5It can be seen that the bit error rate of the RS-Turbo-based adaptive HARQ method is lower than that of the RS-Turbo scheme under low signal-to-noise ratio conditions. When Eb / No is 10dB, the bit error rates of adaptive HARQ and RS-Turbo are reduced to close to 10-6, while the bit error rate of ARQ is still around 10-4, which shows that adaptive HARQ and RS-Turbo have better error correction performance under medium and high signal-to-noise ratios. When Eb / N0 is 6 dB, the number of retransmissions of adaptive HARQ is 2 times, and the number of retransmissions of ARO is 3 times; when Eb / N0 is 12 dB, the number of retransmissions of adaptive HARQ is close to 1, and the number of retransmissions of ARQ is 2 times, which shows that adaptive HARQ successfully reduces the frequency of data retransmissions under medium and high signal-to-noise ratio conditions by combining FEC and ARQ. Adaptive HARQ dynamically adjusts the error correction capability of the RS code, and its comprehensive performance is better than that of traditional ARQ and RS-Turbo schemes.
[0140] pass Figure 4 and Figure 5 It can be seen that the bit error rate of the RS-Turbo adaptive HARQ method under low signal-to-noise ratio conditions is lower than that of the traditional RS-Turbo scheme. When the signal-to-noise ratio (Eb / N0) is 10dB, the bit error rates of the RS-Turbo adaptive HARQ method and RS-Turbo have dropped to nearly 10 -6 , while the bit error rate of the ARQ scheme remains at 10 -4 This result shows that the RS-Turbo-based adaptive HARQ method and RS-Turbo show better error correction performance in medium and high signal-to-noise ratio environments.
[0141] When the signal-to-noise ratio (Eb / N0) is 6dB, the number of retransmissions based on the RS-Turbo adaptive HARQ method is 2, while the number of retransmissions for the traditional ARQ scheme is 3; at the same time, when the signal-to-noise ratio (Eb / N0) is 12dB, the number of retransmissions based on the RS-Turbo adaptive HARQ method is close to 1, and the number of retransmissions for ARQ is 2. These data show that the RS-Turbo adaptive HARQ method successfully reduces the frequency of data retransmissions under medium and high signal-to-noise ratio conditions by combining forward error correction and automatic repeat request mechanisms.
[0142] In summary, the RS-Turbo-based adaptive HARQ method dynamically adjusts the error correction capability of RS coding, and its overall performance is significantly better than that of traditional ARQ schemes and RS-Turbo schemes, and can provide higher transmission reliability and efficiency under changing channel conditions.
[0143] An adaptive hybrid automatic repeat request device provided by an embodiment of the present invention is applied to a communication system, wherein the communication system includes a transmitting end and a receiving end, the transmitting end includes an RS encoder and a Turbo encoder, the receiving end includes a decoder, and the adaptive hybrid automatic repeat request device includes:
[0144] A processing unit is configured to, after the transmitting end receives the current target information, encode the current target information through the RS encoder to obtain initial coded data; and interleave and encode the initial coded data through the Turbo encoder to obtain temporary coded data;
[0145] a judgment unit, configured to decode the temporary coded data through the decoder to obtain decoded data; and judge the number of bit errors in the decoded data; if the number of bit errors is not within a preset error range, obtain a current bit error rate according to the current target information and the decoded data, and compare the current bit error rate with a preset bit error rate to obtain a comparison result;
[0146] The processing unit is further configured to adjust the parameters of the RS encoder according to the comparison result to change the code rate of the initial encoded data, and feed back negative confirmation information to the transmitting end to request retransmission.
[0147] The adaptive hybrid automatic repeat request device of this embodiment is used to implement the adaptive hybrid automatic repeat request method as described above. Its advantages over the prior art are the same as the advantages of the adaptive hybrid automatic repeat request method as described above over the prior art, and will not be repeated here.
[0148] like Figure 6 As shown, a communication retransmission device 600 provided in an embodiment of the present invention includes a memory 610 and a processor 620; the memory 610 is used to store a computer program; the processor 620 is used to implement the adaptive hybrid automatic repeat request method as described above when executing the computer program.
[0149] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the adaptive hybrid automatic repeat request method is implemented.
[0150] Now will describe the communication retransmission equipment 600 that can be used as the server or client of the present invention, it is the example of the hardware equipment that can be applied to each aspect of the present invention.Communication retransmission equipment 600 is intended to represent the computer equipment of various forms of digital electronics, such as, laptop computer, desktop computer, workbench, personal digital assistant, server, blade server, mainframe computer and other suitable computer.Communication retransmission equipment 600 can also represent various forms of mobile device, such as, personal digital processing, cellular phone, smart phone, wearable device and other similar computing device.The parts shown in this article, their connection and relationship, and their functions are only as examples, and are not intended to limit the realization of the present invention described and / or required herein.
[0151] The communication retransmission device 600 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0152] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0153] An embodiment of the present invention provides a multi-mode adaptive retransmission method, including:
[0154] Determine a current working mode, where the current working mode includes a first transmission mode and a second transmission mode, where the second transmission mode is a working mode based on the adaptive hybrid automatic repeat request method;
[0155] When the current working mode is the first transmission mode, the number of negative confirmation information is compared with a first preset value;
[0156] When the number of the negative confirmation information is greater than the first preset value, switching the current working mode from the first transmission mode to the second transmission mode;
[0157] When the current working mode is the second transmission mode, the number of confirmation information is compared with a second preset value;
[0158] When the amount of the confirmation information is greater than the second preset value, the current working mode is switched from the second transmission mode to the first transmission mode.
[0159] Specifically, two working modes are set according to different channel states. The first working mode is a pure ARQ working mode, and the second working mode adopts the adaptive hybrid automatic repeat request method.
[0160] Among them, the pure automatic repeat request (ARQ) mode is a basic data transmission protocol that does not use any forward error correction mechanism. Its implementation process is as follows: the sender first sends a data packet to the receiver. After receiving the data packet, the receiver uses an error detection code (such as a cyclic redundancy check, CRC) to detect errors in the data. If the receiver detects that there is no error in the data packet, it will send an acknowledgment message (ACK) to the sender through the feedback channel to notify the sender that the data packet has been successfully received. If the receiver finds that there is an error in the data packet, it will send a negative acknowledgment message (NACK, negative acknowledgment message) back to the sender, requesting the data packet to be resent. If the sender receives an ACK signal, it will continue to send the next data packet. If a NACK signal is received, the sender will retransmit the erroneous data packet. If the number of retransmissions reaches the set maximum number of retransmissions, or if no feedback signal is received within the specified timeout period, the sender will automatically retransmit or terminate the transmission to ensure the correctness and integrity of data transmission. This process will continue until all data packets are successfully transmitted or the retransmission limit is reached.
[0161] When the current working mode is the first transmission mode, the system will monitor the number of negative confirmation information (NACK) fed back by the receiving end. The number of negative confirmation information is compared with the first preset value. If the number of negative confirmation information exceeds the preset value, it means that the channel environment is poor and the demand for data retransmission increases.
[0162] When the number of negative confirmation information is greater than a first preset value, the current working mode is switched to the second transmission mode to adopt a more efficient retransmission mechanism and use forward error correction to reduce the number of retransmissions.
[0163] When the current working mode is the second transmission mode, the system will monitor the number of confirmation messages (ACK) again. The current number of confirmation messages is compared with the second preset value. If the number of confirmation messages exceeds the preset value, it means that the data transmission is relatively smooth and the correct reception rate of the data packet is high.
[0164] When the amount of confirmation information is greater than a second preset value, the system switches the current working mode from the second transmission mode back to the first transmission mode. This switching is based on the belief that it is suitable for the current channel conditions.
[0165] This method can adaptively switch transmission modes according to real-time network feedback, avoiding static mode selection when channel conditions change, making the data transmission process more flexible. By switching to HARQ mode in an environment with a large number of negative acknowledgments, the data traffic caused by retransmission can be reduced, thereby improving the overall efficiency of the network. In the case of poor channel conditions, automatic switching to a more reliable hybrid retransmission mode helps reduce the risk of data loss and ensure the correctness and integrity of data transmission. When data transmission is smooth, it returns to ARQ mode, predicts channel conditions, reduces redundancy, saves bandwidth and processing resources, and further improves the economy of transmission. Adaptive adjustments ensure the timeliness and accuracy of data transmission, improving the user experience when using applications such as streaming media and online games.
[0166] That is, the multi-mode adaptive retransmission method introduces multiple working modes by monitoring network feedback and dynamically adjusting the transmission mode, and dynamically switches between the working modes through preset values (including the first preset value and the second preset value). This strategy enables intelligent selection of a suitable error correction scheme based on the real-time channel status, thereby balancing the system's throughput, energy consumption and real-time requirements, enhancing the system's reliability, and optimizing the efficiency of data transmission.
[0167] In some embodiments, three working modes (transmission modes) are selected, including pure ARQ and adaptive hybrid automatic repeat request methods using RS codes with different code rates (based on RS-Turbo adaptive HARQ method, namely HARQ1 and HARQ1), such as Figure 7 is a schematic diagram of the mode conversion mechanism. Figure 7 The ARQ mode in is a pure ARQ transmission mode.
[0168] Switching from pure ARQ to HARQ1: Calculate the number of NACKs received by the transmitter. When the number of NACKs exceeds the parameter α1, switch from pure ARQ mode to HARQ1 mode.
[0169] Switching from HARQ1 to HARQ2: Calculate the number of NACKs received by the transmitter. When the number of NACKs exceeds parameter α2, switch from HARQ1 mode to HARQ2 mode.
[0170] Switching from HARQ1 to pure ARQ: Calculate the number of ACKs received by the transmitter. When the number of ACKs exceeds the parameter β, switch from HARQ mode back to pure ARQ mode.
[0171] Among them, α1 represents the threshold parameter (first preset value) for switching from pure ARQ mode to HARQ1 mode, and switching is performed when the number of NACKs exceeds this value; α2 represents the threshold parameter for switching from HARQ1 mode to HARQ2 mode, and switching is performed when the number of NACKs exceeds this value; β represents the threshold parameter (second preset value) for switching from HARQ mode back to pure ARQ mode, and switching is performed when the number of ACKs exceeds this value.
[0172] The throughput of traditional ARQ is the throughput of pure ARQ multiplied by the weight (N-CRC) / N, which can be specifically expressed as:
[0173] (2);
[0174] in, is the throughput of traditional ARQ, is the packet error rate of pure ARQ, S represents the average number of retransmissions of each data packet, is the symbol length of the data packet, and CRC is the cyclic redundancy check bit.
[0175] The throughput of HARQ1 is expressed as:
[0176] (3);
[0177] in, is the throughput of HARQ1, is the number of corresponding information symbols, is the symbol error probability, is the probability of correctly receiving the i-th symbol, i is the number of correct symbols successfully received, and t is the threshold for the number of acceptable correct symbols. When i=t+1, the system begins to consider the conditions for successful reception of the data packet. Only when at least t+1 correct symbols are received, the system will consider that the data packet may be successfully transmitted.
[0178] For the transition point , which is used to calculate the number of NACKs, at which point the pure ARQ mode switches to HARQ1 under low and medium bit error rate conditions, that is, at which point the same throughput is achieved, namely:
[0179] = (4);
[0180] Formula (4) is used to calculate and , in fact and is a function of the same parameter Pb, and we can solve it to get , and then we can get :
[0181] (5);
[0182] Where W is the W most recently transmitted data packets.
[0183] Similarly, calculate the transition point from HARQ1 mode to HARQ2 ,Right now:
[0184] = (6);
[0185] Here, K1 is equal to K in the above formula (4), is the number of information symbols corresponding to the HARQ1 mode, and K2 is the number of information symbols corresponding to the HARQ2 mode.
[0186] Then we can obtain :
[0187] (7);
[0188] The parameter β is the number of monitored ACKs, and the transition is made only when there are W ACKs in the last W packets, that is:
[0189] (8).
[0190] An embodiment of the present invention provides a multi-mode adaptive retransmission device, including:
[0191] A judgment module, used to determine a current working mode, wherein the current working mode includes a first transmission mode or a second transmission mode, wherein the second transmission mode is a working mode based on the adaptive hybrid automatic repeat request method;
[0192] The judging module is further configured to judge the number of negative confirmation information and a first preset value when the current working mode is the first transmission mode;
[0193] The judgment module is further configured to switch the current working mode from the first transmission mode to the second transmission mode when the number of the negative confirmation information is greater than the first preset value;
[0194] The judging module is further configured to judge the amount of confirmation information against a second preset value when the current working mode is the second transmission mode;
[0195] The judgment module is further configured to switch the current working mode from the second transmission mode to the first transmission mode when the amount of the confirmation information is greater than the second preset value.
[0196] The advantages of the multi-mode adaptive retransmission device described in the present invention and the multi-mode adaptive retransmission method described in the present invention are the same as those of the prior art, which will not be described in detail here.
[0197] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. An adaptive hybrid automatic repeat request method, characterized in that: Applied to a communication system, the communication system includes a transmitting end and a receiving end, the transmitting end includes an RS encoder and a Turbo encoder, the receiving end includes a decoder, and the adaptive hybrid automatic repeat request method includes: When the transmitting end receives the current target information, The current target information is encoded by the RS encoder to obtain initial encoded data; and the initial encoded data is interleaved and encoded by the Turbo encoder to obtain temporary encoded data, including: Dividing the initial coded data according to a preset convolutional code to obtain a plurality of component coded data; Selecting target component coded data, wherein the target component coded data includes any of the component coded data; Encoding and interleaving the target component coded data to obtain a temporary check sequence; and fusing the temporary check sequence with the remaining component coded data to obtain the temporary coded data; Decoding the temporary coded data by the decoder to obtain decoded data; and determining the number of errors in the decoded data; If the number of bit errors is not within a preset error range, obtaining a current bit error rate according to the current target information and the decoded data, and comparing the current bit error rate with a preset bit error rate to obtain a comparison result; The method further comprises adjusting the parameters of the RS encoder according to the comparison result to change the code rate of the initial encoded data, and feeding back negative confirmation information to the transmitting end to request retransmission, comprising: Obtaining basic parameters of the RS encoder, wherein the basic parameters include an initial codeword length and an initial data length; When the current bit error rate is greater than or equal to the preset bit error rate, reducing the initial data length to increase the corresponding number of check symbols; When the current bit error rate is less than the preset bit error rate, increasing the initial data length to reduce the corresponding number of check symbols; Reconfiguring parameters of the RS encoder according to the initial codeword length and the adjusted initial data length; The number of check symbols is obtained by the initial codeword length and the corresponding data length.
2. The adaptive hybrid automatic repeat request method according to claim 1, characterized in that: The component coded data includes first component coded data, second component coded data and third component coded data; the temporary check sequence includes a first check sequence and a second check sequence; the target component coded data is encoded and interleaved to obtain a temporary check sequence; and fusing the temporary check sequence with the remaining component coded data to obtain the temporary coded data, including: Performing convolution processing on the second component coded data to obtain the first check sequence; performing interleaving processing on the third component coded data to obtain the second check sequence; The first check sequence, the second check sequence and the first component coded data are merged to obtain the temporary coded data.
3. The adaptive hybrid automatic repeat request method according to claim 2, characterized in that: The fusing the first check sequence, the second check sequence and the first component coded data to obtain the temporary coded data includes: Performing puncturing processing on the first check sequence and the second check sequence respectively based on a preset puncturing matrix; and fusing the punctured sequences to obtain a target check sequence; The target check sequence is merged with the first component coded data to obtain the temporary coded data.
4. The adaptive hybrid automatic repeat request method according to claim 1, characterized in that: Also includes: When the receiving end receives the temporary coded data, determining whether the current temporary coded data is retransmission data; If it is the retransmitted data, the current temporary coded data is merged with the last temporary coded data to obtain merged data, and the merged data is decoded.
5. An adaptive hybrid automatic repeat request device, characterized in that: Applied to a communication system, the communication system includes a transmitting end and a receiving end, the transmitting end includes an RS encoder and a Turbo encoder, the receiving end includes a decoder, and the adaptive hybrid automatic repeat request device includes: A processing unit is used for, after the transmitting end receives the current target information, encoding the current target information through the RS encoder to obtain initial coded data; and interleaving and encoding the initial coded data through the Turbo encoder to obtain temporary coded data, including: dividing the initial coded data according to a preset convolutional code to obtain a plurality of component coded data; selecting target component coded data, the target component coded data including any of the component coded data; encoding and interleaving the target component coded data to obtain a temporary check sequence; and fusing the temporary check sequence with the remaining component coded data to obtain the temporary coded data; a judgment unit, configured to decode the temporary coded data through the decoder to obtain decoded data; and judge the number of bit errors in the decoded data; if the number of bit errors is not within a preset error range, obtain a current bit error rate according to the current target information and the decoded data, and compare the current bit error rate with a preset bit error rate to obtain a comparison result; The processing unit is also used to adjust the parameters of the RS encoder according to the result of the comparison to change the code rate of the initial encoded data, and feed back negative confirmation information to the transmitting end to request retransmission, including: obtaining basic parameters of the RS encoder, the basic parameters including an initial codeword length and an initial data length; when the current bit error rate is greater than or equal to the preset bit error rate, reducing the initial data length to increase the corresponding number of check symbols; when the current bit error rate is less than the preset bit error rate, increasing the initial data length to reduce the corresponding number of check symbols; reconfiguring the parameters of the RS encoder through the initial codeword length and the adjusted initial data length; wherein the number of check symbols is obtained through the initial codeword length and the corresponding data length.
6. A communication retransmission device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the adaptive hybrid automatic repeat request method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the adaptive hybrid automatic repeat request method according to any one of claims 1 to 4 is implemented.
8. A multi-mode adaptive retransmission method, characterized in that: include: Determine a current working mode, where the current working mode includes a first transmission mode or a second transmission mode, where the second transmission mode is a working mode based on the adaptive hybrid automatic repeat request method according to any one of claims 1 to 4; When the current working mode is the first transmission mode, the number of negative confirmation information is compared with a first preset value; When the number of the negative confirmation information is greater than the first preset value, switching the current working mode from the first transmission mode to the second transmission mode; When the current working mode is the second transmission mode, the number of confirmation information is compared with a second preset value; When the amount of the confirmation information is greater than the second preset value, the current working mode is switched from the second transmission mode to the first transmission mode.
9. A multi-mode adaptive retransmission device, characterized in that: include: A judgment module, used to determine a current working mode, wherein the current working mode includes a first transmission mode or a second transmission mode, wherein the second transmission mode is a working mode based on the adaptive hybrid automatic repeat request method according to any one of claims 1 to 4; The judging module is further configured to judge the number of negative confirmation information and a first preset value when the current working mode is the first transmission mode; The judgment module is further configured to switch the current working mode from the first transmission mode to the second transmission mode when the number of the negative confirmation information is greater than the first preset value; The judging module is further configured to judge the amount of confirmation information against a second preset value when the current working mode is the second transmission mode; The judgment module is further configured to switch the current working mode from the second transmission mode to the first transmission mode when the amount of the confirmation information is greater than the second preset value.
Citation Information
Patent Citations
Hybrid automatic repeat request method of underwater sound MODEM
CN101610139A
Data packet coding processing method and device, base station and use equipment
CN107026709A
