Data transmission method, system and device based on SerDes interface and storage medium

By obtaining the data characteristics and data transmission performance of the data to be transmitted in the SerDes interface, determining the compressible data and its encoding method, and compressing the data, solving the problems of data traffic optimization and bandwidth utilization reduction in high-speed data transmission, and achieving efficient and stable data transmission.

CN119854376APending Publication Date: 2025-04-18GUANGDONG ZHONGXING NEWSTART TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411970080.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

During high-speed data transmission, how to optimize data traffic, reduce bandwidth usage, and improve transmission efficiency and stability.

Method used

By obtaining the data characteristics of the data to be transmitted in the SerDes interface, the compressible data and its encoding method are determined, and the data is compressed according to the data transmission performance of the channel to optimize the data traffic.

Benefits of technology

While maintaining the transmission rate, optimize data traffic, reduce broadband requirements, and improve data transmission efficiency and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854376A_ABST
    Figure CN119854376A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method, system and device based on a SerDes interface and a storage medium, and the method comprises the steps: obtaining to-be-transmitted data, and determining the to-be-transmitted data which can be compressed and a corresponding coding mode according to the data characteristics of the to-be-transmitted data; the data characteristics of the to-be-transmitted data comprise any one or more of the type, format, distribution or redundancy of the data; and obtaining the data transmission performance of the channel, compressing the to-be-transmitted data according to the data transmission performance and the coding mode, and sending the compressed to-be-transmitted data through a SerDes interface. On the premise of keeping the transmission rate, the embodiment of the invention optimizes the data flow, reduces the broadband requirement, improves the transmission efficiency and stability, and can be widely applied to the technical field of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a data transmission method, system, device and storage medium based on a SerDes interface. Background Art

[0002] With the rapid development of modern communication technology, especially in the field of high-speed data transmission, bandwidth demand and data transmission rate are constantly increasing. Especially in high-speed communication interfaces, how to efficiently and stably transmit large amounts of data while minimizing the occupancy of system bandwidth has become a key issue. SerDes (Serializer / Deserializer) interface technology is widely used in a variety of communication and data transmission systems due to its high speed and low power consumption, such as network switches, data storage, display technology, etc. However, during high-speed data transmission, bandwidth demand continues to increase. How to optimize data traffic and reduce bandwidth occupancy has become the key to solving this problem. Summary of the invention

[0003] In view of this, in order to solve one of the above problems, the purpose of an embodiment of the present invention is to provide a data transmission method, system, device and storage medium based on a SerDes interface, which optimizes data flow, reduces bandwidth requirements, and improves transmission efficiency and stability while maintaining the transmission rate.

[0004] On the one hand, an embodiment of the present invention provides a data transmission method based on a SerDes interface, which is applied to a transmitting end and includes:

[0005] Acquire data to be transmitted, and determine the data to be transmitted that can be compressed and a corresponding encoding method according to data characteristics of the data to be transmitted; the data characteristics of the data to be transmitted include any one or more of data type, format, distribution or redundancy;

[0006] The data transmission performance of the channel is obtained, the data to be transmitted is compressed according to the data transmission performance and the encoding method, and the compressed data to be transmitted is sent through the SerDes interface.

[0007] Optionally, determining the data to be transmitted that can be compressed and the corresponding encoding method according to the data characteristics of the data to be transmitted includes:

[0008] If the redundancy of the data to be transmitted is greater than a preset threshold, the data to be transmitted can be compressed, and an encoding method is determined according to the redundancy;

[0009] Or, if the format of the data to be transmitted is a preset format, the data to be transmitted can be compressed, and the encoding method is determined according to the format;

[0010] Or, if the type of the data to be transmitted is a preset type, the data to be transmitted can be compressed, and the encoding method is determined according to the type;

[0011] Alternatively, if the distribution of the data to be transmitted is a preset distribution, the data to be transmitted can be compressed, and the encoding method is determined according to the distribution.

[0012] Optionally, compressing the data to be transmitted according to the data transmission performance and the encoding method includes:

