Data transmission method and system

By real-time monitoring of bit error rates, dynamically adjusting the packet size and verification strategy, the efficiency of traditional data transmission methods in high and low bit error rates is solved, and efficient utilization of channel resources and data transmission efficiency is achieved.

CN120342969AActive Publication Date: 2025-07-18SHANGHAI XINLIJI SEMICON CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510819662.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-07-18
Estimated Expiration
2045-06-19

AI Technical Summary

Technical Problem

The existing end-to-end data transmission methods have large retransmission overhead in high bit error environments, and the protocol overhead in low bit error environments wastes resources, making it difficult to adapt to complex and changeable channel environments.

Method used

By monitoring the bit error rate in real time, adjusting the packet size and verification strategy dynamically, splitting the original data packet into small data packets, and adding verification at high bit error rate and reducing verification at low bit error rate. Adaptive unpacking algorithm and intelligent buffer management module are used for optimization.

Benefits of technology

It effectively solves the retransmission overhead of traditional transmission methods under high bit error rate and protocol overhead of low bit error rate, and improves channel resource utilization efficiency and data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342969A_ABST
    Figure CN120342969A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method and system. The data transmission method comprises the following steps: splitting an original TLP data packet according to a receiving bit error rate and then transmitting the split TLP data packet, the larger the receiving bit error rate is, the smaller the byte number of the split small TLP data packet is, and the smaller the receiving bit error rate is, the larger the byte number of the split small TLP data packet is. The system comprises a data transmitting end device and a data receiving end device. The data transmitting end device comprises an error rate detection module, a self-adaptive unpacking algorithm module, a data packet splitting module and an intelligent buffer management module. The data receiving end device comprises a data packet receiving module, a data packet recombination module, an error rate information statistics module and a construction control data packet module. By monitoring channel indexes such as the bit error rate in real time and intelligently adjusting the size of the data packet and the verification strategy, the utilization efficiency of channel resources can be improved, and the overall efficiency of data transmission can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and particularly to a data transmission method and system based on real-time channel quality monitoring and dynamic data packet adjustment. Background Art

[0002] With the continuous development of wireless communication technology, the requirements for data transmission in emerging application fields such as unmanned vehicles and through-the-earth communication are constantly increasing. However, the existing end-to-end data transmission mainly adopts two fixed-size data packet transmission methods: one is large data packet transmission, and the other is small data packet transmission. These traditional methods have obvious limitations in practical applications and are difficult to adapt to complex and changing channel environments. Specifically as follows: The main defect of the large data packet transmission method lies in its rigid adaptability and inability to dynamically adjust according to the channel quality. When the channel quality deteriorates, even a single-bit error will cause the entire large data packet to be completely retransmitted, which will cause serious bandwidth waste in a high bit error rate environment. Although the fixed small data packet transmission method alleviates the retransmission problem to a certain extent, it introduces a new efficiency bottleneck, that is, each small data packet needs to carry complete protocol header information. In a low bit error rate environment, the protocol overhead wastes resources and seriously restricts the channel utilization efficiency. Especially in a high-speed network environment, frequent small packet transmissions will cause a large amount of channel time to be used for transmitting control information rather than payload.

[0003] To solve these problems, it is urgent to optimize the transmission performance through an innovative dynamic adjustment mechanism. Some improvement schemes have been proposed in the prior art, such as adaptive transmission strategies based on channel quality and data packet retransmission control. However, these schemes often lack real-time monitoring and feedback mechanisms for changes in channel conditions and are difficult to dynamically adjust the transmission strategy according to the actual network environment. In addition, the existing retransmission mechanisms usually cannot dynamically adapt and adjust according to changes in the link state, or simply adjust the redundancy of the automatic retransmission message according to a certain prediction algorithm, making it difficult to effectively cope with complex and changing channel environments. Therefore, it is particularly important to develop a dynamic data packet adjustment mechanism that can real-time monitor channel metrics such as bit error rate and intelligently adjust the data packet size and verification strategy. Summary of the Invention

[0004] The technical problem solved by the present invention is: to provide a data transmission method that can dynamically adjust according to the channel quality and avoid the problems of large retransmission overhead in a high bit error rate environment and waste of protocol overhead resources in a low bit error rate environment.

