A data conversion device and method from SDI interface to eDP interface

By realizing direct data conversion from SDI interface to eDP interface on FPGA, the problem of high cost and high delay when converting SDI interface to eDP interface in the prior art is solved, and a fast and economical data conversion effect is achieved.

CN117640871BActive Publication Date: 2024-11-15GOWIN SEMICON CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311680674.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2024-11-15
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

The prior art requires the conversion of SDI interfaces to eDP interfaces through intermediate interfaces, such as HDMI interfaces, resulting in high costs and large transmission delays.

Method used

The data conversion device based on FPGA is adopted, including a data analysis module, a data control module, a data acquisition module, a data processing module and a data output module, and directly converts the data of the SDI interface into data suitable for the eDP interface to avoid the introduction of intermediate interfaces.

Benefits of technology

Reduces cost and transmission delay, and realizes rapid data conversion from SDI interface to eDP interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117640871B_ABST
    Figure CN117640871B_ABST
Patent Text Reader

Abstract

A data conversion device and method from an SDI interface to an eDP interface, comprising: a data storage module, a data analysis, control, acquisition, processing and output module based on FPGA; the data analysis module analyzes the SDI format data to obtain its first attribute information and data to be transmitted, and stores them in the data storage module; the data control module sends a data transmission instruction to the data acquisition module; the data acquisition module outputs the first attribute information to the data processing module according to the instruction, and outputs the data to be transmitted according to the second attribute information of the data transmitted in the display device; the data processing module converts the input into eDP format data output that is compatible with the first attribute information; the data output module performs output processing according to the third attribute information of the data transmitted in the display device, and outputs it to the display device. The embodiment of the present application directly converts the data from the SDI interface into data suitable for the eDP interface, thereby reducing the cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to circuit design technology, and more particularly to an SDI to eDP interface conversion device and method. Background Art

[0002] Serial Digital Interface (SDI) is a digital video interface, and embedded DisplayPort (eDP) is an internal digital interface based on the DisplayPort architecture and protocol. In practical applications, there is often a need to convert the SDI interface to the eDP interface.

[0003] In the related art, if an SDI interface needs to be converted into an eDP interface, the SDI interface needs to be first converted into some other type of interface, such as a High Definition Multimedia Interface (HDMI) interface, and then converted into an eDP interface.

[0004] However, since conversion needs to be performed through an intermediate interface, the cost is high and the transmission delay is large. Summary of the invention

[0005] The present application provides a data conversion device and method from an SDI interface to an eDP interface, which can directly convert data from an SDI interface into data suitable for an eDP interface based on field programmable gate array (FPGA) resources, avoiding the introduction of an intermediate interface, thereby reducing costs and transmission delays. At the same time, since it is implemented based on hardware resources, the transmission delay is further reduced.

[0006] On the one hand, the present application provides a data conversion device from an SDI interface to an eDP interface, which is applied between an SDI interface and an eDP interface, wherein one end of the eDP interface is connected to a display device, and is characterized in that the data conversion device comprises: a data storage module, a data parsing module, a data control module, a data acquisition module, a data processing module, and a data output module respectively implemented based on FPGA;

[0007] The data parsing module is used to obtain the SDI format data output from the SDI interface, parse the SDI format data to obtain parallel data to be transmitted and first attribute information of the SDI format data, and store the data to be transmitted and the first attribute information in the data storage module;

[0008] The data control module is used to send a data transmission instruction to the data acquisition module;

[0009] The data acquisition module is used to acquire the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, output the first attribute information to the data processing module, and output the data to be transmitted to the data processing module according to the pre-acquired second attribute information of the data transmitted in the display device;

[0010] The data processing module is used to convert the input data to be transmitted into eDP format data that is compatible with the first attribute information, and output it;

[0011] The data output module is used to perform output processing on the input eDP format data according to the pre-acquired third attribute information of the data transmitted in the display device, and output the processed eDP format data to the display device.

[0012] On the other hand, the present application provides a method for converting data from an SDI interface to an eDP interface, which is applied to any of the above-mentioned devices for converting data from an SDI interface to an eDP interface, and the method comprises:

[0013] The data parsing module acquires the SDI format data output from the SDI interface, parses the SDI format data to obtain parallel data to be transmitted and first attribute information of the SDI format data, and stores the data to be transmitted and the first attribute information in the data storage module;

[0014] The data control module sends a data transmission instruction to the data acquisition module;

[0015] The data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, outputs the first attribute information to the data processing module, and outputs the data to be transmitted to the data processing module according to the second attribute information of the data transmitted in the display device obtained in advance;

[0016] The data processing module converts the data in the SDI format into data in the eDP format and outputs the data to the data output module;