[0013] If the data transmission performance meets the preset requirements, compressing the data to be transmitted using the encoding method;

[0014] If the data transmission performance does not meet the preset requirements, the encoding method is adjusted, and the adjusted encoding method is used to compress the data to be transmitted.

[0015] Optionally, the method further comprises:

[0016] The working mode of the SerDes interface is adaptively configured according to the data characteristics of the data to be transmitted.

[0017] Optionally, the method further comprises:

[0018] A flow control mechanism is added to the SerDes interface to dynamically adjust the transmission rate.

[0019] On the other hand, an embodiment of the present invention provides a data transmission method based on a SerDes interface, which is applied to a receiving end and includes:

[0020] Obtaining compressed data to be transmitted, and determining an encoding method and a check value according to the compressed data to be transmitted;

[0021] Decompressing the compressed data to be transmitted according to the encoding method to obtain decompressed data to be transmitted;

[0022] The decompressed data to be transmitted is verified according to the check value, and if the verification passes, the decompressed data to be transmitted is saved.

[0023] Optionally, the method further comprises:

[0024] If the verification fails, a retransmission request is sent to the sending end or the decompressed data to be transmitted is discarded.

[0025] On the other hand, an embodiment of the present invention provides a data transmission device based on a SerDes interface, comprising:

[0026] at least one processor;

[0027] at least one memory for storing at least one program;

[0028] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0029] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to perform the above method.

[0030] On the other hand, an embodiment of the present invention provides a data transmission system based on a SerDes interface, comprising a transmitting end and a receiving end; wherein,

[0031] The sending end is used to execute the sending end method;

[0032] The receiving end is used to execute the above-mentioned receiving end method.

[0033] The implementation of the embodiment of the present invention includes the following beneficial effects: In this embodiment, the data to be transmitted that can be compressed and the corresponding encoding method are first determined based on the data characteristics of the data to be transmitted. Under the premise of maintaining the transmission rate, the data flow is optimized and the width requirement is reduced. Then, the data to be transmitted is compressed based on the data transmission performance and encoding method of the channel to improve the efficiency and stability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a structural block diagram of a data transmission system based on a SerDes interface provided by an embodiment of the present invention;

[0035] Figure 2 It is a schematic flow chart of the steps of a data transmission method based on a SerDes interface applied to a transmitting end provided by an embodiment of the present invention;

[0036] Figure 3 It is a schematic flow chart of the steps of a data transmission method based on a SerDes interface applied to a receiving end provided by an embodiment of the present invention;

[0037] Figure 4 It is a schematic flow chart of a data transmission method based on a SerDes interface provided by an embodiment of the present invention;

[0038] Figure 5 is a structural block diagram of a data transmission device based on a SerDes interface provided by an embodiment of the present invention;

[0039] Figure 6 It is a structural block diagram of another data transmission system based on SerDes interface provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0041] like Figure 1 As shown, an embodiment of the present invention provides a data transmission system based on a SerDes interface, including a transmitting end and a receiving end. Both the transmitting end and the receiving end include a SerDes interface, and the transmitting end and the receiving end transmit data through the SerDes interface. At the transmitting end of the SerDes interface, it is first necessary to convert the parallel data stream into a serial data stream, and this process can be achieved by a parallel / serial converter (P / S converter). At the receiving end of the SerDes interface, it is first necessary to convert the received serial data stream into a parallel data stream, and this process can be achieved by a serial / parallel converter (S / P converter).

[0042] like Figure 2 As shown, an embodiment of the present invention provides a data transmission method based on a SerDes interface, which is applied to a transmitting end and includes:

[0043] S110, obtaining data to be transmitted, and determining the data to be transmitted that can be compressed and the corresponding encoding method according to the data characteristics of the data to be transmitted; the data characteristics of the data to be transmitted include any one or more of the type, format, distribution or redundancy of the data.