[0005] To achieve the above object, the technical solution adopted by the present invention is: A data transmission method includes the following steps: Step 1: At the data sending end, split the original TLP data packet to be sent into several small TLP data packets; Step 2: Sequentially transmit each of the small TLP data packets from the data sending end to the data receiving end; Step 3: At the data receiving end, receive each of the small TLP data packets and perform verification. If all the small TLP data packets obtained by splitting the original TLP data have been received and verified, then recombine each of the small TLP data packets to obtain a recombined TLP data packet; In Step 3, during the process of receiving and verifying the small TLP data packets, count the received error rate within a set time and feedback it to the data sending end; then in Step 1, when the received error rate feedback from the data receiving end is not received, split the original TLP data packet according to the set splitting method; after receiving the received error rate feedback from the data receiving end, split the next original TLP data packet according to the received error rate. The larger the received error rate, the smaller the number of bytes of the split small TLP data packet, and the smaller the received error rate, the larger the number of bytes of the split small TLP data packet.

[0006] A preferred implementation is: in Step 1, the value range of the received error rate is pre-divided into n intervals, and each interval corresponds to a preset number of bytes of the small TLP data packet, where n is a positive integer greater than 1. Then, after receiving the received error rate feedback from the data receiving end, determine the corresponding number of bytes of the small TLP data packet according to the interval where the received error rate is located and split the original TLP data packet.

[0007] Further, in Step 1, the value range of the received error rate is pre-divided from large to small into n intervals, then the number of bytes of the small TLP data packet preset for the m-th interval is 2 m-1 a, where m is an integer and 1 ≤ m ≤ n, a is a positive integer; the number of bytes of the small TLP data packet preset for the n-th interval is 2 n-1 a is less than or equal to the number of bytes of the original TLP data packet.

[0008] Based on an implementation of the present invention, in Step 1, when the received error rate feedback from the data receiving end is not received, the number of bytes of the small TLP data packet obtained by splitting the original TLP data packet is a.

[0009] Preferably, at the data receiving end, when the recombination of one recombined TLP data packet is completed or one small TLP data packet is received, start timing and count the received error rate within a set time.

[0010] More preferably, after starting the timing, the number of check errors of the small TLP data packets within the set time is counted, and then the received bit error rate is obtained based on the number of check errors.

[0011] According to an embodiment of the present invention, the small TLP data packet includes a sequence number and a check code. In step 3, at the data receiving end, the sequence number check and the check code check are performed on the small TLP data packet. When the small TLP data packet fails the check, the data receiving end stops receiving the small TLP data packet and feeds back the check information to the data sending end, and the data sending end re-sends the un-received small TLP data packet to the data receiving end according to the check information.

[0012] Further, the check information includes the sequence numbers of the small TLP data packets that have been received and passed the check by the data receiving end. Then, the data sending end clears the small TLP data packets that have been received and passed the check by the data receiving end according to the check information and sends the un-received small TLP data packets.

[0013] The present invention also provides a data transmission system that can be dynamically adjusted according to the channel quality, avoiding the problems of large retransmission overhead in a high bit error rate environment and waste of protocol overhead resources in a low bit error rate environment. The solution is as follows: A data transmission system includes a data sending end device and a data receiving end device. The data sending end device includes an error rate detection module, an adaptive unpacking algorithm module, a data packet splitting module, and an intelligent buffer management module. The error rate detection module is used to obtain the received error rate fed back by the data receiving end device and transmit it to the adaptive unpacking algorithm module. The adaptive algorithm module is used to determine the splitting method for splitting the original TLP data packet. The data packet splitting module is used to split the original TLP data packet to be sent into several small TLP data packets according to the splitting method determined by the adaptive algorithm module. The intelligent buffer management module is used to transmit the small TLP data packets to the data receiving end device. In the adaptive algorithm module, when the received error rate fed back by the data receiving end device is not received, the original TLP data packet is split according to the set splitting method. After receiving the received error rate fed back by the data receiving end device, the splitting method for the next original TLP data packet is determined according to the received error rate. The larger the received error rate is, the smaller the number of bytes of the split small TLP data packet is, and the smaller the received error rate is, the larger the number of bytes of the split small TLP data packet is. The error rate detection module is connected to the data receiving end device. The adaptive unpacking algorithm module is connected to the error rate detection module. The original TLP data packet is connected to the data packet splitting module and the data packet splitting module is connected to the adaptive unpacking algorithm module. The intelligent buffer management module is respectively connected to the error rate detection module and the data packet splitting module. The data receiving end device includes a data packet receiving module, a data packet recombination module, an error rate information statistics module, and a control data packet construction module. The data packet receiving module is used to receive and verify the small TLP data packets sent by the data sending end device and transmit the verified small TLP data packets to the data packet recombination module. The data packet recombination module is used to receive the verified small TLP data packets and recombine each small TLP data packet to obtain a recombined TLP data packet. The error rate information statistics module is used to count and calculate the information required for the received error rate during the process of receiving and verifying the small TLP data packets and transmit it to the error rate information statistics module. The error rate information statistics module is used to count the received error rate within a set time and construct it into a control data packet and then feed it back to the data sending end device. The data packet receiving module is connected to the data sending end device. The data packet recombination module is connected to the data packet receiving module. The error rate information statistics module is connected to the data packet recombination module. The control data packet construction module is respectively connected to the data packet receiving module and the error rate information statistics module.