[0017] The data output module performs output processing on the data in the eDP format, and outputs the processed data in the eDP format to a display device.

[0018] Compared with the related art, the present application includes a data storage module, a data analysis module, a data control module, a data acquisition module, a data processing module and a data output module respectively implemented based on FPGA; the data analysis module acquires the SDI format data output from the SDI interface, parses the SDI format data to obtain parallel data to be transmitted and the first attribute information of the SDI format data, and stores the data to be transmitted and the first attribute information in the data storage module; the data control module sends a data transmission instruction to the data acquisition module; the data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, outputs the first attribute information to the data processing module, and outputs the data to be transmitted to the data processing module according to the second attribute information of the data transmitted in the display device obtained in advance; the data processing module converts the input data to be transmitted into eDP format data compatible with the first attribute information, and outputs it; the data output module performs output processing on the input eDP format data according to the third attribute information of the data transmitted in the display device obtained in advance, and outputs the eDP format data after output processing to the display device. The embodiment of the present application can directly convert data from the SDI interface into data suitable for the eDP interface based on FPGA resources, avoiding the introduction of an intermediate interface, thereby reducing costs and reducing transmission delays. At the same time, since it is implemented based on hardware resources, it realizes rapid data conversion from the SDI interface to the eDP interface.

[0019] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings.

[0020] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0022] Figure 1 This is a structural schematic diagram of a data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0023] Figure 2This is a schematic diagram of the structure of another data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0024] Figure 3 This is a structural schematic diagram of another data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0025] Figure 4 This is a structural schematic diagram of another data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0026] Figure 5 This is a structural schematic diagram of another data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0027] Figure 6 This is a structural schematic diagram of another data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0028] Figure 7 This is a structural schematic diagram of another data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0029] Figure 8 This is a schematic diagram of the working process of a data conversion device from an SDI interface to an eDP interface according to an embodiment of the present application;

[0030] Fig. 9 The present invention is a flowchart of a method for converting data from an SDI interface to an eDP interface according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0032] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0033] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0034] With the development of video interface technology, the types of video interfaces are becoming more and more diverse. In addition to the traditional video graphics array (VGA), digital visual interface (DVI), and serial digital interface (SDI), new digital interfaces represented by high-definition multimedia interface (HDMI) and DisplayPort (DP for short) have also emerged. In terms of external interfaces, HDMI has a large market advantage, but DisplayPort has adjusted its structure with its own advantages, so that the gap is narrowing. The eDP protocol is an extension of the architecture and protocol of DP (Display Port) in the embedded direction, so the eDP protocol is fully compatible with the DP protocol. Compared with DVI / HDMI, eDP has high bandwidth, good integration, and simple design of related products. The interface has been widely used in other integrated display panels and image processors such as laptops, tablets, and mobile phones. SDI is a member of the digital video interface family. It can be used to transmit digital video signals and can transmit a variety of different resolutions. It can connect different devices together, such as recorders, monitors, PCs, and video mixers, so SDI is widely used in the video field.

[0035] Due to the wide variety of video interfaces, various interface conversion devices are often required during system integration. In some conversion systems that require SDI to eDP interfaces, the current practice is to first use a device to convert SDI to a certain type of interface such as HDMI interface, and then use another device to convert it to eDP interface. These systems are relatively complex and difficult to debug, the video resolution is limited, the transmission delay is large, and the flexibility is low.

[0036] The embodiment of the present application provides a data conversion device from an SDI interface to an eDP interface, which is applied between an SDI interface and an eDP interface, wherein one end of the eDP interface is connected to a display device, such as Figure 1 As shown, the data conversion device includes: a data analysis module 101, a data storage module 102, a data control module 103, a data acquisition module 104, a data processing module 105 and a data output module 106 respectively implemented based on FPGA;

[0037] The data parsing module 101 is used to obtain the SDI format data output from the SDI interface, parse the SDI format data to obtain parallel data to be transmitted and first attribute information of the SDI format data, and store the data to be transmitted and the first attribute information in the data storage module 102;

[0038] The data control module 103 is used to send a data transmission instruction to the data acquisition module 104;

[0039] The data acquisition module 104 is used to acquire the data to be transmitted and the first attribute information from the data storage module 102 according to the data transmission instruction, output the first attribute information to the data processing module 105, and output the data to be transmitted to the data processing module 105 according to the second attribute information of the data transmission in the display device obtained in advance;

[0040] The data processing module 105 is used to convert the input data to be transmitted into eDP format data that is compatible with the first attribute information, and output it;

[0041] The data output module 106 is used to perform output processing on the input eDP format data according to the pre-acquired third attribute information of the data transmitted in the display device, and output the processed eDP format data to the display device.