[0044] First, the acquired data to be transmitted is analyzed to determine the data characteristics of the data to be transmitted, and then, according to the data characteristics of the data to be transmitted, it is determined whether the data to be transmitted can be compressed. If the data to be transmitted can be compressed, the corresponding encoding method is determined according to the data characteristics of the data to be transmitted. The data characteristics of the data to be transmitted include but are not limited to any one or more of the type, format, distribution or redundancy of the data. For example, the type of data includes pictures, text, video files, etc., the format of the data includes structured, semi-structured and unstructured, the distribution of the data includes regular distribution or irregular distribution, and the redundancy of the data is large or small.

[0045] It should be noted that a variety of suitable encoding methods may be determined according to the data characteristics of the data to be transmitted.

[0046] S120 , obtaining the data transmission performance of the channel, compressing the data to be transmitted according to the data transmission performance and the encoding method, and sending the compressed data to be transmitted through the SerDes interface.

[0047] The data transmission performance of a channel refers to the indicator data of the quality and speed of data transmission of the channel. The data transmission performance of the channel is obtained through time monitoring. Combined with the data transmission performance, it is determined whether the previously determined encoding method needs to be appropriately adjusted, and then the data to be transmitted is compressed and sent through the SerDes interface.

[0048] Specifically, the compression level can be adjusted dynamically by monitoring the balance between the compression rate and decompression speed of the data in real time. For example, when the network bandwidth is high, a higher compression ratio algorithm can be selected; when the bandwidth is tight, an algorithm with faster compression speed but lower compression ratio can be switched to ensure smooth data transmission. Through real-time feedback of compression efficiency and system load (such as CPU load, memory usage, etc.), the system can dynamically switch between different encoding modes. If the system load is heavy, the complexity of the compression algorithm can be reduced, and an algorithm with faster processing speed but poorer compression effect can be switched.

[0049] Optionally, determining the data to be transmitted that can be compressed and the corresponding encoding method according to the data characteristics of the data to be transmitted includes:

[0050] S111. If the redundancy of the data to be transmitted is greater than a preset threshold, the data to be transmitted can be compressed, and an encoding method is determined according to the redundancy.

[0051] Data redundancy analysis includes but is not limited to the following situations: ① If there are a large number of repeated or similar patterns in the data, such as repeated numbers, characters, symbols or data blocks, these parts usually have high compression potential. For example, when transmitting video, images or audio, some data blocks may be static or have repeated patterns, and this type of data is the focus of compression. ② If some parts of the data do not change or change slowly (such as seasonal changes in time series data, or background areas in images), these data may be redundant, and these redundant parts can be removed or reduced by compression algorithms. ③ If the data has high predictability (such as continuous digital sequences, linearly changing data, etc.), it is also usually easy to compress, and the continuously changing parts can be compressed by differential encoding (such as run-length encoding) and other methods. For ordered or continuous data (such as video frames, sensor data, etc.), differential encoding can reduce redundancy by storing the difference between adjacent data instead of the complete data value.

[0052] Or, S112, if the format of the data to be transmitted is a preset format, the data to be transmitted can be compressed, and the encoding method is determined according to the format.

[0053] Data formats include but are not limited to the following: ① Structured data: If the data has a clear format (such as text, tables, log files, etc.), you can perform syntax analysis based on the format to identify the patterns and rules that can be used, and then decide which parts can be compressed. ② Unstructured or semi-structured data: For example, log files, XML or JSON data, you can define rules to extract the compressible parts, such as deleting redundant fields and simplifying data structures.

[0054] Or, S113, if the type of the data to be transmitted is a preset type, the data to be transmitted can be compressed, and the encoding method is determined according to the type.

[0055] The type of data to be transmitted is a preset type including different classification methods. For example, for image and video compression (such as JPEG, H.264), image and video data often have spatial and temporal redundancy. JPEG uses discrete cosine transform (DCT) to convert image data to the frequency domain to remove high-frequency redundant parts. H.264 performs spatiotemporal encoding through motion compensation, block coding and other methods. For some applications (such as text transmission), lossless coding technology is required to ensure data integrity. For audio and video data, lossy coding may be used to obtain a higher compression ratio.

[0056] Or, S114, if the distribution of the data to be transmitted is a preset distribution, the data to be transmitted can be compressed, and the encoding method is determined according to the distribution.