[0014] Preferably, the bit error rate information statistics module includes a timer and a check error counter. The timer is used to count time according to the set time, and the check error counter is used to count the number of check errors of the small TLP data packet within the set time. The timer is connected to the data packet recombination module, the check error counter is connected to the timer, and the constructed control data packet module is connected to the check error counter.

[0015] More preferably, after the recombination of one of the reorganized TLP data packets is completed or after one of the small TLP data packets is received, the timer starts counting time.

[0016] In one embodiment, in the adaptive unpacking algorithm module, there are n intervals formed by dividing the value range of the received bit error rate, and the number of bytes of the small TLP data packet preset for each interval. n is a positive integer greater than 1. Then, after receiving the received bit error rate fed back by the data receiving end device, the adaptive unpacking algorithm module determines the number of bytes of the corresponding small TLP data packet according to the interval where the received bit error rate is located, and the data packet splitting module splits the next original TLP data packet according to the number of bytes of the small TLP data packet determined by the adaptive unpacking algorithm module.

[0017] Further, in the adaptive unpacking algorithm module, there are n intervals formed by dividing the value range of the received bit error rate from large to small, and the number of bytes of the small TLP data packet 2 preset for the m-th interval m-1 a, where m is an integer and 1 ≤ m ≤ n, and a is a positive integer; the number of bytes of the small TLP data packet 2 preset for the n-th interval n-1 a is less than or equal to the number of bytes of the original TLP data packet.

[0018] Even further, in the adaptive unpacking algorithm module, when the received bit error rate fed back by the data receiving end device is not received, the number of bytes of the small TLP data packet obtained by splitting the original TLP data packet is a.

[0019] In a preferred embodiment, the small TLP data packet includes a sequence number and a check code. In the data receiving end device, the packet receiving module performs sequence number verification and check code verification on the small TLP data packet. When the small TLP data packet fails the verification, the packet receiving module stops receiving the small TLP data packet and sends the verification information to the construction control data packet module. The construction control data packet module constructs the verification information into a control data packet and then feeds it back to the data sending end device. In the data sending end device, the error rate detection module sends the verification information to the intelligent buffer management module, and the intelligent buffer management module re - sends the un - received small TLP data packets to the data receiving end device according to the verification information.

[0020] Further, the verification information includes the sequence numbers of the small TLP data packets that have been received and verified successfully by the data receiving end device. Then, in the data sending end device, the error rate detection module clears the small TLP data packets that have been received and verified successfully by the data receiving end device according to the verification information and sends the un - received small TLP data packets.

[0021] Due to the application of the above - mentioned technical solution, the present invention has the following advantages compared with the prior art: 1. By real - time monitoring of channel metrics such as the error rate, the present invention intelligently adjusts the data packet size and verification strategy, effectively solving the problems of large re - transmission overhead and bandwidth waste in the traditional fixed - size data packet transmission method in a high - error - rate environment. This solution automatically splits into small packets and increases verification at high error rates, which can significantly reduce the amount of re - transmitted data and improve the utilization efficiency of channel resources. 2. When the channel quality is good, the present invention splits into larger packets and optimizes the verification overhead, effectively overcoming the disadvantage of resource waste caused by protocol overhead in the traditional small - data - packet transmission method in a low - error - rate environment, and improving the channel utilization efficiency. By reasonably adjusting the data packet size and verification strategy, the control information transmission overhead caused by frequent small - packet transmissions is effectively reduced, and the overall efficiency of data transmission is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Attached Figure 1 is a block diagram of the principle of the data sending end device in the data transmission system of the present invention.

[0023] Attached Figure 2 is a block diagram of the principle of the data receiving end device in the data transmission system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0024] The present invention will be further described below in conjunction with the embodiments shown in the drawings.

[0025] Embodiment 1: A data transmission method, comprising the following steps: Step 1: At the data sending end, split the original TLP data packet to be sent into several small TLP data packets.

[0026] In this step 1, it is necessary to determine the splitting method of the original TLP data packet, that is, into small TLP data packets of how many bytes in size. Usually, the original TLP data is split evenly.