[0042] The data conversion device from SDI interface to eDP interface provided in the embodiment of the present application can directly convert data from the SDI interface into data suitable for the eDP interface based on FPGA resources, avoiding the introduction of an intermediate interface, thereby reducing costs and reducing transmission delays. At the same time, since it is implemented based on hardware resources, it realizes fast data conversion from the SDI interface to the eDP interface.

[0043] In an exemplary embodiment, Figure 2 As shown, the data storage module 102 includes: a data cache unit 1021 and a data operation unit 1022, and a data storage unit 1023, which are respectively implemented based on FPGA;

[0044] The data parsing module stores the data to be transmitted and the first attribute information in the data storage module, including:

[0045] The data cache unit 121 is used to cache the data to be transmitted and the first attribute data, and send a data storage instruction to the data operation unit 1022;

[0046] The data operation unit 1022 is used to read the data to be transmitted and the first attribute data cached by the data cache unit 1021 according to the data storage instruction, and store them in the data storage unit 1023.

[0047] In an exemplary embodiment, the data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, including:

[0048] The data acquisition module 104 is used to send a data acquisition instruction to the data operation unit 1022 according to the data transmission instruction;

[0049] The data operation unit 1022 is used to obtain the data to be transmitted and the first attribute information from the data storage unit 1023 according to the data acquisition instruction, and send them to the data acquisition module 104.

[0050] In an exemplary embodiment, Figure 3 As shown, it also includes: a signal detection module 107, an information request module 108;

[0051] The signal detection module 107 is used to detect the hot plug signal of the display device, and when it is determined that the display device is connected according to the obtained hot plug signal, send the display device access information to the information request module 108;

[0052] The information request module 108 is used to obtain the second attribute information and the third attribute information of the display device after receiving the display device access information, and send the second attribute information and the third attribute information of the display device to the data control module 103;

[0053] The data control module 103 is further configured to send the second attribute information to the data acquisition module 104 , and send the third attribute information to the data output module 106 .

[0054] In an exemplary embodiment, Figure 4 As shown, the conversion device further includes: a sequence generation module 109 and a data stream selection module 110 respectively connected to the data control module; wherein the data stream selection module 110 is located between the transmission link formed by the sequence generation module 109 and the data output module 106, and is located between the transmission link formed by the data processing module 105 and the data output module 106, and the data stream selection module 110 is used to switch to the transmission link where the sequence generation module 109 is located to receive data from the sequence generation module 109, or switch to the transmission link where the data processing module 105 is located to receive data from the data processing module 105;

[0055] The data control module 103 is further configured to send the second attribute information to the sequence generation module 109 .

[0056] In an exemplary embodiment, the data control module 103 is further configured to obtain link verification status information for the conversion device from the display device through the information request module 108, and when it is determined that the conversion device is in a link verification state according to the link verification status information, send first information indicating that the conversion device is in a link verification state to the sequence generation module 109 and the data stream selection module 110 respectively;

[0057] The sequence generation module 109 is used to generate training sequence data according to the first information, and output the training sequence data to the data stream selection module 110 according to the obtained second attribute information;

[0058] The data stream selection module 110 is used to switch the transmission link according to the first information to receive the training sequence data from the sequence generation module 109 and output it to the data output module 106;

[0059] The data output module 106 is further configured to perform output processing on the obtained training sequence data according to the third attribute information, and output the output processed training sequence data to the display device.

[0060] In an exemplary embodiment, the data control module 103 is further configured to send second information indicating that the conversion device has completed the link verification to the data stream selection module 110 when it is determined according to the link verification status information that the conversion device has completed the link verification;

[0061] The data stream selection module 110 is used to switch the link according to the second information to receive the eDP format data from the data processing module 105 and output the data to the data output module 106 .

[0062] In an exemplary embodiment, the second attribute information includes: the number of channels for data transmission in the display device;

[0063] The data acquisition module outputs the data to be transmitted to the data processing module according to the pre-acquired second attribute information of the data transmission in the display device, including:

[0064] The data acquisition module outputs the data to be transmitted to the data processing module via the transmission channel corresponding to the channel number;

[0065] The sequence generation module outputs the training sequence data to the data stream selection module according to the obtained second attribute information, including:

[0066] The sequence generation module outputs the training sequence data to the data stream selection module via a transmission channel corresponding to the channel number.

[0067] In an exemplary embodiment, the first attribute information includes: resolution information of the SDI format data;

[0068] like Figure 5 As shown, the data processing module 15 includes: a data encapsulation unit 151 and a data processing unit 152;

[0069] The data processing module converts the data to be transmitted into eDP format data that is compatible with the first attribute information, including:

[0070] The data encapsulation unit 151 is used to encapsulate the data to be transmitted according to the eDP protocol;