[0057] If the data to be transmitted is numerical data, it can be determined whether it can be compressed and the corresponding encoding method based on the distribution of the data to be transmitted. For example, the entropy of the data: if the entropy value of the data is low, it means that the data contains more redundant parts and has great compression potential. The entropy can be judged by statistical data distribution (such as character frequency, numerical distribution, etc.). For example, some data may have a repetitive structure or pattern (such as a flat area in an image) during transmission. This low-entropy data is suitable for compression. Another example is the data distribution law: statistical analysis can be used to determine the distribution characteristics of the data, such as whether there are a large number of zero values, and whether the frequency of occurrence of certain values ​​is higher than other values. If there is a situation in the data that is highly biased towards certain values ​​(for example, sparse matrices, sparse data streams, etc.), these parts have greater compression potential.

[0058] The encoding methods of the data to be transmitted include but are not limited to the following methods: ① For data with high redundancy (such as text with mostly zero or identical characters), use a simple lossless compression algorithm such as run-length compression / dictionary compression, which can quickly reduce the amount of data. ② For data with low redundancy (such as network data streams, raw data streams), select methods such as Huffman compression or arithmetic compression to reduce the storage space of data through variable-length coding. ③ For the spatial redundant parts in image and video data, discrete cosine transform and wavelet transform can be used to convert image data into frequency domain and remove irrelevant information in the high-frequency part. ④ For the temporal redundant parts, motion compensation and inter-frame prediction can be used to optimize the compression of video data. For example, in a video sequence, only the changed parts are transmitted, and the similarity between the previous and next frames is used to reduce the amount of data.

[0059] Optionally, the data to be transmitted is compressed according to the data transmission performance and the encoding method, including:

[0060] S121. If the data transmission performance meets the preset requirements, compress the data to be transmitted by using an encoding method;

[0061] S122: If the data transmission performance does not meet the preset requirements, adjust the encoding method, and use the adjusted encoding method to compress the data to be transmitted.

[0062] During the compression process, the compression algorithm is dynamically adjusted according to the transmission bandwidth and real-time performance requirements. For example, an adaptive compression algorithm is used to adjust the encoding complexity and compression ratio according to the system load and network bandwidth. For real-time systems, it is necessary to ensure that the delay of the encoding process is low enough so as not to affect system performance. For example, streaming encoding technology can be used to transmit data step by step while being compressed.

[0063] Optionally, the method further comprises:

[0064] S130 . Adaptively configure a working mode of the SerDes interface according to data characteristics of the data to be transmitted.

[0065] The use of standardized SerDes interface protocols (such as PCIe, Ethernet, USB, HDMI, DisplayPort, etc.) enables the compression method of the present invention to be compatible in a wide range of communication systems. Standardized interface protocols have been widely verified and have high reliability, which can ensure seamless connection with different devices. By adopting adaptive configuration options, flexible configuration options are designed to support different bandwidth requirements and transmission rates. For example, different data transmission modes and protocols can be automatically selected according to the requirements of different application scenarios to ensure compatibility between different devices and systems; the automatic negotiation function can be used to intelligently adjust the working mode of SerDes (such as rate, signal strength, encoding method, etc.) to ensure efficient operation in a variety of environments.

[0066] Optionally, the method further comprises:

[0067] S140. Add a flow control mechanism to the SerDes interface to dynamically adjust the transmission rate.

[0068] During the compressed data transmission process, the data flow may be unstable due to the compression ratio being too high. To this end, a flow control mechanism can be added to the SerDes interface to dynamically adjust the transmission rate to avoid transmission bottlenecks or uneven loads caused by excessive or insufficient data volume.

[0069] In order to increase the transmission rate, multi-channel SerDes technology can be used to transmit data simultaneously on multiple serial links. By dividing the data into multiple sub-streams and transmitting them in parallel, the total bandwidth can be increased at the physical layer of the system, thereby increasing the overall transmission rate. The use of advanced four-level amplitude modulation technology can effectively increase the amount of data transmitted in each clock cycle. For example, four-level amplitude modulation technology can transmit 2 bits of data in each clock cycle, which can transmit more data in the same bandwidth compared to traditional encoding.