[0027] There are two schemes for determining the splitting method of the original TLP data packet: One scheme is to split the original TLP data packet according to a preset splitting method, and the other scheme is to split the original TLP data packet according to the received error rate of the communication channel. The applicable scenarios of the two schemes are different. When the received error rate of the communication channel is not known, the original TLP data packet can be split according to the preset splitting method, and when the received error rate of the communication channel is known, the original TLP data packet can be split according to the received error rate of the communication channel. And the received error rate of the communication channel can be obtained by the data receiving end.

[0028] The split small TLP data packets include a sequence number and a check code (such as a CRC check code) for the receiving end to perform verification and recombination on them.

[0029] Step 2: The data sending end sequentially transmits each small TLP data packet to the data receiving end.

[0030] Step 3: At the data receiving end, receive each small TLP data packet and perform verification. If all the small TLP data packets split from the original TLP data are received and verified, then recombine each small TLP data packet to obtain a recombined TLP data packet, thus completing the data packet transmission process.

[0031] During the process of receiving and verifying the small TLP data packets, count the received error rate within a set time and feedback it to the data sending end, so that the data sending end can determine the splitting method of the original TLP data packet. Further, in step 1, when the received error rate feedback from the data receiving end is not received, split the original TLP data packet according to the set splitting method; after receiving the received error rate feedback from the data receiving end, split the next original TLP data packet according to the received error rate, and for the same original TLP data packet in the initial transmission stage and subsequent retransmission stages, its splitting method remains unchanged.

[0032] After receiving the received error rate feedback from the data receiving end, the principle for determining the splitting method of the original TLP data packet in step 1 is: the greater the received error rate, the smaller the number of bytes of the split small TLP data packet, and the smaller the received error rate, the larger the number of bytes of the split small TLP data packet.

[0033] In this embodiment, the value range of the received bit error rate is pre-divided into n (n is a positive integer greater than 1) intervals, and each interval corresponds to the number of bytes of a preset small TLP data packet respectively. After receiving the received bit error rate fed back by the data receiving end, the number of bytes of the corresponding small TLP data packet is determined according to the interval where the received bit error rate is located, and the original TLP data packet is split. The determination scheme of this splitting method is simple and easy to implement. Further, the value range of the received bit error rate is pre-divided from large to small into n intervals, and the number of bytes of the small TLP data packet corresponding to the mth (m is an integer and 1≤m≤n) interval is 2 m-1 a (a is a positive integer, usually a is a power of 2), that is, the number of bytes of the small TLP data packet corresponding to different received bit error rates changes in a multiple relationship. And the number of bytes of the small TLP data packet corresponding to the nth interval is 2 n-1 a is less than or equal to the number of bytes of the original TLP data packet.

[0034] A specific example is: the value range of the received bit error rate is divided from large to small into four intervals, which can be evenly divided, and the number of bytes of the small TLP data packets corresponding to the four intervals are 128 bytes, 256 bytes, 512 bytes, and 1024 bytes respectively. When the value of the received bit error rate is in the largest interval (the bit error rate is particularly large), the original TLP data packet is split into multiple 128-byte small TLP data packets for transmission, reducing the amount of retransmitted data and improving the transmission speed. And when the value of the received bit error rate is in the smallest interval (the bit error rate is particularly small), the original TLP data packet is split into multiple 1024-byte small TLP data packets for transmission, reducing the consumption of sequence numbers and CRC checks. For the smallest interval of the value of the received bit error rate, it can even be set that the number of bytes of the corresponding small TLP data packet is equal to the number of bytes of the original TLP data packet, that is, in this case, it is equivalent to directly transmitting the original TLP data packet without splitting.

[0035] For the case where the received bit error rate fed back by the data receiving end is not received, such as when data transmission is first performed, the number of bytes of the small TLP data packet obtained by splitting the original TLP data packet is set to a, that is, the original TLP data packet is split in the smallest fragmentation manner, giving priority to ensuring transmission reliability (sacrificing some efficiency), and quickly detecting the actual received bit error rate through the first transmission.

[0036] To implement the above-mentioned splitting scheme for the original TLP data packet, the data receiving end needs to count the received bit error rate within a set time, and the following scheme can be adopted: At the data receiving end, after completing the recombination of a recombined TLP data packet or receiving a small TLP data packet, start timing and count the received bit error rate within the set time. Specifically, after starting the timing, count the number of check errors of the small TLP data packets within the set time, and then obtain the received bit error rate based on the number of check errors. The calculation of the received bit error rate can be based on the existing calculation method. The set time can be set as needed. For example, if it is set to 2 minutes, then count the number of check errors within 2 minutes to obtain the information of the received bit error rate.

