Data transmission control method and device, equipment and storage medium
Patent Information
- Application Number
- CN202310092903.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2043-02-09
AI Technical Summary
[0004]本发明的主要目的在于提供一种数据传输控制方法,旨在解决现有技术中,在长距离高速传输数据时,传输效率不高的问题
[0028]本申请提供一种数据传输控制方法、装置、设备及存储介质,与现有技术中,在长距离高速传输数据时,传输效率不高的问题相比,在本申请中,在检测到数据串行传输指令时,获取发送端的目标数据;将所述目标数据以预设的第一编码方式进行编码,其中,在编码时,指定所述目标数据在预设通道中单次传输的单次数据量;控制所述目标数据进行传输,其中,将所述目标数据从所述通道以所述单次数据量进行传输。本申请中,对目标数据进行编码,指定目标数据的传输通道以及单次传输的单次数据量。基于目标数据可以确定具体的传递方式,增强了数据传输的灵活性,针对长距离高速传输数据的问题,可灵活适配对应的传输方式,则提高了在长距离高速传输数据时的传输效率。
Smart Images

Figure CN116069700B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data transmission control method, apparatus, device and storage medium. Background Technology
[0002] Currently, in long-distance data transmission, the data is transmitted in parallel. However, the data transmission speed is slow over long distances. To improve data transmission speed, the data transmission frequency is increased. This is because data transmission protocols are complex and costly to implement, posing a significant challenge, especially in long-distance transmission. Existing technologies suffer from low transmission efficiency in high-speed, long-distance data transmission.
[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a data transmission control method that aims to solve the problem of low transmission efficiency in the prior art when transmitting data over long distances at high speeds.
[0005] To achieve the above objectives, this application provides a data transmission control method applied to a data transmission control device, the method comprising:
[0006] When a data serial transmission command is detected, the target data from the sending end is acquired;
[0007] The target data is encoded using a preset first encoding method, wherein, during encoding, the amount of data transmitted in a single transmission of the target data in a preset channel is specified.
[0008] Controlling the transmission of the target data, wherein the target data is transmitted from the channel in the amount of data transmitted in a single pass.
[0009] In one possible implementation of this application, the target data includes frame synchronization data corresponding to the data to be transmitted, and the step of encoding the target data using a preset first encoding method includes:
[0010] The frame synchronization data is encoded using a preset second encoding method, wherein the second encoding method is to convert the level information of the frame synchronization data according to a preset level conversion method;
[0011] After the step of controlling the transmission of the target data, the following is included:
[0012] The target data is reassembled based on the encoded frame synchronization data.
[0013] In one possible implementation of this application, the step of reassembling the target data based on the encoded frame synchronization data includes:
[0014] Based on the level conversion method, the frame synchronization data is detected;
[0015] When the frame synchronization data is detected, the target data is reassembled based on the encoded frame synchronization data.
[0016] In one possible implementation of this application, the level conversion method includes a first conversion method and a second conversion method. The first conversion method converts the high-level pulse of the frame synchronization data into a square wave signal of a preset first frequency. The second conversion method converts the low-level pulse of the frame synchronization data into a clock signal of a preset second frequency. The step of encoding the frame synchronization data using a preset second encoding method includes:
[0017] The frame synchronization data is encoded using the second encoding method, wherein the first frequency and the second frequency differ by at least a preset frequency threshold.
[0018] In one possible implementation of this application, the step of encoding the frame synchronization data using a preset second encoding method includes:
[0019] If the preset interference signal is a low-frequency signal, the frame synchronization data is encoded, wherein the bandwidth of the encoded frame synchronization data is at least the preset first bandwidth.
[0020] If the interference signal is a high-frequency signal, the frame synchronization data is encoded, wherein the bandwidth of the encoded frame synchronization data is at least a preset second bandwidth, and the second bandwidth is wider than the first bandwidth.
[0021] In one possible implementation of this application, the step of encoding the frame synchronization data using a preset second encoding method includes:
[0022] The frame synchronization data is encoded, wherein the first frequency amplitude exceeds the second frequency amplitude by at least a first value, the first frequency amplitude is the frequency amplitude of the encoded frame synchronization data, and the second frequency amplitude is the frequency amplitude of the component outside the frequency band of the encoded frame synchronization data.
[0023] In one possible implementation of this application, the step of encoding the target data using a preset first encoding method includes, after specifying the amount of target data in a preset channel during encoding, the method further includes:
[0024] The target data is driven and processed by a preset driving device.
[0025] Furthermore, to achieve the above objectives, this application also provides a data transmission control device, which includes a data transceiver controller and a high-speed serial transceiver. The data transceiver controller is used to acquire target data from the transmitting end when a data serial transmission command is detected, and is also used to control the target data to be transmitted through a long-distance transmission cable after encoding the target data in a preset first encoding method, wherein the target data is transmitted from the channel in the amount of data transmitted in a single transmission. The high-speed serial transceiver is used to encode the target data in the preset first encoding method, wherein, during encoding, the amount of data transmitted in a single transmission of the target data in a preset channel is specified.
[0026] In addition, to achieve the above objectives, this application also provides a data transmission control device, which is a physical node device. The data transmission control device includes: a memory, a processor, and a data transmission control program stored in the memory and executable on the processor. The processor executes the data transmission control program to implement the steps of the data transmission control method.
[0027] In addition, to achieve the above objectives, this application also provides a storage medium storing a program for implementing a data transmission control method, wherein the data transmission control program, when executed by a processor, implements the steps of the data transmission control method described above.
[0028] This application provides a data transmission control method, apparatus, device, and storage medium. Compared with the prior art, which suffers from low transmission efficiency during long-distance, high-speed data transmission, this application, upon detecting a data serial transmission command, acquires target data from the transmitting end; encodes the target data using a preset first encoding method, wherein, during encoding, the single data volume of the target data transmitted in a preset channel is specified; and controls the transmission of the target data, wherein the target data is transmitted from the channel with the specified single data volume. In this application, the target data is encoded, and the transmission channel and single data volume of the target data are specified. Based on the target data, a specific transmission method can be determined, enhancing the flexibility of data transmission. Addressing the problem of long-distance, high-speed data transmission, the corresponding transmission method can be flexibly adapted, thus improving the transmission efficiency during long-distance, high-speed data transmission. Attached Figure Description
[0029] Figure 1 This is a flowchart illustrating the first embodiment of the data transmission control method of this application;
[0030] Figure 2 This is a timing diagram of frame synchronization data for the first embodiment of the data transmission control method of this application;
[0031] Figure 3 This is a spectrum diagram of frame synchronization data from the first embodiment of the data transmission control method of this application;
[0032] Figure 4 This is a timing diagram of the encoded frame synchronization data of the first embodiment of the data transmission control method of this application;
[0033] Figure 5 This is a spectrum diagram of the encoded frame synchronization data from the first embodiment of the data transmission control method of this application.
[0034] Figure 6 This is a hardware schematic diagram of the first embodiment of the data transmission control method of this application;
[0035] Figure 7 This is a schematic diagram of high-speed serial transceiver control according to a first embodiment of the data transmission control method of this application;
[0036] Figure 8 This is a timing diagram of serial transmission data in the first embodiment of the data transmission control method of this application;
[0037] Figure 9 This is a schematic diagram of the device structure of the hardware operating environment involved in the third embodiment of the data transmission control method of this application. Detailed Implementation
[0038] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0039] Example 1
[0040] This application provides a data transmission control method. In the first embodiment of the data transmission control method of this application, refer to... Figure 1 Applied to a data transmission control device, the method includes:
[0041] Step S10: When a data serial transmission command is detected, the target data of the sending end is obtained;
[0042] Step S20: Encode the target data using a preset first encoding method, wherein, during encoding, the amount of data transmitted in a single transmission of the target data in a preset channel is specified.
[0043] Step S30: Control the transmission of the target data, wherein the target data is transmitted from the channel in the amount of data transmitted in a single transmission.
[0044] The application scenario addressed in this embodiment is: when transmitting data over long distances, the data is transmitted in parallel. During long-distance data transmission, the data transmission speed is slow. To improve data transmission speed, the data transmission frequency is increased. However, data transmission protocols are complex and costly to implement, posing a significant challenge, especially in long-distance transmission. This is because existing technologies suffer from low transmission efficiency during high-speed, long-distance data transmission.
[0045] This embodiment aims to improve transmission efficiency when transmitting data over long distances at high speeds.
[0046] In this embodiment, data can be transmitted using either a serial bus or a parallel bus. Serial bus transmission is slow, while parallel bus transmission has more interface pins, making hardware design difficult and resulting in shorter transmission distances. To improve the transmission rate in parallel transmission, the clock frequency can be increased. However, higher clock frequencies lead to more severe interference between parallel wires. When the clock frequency reaches a certain level, data affected by various interferences may fail to be properly recovered at the receiving end due to timing issues.
[0047] Due to the limitations of parallel transmission and the fact that there are fewer wires between serial buses, interference between wires is easier to control, and the speed of serial transmission can be increased by increasing the clock frequency. Therefore, the high-speed transmission method of serial buses is becoming increasingly popular.
[0048] In this embodiment, when serial data is transmitted serially using a serial bus, the transmitted data is transmitted through a preset channel. Since the data required for data transmission includes target data, frame synchronization data, and clock data, the corresponding channels include a clock channel, a frame synchronization data channel, and a data channel.
[0049] In some cases, if there are many data channels but the amount of data being transmitted is insufficient (i.e., the number of data channels does not correspond to the amount of data being transmitted), then the configured data channels will be underutilized, resulting in wasted resources. Conversely, if there are few data channels but the amount of data being transmitted is large (i.e., the number of configured data channels is far less than the amount of data being transmitted), then data transmission will be untimely.
[0050] The specific steps are as follows:
[0051] Step S10: When a data serial transmission command is detected, the target data of the sending end is obtained;
[0052] In this embodiment, the data serial transmission instruction is a type of data transmission instruction, indicating that data is transmitted via a serial bus.
[0053] In this embodiment, data is sent from the sending end, passes through the data transmission control device of this embodiment, the data transmission control device processes the target data, and then sends the processed data to the data transmission carrier, such as a cable, and the cable transmits the data to the receiving end.
[0054] Step S20: Encode the target data using a preset first encoding method, wherein, during encoding, the amount of data transmitted in a single transmission of the target data in a preset channel is specified.
[0055] In this embodiment, the first encoding method is to encode the target data, and the second transmission method is to encode the frame synchronization data.
[0056] In this embodiment, different data transmission devices have different transmission performance, especially different amounts of data that can be transmitted at one time. The stronger the transmission performance of the data transmission device, the more data can be transmitted at one time.
[0057] In this embodiment, different data transmission devices employ different transmission methods when transmitting different types of data. Factors such as the type of target data and the assigned transmission priority of the target data will affect the actual data transmission method. Regarding the issue of serial versus parallel transmission, there are corresponding serial transmission and parallel transmission.
[0058] In this embodiment, when the data transmission control device receives a data serial transmission command, it obtains the target data from the sending end. The target data is then encoded according to a first encoding method.
[0059] As an example, since the target data is divided into multiple data portions to be transmitted from multiple channels, the channel for each data portion is specified when encoding the target data.
[0060] As an example, in addition to specifying the channel for data transmission, you can also specify the amount of data transmitted from the channel in a single transmission.
[0061] The target data includes frame synchronization data corresponding to the data to be transmitted. Step S20 involves encoding the target data using a preset first encoding method, including steps A1-A2:
[0062] When transmitting data at high speed, either a parallel interface or a serial interface can be used. When the transmitting end uses a serial interface for high-speed data transmission, the data to be transmitted is converted into serial form. This conversion process disrupts the boundary relationships between target data, resulting in inconsistencies between the received and transmitted data. The receiving end needs to reassemble the received data in order based on the frame synchronization signal. However, the frame synchronization signal is susceptible to interference from external signals in different frequency bands. Since the frame synchronization signal is crucial for correct data transmission and reception, a higher bit error rate (BER) occurs during high-speed data transmission when external interference interferes with it. In other words, the BER is high during high-speed serial data transmission.
[0063] To address the issue of high bit error rate during high-speed serial data transmission, this embodiment encodes not only the target data but also the frame synchronization data.
[0064] As an example, after encoding the target data using a preset first encoding method, the frame synchronization data corresponding to the target data is obtained.
[0065] Step A1: Encode the frame synchronization data using a preset second encoding method, wherein the second encoding method is to convert the level information of the frame synchronization data according to a preset level conversion method;
[0066] In this embodiment, the frame synchronization data is presented at regular time intervals. For example... Figure 2 The diagram shows the timing of frame synchronization data. The time interval of the frame synchronization signal is relatively short, while the time interval before the frame synchronization signal appears is much longer. Therefore, errors can easily occur when capturing the frame synchronization signal. The frame synchronization signal corresponds to a high level, and the absence of the frame synchronization signal corresponds to a low level. For example... Figure 3 The image shows the spectrum of frame synchronization data. It covers a wide frequency range, from low to high frequencies. In practical applications, it is easily affected by interference from signals of different frequencies, such as power frequency harmonic components and 40MHz harmonic noise.
[0067] As an example, the frame synchronization data is encoded by converting the high and low levels of the frame synchronization data according to a preset level conversion method.
[0068] As an example, the high level of frame synchronization data is converted into a single square wave with high and low halves, and the low level of frame synchronization data is converted into a clock with a frequency of 200MHz, such as... Figure 4 The image shows a timing diagram of the encoded frame synchronization data. Figure 5 The spectrum of the encoded frame synchronization data is compared. Figure 3 and Figure 5 The encoded frame synchronization data is concentrated in a relatively narrow frequency band.
[0069] After the step of controlling the transmission of the target data, the following is included:
[0070] Step A2: Reassemble the target data based on the encoded frame synchronization data.
[0071] In this embodiment, the frame synchronization data is encoded, and then the transmitted data is reassembled based on the encoded frame synchronization data.
[0072] In this embodiment, when transmitting data at high speed, the data is encoded, especially the frame synchronization data. The encoded frame synchronization data has specific identification features corresponding to the encoding method. Based on the specific identification features, the receiving end can more easily identify it from multiple interference signals, avoiding interference from external interference signals on the frame synchronization data, thus ensuring the correct transmission and reception of the target data, which reduces the bit error rate corresponding to high-speed serial data transmission.
[0073] Step A2, the step of reassembling the target data based on the encoded frame synchronization data, includes steps B1-B2:
[0074] Step B1: Detect the frame synchronization data based on the level conversion method;
[0075] In this embodiment, the interference signals in the line include high-frequency interference signals and low-frequency interference signals. High-frequency interference signals have a wide bandwidth and low amplitude, and will not interfere with the frame synchronization signal for a prolonged period. However, sudden high-frequency interference signals or high-frequency interference signals with extremely short durations resemble the frame synchronization signal, making them easily mistaken for it. These high-frequency interference signals interfere with the frame synchronization signal, directly affecting the normal transmission and reception of data. Therefore, it is necessary to distinguish between these high-frequency interference signals and the frame synchronization signal.
[0076] In this embodiment, based on the level conversion method, the encoded frame synchronization signal can be determined. For example, the encoded frame synchronization signal is a combination of several high levels and several low levels. Since this combination is given a specific meaning for the frame synchronization signal, each frame synchronization signal is encoded in this way. Therefore, the frame synchronization data can be detected by the level conversion method.
[0077] Step B2: When the frame synchronization data is detected, the target data is reassembled based on the encoded frame synchronization data.
[0078] In this embodiment, the frame synchronization data is detected based on the level conversion method. When a combination of levels encoded in the level encoding method is detected, it is determined that the frame synchronization data has been detected.
[0079] When frame synchronization data is detected, the target data is reassembled based on the encoded frame synchronization data.
[0080] In this embodiment, by detecting frame synchronization data based on level conversion, when it is determined that frame synchronization data has been detected, high-frequency interference signals can be avoided from being confused with frame synchronization data, which further reduces the bit error rate when performing high-speed serial data transmission.
[0081] Step S20 involves encoding the target data using a preset first encoding method. Following the step of specifying the amount of data transmitted in a single transmission through a preset channel during encoding, the process includes:
[0082] The target data is driven and processed by a preset driving device.
[0083] In this embodiment, after the target data is encoded using a preset first encoding method, the target data is driven by a preset driving device to improve the long-distance transmission capability of the data.
[0084] like Figure 6The hardware schematic shown illustrates that the data transmission control system includes 1. an FPGA (Field-Programmable Gate Array), 2. a driving device, 3. a long-distance transmission cable, and 4. a target communication device. In this embodiment, the data transmission control device is specifically an FPGA, which includes 5. a data transceiver controller and 6. a high-speed serial transceiver. The data transceiver controller is used to acquire the target data from the transmitting end when a data serial transmission command is detected. It is also used to control the transmission of the target data through the long-distance transmission cable after encoding the target data using a preset first encoding method. The target data is transmitted from the channel in single-pass data amounts. The high-speed serial transceiver is used to encode the target data using the preset first encoding method, specifying the single-pass data amount of the target data transmitted in a preset channel during encoding. The driving device includes a data receiving interface 7 and a data transmitting interface 8. High-speed serial differential data is transmitted to the FPGA through the receiving and transmitting interfaces. After encoding the target data using the preset first encoding method, the target data is driven by the preset driving device. The data transceiver controller sends parallel data to a high-speed serial transceiver. The high-speed serial transceiver converts the parallel data into serial data and outputs high-speed serial differential data to the driver device via a differential channel. The driver device's transmit interface receives the data and performs drive processing on the received high-speed serial differential data to improve the long-distance transmission capability. The data is then transmitted to the target communication device via a long-distance transmission cable. Similarly, when the target communication device sends back data, it is transmitted to the driver device via a long-distance transmission cable. The driver device's receive interface receives the data and sends it to the data transmission control device FPGA in this embodiment. The FPGA's high-speed serial transceiver restores the serial data to parallel data and sends it to the data transceiver controller.
[0085] Step S30: Control the transmission of the target data, wherein the target data is transmitted from the channel in the amount of data transmitted in a single transmission.
[0086] In this embodiment, after the target data is encoded using a preset first encoding method, the target data is controlled to be transmitted. The target data is encoded into a preset channel and a preset single data volume for transmission; therefore, according to the encoding result, the target data is transmitted from the channel with the preset single data volume.
[0087] The level conversion method includes a first conversion method and a second conversion method. The first conversion method converts the high-level pulse of the frame synchronization data into a square wave signal of a preset first frequency. The second conversion method converts the low-level pulse of the frame synchronization data into a clock signal of a preset second frequency. Step A2, the step of encoding the frame synchronization data using a preset second encoding method, includes step C1:
[0088] The frame synchronization data is encoded using the second encoding method, wherein the first frequency and the second frequency differ by at least a preset frequency threshold.
[0089] In this embodiment, the first conversion method is to convert the high-level pulse of the frame synchronization data into a square wave signal of a preset first frequency; the second conversion method is to convert the low-level pulse of the frame synchronization data into a clock signal of a preset second frequency.
[0090] In this embodiment, to facilitate the identification of frame synchronization data, the first frequency and the second frequency differ by at least a preset frequency threshold when encoded using the second encoding method. For example, if the first frequency and the second frequency differ by only 1, it would be difficult to distinguish the frame synchronization data in form. Therefore, the first frequency and the second frequency differ by at least a preset frequency threshold.
[0091] Step A2, the step of encoding the frame synchronization data using a preset second encoding method, includes steps C2-C3:
[0092] Step C2: If the preset interference signal is a low-frequency signal, then the frame synchronization data is encoded, wherein the bandwidth of the encoded frame synchronization data is at least the preset first bandwidth.
[0093] In this embodiment, for low-frequency interference signals, the frame synchronization data is encoded into frame synchronization data with a bandwidth of at least the first frequency band. A bandwidth that is too narrow is not conducive to the identification of the frame synchronization data.
[0094] Step C3: If the interference signal is a high-frequency signal, then the frame synchronization data is encoded, wherein the bandwidth of the encoded frame synchronization data is at least a preset second bandwidth, and the second bandwidth is wider than the first bandwidth.
[0095] In this embodiment, for high-frequency interference signals, the frame synchronization data is encoded into frame synchronization data with a bandwidth of at least the second bandwidth, which is wider than the first bandwidth.
[0096] Step A2, the step of encoding the frame synchronization data using a preset second encoding method, includes step C4:
[0097] Step C4: Encode the frame synchronization data, wherein the first frequency amplitude exceeds the second frequency amplitude by at least a first value, the first frequency amplitude is the frequency amplitude of the encoded frame synchronization data, and the second frequency amplitude is the frequency amplitude of the component outside the frequency band of the encoded frame synchronization data.
[0098] In this embodiment, encoding the frame synchronization data includes encoding the frame synchronization data itself and encoding the out-of-band components of the frame synchronization data. In order to enhance the difference between the frame synchronization data and the out-of-band components of the frame synchronization data, the difference between the first frequency amplitude and the second frequency amplitude needs to be increased, that is, the first frequency amplitude exceeds the second frequency amplitude by at least a first value. Here, the first frequency amplitude is the frequency amplitude of the encoded frame synchronization data, and the second frequency amplitude is the frequency amplitude of the out-of-band components of the encoded frame synchronization data.
[0099] In this embodiment, as Figure 7 This is a schematic diagram of a high-speed serial transceiver control system, including an upper transmitting module and a lower receiving module.
[0100] The upper part of the transmission module includes clock data, frame synchronization data, target data, encoding module, parallel-to-serial conversion module, single-ended to differential conversion module, and multiple data channels. Among them, the data channels include clock channels for transmitting clock data, frame synchronization channels for transmitting frame synchronization data, and data channels for transmitting target data, which can be used to transmit data 1 to data n.
[0101] In the upper part of the transmitting module, the clock data is converted from parallel to serial and transmitted through differential channel 0. The frame synchronization data is encoded and reaches DC balance under the coupling circuit. Then it is converted from parallel to serial through the parallel-to-serial module. After being converted into serial data, it is transmitted through differential channel 1. The target data is transmitted in a similar way to the frame synchronization data. It is first encoded, then converted from parallel to serial through the parallel-to-serial module. After being converted into serial data, it is transmitted through differential channels 2 to n.
[0102] The lower half of the receiving module includes multiple data channels, a differential-to-single-ended conversion module, a clock recovery module, a serial-to-parallel conversion module, a frame synchronization detection module, a data alignment module, and a data decoding module. The data channels include a clock channel for transmitting clock data, a frame synchronization channel for transmitting frame synchronization data, and a data channel for transmitting target data, which can be used to transmit data from 1 to m.
[0103] The lower half of the receiving module's clock recovery module recovers the received synchronization clock data and multiplies the frequency of the clocks needed for other data recovery. The frame synchronization channel uses a differential-to-single-ended converter on the multiplied clock to obtain the encoded frame synchronization signal. After serial-to-parallel conversion of the frame synchronization data, the frame synchronization detection module detects the received parallel frame data, corrects character alignment, and instructs the data channels to begin receiving data. The reception process for target data across multiple data channels is identical: parallel data is recovered using the character alignment information from frame synchronization detection, and the position of the frame synchronization data determines the start of a data frame.
[0104] In this embodiment, as Figure 8 This is a timing diagram for serial data transmission. It includes clock data, synchronization frame signals, and data 1 to data n to be transmitted. The diagram illustrates the encoded frame signals, data frame 1 between the synchronization frame signals, and data frame 2. The synchronization frame signals indicate the start position of each data frame. The frame synchronization signal is maintained for one synchronization clock cycle, and the data channel simultaneously begins transmitting a predetermined amount of data.
[0105] This application provides a data transmission control method, apparatus, device, and storage medium. Compared with the prior art, which suffers from low transmission efficiency during long-distance, high-speed data transmission, this application, upon detecting a data serial transmission command, acquires target data from the transmitting end; encodes the target data using a preset first encoding method, wherein, during encoding, the single data volume of the target data transmitted in a preset channel is specified; and controls the transmission of the target data, wherein the target data is transmitted from the channel with the specified single data volume. In this application, the target data is encoded, and the transmission channel and single data volume of the target data are specified. Based on the target data, a specific transmission method can be determined, enhancing the flexibility of data transmission. Addressing the problem of long-distance, high-speed data transmission, the corresponding transmission method can be flexibly adapted, thus improving the transmission efficiency during long-distance, high-speed data transmission.
[0106] Example 2
[0107] Furthermore, based on all the above embodiments, another embodiment of this application is provided, in which a data transmission control device is provided, the device comprising:
[0108] A data transceiver controller and a high-speed serial transceiver are provided. The data transceiver controller is used to acquire target data from the transmitting end when a data serial transmission command is detected. It is also used to control the target data to be transmitted through a long-distance transmission cable after encoding the target data in a preset first encoding method. The target data is transmitted from the channel in a single data volume. The high-speed serial transceiver is used to encode the target data in a preset first encoding method. During encoding, the single data volume of the target data transmitted in a preset channel is specified.
[0109] The specific implementation of the data transmission control device in this application is basically the same as the embodiments of the data transmission control method described above, and will not be repeated here.
[0110] Example 3
[0111] Furthermore, based on all the above embodiments, another embodiment of this application is provided. In this embodiment, a data transmission control device is provided. The data transmission control device is a physical node device. The data transmission control device includes: a memory, a processor, and a program stored in the memory for implementing the data transmission control method. The memory is used to store the program for implementing the data transmission control method; the processor is used to execute the program for implementing the data transmission control method to implement the steps of the data transmission control method in the above embodiments.
[0112] Reference Figure 9 , Figure 9 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application.
[0113] like Figure 9 As shown, the data transmission control device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to establish communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM or a stable, non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0114] In one possible embodiment of this application, the data transmission control device may further include a network interface, audio circuitry, display, connecting cable, sensor, input module, etc. The network interface may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface or a Bluetooth interface). The input module may optionally include a keyboard, a system soft keyboard, voice input, wireless receiver input, etc.
[0115] Those skilled in the art will understand that the structure of the data transmission control device does not constitute a limitation on the data transmission control device, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0116] A memory, as a computer storage medium, may include an operating system, an information exchange module, and a data transfer control program. The operating system is a program that manages and controls the hardware and software resources of the data transfer control device, supporting the operation of the data transfer control program and other software and / or programs. The information exchange module is used to enable communication between various components within the memory, as well as communication with other hardware and software in the management system.
[0117] In the data transmission control device, the processor executes the data transmission control program stored in the memory to implement the above-mentioned data transmission control steps.
[0118] The specific implementation of the data transmission control device in this application is basically the same as the embodiments of the data transmission control method described above, and will not be repeated here.
[0119] Example 4
[0120] This application provides a storage medium that stores one or more programs, which can be executed by one or more processors to implement the steps of the data transmission control method described above.
[0121] The specific implementation of the storage medium in this application is basically the same as the embodiments of the data transmission control method described above, and will not be repeated here.
[0122] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0123] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0124] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM or RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0125] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A data transmission control method, characterized in that, The data transmission control method includes: When a data serial transmission command is detected, the target data from the sending end is acquired; The target data is encoded using a preset first encoding method, wherein, during encoding, the amount of data transmitted in a single transmission of the target data in a preset channel is specified. Controlling the transmission of the target data, wherein the target data is transmitted from the channel in the amount of data transmitted in a single pass; When the target data includes frame synchronization data corresponding to the data to be transmitted, the frame synchronization data is encoded using a preset second encoding method, wherein the second encoding method is to convert the level information of the frame synchronization data according to a preset level conversion method; After the step of controlling the transmission of the target data, the following is included: The target data is reassembled based on the encoded frame synchronization data.
2. The data transmission control method according to claim 1, characterized in that, The step of reassembling the target data based on the encoded frame synchronization data includes: Based on the level conversion method, the frame synchronization data is detected; When the frame synchronization data is detected, the target data is reassembled based on the encoded frame synchronization data.
3. The data transmission control method according to claim 1, characterized in that, The level conversion method includes a first conversion method and a second conversion method. The first conversion method converts the high-level pulse of the frame synchronization data into a square wave signal of a preset first frequency. The second conversion method converts the low-level pulse of the frame synchronization data into a clock signal of a preset second frequency. The step of encoding the frame synchronization data using a preset second encoding method includes: The frame synchronization data is encoded using the second encoding method, wherein the first frequency and the second frequency differ by at least a preset frequency threshold.
4. The data transmission control method according to claim 1, characterized in that, The step of encoding the frame synchronization data using a preset second encoding method includes: If the preset interference signal is a low-frequency signal, the frame synchronization data is encoded, wherein the bandwidth of the encoded frame synchronization data is at least the preset first bandwidth. If the interference signal is a high-frequency signal, the frame synchronization data is encoded, wherein the bandwidth of the encoded frame synchronization data is at least a preset second bandwidth, and the second bandwidth is wider than the first bandwidth.
5. The data transmission control method according to claim 1, characterized in that, The step of encoding the frame synchronization data using a preset second encoding method includes: The frame synchronization data is encoded, wherein the first frequency amplitude exceeds the second frequency amplitude by at least a first value, the first frequency amplitude is the frequency amplitude of the encoded frame synchronization data, and the second frequency amplitude is the frequency amplitude of the component outside the frequency band of the encoded frame synchronization data.
6. The data transmission control method according to claim 1, characterized in that, The step of encoding the target data using a preset first encoding method, wherein after specifying the amount of data transmitted in a single transmission of the target data in a preset channel during encoding, includes: The target data is driven and processed by a preset driving device.
7. A data transmission control device, characterized in that, A data transmission control device includes a data transceiver controller and a high-speed serial transceiver. The data transceiver controller is used to acquire target data from the transmitting end when a data serial transmission command is detected. It is also used to control the target data to be transmitted via a long-distance transmission cable after encoding the target data using a preset first encoding method, wherein the target data is transmitted from the channel in single data increments. Furthermore, when the target data includes frame synchronization data corresponding to the data to be transmitted, it is used to encode the frame synchronization data using a preset second encoding method and reassemble the target data based on the encoded frame synchronization data. The high-speed serial transceiver is used to encode the target data using the preset first encoding method, wherein during encoding, the single data increment of the target data transmitted in a preset channel is specified. It is also used to convert the level information of the frame synchronization data according to a preset level conversion method.
8. A data transmission control device, characterized in that, The method includes a memory, a processor, and a data transfer control program stored in the memory and executable on the processor, wherein the processor executes the data transfer control program to implement the steps of the data transfer control method according to any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a program for implementing the data transmission control method, which is executed by a processor to implement the steps of the data transmission control method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Data high-speed transmission method
CN104572551A
High-speed serial transmission data preprocessing method and system
CN105740196A