Data transmission method and device with data reuse mechanism
By introducing a data reuse mechanism into the data transmission method, splitting and reorganizing data packets, the problem of resource waste in data transmission is solved, efficient data transmission is achieved, and it is suitable for a variety of data transmission protocols.
Patent Information
- Application Number
- CN202110046298.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-14
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-01-14
AI Technical Summary
During the data transmission process, resources are wasted due to repeated transmission of data packets, and it is difficult for the existing technology to effectively avoid repeated transmission of the same data content.
By introducing a data reuse mechanism into the data transmission method, the transmitter analyzes the data to be transmitted and generates reuse setting information and instruction information, splitting the data packet into complete data packets and incomplete data packets. The complete data packet contains reusable data sections. The transmission interface transmits these data packets, and the receiving end reorganizes the data packets according to the instruction information and reuse setting information to avoid repeated transmission of the same content.
It greatly reduces the data transmission volume of the transmission interface, improves the data transmission efficiency, and is suitable for different data transmission protocols.
Smart Images

Figure CN114765494B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data transmission technology, and in particular to a data transmission method and device with a data reuse mechanism. Background Art
[0002] In the architecture of communication systems such as Internet protocols, the entire communication network is divided into different layers. For example, in the Open System Interconnection (OSI) model, the network is divided from abstract to concrete, from top to bottom into a seven-layer structure: application layer, presentation layer, session layer, transport layer, network layer, data link layer and physical layer. Among them, the highest layer is software and the lowest layer is hardware circuit.
[0003] In the process of data transmission from the upper layer to the lower layer, it will be carried out in the form of data packets, and the header or related information of each layer will be given. In this case, the same data content will be generated between each data packet, causing the data transmission interface to perform repeated data transmission, resulting in a waste of resources. Summary of the invention
[0004] In view of the problems of the prior art, an object of the present invention is to provide a data transmission method and device with a data reuse mechanism to improve the prior art.
[0005] The present invention includes a data transmission method with a data reuse mechanism, comprising: operating a driver corresponding to a communication circuit as a transmitting end to analyze the data to be transmitted to generate reuse setting information, indication information and multiple data packets, wherein the data packets include a complete data packet and multiple incomplete data packets and the complete data packets are arranged before the incomplete data packets, the complete data packets include a reusable data segment, and the incomplete data packets each include a non-reusable data segment; the transmitting end transmits the reuse setting information, indication information and data packets through a transmission interface, and enables the communication circuit to receive them as a receiving end; the receiving end identifies the complete data packet and the incomplete data packet according to the indication information; the receiving end determines the data position corresponding to the reusable data segment according to the reuse setting information; the receiving end outputs the complete data packet; and the receiving end recombines the non-reusable data segment of each incomplete data packet with the reusable data segment included in the complete data packet according to the data position, and then outputs the recombined data packet.
[0006] The present invention further includes a data transmission device with a data reuse mechanism, comprising: a transmission interface, a communication circuit, a memory circuit, and a processing circuit. The communication circuit is electrically coupled to the transmission interface. The memory circuit is configured to store a driver corresponding to the communication circuit. The processing circuit is electrically coupled to the transmission interface and the memory circuit, and is configured to execute a data transmission method, which includes the following steps. The operating driver analyzes the data to be transmitted as a transmitting end to generate reuse setting information, indication information and multiple data packets, wherein the data packet includes a complete data packet and multiple incomplete data packets and the complete data packet is sorted before the incomplete data packet, the complete data packet includes a reusable data segment, and the incomplete data packets each include a non-reusable data segment; the transmitting end transmits the reuse setting information, indication information and data packet through the transmission interface, and enables the communication circuit to receive them as a receiving end; the receiving end identifies the complete data packet and the incomplete data packet according to the indication information; the receiving end determines the data position corresponding to the reusable data segment according to the reuse setting information; the receiving end outputs the complete data packet; and the receiving end recombines the non-reusable data segment of each incomplete data packet with the reusable data segment included in the complete data packet according to the data position, and then outputs the recombined data packet.
[0007] The features, implementation and effects of the present invention are described in detail below with reference to the accompanying drawings for preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A schematic diagram showing a data transmission device with a data reuse mechanism in one embodiment of the present invention;
[0009] Figure 2 A schematic diagram showing a system architecture of software and hardware in a data transmission device in cooperation with each other in one embodiment of the present invention;
[0010] Figure 3A A schematic diagram showing a receiving end receiving a complete data packet in a data packet from a bus and processing the complete data packet in an embodiment of the present invention;
[0011] Figure 3B A schematic diagram showing an embodiment of the present invention, in which a receiving end receives an incomplete data packet from a bus and processes the incomplete data packet;
[0012] Figure 4A A schematic diagram showing a receiving end receiving a complete data packet in a data packet from a bus and processing the complete data packet in an embodiment of the present invention;
[0013] Figure 4B A schematic diagram showing an embodiment of the present invention, in which a receiving end receives an incomplete data packet from a bus and processes the incomplete data packet;
[0014] Figure 5A and Figure 5B Schematic diagrams respectively showing data packets corresponding to transmission interfaces with different transmission modes in one embodiment of the present invention; and
[0015] Figure 6 A flow chart of a data transmission method in one embodiment of the present invention is shown. DETAILED DESCRIPTION
[0016] An object of the present invention is to provide a data transmission method and device with a data reuse mechanism, which avoids repeated transmission of the same data content through data reuse technology, greatly reduces the data transmission volume of the transmission interface, and can also be applied to different data transmission protocols.
[0017] Please refer to Figure 1 . Figure 1 A schematic diagram of a data transmission device 100 with a data reuse mechanism in one embodiment of the present invention is shown. The data transmission device 100 includes a transmission interface 110 , a communication circuit 120 , a memory circuit 130 , and a processing circuit 140 .
[0018] The transmission interface 110 is configured to electrically couple different circuit elements in the data transmission device 100 to perform data transmission. For example, the transmission interface 110 can be electrically coupled between the processing circuit 140 and the communication circuit 120 to perform data transmission therebetween.
[0019] The communication circuit 120 is configured to enable the data transmission device 100 to communicate with the remote electronic device RE. In one embodiment, the communication circuit 120 may be a circuit that communicates according to a specific wireless network protocol (e.g., Wi-Fi technology), but is not limited thereto. The remote electronic device RE may be a device that communicates according to the same wireless network protocol (e.g., Wi-Fi technology), such as but not limited to a repeater, a router, or a remote host.
[0020] The memory circuit 130 may be any storage device configured to store data, such as, but not limited to, a random access memory (RAM), a read only memory (ROM), or a hard disk. It should be noted that the memory circuit 130 may include only a single storage device or a plurality of storage devices in different embodiments to store different types of data.
[0021] The processing circuit 140 is electrically coupled to the transmission interface 110 and the memory circuit 130. In one embodiment, the processing circuit 140 can be configured to extract and execute computer executable instructions from the memory circuit 130, such as, but not limited to, application programs for executing different functions and firmware and drivers of various hardware circuits included in the data transmission device 100, so as to execute the functions of the data transmission device 100.
[0022] exist Figure 1 , an application program AP and a driver program DP of the communication circuit 120 are exemplarily depicted. However, in other embodiments, the memory circuit 130 may store other types of computer executable instructions for the processing circuit 140 to extract and execute.
[0023] The data transmission device 100 is configured to transmit data from an upper layer to a lower layer in a data transmission protocol under the operation of the included circuits. The upper layer is software operated by the processing circuit 140, such as but not limited to the application program AP. The lower layer is a hardware circuit, such as but not limited to the communication circuit 120. The operation of the data transmission device 100 will be described in more detail below.
[0024] Please also refer to Figure 2 . Figure 2 A schematic diagram of a system architecture 200 of the data transmission device 100 under the coordinated operation of software and hardware in one embodiment of the present invention is shown. Figure 2 The system architecture 200 shown includes a data source 210 , a transmitting end 220 , a transmitting data storage circuit 230 , a bus 240 , an information storage circuit 250 , a receiving end 260 , a reused data storage circuit 270 , and a received data storage circuit 280 .
[0025] Figure 1 The processing circuit 140 in the embodiment operates the application program AP as a data source 210 to generate data to be transmitted UD. Further, the processing circuit 140 operates the driver program DP as a transmitting end 220 to analyze the data to be transmitted UD to generate reuse setting information RI, indication information DI and a plurality of data packets PK.
[0026] In one embodiment, during the conversion process from the upper layer to the lower layer transmission protocol, the original data (such as the data to be transmitted UD) is divided into small blocks of data. Since these small blocks of data are assigned to the headers of each transmission layer, some of the contents of these small blocks of data are completely identical.
[0027] Therefore, the transmitting end 220 can analyze the data to be transmitted UD and determine that the data with the same content is reusable data and the data with different content is non-reusable data, so as to reuse the small blocks of data.
[0028] The reuse configuration information RI generated by the transmitter 220 defines the location of the reusable data in each small block of data, and the indication information DI generated by the transmitter 220 defines the corresponding relationship of the data packets that can be reused. The details of the reuse configuration information RI and the indication information DI will be described when describing the operation of the receiver 260.
[0029] The data packet PK generated by the transmitting end 220 is a small block of data after data reuse, and includes a complete data packet FP and a plurality of incomplete data packets RP in sequence. There is only one complete data packet FP, and its content includes a reusable data segment corresponding to reusable data. In one embodiment, the complete data packet FP may also selectively include a non-reusable data segment corresponding to non-reusable data. The number of incomplete data packets RP may be more than one, and its content only includes a non-reusable data segment corresponding to non-reusable data.
[0030] It should be noted that the number of reusable data segments included in the complete data packet FP may be one or more. Similarly, the number of non-reusable data segments included in the complete data packet FP and the incomplete data packet RP may be one or more. The configuration examples of the reusable data segments and the non-reusable data segments will be described in the following paragraphs.
[0031] In one embodiment, Figure 1 The memory circuit 130 (eg, all or part of the blocks in the memory circuit 130) can be used as the transmission data temporary storage circuit 230. The transmitting end 220 can output the indication information DI and the data packet PK to the transmission data temporary storage circuit 230 for subsequent transmission.
[0032] Figure 1 The transmission interface 110 may include Figure 2 The bus 240 and the information buffer circuit 250 are shown. The transmitting end 220 transmits the indication information DI and the data packet PK via the bus 240 and the receiving end 260 receives them, and outputs the reuse setting information RI to the information buffer circuit 250 and the receiving end 260 reads it.
[0033] In another embodiment, Figure 1 The transmission interface 110 in the embodiment may also only include the bus 240. In this case, the transmitter 220 transmits the reuse configuration information RI, the indication information DI and the data packet PK via the bus 240.
[0034] Figure 1The communication circuit 120 in the embodiment can be used as a receiving end 260 to receive the indication information DI and the data packet PK through the bus 240, and read the information temporary storage circuit 250 to receive the reuse setting information RI. The receiving end 260 can identify the corresponding complete data packet FP and incomplete data packet RP according to the indication information DI, and determine the data position corresponding to the reusable data segment according to the reuse setting information RI.
[0035] In one embodiment, the data position includes the starting position of the reusable data segment and the segment size. For example, the reuse setting information RI may define the starting position of the reusable data segment as 0 bits, and the segment size as 40 bits. In another example, the reuse setting information RI may define the starting position of the reusable data segment as 48 bits, and the segment size as 16 bits. It should be noted that the above numerical values are only examples, and the present invention is not limited thereto.
[0036] Therefore, the receiving end 260 can output a complete data packet FP, and reassemble the non-reusable data segments of each incomplete data packet RP with the reusable data segments included in the complete data packet FP according to the data position, and then output a reassembled data packet RPR.
[0037] More specifically, when the receiving end 260 determines that the complete data packet FP is received, the receiving end 260 outputs the complete data packet FP to the received data temporary storage circuit 280, and the reusable data segment (in Figure 2 The data is output to the reuse data temporary storage circuit 270.
[0038] Furthermore, when the receiving end 260 determines that an incomplete data packet RP is received, it reads the reusable data segment from the reused data buffer circuit 270, and then recombines the non-reusable data segment and the reusable data segment of the incomplete data packet RP according to the corresponding data position and outputs them to the received data buffer circuit 280.
[0039] In different embodiments, according to the relative relationship between the data processing speed of the receiving end 260 and the data transmission speed of the bus 240 for the data packet PK, the transmitting end 220 and the receiving end 260 may have different processing methods for the data packet PK. The processing methods of the transmitting end 220 and the receiving end 260 for the data packet will be described in more detail below.
[0040] Please refer to Figure 3A as well as Figure 3B . Figure 3A FIG. 1 is a schematic diagram showing a receiving end 260 receiving and processing a complete data packet FP in a data packet PK from a bus 240 in an embodiment of the present invention. Figure 3BFIG. 1 is a schematic diagram showing a receiving end 260 receiving and processing an incomplete data packet RP in a data packet PK from a bus 240 in an embodiment of the present invention.
[0041] In this embodiment, the data processing speed of the receiving end 260 is higher than the data transmission speed of the bus 240 for the data packet PK, and the difference between the data processing speed and the data transmission speed is greater than the threshold value. Figure 3A as well as Figure 3B The data packet PK is shown as an example, including a complete data packet FP and two incomplete data packets RP (identified by RP(1) and RP(2)) in sequence, and only the data segments included in the complete data packet FP and the two incomplete data packets RP are shown.
[0042] In one embodiment, the complete data packet FP includes a reusable data segment RD0, a non-reusable data segment DA0, a reusable data segment RD1, and a non-reusable data segment DA1 arranged in sequence. The incomplete data packet RP includes a non-reusable data segment DA0 and a non-reusable data segment DA1 arranged in sequence. It should be noted that although the marking symbols of the non-reusable data segments of the incomplete data packet RP and the complete data packet FP are the same, the actual data contents may be different.
[0043] Since the data processing speed of the receiving end 260 is significantly different from the data transmission speed of the bus 240 for the data packet PK (the difference is greater than the threshold value), the receiving end 260 has sufficient ability to process the data packet PK immediately. Figure 3A As shown, when it is determined that a complete data packet FP is received, the content of the complete data packet FP can be sequentially output to the received data temporary storage circuit 280, and the reusable data segments RD0 and RD1 can be copied so that the reusable data segments RD0 and RD1 can be output to the reused data temporary storage circuit 270.
[0044] Therefore, when the receiving end 260 is Figure 3B As shown, when it is determined that an incomplete data packet RP (in this figure, the incomplete data packet RP(1)) is received, the reusable data segments RD0 and RD1 can be read from the reused data buffer circuit 270, and then the reusable data segment RD0, the non-reusable data segment DA0, the reusable data segment RD1 and the non-reusable data segment DA1 are reorganized in sequence according to the data position defined by the reuse setting information RI, and then output to the received data buffer circuit 280.
[0045] Please refer to Figure 4A as well as Figure 4B . Figure 4A FIG. 1 is a schematic diagram showing a receiving end 260 receiving and processing a complete data packet FP in a data packet PK from a bus 240 in an embodiment of the present invention. Figure 4B FIG. 1 is a schematic diagram showing a receiving end 260 receiving and processing an incomplete data packet RP in a data packet PK from a bus 240 in an embodiment of the present invention.
[0046] In this embodiment, the data processing speed of the receiving end 260 is higher than the data transmission speed of the bus 240 for the data packet PK, and the difference between the data processing speed and the data transmission speed is not greater than the threshold value. Figure 4A as well as Figure 4B The complete data packet FP and two incomplete data packets RP (distinguished by RP(1) and RP(2)) included in the data packet PK are shown as examples, and only the data segments included in the complete data packet FP and the two incomplete data packets RP are shown.
[0047] In one embodiment, the complete data packet FP includes a non-reusable data segment DA0, two reusable data segments RD0, a non-reusable data segment DA1, two reusable data segments RD1, and a non-reusable data segment DA2 arranged in sequence. The incomplete data packet RP includes a non-reusable data segment DA0, a non-reusable data segment DA1, and a non-reusable data segment DA2 arranged in sequence. It should be noted that although the non-reusable data segment numbers of the incomplete data packet RP and the complete data packet FP are the same, the actual data contents may be different.
[0048] Since the data processing speed of the receiving end 260 is slightly different from the data transmission speed of the bus 240 for the data packet PK (the difference is not greater than the threshold value), the receiving end 260 is less capable of processing the data packet PK in real time. Therefore, when the transmitting end 220 generates the data packet PK, it will copy the reusable data segment so that the complete data packet FP includes two reusable data segments RD0 and two reusable data segments RD1. That is, when the transmitting end 220 generates the data packet PK, it fills the reusable data segment as buffer data, but the type and quantity of buffer data (for example, copying each reusable data segment once) are not limited to this.
[0049] When the receiving end 260 is Figure 4A As shown, when it is determined that a complete data packet FP is received, the content of the complete data packet FP containing only one reusable data segment RD0, RD1 can be output to the received data temporary storage circuit 280 in sequence, and the other reusable data segment RD0, RD1 can be output to the reused data temporary storage circuit 270.
[0050] Therefore, when the receiving end 260 is Figure 4BAs shown, when it is determined that an incomplete data packet RP (in this figure, the incomplete data packet RP(1)) is received, the reusable data segments RD0 and RD1 can be read from the reused data temporary storage circuit 270, and then the non-reusable data segment DA0, reusable data segment RD0, non-reusable data segment DA1, reusable data segment RD1 and non-reusable data segment DA2 are reorganized in sequence according to the data position defined by the reuse setting information RI, and then output to the receiving data temporary storage circuit 280.
[0051] In different embodiments, the indication information DI has different transmission modes as the data packet PK is transmitted through the bus 240. The transmission mode of the indication information DI will be described in more detail below.
[0052] Please refer to Figure 5A and Figure 5B . Figure 5A as well as Figure 5B Schematic diagrams of data packets PK corresponding to transmission interfaces with different transmission modes in one embodiment of the present invention are shown respectively. Figure 5A as well as Figure 5B The data packet PK is exemplarily depicted as sequentially including a complete data packet FP and two incomplete data packets RP (distinguished by RP(1) and RP(2)), and the data segments included in the complete data packet FP and the incomplete data packet RP are also depicted, as well as the indication information DI attached to the complete data packet FP and / or the incomplete data packet RP.
[0053] In one embodiment, the data packets PK are aggregated and transmitted via bus 240. In this case, the transmission order of the data packets in the same aggregation is fixed. Figure 5A As shown, the transmitter 220 attaches the indication information DI to the complete data packet FP and does not attach it to the incomplete data packet RP. In this case, the indication information DI will include the number of incomplete data packets RP (for example, the number of incomplete data packets in this embodiment is at least 2), so that the receiver 260 can determine the incomplete data packets RP that can be reused.
[0054] In one embodiment, the data packet PK is transmitted via a lane including multiple channels in the bus 240. In such a case, the order of data packet transmission between different channels cannot be predicted. Figure 5B As shown, the transmitter 220 attaches the indication information DI to the complete data packet FP and each incomplete data packet RP. In this case, the indication information DI will include the correspondence between the complete data packet FP and the incomplete data packet RP, so that the receiver 260 can determine the incomplete data packet RP that can be reused according to the complete data packet FP.
[0055] Therefore, the data transmission device of the present case can analyze the reusable data segment through the data reuse technology, so that the transmission interface only needs to transmit the reusable data segment once when transmitting the data packet. This method not only avoids the repeated transmission of the same data content, greatly reduces the data transmission volume of the transmission interface, but also can be applied to different data transmission protocols.
[0056] It should be noted that the above embodiment is described with a group of data packets PK that can reuse data with each other. In actual operation, the data transmission device 100 can transmit multiple groups of data packets PK to respectively reuse data.
[0057] Furthermore, in some embodiments, the data packet PK may only include the complete data packet FP but not any incomplete data packet RP. In such a case, the complete data packet FP does not include any data that can be reused with other data packets.
[0058] Please refer to Figure 6 . Figure 6 A flowchart of a data transmission method 600 is shown in one embodiment of the present invention.
[0059] In addition to the aforementioned apparatus, the present invention also discloses a data transmission method 600, which is applied to, for example but not limited to Figure 1 An embodiment of the data transmission method 600 is as follows: Figure 6 As shown, the following steps are included.
[0060] In step S610, the driver DP corresponding to the communication circuit 120 is operated as the transmitting end 220 to analyze the data to be transmitted UD to generate reuse setting information RI, indication information DI and a plurality of data packets PK sequentially including a complete data packet FP and a plurality of incomplete data packets RP. The complete data packet FP includes a reusable data segment, and the incomplete data packets RP each include a non-reusable data segment.
[0061] In step S620 , the transmitter 220 transmits the reuse configuration information RI, the indication information DI and the data packet PK via the transmission interface 110 , and enables the communication circuit 120 to serve as the receiver 260 to receive them.
[0062] In step S630 : the receiving end 260 identifies the complete data packet FP and the incomplete data packet RP according to the indication information DI.
[0063] In step S640 : the receiving end 260 determines the data position corresponding to the reusable data segment according to the reuse configuration information RI.
[0064] In step S650 : the receiving end 260 outputs a complete data packet FP.
[0065] In step S660 , the receiving end 260 reassembles the non-reusable data segments of each incomplete data packet RP with the reusable data segments included in the complete data packet FP according to the data position, and then outputs the reassembled data packet RPR.
[0066] It should be noted that the above implementation is only an example. In other embodiments, those skilled in the art should be able to make changes without violating the spirit of the present invention. It should be understood that the steps mentioned in the above implementation, except for those whose order is specifically stated, can be adjusted in order according to actual needs, and can even be executed simultaneously or partially simultaneously.
[0067] The data transmission method and device with data reuse mechanism in the present invention avoids repeated transmission of the same data content by using data reuse technology, greatly reduces the data transmission volume of the transmission interface, and can also be applied to different data transmission protocols.
[0068] Although the embodiments of the present invention are described above, these embodiments are not intended to limit the present invention. A person skilled in the art may make changes to the technical features of the present invention according to the explicit or implicit contents of the present invention. All these changes may fall within the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention shall be subject to the scope of the patent application defined in this specification.
[0069] Description of Reference Numerals
[0070] 100: Data transmission device
[0071] 110: Transmission interface
[0072] 120: Communication circuit
[0073] 130: memory circuit
[0074] 140: Processing circuit
[0075] 200:System Architecture
[0076] 210: Data Source
[0077] 220: Transmission terminal
[0078] 230: Transmission data temporary storage circuit
[0079] 240: Bus
[0080] 250: Information temporary storage circuit
[0081] 260: receiving end
[0082] 270: Reuse data temporary storage circuit
[0083] 280: Receive data temporary storage circuit
[0084] 600: Data transmission method
[0085] S610~S660: Steps
[0086] AP: Application
[0087] DA0~DA2: Non-reusable data segment
[0088] DI: Indication information
[0089] DP: Driver
[0090] FP: Full Data Packet
[0091] PK: Data Packet
[0092] RD0~RD1: Reusable data segment
[0093] RE: Remote Electronics
[0094] RI: Reuse Setup Information
[0095] RP: Incomplete Data Packet
[0096] RPR: Reassembly Packet
[0097] UD: Data to be transmitted
Claims
1. A data transmission method with a data reuse mechanism, comprising: The driver corresponding to the communication circuit is operated as a transmitting end to analyze the data to be transmitted to generate reuse setting information, indication information and a plurality of data packets, wherein the plurality of data packets include a complete data packet and a plurality of incomplete data packets and the complete data packets are arranged before the incomplete data packets, the complete data packets include a reusable data segment, and the incomplete data packets each include a non-reusable data segment; The transmitting end transmits reuse setting information, indication information and data packets through the transmission interface, and the communication circuit serves as a receiving end to receive them; The receiving end identifies a complete data packet and an incomplete data packet according to the indication information; The receiving end determines the data position corresponding to the reusable data segment according to the reuse setting information; The receiving end outputs a complete data packet; as well as The receiving end reassembles the non-reusable data segments of each incomplete data packet with the reusable data segments contained in the complete data packet according to the data position, and outputs a plurality of reassembled data packets.
2. The data transmission method as claimed in claim 1, wherein the transmission interface comprises a bus, and the transmitter transmits the reuse setting information, the indication information and the data packet via the bus.
3. The data transmission method as claimed in claim 1, wherein the transmission interface comprises a bus and an information temporary storage circuit, the transmitting end transmits the indication information and the data packet via the bus, and the transmitting end outputs the reuse setting information to the information temporary storage circuit and then the receiving end reads it.
4. The data transmission method of claim 1 , wherein when the data processing speed of the receiving end is higher than the data transmission speed of the transmission interface for the data packet, and the difference between the data processing speed and the data transmission speed is greater than a threshold value, the data transmission method further comprises: When the receiving end determines that a complete data packet is received, the receiving end outputs the complete data packet to a received data temporary storage circuit, and outputs a reusable data segment included in the complete data packet to a reused data temporary storage circuit; and When the receiving end determines that any incomplete data packet is received, the reusable data segment is read from the reusable data temporary storage circuit, and the non-reusable data segment of the incomplete data packet is recombined with the reusable data segment and then output to the received data temporary storage circuit.
5. The data transmission method of claim 1 , wherein when the data processing speed of the receiving end is higher than the data transmission speed of the transmission interface for data packets, and the difference between the data processing speed and the data transmission speed is not greater than a threshold value, the data transmission method further comprises: duplicating the reusable data segment by the transmitting end so that the complete data packet includes two reusable data segments; When the receiving end determines that a complete data packet is received, the receiving end outputs the complete data packet including only one reusable data segment to a received data temporary storage circuit, and outputs another reusable data segment to a reused data temporary storage circuit; and When the receiving end determines that any incomplete data packet is received, the reusable data segment is read from the reusable data temporary storage circuit, and the non-reusable data segment of the incomplete data packet is recombined with the reusable data segment and then output to the received data temporary storage circuit.
6. The data transmission method as claimed in claim 1, wherein the data packets are aggregated and transmitted via a transmission interface, and the data transmission method further comprises: The transmitter adds indication information to the complete data packet and does not add it to the incomplete data packet, wherein the indication information includes the number of the incomplete data packets.
7. The data transmission method of claim 1, wherein the data packet is transmitted via a path including a plurality of channels in the transmission interface, the data transmission method further comprising: The transmitting end adds indication information to the complete data packet and each incomplete data packet, wherein the indication information includes the corresponding relationship between the complete data packet and the incomplete data packet.
8. The data transmission method according to claim 1, further comprising: The operating application serves as a data source to generate data to be transmitted.
9. The data transmission method according to claim 1, further comprising: The memory circuit is used as a transmission data temporary storage circuit, so that the transmission end outputs the indication information and the data packet to the transmission data temporary storage circuit and then transmits them through the transmission interface.
10. A data transmission device with a data reuse mechanism, comprising: Transmission interface; A communication circuit electrically coupled to the transmission interface; a memory circuit configured to store a driving program corresponding to the communication circuit; as well as The processing circuit is electrically coupled to the transmission interface and the memory circuit and is configured to execute a data transmission method. The data transmission method includes the following steps: The driver is operated as a transmitting end to analyze the data to be transmitted to generate reuse setting information, indication information and a plurality of data packets, wherein the plurality of data packets include a complete data packet and a plurality of incomplete data packets and the complete data packets are arranged before the incomplete data packets, the complete data packets include a reusable data segment, and the incomplete data packets each include a non-reusable data segment; The transmitting end transmits the reuse setting information, the indication information and the data packet through the transmission interface, and the communication circuit is used as a receiving end to receive them; The receiving end identifies a complete data packet and an incomplete data packet according to the indication information; The receiving end determines the data position corresponding to the reusable data segment according to the reuse setting information; The receiving end outputs a complete data packet; as well as The receiving end reassembles the non-reusable data segments of each incomplete data packet with the reusable data segments contained in the complete data packet according to the data position, and outputs a plurality of reassembled data packets.