[0037] In step 3, the data receiving end receives each small TLP data packet until the recombined TLP data packet is obtained, which specifically includes the following processes: At the data receiving end, receive the small TLP data packets transmitted by the data sending end. For each received small TLP data packet, perform sequence number verification and checksum verification on it. For the small TLP data packets that pass the dual verification, put them into the sequence of the data packets to be recombined. When the small TLP data packet fails the verification, the data receiving end stops receiving the current and subsequent small TLP data packets and feeds back the verification information to the data sending end, that is, as long as a verification error is detected, request the data sending end to retransmit the data. The fed-back verification information includes the sequence numbers of the small TLP data packets that have been received and verified by the data receiving end. Then the data sending end retransmits the un-received small TLP data packets to the data receiving end according to the verification information. The specific method can be that the data sending end clears the small TLP data packets that have been received and verified by the data receiving end according to the verification information and sends the un-received small TLP data packets. The data receiving end receives each small TLP data packet again and performs verification. If the verification fails again, send new verification information to the data sending end and retransmit the small TLP data packets again until all the small TLP data packets split from the original TLP data packet are transmitted, and then perform the recombination of the small TLP data packets.

[0038] It can be seen from this that in the above method, the information sent by the data receiving end to the data sending end includes the following two types: one is the received bit error rate for the data sending end to use when determining the splitting scheme of the original TLP data packet, and the other is the sequence numbers of the small TLP data packets that have passed the verification for the data sending end to use when screening the small TLP data packets that need to be retransmitted. The information sent by the data receiving end to the data sending end can be uniformly referred to as the control data packet.

[0039] Through the above solution, real-time monitoring of channel metrics such as bit error rate is achieved, and the packet size and verification strategy are intelligently adjusted, thus effectively solving the problems of large retransmission overhead and bandwidth waste in the traditional fixed-size packet transmission method in a high bit error rate environment, and the problem of resource waste due to protocol overhead in the traditional small-packet transmission method in a low bit error rate environment. This solution automatically splits into small packets and increases verification at high bit error rates, which can significantly reduce the amount of retransmitted data and improve the utilization efficiency of channel resources; at low bit error rates, it improves the channel utilization efficiency, effectively reduces the control information transmission overhead caused by frequent small-packet transmissions, and improves the overall efficiency of data transmission. At the same time, the data receiving end realizes the comprehensive monitoring and evaluation of the channel quality through the CRC verification error statistics mechanism, ensures that the sending end obtains the most accurate channel state information, thereby realizing more accurate adjustment of the transmission strategy and improving the intelligence level of data transmission.

[0040] Embodiment 2: A data transmission system includes a data sending end device and a data receiving end device. The data sending end device is used to transmit data to the data receiving end device and receive the information fed back by the data receiving end device, and the data receiving end device is used to receive the data sent by the data sending end device and feed back the information required by the data sending end device.

[0041] As shown in the attached Figure 1 figure, the data sending end device includes a bit error rate detection module, an adaptive unpacking algorithm module, a data packet splitting module (i.e., the original TLP is split into small TLP module), and an intelligent buffer management module. The bit error rate detection module is connected to the data receiving end device, the adaptive unpacking algorithm module is connected to the bit error rate detection module, the original TLP data packet accesses the data packet splitting module and the data packet splitting module is connected to the adaptive unpacking algorithm module, and the intelligent buffer management module is respectively connected to the bit error rate detection module and the data packet splitting module.

[0042] The bit error rate detection module is used to obtain the received bit error rate fed back by the data receiving end device and transmit it to the adaptive unpacking algorithm module. The adaptive algorithm module is used to determine the splitting method for splitting the original TLP data packet. The data packet splitting module is used to split the original TLP data packet to be sent into several small TLP data packets according to the splitting method determined by the adaptive algorithm module. The intelligent buffer management module is used to transmit the small TLP data packets to the data receiving end device.

[0043] In the adaptive algorithm module, when the received error rate feedback from the data receiving end device is not received, the original TLP data packet is split according to the set splitting method; after receiving the received error rate feedback from the data receiving end device, the splitting method of the next original TLP data packet is determined according to the received error rate. The greater the received error rate, the smaller the number of bytes of the split small TLP data packet, and the smaller the received error rate, the greater the number of bytes of the split small TLP data packet.

[0044] A preferred solution is that in the adaptive unpacking algorithm module, there are preset n (n is a positive integer greater than 1) intervals formed by dividing the value range of the received error rate, and the number of bytes of the preset small TLP data packet corresponding to each interval. Then, after receiving the received error rate feedback from the data receiving end device, the adaptive unpacking algorithm module determines the number of bytes of the corresponding small TLP data packet according to the interval where the received error rate is located. Furthermore, the data packet splitting module splits the next original TLP data packet according to the number of bytes of the small TLP data packet determined by the adaptive unpacking algorithm module.