[0071] The data processing unit 152 is configured to insert the resolution information of the SDI format data into the processed data to be transmitted, so as to obtain the eDP format data adapted to the first attribute information.

[0072] In an exemplary embodiment, the third attribute information includes: information on the rate at which data is transmitted in the display device; Figure 6 As shown, the data output module 106 includes: a channel tilt unit 1061 and a serial-to-parallel conversion unit 1062;

[0073] The data output module performs output processing on the eDP format data according to the pre-acquired third attribute information of the data transmission in the display device, including:

[0074] The channel tilting unit 1061 is used to skew the eDP format data between different transmission channels, and send the skewed eDP format data to the serial-to-parallel conversion unit 1062;

[0075] The serial-to-parallel conversion unit 1062 is used to perform parallel-to-serial conversion on the skewed eDP format data, and perform rate adjustment according to the rate information.

[0076] In an exemplary embodiment, the data output module performs output processing on the obtained training sequence data according to the third attribute information, including:

[0077] The channel tilting unit 1061 is used to skew the training sequence data between different transmission channels, and output the skewed training sequence data to the serial-to-parallel conversion unit 1062;

[0078] The serial-to-parallel conversion unit 1062 is used to perform parallel-to-serial conversion on the skewed training sequence data and perform rate adjustment according to the rate information.

[0079] The embodiment of the present application also provides a data conversion device from an SDI interface to an eDP interface. The working principle of the conversion device is to first ensure that the display device is connected through a hot plug signal, and then read the maximum performance of the display device through the AUX channel and configure it appropriately to complete the link verification. The video input by SDI is then cached, processed and distributed to each transmission channel for encapsulation according to the eDP protocol, and skewed after the necessary information is inserted. Finally, 8b10b encoding is performed in the GowinSerDes module, serialization is performed, and a level signal suitable for the eDP protocol is output. Figure 7 As shown, the conversion device includes the following modules: HPD detect module (corresponding to the signal detection module in the above embodiment), AUX requester module (corresponding to the information request module in the above embodiment), AUX control module (corresponding to the data control module in the above embodiment), Gowin SDI IP module (corresponding to the data parsing module in the above embodiment), Video cache module (corresponding to the data cache unit in the above embodiment), Training Pattern Sequence (TPS) generator module (corresponding to the signal detection module in the above embodiment), Steer module (corresponding to the data acquisition module in the above embodiment), Packing module (corresponding to the data encapsulation unit in the above embodiment), MSA SR insert module (corresponding to the data processing unit in the above embodiment), Stream select module (corresponding to the data stream selection module in the above embodiment), Skewing module (corresponding to the channel tilting unit in the above embodiment), Gowin SerDes module (corresponding to the serial-to-parallel conversion unit in the above embodiment),

[0080] HPD detect module: detects the hot plug signal of the display device and notifies other modules to perform transactions. Specifically, this module uses a 100MHz clock as the working clock, eliminates the jitter of the HPD input signal, and uses two counters to count the duration of the high level and the low level respectively. When the HPD low level pulse time is detected to be between 0.5 and 1 milliseconds, it is determined as an interrupt event and an interrupt flag is output to other modules; when the HPD high level duration exceeds 2 milliseconds, it is determined to be HPD connected and a flag is output; when the HPD low level time lasts for more than 2 milliseconds, it is determined to be HPD not connected and a flag is output.

[0081] AUX requester module: As an AUX requester, it initiates AUX request transactions according to user logic to implement link verification, access to the protocol (DisplayPort ConfigurationData, DPCD) registers used to configure and control DisplayPort devices, etc. Specifically, this module receives read and write commands, DPCD register addresses, accessed data lengths, and data to be written from the transaction control module. The internal state machine enters different states according to different commands, and outputs the write register completion flag or the read register data after the command completion event. Since the AUX channel uses the Manchester-II encoding rule with a rate of 1Mbps, and uses 2-bit code elements to represent 1-bit signals, encoding processing is performed before data output, and the final output of the AUX channel is AUX_P, AUX_N.

[0082] AUX control module: used in conjunction with AUX requester to manage links, configure video stream parameters, etc. Specifically, this module performs corresponding transactions according to the status of HPD. When it detects that HPD is not connected, it outputs corresponding flags to other modules, and each module is in the initialization state. When HPD connection is detected, a transaction is immediately initiated to read the DPCD register on the display device side to obtain the maximum performance information, and then continue to initiate transactions to configure appropriate values ​​to the display device side, and also output related flags to other internal modules for use. Finally, the link check transaction is initiated to directly complete the training and output the flag.