[0070] In addition, signal enhancement and equalization technology is used. For the transmission of high-frequency signals, signal equalization and retiming technology are needed to reduce the impact of crosstalk, noise and signal attenuation. For example, adaptive equalization is used to compensate for signal attenuation and distortion to ensure the integrity of the signal during long-distance transmission.

[0071] To further optimize the compression strategy, the system can use a self-learning mechanism. Through the feedback mechanism, the system can continuously adjust the parameters of the algorithm to adapt to different data types and environments. For example, the system can record the performance of a certain compression algorithm on a specific data stream and optimize the strategy of selecting the compression mode based on historical data, thereby achieving long-term compression performance optimization.

[0072] Higher bandwidth efficiency can also be achieved on the same physical medium through signal multiplexing technology. Multiplexing can transmit multiple data streams in parallel, further improving the transmission efficiency and bandwidth of the SerDes interface.

[0073] See also Figure 3 The embodiment of the present invention provides a data transmission method based on a SerDes interface, which is applied to a receiving end and includes:

[0074] S210, obtaining compressed data to be transmitted, and determining a coding method and a check value according to the compressed data to be transmitted;

[0075] S220, decompressing the compressed data to be transmitted according to the encoding method to obtain decompressed data to be transmitted;

[0076] S230: verify the decompressed data to be transmitted according to the check value, and if the verification passes, save the decompressed data to be transmitted.

[0077] Specifically, first, the receiving end receives the compressed data to be transmitted sent by the sending end, obtains the encoding method and the check value from the compressed data to be transmitted, then decompresses the compressed data to be transmitted according to the encoding method to obtain the decompressed data to be transmitted, then verifies the decompressed data to be transmitted according to the check value, and if the verification passes, saves the decompressed data to be transmitted as the final data received. It should be noted that the verification method is determined according to the actual application, for example, the hash value corresponding to the decompressed data is calculated, and the hash value of the decompressed data is compared with the check value. If they are equal, the check passes, and if they are not equal, the check fails; wherein the check value is determined according to the hash value of the data to be transmitted before compression.

[0078] Optionally, the method further comprises:

[0079] S240: If the verification fails, a retransmission request is sent to the sending end or the decompressed data to be transmitted is discarded.

[0080] If the verification fails, the receiving end sends a retransmission request to the sending end or discards the decompressed data to be transmitted.

[0081] In a specific embodiment, see Figure 4The data transmission process based on the SerDes interface is as follows: the sending end performs data analysis and preprocessing on the data to be sent to obtain the data characteristics of the data to be sent, and determines the encoding scheme of the data to be sent according to the data characteristics of the data to be sent, and adopts a multi-mode strategy according to the characteristics of the data to be sent, that is, the text, image, video and other contents in the data to be sent are classified and compressed, and each adopts an adaptive compression algorithm. After the compression of the data to be sent is completed, it is transmitted to the receiving end using multi-channel optimization on the SerDes interface; after the receiving end receives the compressed data to be sent, it decompresses the compressed data to be sent, recovers the data to be sent before compression, and verifies the decompressed data to be sent. If the verification is successful, the data transmission is completed. If the verification fails, the sending and receiving end sends a data retransmission request or discards the erroneous data.

[0082] The implementation of the embodiment of the present invention includes the following beneficial effects: In this embodiment, the data to be transmitted that can be compressed and the corresponding encoding method are first determined based on the data characteristics of the data to be transmitted. Under the premise of maintaining the transmission rate, the data flow is optimized and the width requirement is reduced. Then, the data to be transmitted is compressed based on the data transmission performance and encoding method of the channel to improve the efficiency and stability of data transmission.

[0083] See also Figure 5 , an embodiment of the present invention provides a data transmission device based on a SerDes interface, comprising:

[0084] at least one processor;

[0085] at least one memory for storing at least one program;

[0086] When at least one program is executed by at least one processor, the at least one processor implements the above method.