[0045] For example, in the adaptive unpacking algorithm module, there are preset n intervals formed by dividing the value range of the received error rate from large to small, and the number of bytes of the small TLP data packet corresponding to the mth (m is an integer and 1 ≤ m ≤ n) interval is 2 m-1 a (a is a positive integer, usually taking a power of 2). Among them, the number of bytes of the small TLP data packet corresponding to the nth interval is 2 n-1 a is less than or equal to the number of bytes of the original TLP data packet.

[0046] In this embodiment, in the adaptive unpacking algorithm module, the value range of the received error rate is evenly divided into four intervals from large to small, and the number of bytes of the small TLP data packets corresponding to the four intervals are 128 bytes, 256 bytes, 512 bytes, and 1024 bytes respectively. When the value of the received error rate is in the largest interval (the error rate is particularly large), the original TLP data packet is split into multiple small TLP data packets of 128 bytes for transmission, reducing the amount of data retransmitted and improving the transmission speed. When the value of the received error rate is in the smallest interval (the error rate is particularly small), the original TLP data packet is split into multiple small TLP data packets of 1024 bytes for transmission, reducing the consumption of sequence numbers and CRC checks. For the smallest interval of the received error rate value, it can even be set that the number of bytes of the corresponding small TLP data packet is equal to the number of bytes of the original TLP data packet, that is, at this time, it is equivalent to directly transmitting the original TLP data packet without splitting.

[0047] In the adaptive unpacking algorithm module, when the receiving error rate feedback from the data receiving end device is not received, for example, when data is transmitted for the first time, the number of bytes of the small TLP data packet obtained by splitting the original TLP data packet is a. That is, the original TLP data packet is split in the smallest fragmentation manner to prioritize transmission reliability (sacrificing some efficiency), and the actual receiving error rate is quickly detected through the first transmission.

[0048] As shown in the Figure 2 appendix, the data receiving end device includes a data packet receiving module, a data packet recombination module (i.e., a small TLP recombination module), an error rate information statistics module, and a control data packet construction module. The data packet receiving module is connected to the data sending end device, the data packet recombination module is connected to the data packet receiving module, the error rate information statistics module is connected to the data packet recombination module, and the control data packet construction module is respectively connected to the data packet receiving module and the error rate information statistics module.

[0049] The data packet receiving module is used to receive and verify the small TLP data packets sent by the data sending end device and transmit the verified small TLP data packets to the data packet recombination module. The data packet recombination module is used to receive the verified small TLP data packets and recombine each small TLP data packet to obtain a recombined TLP data packet. The error rate information statistics module is used to calculate the information required for calculating the receiving error rate during the process of receiving and verifying the small TLP data packets and transmit it to the error rate information statistics module. The error rate information statistics module is used to calculate the receiving error rate within a set time, construct it into a control data packet, and then feedback it to the data sending end device.

[0050] Furthermore, the error rate information statistics module includes a timer and a verification error counter. The timer is connected to the data packet recombination module, the verification error counter is connected to the timer, and the control data packet construction module is connected to the verification error counter. The timer is used to time according to the set time. When the recombination of a recombined TLP data packet is completed or a small TLP data packet is received, the timer starts timing. The verification error counter is used to count the number of verification errors of the small TLP data packets within the set time. When the set time arrives, the control data packet construction module starts to work, constructs a control data packet including the receiving error rate, and transmits it to the data sending end device, waiting for the data sending end device to respond. The data sending end device changes the splitting method according to the receiving error rate and the next original TLP data packet to be transmitted and maintains this splitting method for a period of time until the receiving error rate feedback from the data receiving end device is received again, and then makes corresponding changes to the splitting method again.

[0051] The small TLP data packets split by the data packet splitting module of the data sending end device include a sequence number and a check code. Then, in the data receiving end device, the data packet receiving module performs sequence number verification and check code verification on the small TLP data packets. When a small TLP data packet fails the verification, the data packet receiving module stops receiving small TLP data packets and sends the verification information to the control data packet construction module. The control data packet construction module constructs the verification information into a control data packet and then feeds it back to the data sending end device, that is, as long as a verification error is detected, the data sending end device is requested to retransmit the data, and the count of the verification error counter is incremented by 1. In the data sending end device, the error rate detection module sends the verification information to the intelligent buffer management module, and the intelligent buffer management module retransmits the unreceived small TLP data packets to the data receiving end device according to the verification information. Specifically, the verification information includes the sequence numbers of the small TLP data packets that have been received and verified by the data receiving end device. Then, in the data sending end device, the error rate detection module clears the small TLP data packets that have been received and verified by the data receiving end device according to the verification information and sends the unreceived small TLP data packets. After no retransmission, one-time or multiple retransmissions, all the small TLP data packets split from the original TLP data packet are transmitted, and then the small TLP data packets are reorganized.

