Multi-channel data transmission method and system
By splitting and merging data frames in a multi-channel data transmission system and realizing synchronous frames and retransmission control, the problem of multi-channel data transmission delay and reliability in the prior art is solved, and bandwidth utilization and system simplification are improved. .
Patent Information
- Application Number
- CN202411421533.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-10
AI Technical Summary
The existing multi-channel data transmission design scheme is complex and consumes a lot of resources when realizing the physical layer retransmission mechanism, making it difficult to meet the needs of high bandwidth and low latency, especially in applications such as on-board assisted driving systems. question.
By splitting down the downlink data packet into multiple downlink data frames and adding synchronous frames on the transmission channel, the receiver aligned and merged data frames according to the synchronous frame, realizing delay adjustment and retransmission control of data frames, simplifying multi-channel Design of data transmission system.
It improves the utilization rate of data transmission bandwidth, ensures the reliability of data transmission, simplifies the implementation method, reduces resource overhead, and is suitable for application scenarios with high latency requirements.
Smart Images

Figure CN119299392A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a multi-channel data transmission method and system. Background Art
[0002] SerDes is the collective name of Serializer / Deserializer. SerDes technology converts parallel data into serial data for transmission, and restores serial data to parallel data at the receiving end. It simplifies the wiring harness design and realizes high-speed data transmission, and has a wide range of applications. As the resolution of cameras and displays becomes higher and higher, the requirements for data transmission bandwidth are also getting higher and higher. One of the current solutions is to increase the number of transmission channels. By adopting a multi-channel data transmission scheme, the data transmission bandwidth can be significantly improved. However, in the multi-channel data transmission scheme, due to the different data transmission delays of different transmission channels, such as different lengths of transmission lines, different delays of logic circuits through which data passes, etc., the time at which the receiving end receives multiple data from different transmission channels is also different, so the received multiple data cannot be directly merged. How to align and merge the received multiple data into one data at the receiving end is one of the technical difficulties of the multi-channel data transmission scheme.
[0003] Reliability should also be guaranteed during the data transmission process. Retransmission is a common technical means in the field of communication technology to ensure the reliability of data transmission. The retransmission mechanism is often used as part of the upper layer protocol such as the transport layer, such as the TCP protocol, and is usually implemented by software methods. Compared with implementing retransmission in the upper layer protocol, implementing retransmission in the physical layer is conducive to reducing the delay of retransmitted data, which is particularly important in applications such as vehicle-mounted assisted driving systems that have strict requirements on data transmission delay.
[0004] Existing multi-channel data transmission design schemes, including the implementation scheme of the physical layer retransmission mechanism, are relatively complex, resulting in large delays and high resource consumption. Therefore, it is necessary to study new multi-channel data transmission methods. Summary of the invention
[0005] The technical problem to be solved by the present invention is how to realize a multi-channel data transmission system with a physical layer retransmission function, thereby improving the data transmission bandwidth and ensuring the reliability of data transmission, while simplifying the implementation method and reducing resource overhead.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] As a multi-channel data transmission method of the present invention, based on a multi-channel data transmission system, the multi-channel data transmission system includes a first transmission terminal, a second transmission terminal, and k (k≥2) transmission channels, the first transmission terminal is connected to the second transmission terminal through the k transmission channels, and is characterized in that the first transmission terminal splits the downlink data packet into k downlink data frames, and after adding synchronization frames to the split k downlink data frames, each is sent to a transmission channel, the second transmission terminal receives k synchronization frames and k downlink data frames from the k transmission channels, aligns the k downlink data frames according to the received synchronization frames, and merges the aligned k downlink data frames into a downlink data packet.
[0008] Preferably, the second transmission terminal aligns k downlink data frames according to the received synchronization frames, including: the second transmission terminal adjusts the delay of k downlink data frames according to the k synchronization frames received from k transmission channels.
[0009] Preferably, when k is equal to 2, the first transmission terminal splits the downlink data packet into two downlink data frames, including: the first transmission terminal splits the data with even and odd sequence numbers in the downlink data packet into two downlink data frames.
[0010] Preferably, when k is equal to 2, the first transmission terminal splits the downlink data packet into two downlink data frames, including: the first transmission terminal splits the symbols with even and odd sequence numbers in the downlink data packet into two downlink data frames.
[0011] Preferably, when k is equal to 2, the first transmission terminal splits the downlink data packet into two downlink data frames, including: the first transmission terminal splits the downlink data packets with even and odd sequence numbers in the downlink data packet into two downlink data frames.
[0012] Preferably, the second transmission terminal determines the correctness of the downlink data packet. If it is determined that the downlink data packet is erroneous, retransmission control information is generated and sent to the first transmission terminal. The first transmission terminal resends the downlink data packet to the second transmission terminal based on the retransmission control information.
[0013] Furthermore, the method for the second transmission terminal to judge the correctness of the downlink data packet is that the second transmission terminal decodes and judges the check code in the downlink data packet.
[0014] Furthermore, each of the downlink data packets contains a sequence number, and the multiple sequence numbers contained in multiple consecutive downlink data packets are arranged in sequence according to the order of transmission. The method for the second transmission terminal to judge the correctness of the downlink data packet is that the second transmission terminal judges the continuity of the sequence numbers in the received downlink data packets.
[0015] Furthermore, the method for the second transmission terminal to judge the correctness of the downlink data packet is that after receiving a downlink data packet, the second transmission terminal judges whether the next downlink data packet is not received after a first preset time.
[0016] Furthermore, the retransmission control information includes a retransmission data packet sequence number, and the method for the second transmission terminal to judge the correctness of the downlink data packet is that after the second transmission terminal sends the retransmission control information, it judges whether a downlink data packet with a sequence number equal to the retransmission data packet sequence number has not been received after a second preset time.
[0017] As a multi-channel data transmission system of the present invention, it includes a first transmission terminal, a second transmission terminal, and k (k≥2) transmission channels, the first transmission terminal is connected to the second transmission terminal through the k transmission channels, and is characterized in that the first transmission terminal includes a data packet splitting module, a synchronization frame generating module, and a sending module, the data packet splitting module splits the downlink data packet into k downlink data frames, the synchronization frame generating module adds synchronization frames to the split k downlink data frames respectively, and the sending module sends the k downlink data frames with the synchronization frames added to each transmission channel, the second transmission terminal includes a receiving module, a data frame alignment module, and a data frame merging module, the receiving module receives k synchronization frames and k downlink data frames from the k transmission channels, the data frame alignment module aligns the k downlink data frames according to the synchronization frames received by the receiving module, and the data frame merging module merges the aligned k downlink data frames into a downlink data packet.
[0018] Preferably, the data frame alignment module aligns k downlink data frames according to the synchronization frames received by the receiving module, including: the data frame alignment module adjusts the delay of k downlink data frames according to the k synchronization frames received by the receiving module from k transmission channels.
[0019] Preferably, when k is equal to 2, the data packet splitting module splits the downlink data packet into two downlink data frames, including: the data packet splitting module splits the data with even and odd sequence numbers in the downlink data packet into two downlink data frames.
[0020] Preferably, when k is equal to 2, the data packet splitting module splits the downlink data packet into two downlink data frames, including: the data packet splitting module splits the symbols with even and odd sequence numbers in the downlink data packet into two downlink data frames.
[0021] Preferably, when k is equal to 2, the data packet splitting module splits the downlink data packet into two downlink data frames, including: the data packet splitting module splits the downlink data packets with even and odd sequence numbers in the downlink data packets into two downlink data frames.
[0022] Preferably, the first transmission terminal further includes a sending end retransmission control module, and the second transmission terminal further includes a receiving end retransmission control module. The receiving end retransmission control module determines the correctness of the downlink data packet. If it is determined that an error occurs in the downlink data packet, retransmission control information is generated and sent to the sending end retransmission control module. The sending end retransmission control module allows the first transmission terminal to resend the downlink data packet to the second transmission terminal according to the retransmission control information.
[0023] Furthermore, the method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that the receiving end retransmission control module decodes and judges the check code in the downlink data packet.
[0024] Furthermore, each of the downlink data packets contains a sequence number, and the multiple sequence numbers contained in multiple consecutive downlink data packets are arranged in sequence according to the order of transmission. The method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that the receiving end retransmission control module judges the continuity of the sequence numbers in the received downlink data packets.
[0025] Furthermore, the method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that after receiving a downlink data packet, the receiving end retransmission control module judges whether the next downlink data packet is not received after a first preset time.
[0026] Furthermore, the retransmission control information includes the sequence number of the retransmission data packet, and the method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that after the receiving end retransmission control module sends the retransmission control information, it judges whether a downlink data packet with a sequence number equal to the sequence number of the retransmission data packet has not been received after a second preset time.
[0027] The present invention provides a multi-channel data transmission method and system with a physical layer retransmission function, thereby improving the data transmission bandwidth and ensuring the reliability of data transmission, while simplifying the implementation method and reducing resource overhead. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 It is a structural block diagram of a multi-channel data transmission system based on the multi-channel data transmission method of the present invention;
[0030] Figure 2 It is a structural block diagram of a dual-channel data transmission system based on the multi-channel data transmission method of the present invention;
[0031] Figure 3 It is a schematic diagram of splitting a downlink data packet into two downlink data frames in one embodiment of the multi-channel data transmission method of the present invention;
[0032] Figure 4 It is a timing diagram of splitting a downlink data packet into two downlink data frames in an embodiment of the multi-channel data transmission method of the present invention;
[0033] Figure 5 Another timing diagram of splitting a downlink data packet into two downlink data frames in an embodiment of the multi-channel data transmission method of the present invention;
[0034] Figure 6 It is another timing diagram of splitting a downlink data packet into two downlink data frames in an embodiment of the multi-channel data transmission method of the present invention;
[0035] Figure 7 It is a timing diagram of sending two downlink data frames with synchronization frames added on two transmission channels in one embodiment of the multi-channel data transmission method of the present invention;
[0036] Figure 8 A data structure diagram of a synchronization frame in one embodiment of the multi-channel data transmission method of the present invention;
[0037] Fig. 9 It is a data structure diagram of another synchronization frame in one embodiment of the multi-channel data transmission method of the present invention;
[0038] Fig.10 It is a schematic diagram of merging two downlink data frames into a downlink data packet in one embodiment of the multi-channel data transmission method of the present invention;
[0039] Fig.11It is a schematic diagram of a structure for aligning two downlink data frames in one embodiment of the dual-channel data transmission method of the present invention;
[0040] Fig.12 is a schematic diagram of a structure in which a first transmission terminal includes a transmission memory in an embodiment of the multi-channel data transmission method of the present invention;
[0041] Fig.13 It is a flow chart of sending and receiving correct downlink data packets in one embodiment of the multi-channel data transmission method of the present invention;
[0042] Fig.14 It is a flow chart of a second transmission terminal judging the correctness of a downlink data packet and retransmitting the data in an embodiment of the multi-channel data transmission method of the present invention;
[0043] Fig.15 Another flow chart of a method for transmitting multi-channel data in an embodiment of the present invention, in which a second transmission terminal determines the correctness of a downlink data packet and retransmits the data;
[0044] Fig.16 It is another flow chart of a second transmission terminal judging the correctness of a downlink data packet and retransmitting the data in an embodiment of the multi-channel data transmission method of the present invention;
[0045] Fig.17 It is another flow chart of a second transmission terminal judging the correctness of a downlink data packet and retransmitting the data in an embodiment of the multi-channel data transmission method of the present invention;
[0046] Fig.18 It is a structural block diagram of a multi-channel data transmission system and a first transmission terminal of the present invention;
[0047] Fig.19 It is a structural block diagram of the multi-channel data transmission system and the second transmission terminal of the present invention;
[0048] Fig. 20 is another structural block diagram of the multi-channel data transmission system and the first transmission terminal of the present invention;
[0049] Fig.21 It is another structural block diagram of the multi-channel data transmission system and the second transmission terminal of the present invention.
[0050] The meanings of the numbers in the above drawings are as follows:
[0051] 100: a first transmission terminal;
[0052] 101: Send memory;
[0053] 102: data packet splitting module;
[0054] 103: synchronization frame generation module;
[0055] 104: synchronization frame generation module;
[0056] 105: sending module;
[0057] 106: sending module;
[0058] 107: sending end retransmission control module;
[0059] 200: second transmission terminal;
[0060] 201: receiving module;
[0061] 202: receiving module;
[0062] 203: data frame alignment module;
[0063] 204: data frame merging module;
[0064] 205: receiving end retransmission control module;
[0065] 300: transmission channel;
[0066] 301: first transmission channel;
[0067] 302: Second transmission channel. DETAILED DESCRIPTION
[0068] In order to make the above and other features and advantages of the present invention more clear, the present invention is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.
[0069] like Figure 1 As shown, in an application embodiment of the present invention, as a multi-channel data transmission method of the present invention, based on a multi-channel data transmission system, the multi-channel data transmission system includes a first transmission terminal 100, a second transmission terminal 200, and a transmission channel 300. The first transmission terminal 100 is connected to the second transmission terminal 200 through the transmission channel 300, and the transmission channel 300 includes k (k ≥ 2) transmission channels. The direction from the first transmission terminal 100 to the second transmission terminal 200 is called the downlink direction, and the direction from the second transmission terminal 200 to the first transmission terminal 100 is called the uplink direction. The first transmission terminal 100 splits the data packet into k data frames and sends them to the second transmission terminal 200 after adding synchronization frames respectively. The data packet is called a downlink data packet, and the data frame is called a downlink data frame.
[0070] The first transmission terminal 100 splits the downlink data packet into k downlink data frames, and after adding synchronization frames to the k downlink data frames after the splitting, each is sent to a transmission channel, that is, the first transmission terminal 100 transmits a downlink data frame with the synchronization frame added on each of the k transmission channels. The second transmission terminal 200 receives k synchronization frames and k downlink data frames from the k transmission channels, that is, the second transmission terminal 200 receives a downlink data frame with the synchronization frame added on each of the k transmission channels. The second transmission terminal 200 aligns the k downlink data frames according to the received synchronization frames, including: the second transmission terminal 200 adjusts the delay of the k downlink data frames according to the k synchronization frames received from the k transmission channels. The second transmission terminal 200 merges the aligned k downlink data frames into a downlink data packet.
[0071] In the present invention, k≥2, whether k is equal to 2 or k is greater than 2, is within the protection scope of the present invention. For ease of description, the following description is made by taking k equal to 2 as an example.
[0072] like Figure 2 As shown, when k is equal to 2, the transmission channel 300 includes two transmission channels, which are respectively denoted as a first transmission channel 301 and a second transmission channel 302 .
[0073] like Figure 3 As shown, the first transmission terminal 100 splits the downlink data packet into two downlink data frames, namely a first downlink data frame and a second downlink data frame.
[0074] like Figure 4 As shown, in an application embodiment of the present invention, the first transmission terminal 100 splits the downlink data packet into two downlink data frames, including: the first transmission terminal 100 splits the data with even and odd sequence numbers in the downlink data packet into two downlink data frames. Figure 4 In the example, each downlink data packet contains n data (n is an even number), downlink data packet 1 contains data D0, D1, D2, D3, ..., Dn-2, Dn-1, and downlink data packet 2 contains data Dn, Dn+1, Dn+2, Dn+3, ..., D2n-2, D2n-1. The first transmission terminal 100 Figure 4The downlink data packets in are split: the data D0, D2, ..., Dn-2, Dn, Dn+2, ..., D2n-2 with even sequence numbers are included in the first downlink data frame after splitting, wherein D0, D2, ..., Dn-2 are included in the first downlink data frame 1, and Dn, Dn+2, ..., D2n-2 are included in the first downlink data frame 2; the data D1, D3, ..., Dn-1, Dn+1, Dn+3, ..., D2n-1 with odd sequence numbers are included in the second downlink data frame after splitting, wherein D1, D3, ..., Dn-1 are included in the second downlink data frame 1, and Dn+1, Dn+3, ..., D2n-1 are included in the second downlink data frame 2. In this embodiment, two adjacent downlink data packets may be continuous (for example, downlink data packet 1 is continuous with downlink data packet 2) or discontinuous, and two adjacent downlink data frames in one downlink data frame after splitting may be continuous (for example, the first downlink data frame 1 is continuous with the first downlink data frame 2) or discontinuous, and the present invention does not impose any restrictions on this. Figure 4 In the embodiment shown, each data with even and odd serial numbers can be 1 bit wide or multiple bits wide. For example, a data can be 9 bits wide or 8 bits wide. The present invention does not limit or specify the bit width of each data.
[0075] like Figure 5 As shown, in another application embodiment of the present invention, the first transmission terminal 100 splits the downlink data packet into two downlink data frames, including: the first transmission terminal 100 splits the symbols with even and odd sequence numbers in the downlink data packet into two downlink data frames. Figure 5 In the downlink data packet, the data are D0, D1, D2, D3, D4, D5, etc. Each data contains 2m symbols (m is a positive integer), including m symbols with even numbers and m symbols with odd numbers. For example, the 2m symbols contained in D0 can be recorded as D0(0), D0(1), D0(2), D0(3), ..., D0(2m-2), D0(2m-1), where D0(0), D0(2), ..., D0(2m-2) are symbols with even numbers, and D0(1), D0(3), ..., D0(2m-1) are symbols with odd numbers. The first transmission terminal 100 is connected to the first transmission terminal 100. Figure 5The downlink data packets in the first channel are split. After the splitting, the first downlink data frame contains data C0, C2, C4, ..., and the second downlink data frame contains data C1, C3, C5, ..., wherein C0 is composed of symbols D0(0), D0(2), ..., D0(2m-2), D1(0), D1(2), ..., D1(2m-2) with even numbers, C1 is composed of symbols D0(1), D0(3), ..., D0(2m-1), D1(1), D1(3), ..., D1(2m-1) with odd numbers, and C2 is composed of symbols D2(0), D2(2), ..., D2( 2m-2), D3(0), D3(2), ..., D3(2m-2), C3 is composed of symbols D2(1), D2(3), ..., D2(2m-1), D3(1), D3(3), ..., D3(2m-1) whose serial numbers are odd numbers, C4 is composed of symbols D4(0), D4(2), ..., D4(2m-2), D5(0), D5(2), ..., D5(2m-2) whose serial numbers are even numbers, and C5 is composed of symbols D4(1), D4(3), ..., D4(2m-1), D5(1), D5(3), ..., D5(2m-1) whose serial numbers are odd numbers. Each symbol can be 1 bit wide or multiple bits wide. For example, a symbol can be 9 bits wide or 8 bits wide, and the present invention does not limit or specify the bit width of the symbol.
[0076] like Figure 6 As shown, in another application embodiment of the present invention, the first transmission terminal 100 splits the downlink data packet into two downlink data frames, including: the first transmission terminal 100 splits the downlink data packets with even and odd sequence numbers in the downlink data packet into two downlink data frames. Figure 6 In the example, Packet0, Packet1, Packet2, Packet3, etc. are all downlink data packets, where Packet0, Packet2, etc. are downlink data packets with even sequence numbers, and Packet1, Packet3, etc. are downlink data packets with odd sequence numbers. Figure 6 The downlink data packets in the first downlink data frame are split, and the downlink data packets Packet0, Packet2, ... with even sequence numbers after splitting are included in the first downlink data frame, and the downlink data packets Packet1, Packet3, ... with odd sequence numbers are included in the second downlink data frame. In this embodiment, two adjacent downlink data packets can be continuous (for example, Packet0 and Packet1 are continuous) or discontinuous (for example, Packet1 and Packet2 are discontinuous), and the present invention does not limit this.
[0077] remove Figure 4 , Figure 5 , Figure 6 In addition to the illustrated embodiment of splitting downlink data packets, all other implementations of splitting downlink data packets obtained by ordinary technicians in this field without making any creative work are within the scope of protection of the present invention.
[0078] The first transmission terminal 100 adds synchronization frames to the two split downlink data frames respectively and sends each to a transmission channel, that is, the first downlink data frame after adding the synchronization frame is sent to the first transmission channel 301, and the second downlink data frame after adding the synchronization frame is sent to the second transmission channel 302.
[0079] like Figure 7 As shown, in an application embodiment of the present invention, two downlink data frames after adding synchronization frames are sent on two transmission channels, and the first transmission terminal 100 adds a synchronization frame before every n downlink data frames. In this embodiment, on a transmission channel, n downlink data frames are sent after each synchronization frame is sent. In another embodiment, on a transmission channel, the number of downlink data frames between two adjacent synchronization frames may not be a fixed value. The present invention does not limit or stipulate the rules for adding synchronization frames to downlink data frames.
[0080] In one embodiment, using Figure 8 The synchronization frame data structure shown in FIG. 1 includes a start symbol and an information field. The start symbol is used for the second transmission terminal 200 to identify the synchronization frame. For example, the K code in the DC balance code is used as the start symbol. The information field is used to carry information that the first transmission terminal 100 needs to send to the second transmission terminal 200. For example, information such as a timestamp used for clock recovery can be placed in the information field. In another embodiment, Fig. 9 The synchronization frame data structure shown in FIG. 1 includes, in addition to the start symbol and the information field, an error control code (such as a check code and / or an error correction code) for checking and / or correcting errors of part or all of the synchronization frame. In other embodiments, the synchronization frame may also adopt other data structures, and the present invention does not limit the data structure of the synchronization frame. The synchronization frame can be used to indicate the starting position of the downlink data frame. Figure 7 In the example, the end position of the synchronization frame is the starting position of the subsequent downlink data frame.
[0081] The second transmission terminal 200 receives two synchronization frames and two downlink data frames from two transmission channels, that is, the second transmission terminal 200 receives the first downlink data frame after adding the synchronization frame from the first transmission channel 301, and receives the second downlink data frame after adding the synchronization frame from the second transmission channel 302. The second transmission terminal 200 aligns the two downlink data frames according to the received synchronization frame, and merges the aligned two downlink data frames into a downlink data packet, such as Fig.10shown.
[0082] Since the delays of the first transmission channel 301 and the second transmission channel 302 during data transmission may be different, in order to merge the received first downlink data frame and the second downlink data frame into a downlink data packet, the present invention can align the two downlink data frames according to the received synchronization frame. The second transmission terminal 200 aligns the two downlink data frames according to the received synchronization frame, including: the second transmission terminal 200 adjusts the delay of the two downlink data frames according to the two synchronization frames received from the two transmission channels.
[0083] like Fig.11 As shown, in an application embodiment of the present invention, the second transmission terminal 200 obtains the difference between the start time of the first downlink data frame and the start time of the second downlink data frame according to the time difference between the synchronization frame received from the first transmission channel 301 and the synchronization frame received from the second transmission channel 302, and selectively delays the first downlink data frame or the second downlink data frame, or both downlink data frames. If the delay of the first downlink data frame during transmission is less than the delay of the second downlink data frame during transmission, the second transmission terminal 200 should delay the received first downlink data frame and not delay the second downlink data frame, or the second transmission terminal 200 delays both downlink data frames, but the delay of the first downlink data frame is greater than the delay of the second downlink data frame; if the delay of the first downlink data frame during transmission is greater than the delay of the second downlink data frame during transmission, the second transmission terminal 200 should delay the received second downlink data frame and not delay the first downlink data frame, or the second transmission terminal 200 delays both downlink data frames, but the delay of the second downlink data frame is greater than the delay of the first downlink data frame; if the delay of the first downlink data frame during transmission is equal to the delay of the second downlink data frame during transmission, the second transmission terminal 200 does not delay the two received downlink data frames (the delay is 0), or the second transmission terminal 200 delays the two downlink data frames by the same time. In this embodiment, the second transmission terminal 200 aligns the two downlink data frames by adjusting the delay of the two downlink data frames, and then merges the aligned two downlink data frames into a downlink data packet.
[0084] exist Fig.11 In the embodiment shown, a first-in first-out queue (FIFO) composed of triggers can be used to delay the downlink data frame. In other embodiments, an SRAM memory can also be used to delay the downlink data frame. The present invention does not limit the circuit or device used to delay the downlink data frame. Fig.11In addition to the embodiment of aligning two downlink data frames shown, all other implementation methods of aligning two downlink data frames obtained by ordinary technicians in this field without making any creative work are within the scope of protection of the present invention.
[0085] The first transmission terminal 100 splits the downlink data packet into two downlink data frames, adds synchronization frames to the two split downlink data frames respectively, and sends them to a transmission channel respectively. This process is called the first transmission terminal 100 sending the downlink data packet.
[0086] The second transmission terminal 200 receives two synchronization frames and two downlink data frames from two transmission channels, aligns the two downlink data frames according to the received synchronization frames, and merges the aligned two downlink data frames into a downlink data packet. This process is called the second transmission terminal 200 receiving the downlink data packet.
[0087] After receiving the downlink data packet, the second transmission terminal 200 determines the correctness of the downlink data packet. If it is determined that the downlink data packet has an error, retransmission control information is generated and sent to the first transmission terminal 100. The retransmission control information is sent from the second transmission terminal 200 to the first transmission terminal 100, and the transmission direction of the retransmission control information is the uplink direction. The retransmission control information transmitted in the uplink direction and the downlink data packet transmitted in the downlink direction can share the transmission channel, or they can use different transmission channels. When the retransmission control information transmitted in the uplink direction and the downlink data packet transmitted in the downlink direction share the transmission channel, frequency division multiplexing, time division multiplexing or other methods can be used to share the transmission channel. The retransmission control information can be transmitted through one transmission channel or through two transmission channels. The present invention does not limit the transmission method and transmission channel used by the retransmission control information. The first transmission terminal 100 resends the downlink data packet to the second transmission terminal 200 according to the received retransmission control information. When the first transmission terminal 100 retransmits a downlink data packet to the second transmission terminal 200, the retransmitted downlink data packet is split into two downlink data frames, and synchronization frames are added to the two split downlink data frames respectively, and then each is sent to a transmission channel.
[0088] like Fig.12As shown, in an application embodiment of the present invention, the first transmission terminal 100 includes a transmission memory 101, and the first transmission terminal 100 reads and sends a downlink data packet from the transmission memory 101. The transmission memory 101 can use an SRAM memory to store data, and the present invention does not limit the circuit or device used by the transmission memory 101. Each downlink data packet contains a sequence number. If the sequence number of the downlink data packet is n, the downlink data packet is recorded as a downlink data packet (n). The multiple sequence numbers contained in a plurality of consecutive downlink data packets are arranged in the order read from the transmission memory 101. For example, when all downlink data packets can be correctly received by the second transmission terminal 200 (the second transmission terminal 200 receives the downlink data packet and determines that the received downlink data packet is correct), the sequence number of each downlink data packet sent by the first transmission terminal 100 is the sequence number in the downlink data packet sent by the first transmission terminal 100 last time plus 1. When it is added to the preset maximum value, the sequence number of the next downlink data packet is 0. If the first transmission terminal 100 sends a downlink data packet (n), then it will send downlink data packets (n+1), downlink data packets (n+2), downlink data packets (n+3)... in sequence. If the preset maximum value of the downlink data packet sequence number is Nmax, the first transmission terminal 100 sends a downlink data packet (Nmax), then it will send downlink data packets (0), downlink data packets (1), downlink data packets (2)... in sequence.
[0089] like Fig.13 As shown, the first transmission terminal 100 sends a downlink data packet (n), the second transmission terminal 200 receives the downlink data packet (n), and verifies the downlink data packet (n). If the verification result is correct, the second transmission terminal 200 waits to receive the next downlink data packet (n+1) sent by the first transmission terminal 100. The first transmission terminal 100 sends downlink data packets such as the downlink data packet (n+1) and the downlink data packet (n+2) whose sequence number is after n to the second transmission terminal 200, and the second transmission terminal 200 receives these downlink data packets and verifies them, and the verification result is correct.
[0090] The retransmission control information includes the sequence number of the retransmission data packet. After receiving the retransmission control information, the first transmission terminal 100 reads the downlink data packet whose sequence number is the sequence number of the retransmission data packet from the transmission memory 101, and resends the downlink data packet to the second transmission terminal 200. If the sequence number of the retransmission data packet in the retransmission control information is n, the retransmission control information is recorded as retransmission control information (n).
[0091] The present invention only performs retransmission control on erroneous data packets, and does not perform feedback confirmation on correct data packets. This method is mostly used in asymmetric transmission systems. In an asymmetric transmission system, the data transmission rate in the uplink direction is different from the data transmission rate in the downlink direction, so the data transmission bandwidth in the uplink direction is different from the data transmission bandwidth in the downlink direction. In one embodiment of the present invention, the data transmission rate in the downlink direction is greater than the data transmission rate in the uplink direction, so the data transmission bandwidth in the downlink direction is greater than the data transmission bandwidth in the uplink direction. Performing retransmission control only on erroneous data packets is conducive to timely sending retransmission control information through the uplink transmission channel with a smaller bandwidth.
[0092] In an application embodiment of the present invention, a method is provided for the second transmission terminal 200 to judge the correctness of a downlink data packet: the second transmission terminal 200 decodes and judges the check code in the received downlink data packet, where the check code includes an error detection code and an error correction code, etc. Commonly used codes include cyclic redundancy check code, parity check code, Hamming code, convolutional code, Reed-Solomon code (RS code), BCH code, LDPC code, etc.
[0093] like Fig.14 As shown, the first transmission terminal 100 sends a downlink data packet (n) to the second transmission terminal 200. After receiving the downlink data packet (n), the second transmission terminal 200 decodes the check code in the downlink data packet (n). If the check result of the downlink data packet (n) is wrong, it is determined that an error occurs in the downlink data packet (n), and the second transmission terminal 200 sends retransmission control information (n) to the first transmission terminal 100. After receiving the retransmission control information (n), the first transmission terminal 100 resends the downlink data packet (n), and the second transmission terminal 200 receives the downlink data packet (n) again.
[0094] Another application embodiment of the present invention provides another method for the second transmission terminal 200 to judge the correctness of the downlink data packet: the second transmission terminal 200 judges the continuity of the sequence number in the received downlink data packet.
[0095] like Fig.15As shown, the first transmission terminal 100 sends a downlink data packet (n) to the second transmission terminal 200, and the second transmission terminal 200 receives the correct downlink data packet (n). The first transmission terminal 100 sends a downlink data packet (n+1), but an error occurs during the transmission of the downlink data packet (n+1) and the second transmission terminal 200 receives the correct downlink data packet (n+2). The second transmission terminal 200 determines that an error occurs in the downlink data packet (n+1) because the sequence numbers n and n+2 of the correct downlink data packets received are not continuous. The second transmission terminal 200 sends retransmission control information (n+1) to the first transmission terminal 100. After receiving the retransmission control information (n+1), the first transmission terminal 100 resends the downlink data packet (n+1), and the second transmission terminal 200 receives the downlink data packet (n+1).
[0096] In another application embodiment of the present invention, another method for the second transmission terminal 200 to judge the correctness of the downlink data packet is provided: after receiving a downlink data packet, the second transmission terminal 200 judges whether the next downlink data packet is not received after a first preset time.
[0097] like Fig.16 As shown, the first transmission terminal 100 sends a downlink data packet (n) to the second transmission terminal 200. After receiving the correct downlink data packet (n), the second transmission terminal 200 waits to receive the downlink data packet (n+1). The first transmission terminal 100 sends downlink data packets such as the downlink data packet (n+1) and the downlink data packet (n+2) whose sequence number is after n to the second transmission terminal 200, but these downlink data packets have errors during the transmission process and are not correctly received by the second transmission terminal 200. The second transmission terminal 200 has not received the downlink data packet (n+1) for more than the first preset time, and determines that the downlink data packet (n+1) has an error. The second transmission terminal 200 sends retransmission control information (n+1) to the first transmission terminal 100. After receiving the retransmission control information (n+1), the first transmission terminal 100 resends the downlink data packet (n+1), and the second transmission terminal 200 receives the downlink data packet (n+1).
[0098] In another application embodiment of the present invention, another method is provided for the second transmission terminal 200 to judge the correctness of the downlink data packet: after sending the retransmission control information, the second transmission terminal 200 judges whether a downlink data packet with a sequence number equal to the sequence number of the retransmission data packet has not been received after a second preset time.
[0099] like Fig.17As shown, the downlink data packet (n) sent by the first transmission terminal 100 is not correctly received by the second transmission terminal 200 due to an error in the transmission process. After determining that the downlink data packet (n) has an error, the second transmission terminal 200 sends a retransmission control message (n) to the first transmission terminal 100, waiting to receive the retransmitted downlink data packet (n). After receiving the retransmission control message (n), the first transmission terminal 100 resends the downlink data packet (n) to the second transmission terminal 200, but the downlink data packet (n) has an error in the transmission process and is still not correctly received by the second transmission terminal 200. The second transmission terminal 200 has not received the downlink data packet (n) for more than the second preset time, determines that the downlink data packet (n) has an error, and sends the retransmission control message (n) to the first transmission terminal 100 again. After receiving the retransmission control message (n), the first transmission terminal 100 resends the downlink data packet (n), and the second transmission terminal 200 receives the downlink data packet (n).
[0100] like Fig.18 As shown, in an application embodiment of the present invention, as a multi-channel data transmission system of the present invention, it includes a first transmission terminal 100, a second transmission terminal 200, and a transmission channel 300. The first transmission terminal 100 is connected to the second transmission terminal 200 through the transmission channel 300. The transmission channel 300 includes two transmission channels, namely a first transmission channel 301 and a second transmission channel 302. The first transmission terminal 100 includes a data packet splitting module 102, a synchronization frame generating module 103, a synchronization frame generating module 104, a sending module 105, and a sending module 106.
[0101] like Figure 3 As shown, the data packet splitting module 102 splits the downlink data packet into two downlink data frames, namely, a first downlink data frame and a second downlink data frame. Figure 4 As shown, in an application embodiment of the present invention, the data packet splitting module 102 splits the downlink data packet into two downlink data frames, including: the data packet splitting module 102 splits the data with even and odd sequence numbers in the downlink data packet into two downlink data frames. Figure 5 As shown, in another application embodiment of the present invention, the data packet splitting module 102 splits the downlink data packet into two downlink data frames, including: the data packet splitting module 102 splits the symbols with even and odd sequence numbers in the downlink data packet into two downlink data frames. Figure 6 As shown, in another application embodiment of the present invention, the data packet splitting module 102 splits the downlink data packet into two downlink data frames, including: the data packet splitting module 102 splits the downlink data packets with even and odd sequence numbers in the downlink data packet into two downlink data frames. Figure 4 , Figure 5 , Figure 6The specific description of the timing diagram shown is as mentioned above and will not be repeated here.
[0102] The synchronization frame generation module 103 adds a synchronization frame to the first downlink data frame, and the synchronization frame generation module 104 adds a synchronization frame to the second downlink data frame.
[0103] The sending module 105 sends the first downlink data frame and the added synchronization frame to the first transmission channel 301 , and the sending module 106 sends the second downlink data frame and the added synchronization frame to the second transmission channel 302 .
[0104] like Fig.19 As shown, in this embodiment, the second transmission terminal 200 includes a receiving module 201, a receiving module 202, a data frame alignment module 203, and a data frame merging module 204.
[0105] The receiving module receives two synchronization frames and two downlink data frames from two transmission channels, that is, the receiving module 201 receives the first downlink data frame after adding the synchronization frame from the first transmission channel 301, and the receiving module 202 receives the second downlink data frame after adding the synchronization frame from the second transmission channel 302.
[0106] The data frame alignment module 203 aligns the two downlink data frames according to the synchronization frames received by the receiving module, including: the data frame alignment module 203 adjusts the delay of the two downlink data frames according to the two synchronization frames received by the receiving module from the two transmission channels. A specific method for aligning the two downlink data frames is as follows: Fig.11 The data frame merging module 204 merges the aligned two downlink data frames into a downlink data packet.
[0107] like Fig. 20 As shown, in another application embodiment of the present invention, as a multi-channel data transmission system of the present invention, it includes a first transmission terminal 100, a second transmission terminal 200, and a transmission channel 300. The first transmission terminal 100 is connected to the second transmission terminal 200 through the transmission channel 300. The transmission channel 300 includes two transmission channels, namely a first transmission channel 301 and a second transmission channel 302. The first transmission terminal 100 includes a data packet splitting module 102, a synchronization frame generation module 103, a synchronization frame generation module 104, a sending module 105, a sending module 106, a sending memory 101, and a sending end retransmission control module 107.
[0108] like Fig.21 As shown, in this embodiment, the second transmission terminal 200 includes a receiving module 201, a receiving module 202, a data frame alignment module 203, a data frame merging module 204, and a receiving end retransmission control module 205.
[0109] The data packet splitting module 102, the synchronization frame generating module 103, the synchronization frame generating module 104, the sending module 105, the sending module 106, the receiving module 201, the receiving module 202, the data frame alignment module 203, the data frame merging module 204 and Fig.18 and Fig.19 The corresponding modules in the illustrated embodiment have the same functions.
[0110] exist Fig.18 and Fig. 20 In the embodiment, the synchronization frame generation module 103 adds a synchronization frame to the first downlink data frame, and the synchronization frame generation module 104 adds a synchronization frame to the second downlink data frame. In other embodiments of the present invention, the same synchronization frame generation module can also be used to add synchronization frames to the first downlink data frame and the second downlink data frame (not in Fig.18 and Fig. 20 (displayed in the figure).
[0111] In this embodiment, the data frame merging module 204 sends the downlink data packet to the receiving end retransmission control module 205. After receiving the downlink data packet, the receiving end retransmission control module 205 determines the correctness of the downlink data packet. If it is determined that the downlink data packet is erroneous, retransmission control information is generated and sent to the sending end retransmission control module 107. The retransmission control information is sent by the receiving end retransmission control module 205 in the second transmission terminal 200 to the sending end retransmission control module 107 in the first transmission terminal 100. The transmission direction of the retransmission control information is the uplink direction. The retransmission control information transmitted in the uplink direction and the downlink data packet transmitted in the downlink direction can share the transmission channel, or different transmission channels can be used. When the retransmission control information transmitted in the uplink direction and the downlink data packet transmitted in the downlink direction share the transmission channel, frequency division multiplexing, time division multiplexing or other methods can be used to share the transmission channel. The retransmission control information can be transmitted through one transmission channel or through two transmission channels. The present invention does not limit the transmission mode and transmission channel adopted by the retransmission control information. The sending end retransmission control module 107 allows the first transmission terminal 100 to retransmit the downlink data packet to the second transmission terminal 200 according to the retransmission control information. If the sending end retransmission control module 107 receives the retransmission control information, it reads the downlink data packet to be retransmitted from the sending memory 101 and sends it to the data packet splitting module 102.
[0112] like Fig.14 As shown, in an application embodiment of the present invention, a method for the receiving end retransmission control module 205 to judge the correctness of the downlink data packet is provided: the receiving end retransmission control module 205 decodes and judges the check code in the received downlink data packet. Fig.15As shown, in another application embodiment of the present invention, another method for the receiving end retransmission control module 205 to judge the correctness of the downlink data packet is provided: the receiving end retransmission control module 205 judges the continuity of the sequence number in the received downlink data packet. Fig.16 As shown, in another application embodiment of the present invention, another method for the receiving end retransmission control module 205 to judge the correctness of the downlink data packet is provided: after receiving a downlink data packet, the receiving end retransmission control module 205 judges whether the next downlink data packet is not received after exceeding the first preset time. Fig.17 As shown, in another application embodiment of the present invention, another method for the receiving end retransmission control module 205 to judge the correctness of the downlink data packet is provided: after the receiving end retransmission control module 205 sends the retransmission control information, it is determined whether the downlink data packet with the sequence number being the sequence number of the retransmission data packet is not received after the second preset time. Fig.14 , Fig.15 , Fig.16 , Fig.17 The specific process description of the flowchart shown is as described above and will not be repeated here.
[0113] The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes, modifications, substitutions and variations made to the above embodiments by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A multi-channel data transmission method, based on a multi-channel data transmission system, the multi-channel data transmission system comprises a first transmission terminal, a second transmission terminal, and k (k ≥ 2) transmission channels, the first transmission terminal and the second transmission terminal are connected through the k transmission channels, characterized in that: The first transmission terminal splits the downlink data packet into k downlink data frames, and after adding synchronization frames to the k downlink data frames, each of the split downlink data frames is sent to a transmission channel. The second transmission terminal receives k synchronization frames and k downlink data frames from k transmission channels, aligns the k downlink data frames according to the received synchronization frames, and merges the aligned k downlink data frames into a downlink data packet.
2. A multi-channel data transmission method according to claim 1, characterized in that: The second transmission terminal aligns k downlink data frames according to the received synchronization frames, including: the second transmission terminal adjusts the delay of the k downlink data frames according to the k synchronization frames received from the k transmission channels.
3. A multi-channel data transmission method according to claim 1, characterized in that: When k is equal to 2, the first transmission terminal splits the downlink data packet into two downlink data frames, including: the first transmission terminal splits the data with even and odd sequence numbers in the downlink data packet into two downlink data frames.
4. A multi-channel data transmission method according to claim 1, characterized in that: When k is equal to 2, the first transmission terminal splits the downlink data packet into two downlink data frames, including: the first transmission terminal splits the symbols with even and odd sequence numbers in the downlink data packet into two downlink data frames.
5. A multi-channel data transmission method according to claim 1, characterized in that: When k is equal to 2, the first transmission terminal splits the downlink data packet into two downlink data frames, including: the first transmission terminal splits the downlink data packets with even and odd sequence numbers in the downlink data packet into two downlink data frames.
6. A multi-channel data transmission method according to claim 1, characterized in that: The second transmission terminal determines the correctness of the downlink data packet, and if it is determined that the downlink data packet is erroneous, generates retransmission control information and sends it to the first transmission terminal. The first transmission terminal resends the downlink data packet to the second transmission terminal according to the retransmission control information.
7. A multi-channel data transmission method according to claim 6, characterized in that: The method for the second transmission terminal to judge the correctness of the downlink data packet is that the second transmission terminal decodes and judges the check code in the downlink data packet.
8. A multi-channel data transmission method according to claim 6, characterized in that: Each of the downlink data packets contains a sequence number, and the multiple sequence numbers contained in the consecutive downlink data packets are arranged in sequence according to the order of transmission. The method for the second transmission terminal to judge the correctness of the downlink data packet is that the second transmission terminal judges the continuity of the sequence number in the received downlink data packet.
9. A multi-channel data transmission method according to claim 6, characterized in that: The method for the second transmission terminal to judge the correctness of the downlink data packet is that, after receiving a downlink data packet, the second transmission terminal judges whether the next downlink data packet is not received after a first preset time.
10. A multi-channel data transmission method according to claim 6, characterized in that: The retransmission control information includes a retransmission data packet sequence number, The method for the second transmission terminal to judge the correctness of the downlink data packet is that after sending the retransmission control information, the second transmission terminal judges whether a downlink data packet with a sequence number equal to the sequence number of the retransmission data packet is not received after a second preset time.
11. A multi-channel data transmission system, comprising a first transmission terminal, a second transmission terminal, and k (k ≥ 2) transmission channels, wherein the first transmission terminal is connected to the second transmission terminal via the k transmission channels, characterized in that: The first transmission terminal comprises a data packet splitting module, a synchronization frame generating module, and a sending module. The data packet splitting module splits the downlink data packet into k downlink data frames. The synchronization frame generation module adds synchronization frames to the split k-way downlink data frames respectively. The sending module sends k downlink data frames after adding synchronization frames to each transmission channel. The second transmission terminal comprises a receiving module, a data frame alignment module, and a data frame merging module. The receiving module receives k synchronization frames and k downlink data frames from k transmission channels. The data frame alignment module aligns k downlink data frames according to the synchronization frames received by the receiving module. The data frame merging module merges the aligned k-path downlink data frames into a downlink data packet.
12. A multi-channel data transmission system according to claim 11, characterized in that: The data frame alignment module aligns k downlink data frames according to the synchronization frames received by the receiving module, including: the data frame alignment module adjusts the delay of k downlink data frames according to the k synchronization frames received by the receiving module from k transmission channels.
13. A multi-channel data transmission system according to claim 11, characterized in that: When k is equal to 2, the data packet splitting module splits the downlink data packet into two downlink data frames, including: the data packet splitting module splits the data with even and odd sequence numbers in the downlink data packet into two downlink data frames.
14. A multi-channel data transmission system according to claim 11, characterized in that: When k is equal to 2, the data packet splitting module splits the downlink data packet into two downlink data frames, including: the data packet splitting module splits the symbols with even and odd sequence numbers in the downlink data packet into two downlink data frames.
15. The multi-channel data transmission system according to claim 11, characterized in that: When k is equal to 2, the data packet splitting module splits the downlink data packet into two downlink data frames, including: the data packet splitting module splits the downlink data packets with even and odd sequence numbers in the downlink data packet into two downlink data frames.
16. A multi-channel data transmission system according to claim 11, characterized in that: The first transmission terminal further comprises a transmitting end retransmission control module, and the second transmission terminal further comprises a receiving end retransmission control module. The receiving end retransmission control module determines the correctness of the downlink data packet. If it is determined that the downlink data packet is erroneous, retransmission control information is generated and sent to the sending end retransmission control module. The sending end retransmission control module enables the first transmission terminal to resend the downlink data packet to the second transmission terminal according to the retransmission control information.
17. A multi-channel data transmission system according to claim 16, characterized in that: The method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that the receiving end retransmission control module decodes and judges the check code in the downlink data packet.
18. A multi-channel data transmission system according to claim 16, characterized in that: Each of the downlink data packets contains a sequence number, and the multiple sequence numbers contained in the consecutive downlink data packets are arranged in sequence according to the order of transmission. The method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that the receiving end retransmission control module judges the continuity of the sequence number in the received downlink data packet.
19. A multi-channel data transmission system according to claim 16, characterized in that: The method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that after receiving a downlink data packet, the receiving end retransmission control module judges whether the next downlink data packet is not received after exceeding a first preset time.
20. The multi-channel data transmission system according to claim 16, characterized in that: The retransmission control information includes a retransmission data packet sequence number, The method for the receiving end retransmission control module to judge the correctness of the downlink data packet is that after sending the retransmission control information, the receiving end retransmission control module judges whether a downlink data packet with a sequence number equal to the sequence number of the retransmission data packet is not received after a second preset time.