[0083] Gowin SDI IP module: Receives SDI data and parses parallel video data. Specifically, this module provides users with a SerDes physical layer access interface, allowing users to easily connect the SDI protocol layer with the physical layer.

[0084] Video cache module: used to temporarily store and process video data, balance the sending and receiving rates during transmission, and the storage medium is external double data rate synchronous dynamic random access memory (Double Data Rate, DDR3) and FPGA internal first in first out (First In First Out, FIFO). Specifically, this module uses DDR3 to cache video data and synchronizes the data to the clock domain of the sending module. It mainly includes frame writing logic, frame reading logic, and pointer control logic.

[0085] TPS generator module: Test sequence generator, which can generate three test sequences, TPS1, TPS2 and TPS3, according to the input to complete the link test. Specifically, this module generates TPS1, TPS2 or TPS3 sequences according to the sequence settings provided by the AUX control module. TPS1 is the sequence of D10.2, TPS2 is the sequence of K28.5, D11.6 and D10.2, and TPS3 is the sequence of K28.5, D10.2 and D30.3.

[0086] Steer module: organizes the pixels of the video and distributes them to each transmission channel. Specifically, this module first maps the input video data into a byte stream, and then evenly distributes it to each transmission channel according to the number of transmission channels.

[0087] Packing module: Packs the video according to the eDP protocol. Specifically, this module packs the video frame by frame according to the eDP protocol, using a state machine design. When it detects that the Steer module has cached a complete line of video, it enters the line packing state, adds specific symbols BS, VB-ID, LSB of MVID and LSB of NVID, then reads the video data, and inserts symbols FS and FE according to the set transmission unit size, and repeats this process until a line of video is packed. Then it returns to the idle state and waits for a new line of video to arrive, and repeats this process until a frame of video is packed.

[0088] MSA SR insert module: inserts MSA video attributes and replaces SR. Specifically, according to the eDP protocol, during the video field blanking period, this module inserts video stream attribute data (Main Stream attribute, MSA), which mainly contains information related to video resolution and pixel clock, so that the display device can display the video stream normally after restoring it. In addition, the symbol code in the data stream is detected in real time. After every 512 symbols BS, the symbol BS is replaced by the symbol SR.

[0089] Stream select module: video stream selection, when in link verification, select the TPS sequence, when training is completed, select the normal video stream. Specifically, this module selects the data stream according to the current training state. If it is currently in training state, select the TPS sequence of the TPS generator module, otherwise select the video stream provided by the MSA SR insert module.

[0090] Skewing module: skews the data between the transmission channels to improve the anti-interference ability. Specifically, this module skews the data between channels, where the first channel remains unchanged and the subsequent channels are delayed by 2 symbol clock cycles. The purpose of skewing between channels is to increase the ability to resist external noise.

[0091] Gowin SerDes module: performs 8b10b encoding on the transmission channel, performs serialization, and outputs a level signal suitable for the eDP protocol. Specifically, this module is a high-speed serial transceiver hard-core IP. Each Quad supports up to 4 transceivers. Each transceiver contains a transmitter (TX) and a receiver (RX), supports data rates from 270Mbps to 12.5Gbps, and supports configurable PMA and PCS. This IP mainly implements 8B10B encoding, converts the PCS transmission parallel data into serial data, provides the driver for the analog part of the transmission channel, and converts the serial data into differential data and outputs it to the chip IO.

[0092] Clock generator module: The phase-locked loop module inside the FPGA is used to synchronize video data and control signals to ensure stable transmission. Specifically, this module uses Gowin's phase-locked loops (PLL) to generate clocks for internal logic modules.

[0093] Reset generate: Reset all logic after power-on to ensure that it has an exact initialization state and can reset related logic when an exception occurs.

[0094] The data conversion device from the SDI interface to the eDP interface provided in the embodiment of the present application has the following advantages:

[0095] With flexible programmability, it can adapt to video transmission requirements of different resolutions and frame rates. The highly parallel processing capability of FPGA improves the efficiency and speed of data transmission. The parallel architecture of hardware design reduces latency and power consumption. The highly integrated design simplifies circuit layout and connection, reducing cost and complexity.

[0096] The corresponding working process of the data conversion device from the SDI interface to the eDP interface after power-on can be as follows: Figure 8 As shown, including:

[0097] After the FPGA is powered on and loaded, a reset signal is generated internally to reset all logic modules to their exact initial state, and then the HPD signal from the display device is detected in real time. When the HPD signal is detected to be connected, a transaction is immediately initiated to read the DPCD register on the display device side to obtain the maximum performance information, configure the appropriate value to the display device side, and also output related flags for use by other modules. After the configuration is completed, the link test begins, and TPS1, TPS2 or TPS3 training is performed through the combination of the AUX channel and the mainstream channel. If the training fails, the parameters are reconfigured until the appropriate parameters are found. Finally, the link test is completed, and the video is read from the cache module and the video stream is output normally.