[0052] The above embodiments are only used to illustrate the technical concept and characteristics of the present invention, and their purpose is to enable those who are familiar with this technology to understand the content of the present invention and implement it accordingly, and cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit and essence of the present invention should be covered within the protection scope of the present invention.

Claims

1. A data transmission method, characterized in that: The described data transmission method includes the following steps: Step 1: At the data sending end, split the original TLP data packet to be sent into several small TLP data packets; Step 2: Sequentially transmit each of the small TLP data packets from the data sending end to the data receiving end; Step 3: At the data receiving end, receive each of the small TLP data packets and perform verification. If all the small TLP data packets obtained by splitting the original TLP data have been received and verified, then recombine each of the small TLP data packets to obtain a recombined TLP data packet; In Step 3, during the process of receiving and verifying the small TLP data packets, count the received bit error rate within a set time and feedback it to the data sending end; then in Step 1, when the received bit error rate feedback from the data receiving end is not received, split the original TLP data packet according to the set splitting method; after receiving the received bit error rate feedback from the data receiving end, split the next original TLP data packet according to the received bit error rate. The larger the received bit error rate, the smaller the byte number of the split small TLP data packet, and the smaller the received bit error rate, the larger the byte number of the split small TLP data packet.

2. The data transmission method according to claim 1, wherein: In Step 1, the value range of the received bit error rate is pre-divided into n intervals, and each interval corresponds to a preset byte number of the small TLP data packet. n is a positive integer greater than 1. Then, after receiving the received bit error rate feedback from the data receiving end, determine the corresponding byte number of the small TLP data packet according to the interval where the received bit error rate is located and split the original TLP data packet.

3. The data transmission method according to claim 2, wherein: In the step 1, the value range of the received bit error rate is divided into n intervals from large to small in advance, and the number of bytes of the preset small TLP data packet corresponding to the m-th interval is 2 m-1 a, where m is an integer and 1 ≤ m ≤ n, and a is a positive integer; the number of bytes of the preset small TLP data packet corresponding to the n-th interval is 2 n-1 a is less than or equal to the number of bytes of the original TLP data packet.

4. The data transmission method according to claim 3, wherein: In Step 1, when the received bit error rate feedback from the data receiving end is not received, the byte number of the small TLP data packet obtained by splitting the original TLP data packet is a.

5. The data transmission method according to claim 1, characterized in that: At the data receiving end, when the recombination of one recombined TLP data packet is completed or one small TLP data packet is received, start timing and count the received bit error rate within a set time.

6. The data transmission method according to claim 5, wherein: After starting to time, count the number of verification errors of the small TLP data packets within the set time, and then obtain the received bit error rate based on the number of verification errors.

7. The data transmission method according to claim 1, wherein: The small TLP data packet includes a sequence number and a check code. Then in Step 3, at the data receiving end, perform sequence number verification and check code verification on the small TLP data packet. When the small TLP data packet fails the verification, the data receiving end stops receiving the small TLP data packet and feedbacks verification information to the data sending end. The data sending end re-sends the un-received small TLP data packet to the data receiving end according to the verification information.

8. The data transmission method according to claim 7, wherein: The verification information includes the sequence numbers of the small TLP data packets that have been received and verified by the data receiving end. Then the data sending end clears the small TLP data packets that have been received and verified by the data receiving end according to the verification information and sends the un-received small TLP data packets.