[0087] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0088] It can be seen that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0089] In addition, the embodiment of the present application also discloses a computer program product or a computer program, which is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method.

[0090] The embodiment of the present invention further provides a computer-readable storage medium, which stores a program executable by a processor, and the program executable by the processor is used to implement the above method when executed by the processor. Similarly, the contents of the above method embodiment are all applicable to the present storage medium embodiment, and the functions specifically implemented by the present storage medium embodiment are the same as those of the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.

[0091] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0092] See also Figure 6 , an embodiment of the present invention provides a data transmission system based on a SerDes interface, including a transmitting end and a receiving end; wherein,

[0093] A sending end, used to execute the sending end method;

[0094] The receiving end is used to execute the above receiving end method.

[0095] Specifically, the transmitting end includes a sensor or a storage device, which is used to obtain a data source; the transmitting end also includes a data compression module, which is used to analyze data and determine a compression algorithm; the transmitting end sends compressed data through a SerDes interface. The receiving end receives compressed data through a SerDes interface; the receiving end includes a decompression module, which is used to determine a decompression algorithm and verify; the receiving end also includes a data receiving module, such as a display or a server, which is used to display or store the decompressed data.

[0096] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0097] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A data transmission method based on a SerDes interface, characterized in that: Applied to the sending end, including: Acquire data to be transmitted, and determine the data to be transmitted that can be compressed and a corresponding encoding method according to data characteristics of the data to be transmitted; the data characteristics of the data to be transmitted include any one or more of data type, format, distribution or redundancy; The data transmission performance of the channel is obtained, the data to be transmitted is compressed according to the data transmission performance and the encoding method, and the compressed data to be transmitted is sent through the SerDes interface.

2. The method according to claim 1, characterized in that: The determining, according to the data characteristics of the data to be transmitted, the data to be transmitted that can be compressed and the corresponding encoding method includes: If the redundancy of the data to be transmitted is greater than a preset threshold, the data to be transmitted can be compressed, and an encoding method is determined according to the redundancy; Or, if the format of the data to be transmitted is a preset format, the data to be transmitted can be compressed, and the encoding method is determined according to the format; Or, if the type of the data to be transmitted is a preset type, the data to be transmitted can be compressed, and the encoding method is determined according to the type; Alternatively, if the distribution of the data to be transmitted is a preset distribution, the data to be transmitted can be compressed, and the encoding method is determined according to the distribution.

3. The method according to claim 1, characterized in that The compressing the data to be transmitted according to the data transmission performance and the encoding method includes: If the data transmission performance meets the preset requirements, compressing the data to be transmitted using the encoding method; If the data transmission performance does not meet the preset requirements, the encoding method is adjusted, and the adjusted encoding method is used to compress the data to be transmitted.

4. The method according to claim 1, characterized in that The method further comprises: The working mode of the SerDes interface is adaptively configured according to the data characteristics of the data to be transmitted.

5. The method according to claim 1, characterized in that The method further comprises: A flow control mechanism is added to the SerDes interface to dynamically adjust the transmission rate.

6. A data transmission method based on a SerDes interface, characterized in that: Applied to the receiving end, including: Obtaining compressed data to be transmitted, and determining an encoding method and a check value according to the compressed data to be transmitted; Decompressing the compressed data to be transmitted according to the encoding method to obtain decompressed data to be transmitted; The decompressed data to be transmitted is verified according to the check value, and if the verification passes, the decompressed data to be transmitted is saved.

7. The method according to claim 6, characterized in that The method further comprises: If the verification fails, a retransmission request is sent to the sending end or the decompressed data to be transmitted is discarded.

8. A data transmission device based on a SerDes interface, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

9. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.

10. A data transmission system based on a SerDes interface, characterized in that: The method comprises a transmitting end and a receiving end; wherein the transmitting end is used to execute the method according to any one of claims 1 to 5; The receiving end is used to execute the method described in any one of claims 6-7.

Citation Information

Cited By

  • Data compression transmission method and system based on HTTP protocol

    CN121239755A