[0098] The present application also provides a method for converting data from an SDI interface to an eDP interface, which is applied to the device for converting data from an SDI interface to an eDP interface as described in any one of the above embodiments. Fig. 9 As shown, the method includes:

[0099] Step 201: The data parsing module obtains the SDI format data output from the SDI interface, parses the SDI format data to obtain parallel data to be transmitted and first attribute information of the SDI format data, and stores the data to be transmitted and the first attribute information in the data storage module;

[0100] Step 202: The data control module sends a data transmission instruction to the data acquisition module;

[0101] Step 203: the data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, outputs the first attribute information to the data processing module, and outputs the data to be transmitted to the data processing module according to the second attribute information of the data transmission in the display device obtained in advance;

[0102] Step 204: The data processing module converts the data in the SDI format into data in the eDP format, and outputs the data to the data output module;

[0103] Step 205: The data output module performs output processing on the data in the eDP format, and outputs the processed data in the eDP format to a display device.

[0104] In an exemplary embodiment, the data storage module includes: a data storage unit, a data cache unit and a data operation unit respectively implemented based on FPGA.

[0105] In an exemplary embodiment, the data parsing module stores the data to be transmitted and the first attribute information in the data storage module, including:

[0106] First, the data cache unit caches the data to be transmitted and the first attribute data, and sends a data storage instruction to the data operation unit;

[0107] Secondly, the data operation unit reads the data to be transmitted and the first attribute data cached by the data cache unit according to the data storage instruction, and stores them in the data storage unit.

[0108] In an exemplary embodiment, the data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, including:

[0109] First, the data acquisition module sends a data acquisition instruction to the data operation unit according to the data transmission instruction;

[0110] Secondly, the data operation unit obtains the data to be transmitted and the first attribute information from the data storage unit according to the data acquisition instruction, and sends them to the data acquisition module.

[0111] In an exemplary embodiment, the conversion device further includes: a signal detection module, an information request module

[0112] In an exemplary embodiment, the method further comprises:

[0113] First, the signal detection module detects the hot plug signal of the display device, and when it is determined that the display device is connected according to the obtained hot plug signal, sends the display device access information to the information request module;

[0114] Secondly, after receiving the display device access information, the information request module obtains the second attribute information and the third attribute information of the display device and sends them to the data control module;

[0115] Finally, the data control module sends the second attribute information to the data acquisition module, and sends the third attribute information to the data output module.

[0116] In an exemplary instance, the conversion device also includes: a sequence generation module and a data stream selection module respectively connected to the data control module; wherein the data stream selection module is located between the transmission link formed by the sequence generation module and the data output module, and between the transmission link formed by the data processing module and the data output module, and the data stream selection module is used to switch to the transmission link where the sequence generation module is located to receive data from the sequence generation module, or switch to the transmission link where the data processing module is located to receive data from the data processing module.

[0117] In an exemplary embodiment, the method further comprises:

[0118] The data control module sends the second attribute information to the sequence generation module.

[0119] In an exemplary embodiment, the method further comprises:

[0120] First, the data control module obtains link verification status information for the conversion device from the display device through the information request module, and when determining that the conversion device is in the link verification status according to the link verification status information, sends first information indicating that the conversion device is in the link verification status to the sequence generation module and the data stream selection module respectively;

[0121] Secondly, the sequence generation module generates training sequence data according to the first information, and outputs the training sequence data to the data stream selection module according to the obtained second attribute information;

[0122] Thirdly, the data stream selection module switches the transmission link according to the first information to receive the training sequence data from the sequence generation module, and outputs the training sequence data to the data output module;

[0123] Finally, the data output module performs output processing on the obtained training sequence data according to the third attribute information, and outputs the output-processed training sequence data to the display device.

[0124] In an exemplary embodiment, the method further comprises:

[0125] First, when the data control module determines that the conversion device has completed the link verification according to the link verification status information, the data control module sends second information indicating that the conversion device has completed the link verification to the data stream selection module;

[0126] Secondly, the data stream selection module switches the link according to the second information to receive the eDP format data from the data processing module, and outputs the data to the data output module.

[0127] In an exemplary embodiment, the second attribute information includes: the number of channels for data transmission in the display device.

[0128] In an exemplary embodiment, the data acquisition module outputs the data to be transmitted to the data processing module according to the pre-acquired second attribute information of the data transmission in the display device, including:

[0129] The data acquisition module outputs the data to be transmitted to the data processing module via the transmission channel corresponding to the channel number;

[0130] In an exemplary embodiment, the sequence generation module outputs the training sequence data to the data stream selection module according to the obtained second attribute information, including:

[0131] The sequence generation module outputs the training sequence data to the data stream selection module via a transmission channel corresponding to the channel number.

[0132] In an exemplary embodiment, the first attribute information includes: resolution information of the SDI format data; the data processing module includes: a data encapsulation unit and a data processing unit.

[0133] In an exemplary embodiment, the data processing module converts the to-be-transmitted data into eDP format data that is compatible with the first attribute information, including:

[0134] First, the data encapsulation unit encapsulates the data to be transmitted according to the eDP protocol;

[0135] Secondly, the data processing unit inserts the resolution information of the SDI format data into the processed data to be transmitted, so as to obtain the eDP format data adapted to the first attribute information.

[0136] In an exemplary embodiment, the third attribute information includes: rate information of data transmission in the display device; the data output module includes: a channel tilt unit and a serial-to-parallel conversion unit.

[0137] In an exemplary embodiment, the data output module performs output processing on the eDP format data according to the pre-acquired third attribute information of the data transmitted in the display device, including:

[0138] First, the channel tilting unit skews the eDP format data between different transmission channels, and sends the skewed eDP format data to the serial-to-parallel conversion unit;

[0139] Secondly, the serial-to-parallel conversion unit performs parallel-to-serial conversion on the skewed eDP format data, and performs rate adjustment according to the rate information.

[0140] In an exemplary embodiment, the data output module performs output processing on the obtained training sequence data according to the third attribute information, including:

[0141] First, the channel tilting unit skews the training sequence data between different transmission channels, and outputs the skewed training sequence data to the serial-to-parallel conversion unit;

[0142] Secondly, the serial-to-parallel conversion unit performs parallel-to-serial conversion on the skewed training sequence data, and performs rate adjustment according to the rate information.

[0143] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as 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 may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled 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 disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain 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.

Claims

1. A data conversion device from an SDI interface to an eDP interface, applied between an SDI interface and an eDP interface, wherein one end of the eDP interface is connected to a display device, It is characterized in that The data conversion device comprises: a data storage module, a data analysis module, a data control module, a data acquisition module, a data processing module, a data output module and an information request module respectively implemented based on FPGA; The data parsing module is used to obtain the SDI format data output from the SDI interface, parse the SDI format data to obtain parallel data to be transmitted and first attribute information of the SDI format data, and store the data to be transmitted and the first attribute information in the data storage module; The data control module is used to send a data transmission instruction to the data acquisition module; The data acquisition module is used to acquire the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, output the first attribute information to the data processing module, and output the data to be transmitted to the data processing module according to the pre-acquired second attribute information of the data transmitted in the display device; The data processing module is used to convert the input data to be transmitted into eDP format data that is compatible with the first attribute information, and output it; The data output module is used to perform output processing on the input eDP format data according to the pre-acquired third attribute information of the data transmitted in the display device, and output the processed eDP format data to the display device; The conversion device further comprises: a sequence generation module and a data stream selection module respectively connected to the data control module; wherein the data stream selection module is located between the transmission link formed by the sequence generation module and the data output module, and between the transmission link formed by the data processing module and the data output module, and the data stream selection module is used to switch to the transmission link where the sequence generation module is located to receive data from the sequence generation module, or switch to the transmission link where the data processing module is located to receive data from the data processing module; The data control module is further used to send the second attribute information to the sequence generation module; The data control module is further configured to obtain link verification status information for the conversion device from the display device through the information request module, and when it is determined that the conversion device is in a link verification state according to the link verification status information, send first information indicating that the conversion device is in a link verification state to the sequence generation module and the data stream selection module respectively; The sequence generation module is used to generate training sequence data according to the first information, and output the training sequence data to the data stream selection module according to the obtained second attribute information.

2. The conversion device according to claim 1, It is characterized in that The data storage module includes: a data storage unit, a data cache unit and a data operation unit respectively implemented based on FPGA; The data parsing module stores the data to be transmitted and the first attribute information in the data storage module, including: The data cache unit is used to cache the data to be transmitted and the first attribute information, and send a data storage instruction to the data operation unit; The data operation unit is used to read the data to be transmitted and the first attribute information cached by the data cache unit according to the data storage instruction, and store them in the data storage unit.

3. The conversion device according to claim 2, It is characterized in that The data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, including: The data acquisition module is used to send a data acquisition instruction to the data operation unit according to the data transmission instruction; The data operation unit is used to obtain the data to be transmitted and the first attribute information from the data storage unit according to the data acquisition instruction, and send them to the data acquisition module.