9. A data transmission system, comprising a data sending end device and a data receiving end device, characterized in that: The data sending end device includes an error rate detection module, an adaptive unpacking algorithm module, a data packet splitting module, and an intelligent buffer management module; The error rate detection module is used to obtain the received error rate fed back by the data receiving end device and transmit it to the adaptive unpacking algorithm module. The adaptive algorithm module is used to determine the splitting method for splitting the original TLP data packet. The data packet splitting module is used to split the original TLP data packet to be sent into several small TLP data packets according to the splitting method determined by the adaptive algorithm module. The intelligent buffer management module is used to transmit the small TLP data packets to the data receiving end device. In the adaptive algorithm module, when the received error rate fed back by the data receiving end device is not received, the original TLP data packet is split according to the set splitting method; After receiving the received error rate fed back by the data receiving end device, the splitting method for the next original TLP data packet is determined according to the received error rate. The larger the received error rate, the smaller the number of bytes of the split small TLP data packet, and the smaller the received error rate, the larger the number of bytes of the split small TLP data packet. The error rate detection module is connected to the data receiving end device. The adaptive unpacking algorithm module is connected to the error rate detection module. The original TLP data packet accesses the data packet splitting module and the data packet splitting module is connected to the adaptive unpacking algorithm module. The intelligent buffer management module is respectively connected to the error rate detection module and the data packet splitting module; The data receiving end device includes a data packet receiving module, a data packet recombination module, an error rate information statistics module, and a control data packet construction module. The data packet receiving module is used to receive and verify the small TLP data packets sent by the data sending end device and transmit the verified small TLP data packets to the data packet recombination module. The data packet recombination module is used to receive the verified small TLP data packets and recombine each small TLP data packet to obtain a recombined TLP data packet. The error rate information statistics module is used to count the information required for calculating the received error rate during the process of receiving and verifying the small TLP data packets and transmit it to the error rate information statistics module. The error rate information statistics module is used to count the received error rate within a set time and construct it into a control data packet and then feedback it to the data sending end device; The data packet receiving module is connected to the data sending end device. The data packet recombination module is connected to the data packet receiving module. The error rate information statistics module is connected to the data packet recombination module. The control data packet construction module is respectively connected to the data packet receiving module and the error rate information statistics module.

10. The data transmission system according to claim 9, wherein: The bit error rate information statistics module includes a timer and a check error counter. The timer is used to count time according to the set time. The check error counter is used to count the number of check errors of the small TLP data packet within the set time. The timer is connected to the data packet recombination module. The check error counter is connected to the timer. The construction control data packet module is connected to the check error counter.

11. The data transmission system according to claim 10, wherein: When the recombination of one of the recombined TLP data packets is completed or a small TLP data packet is received, the timer starts counting.

12. The data transmission system according to claim 9, wherein: In the adaptive unpacking algorithm module, there are n intervals formed by dividing the value range of the received bit error rate, and each interval corresponds to a preset number of bytes of the small TLP data packet respectively. n is a positive integer greater than 1. After receiving the received bit error rate fed back by the data receiving end device, the adaptive unpacking algorithm module determines the corresponding number of bytes of the small TLP data packet according to the interval where the received bit error rate is located. The data packet splitting module splits the next original TLP data packet according to the number of bytes of the small TLP data packet determined by the adaptive unpacking algorithm module.

13. The data transmission system according to claim 12, wherein: In the adaptive unpacking algorithm module, there are preset n intervals formed by dividing the value range of the received bit error rate from large to small, and the number of bytes of the small TLP data packet preset corresponding to the m-th interval is 2 m-1 a, where m is an integer and 1 ≤ m ≤ n, and a is a positive integer; the number of bytes of the small TLP data packet preset corresponding to the n-th interval is 2 n-1 a is less than or equal to the number of bytes of the original TLP data packet.

14. The data transmission system according to claim 13, wherein: In the adaptive unpacking algorithm module, when the received bit error rate fed back by the data receiving end device is not received, the number of bytes of the small TLP data packet obtained by splitting the original TLP data packet is a.

15. The data transmission system according to claim 10, wherein: The small TLP data packet includes a sequence number and a check code. In the data receiving end device, the data packet receiving module performs sequence number check and check code check on the small TLP data packet. When the small TLP data packet fails the check, the data packet receiving module stops receiving the small TLP data packet and sends the check information to the construction control data packet module. The construction control data packet module constructs the check information into a control data packet and feeds it back to the data sending end device. In the data sending end device, the bit error rate detection module sends the check information to the intelligent buffer management module. The intelligent buffer management module re - sends the un - received small TLP data packet to the data receiving end device according to the check information.

16. The data transmission system according to claim 15, characterized in that: The check information includes the sequence numbers of the small TLP data packets that have been received and passed the check by the data receiving end device. Then, in the data sending end device, the bit error rate detection module clears the small TLP data packets that have been received and passed the check by the data receiving end device according to the check information and sends the un - received small TLP data packets.

Citation Information

Patent Citations

  • Unmanned vehicle data transmission method based on QoS evaluation

    CN115396946A

  • Self-adaptive hybrid automatic repeat request method and multi-mode self-adaptive retransmission method

    CN118921149A

  • A method for improving transmission efficiency of wireless network channel

    CN1567736A

  • Data partition method to maximize bluetooth baseband throughput

    US20040076117A1

  • Outer loop power control method, device and appliance

    WO2014205655A1