4. The conversion device according to claim 3, It is characterized in that Also includes: Signal detection module, information request module; The signal detection module is used to detect the hot plug signal of the display device, and when it is determined that the display device is connected according to the obtained hot plug signal, send the display device access information to the information request module; The information request module is used to obtain the second attribute information and the third attribute information of the display device after receiving the display device access information, and send the second attribute information and the third attribute information of the display device to the data control module; The data control module is further used to send the second attribute information to the data acquisition module, and send the third attribute information to the data output module.

5. The conversion device according to claim 4, It is characterized in that The data stream selection module is used to switch the transmission link according to the first information to receive the training sequence data from the sequence generation module and output it to the data output module; The data output module is further used to perform output processing on the obtained training sequence data according to the third attribute information, and output the output-processed training sequence data to the display device.

6. The conversion device according to claim 5, It is characterized in that The data control module is further configured to send second information indicating that the conversion device has completed the link verification to the data stream selection module when it is determined according to the link verification status information that the conversion device has completed the link verification; The data stream selection module is used to switch the link according to the second information to receive the eDP format data from the data processing module and output it to the data output module.

7. The conversion device according to claim 6, It is characterized in that The second attribute information includes: the number of channels for data transmission in the display device; The data acquisition module outputs the data to be transmitted to the data processing module according to the pre-acquired second attribute information of the data transmission in the display device, including: The data acquisition module outputs the data to be transmitted to the data processing module via the transmission channel corresponding to the channel number; The sequence generation module outputs the training sequence data to the data stream selection module according to the obtained second attribute information, including: The sequence generation module outputs the training sequence data to the data stream selection module via a transmission channel corresponding to the channel number.

8. The conversion device according to claim 7, It is characterized in that The first attribute information includes: resolution information of the SDI format data; The data processing module includes: a data encapsulation unit and a data processing unit; The data processing module converts the data to be transmitted into eDP format data that is compatible with the first attribute information, including: The data encapsulation unit is used to encapsulate the data to be transmitted according to the eDP protocol; The data processing unit is used to insert the resolution information of the SDI format data into the processed data to be transmitted, so as to obtain the eDP format data adapted to the first attribute information.

9. The conversion device according to claim 8, It is characterized in that The third attribute information includes: the rate information of data transmission in the display device; the data output module includes: a channel tilt unit and a serial-to-parallel conversion unit; The data output module performs output processing on the eDP format data according to the pre-acquired third attribute information of the data transmission in the display device, including: The channel tilting unit is used to skew the eDP format data between different transmission channels, and send the skewed eDP format data to the serial-to-parallel conversion unit; The serial-to-parallel conversion unit is used to perform parallel-to-serial conversion on the eDP format data that has undergone skew processing, and perform rate adjustment processing according to the rate information; The data output module performs output processing on the obtained training sequence data according to the third attribute information, including The channel tilting unit is used to skew the training sequence data between different transmission channels, and output the skewed training sequence data to the serial-to-parallel conversion unit; The serial-to-parallel conversion unit is used to perform parallel-to-serial conversion on the skewed training sequence data and perform rate adjustment according to the rate information.

10. A data conversion method from an SDI interface to an eDP interface, It is characterized in that The method applied to the data conversion device from an SDI interface to an eDP interface according to any one of claims 1 to 9 comprises: The data parsing module acquires the SDI format data output from the SDI interface, parses the SDI format data to obtain parallel data to be transmitted and first attribute information of the SDI format data, and stores the data to be transmitted and the first attribute information in the data storage module; The data control module sends a data transmission instruction to the data acquisition module; The data acquisition module acquires the data to be transmitted and the first attribute information from the data storage module according to the data transmission instruction, outputs the first attribute information to the data processing module, and outputs the data to be transmitted to the data processing module according to the second attribute information of the data transmitted in the display device obtained in advance; The data processing module converts the data in the SDI format into data in the eDP format and outputs the data to the data output module; The data output module performs output processing on the data in the eDP format, and outputs the processed data in the eDP format to a display device; The conversion device further includes: a sequence generation module and a data stream selection module respectively connected to the data control module; wherein the data stream selection module is located between the transmission link formed by the sequence generation module and the data output module, and between the transmission link formed by the data processing module and the data output module, and the method further includes: The data stream selection module switches to the transmission link where the sequence generation module is located to receive data from the sequence generation module, or switches to the transmission link where the data processing module is located to receive data from the data processing module; The data control module sends the second attribute information to the sequence generation module; The data control module obtains link verification status information for the conversion device from the display device through the information request module, and when determining that the conversion device is in the link verification status according to the link verification status information, sends first information indicating that the conversion device is in the link verification status to the sequence generation module and the data stream selection module respectively; The sequence generation module generates training sequence data according to the first information, and outputs the training sequence data to the data stream selection module according to the obtained second attribute information.