CN113688080B - DP signal transmission device and method for improving transmission link compatibility - Google Patents

DP signal transmission device and method for improving transmission link compatibility Download PDF

Info

Publication number
CN113688080B
CN113688080B CN202111245302.1A CN202111245302A CN113688080B CN 113688080 B CN113688080 B CN 113688080B CN 202111245302 A CN202111245302 A CN 202111245302A CN 113688080 B CN113688080 B CN 113688080B
Authority
CN
China
Prior art keywords
aux
signal
agent module
electronic equipment
signal source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111245302.1A
Other languages
Chinese (zh)
Other versions
CN113688080A (en
Inventor
李艺
江辉
周新亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Everpro Technologies Wuhan Co Ltd
Original Assignee
Everpro Technologies Wuhan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Everpro Technologies Wuhan Co Ltd filed Critical Everpro Technologies Wuhan Co Ltd
Priority to CN202111245302.1A priority Critical patent/CN113688080B/en
Publication of CN113688080A publication Critical patent/CN113688080A/en
Application granted granted Critical
Publication of CN113688080B publication Critical patent/CN113688080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

一种提高传输链路兼容性的DP信号传输装置及方法,包括:在AUX辅助通道中设置有AUX代理模块,AUX代理模块,监听AUX通信,接收到AUX数据包并进行解析,根据解析的结果直接转发或修改后转发AUX数据包,包括修改AUX数据包中关于电子设备能够支持的DP数据传输通路.AUX代理模块有直接转发、修改转发及主动发起三种工作模式,能够根据配置自动进行模式切换或接受外部控制模块的控制被动切换。本发明具有从多种工作模式,灵活多变,能够修改返回AUX数据包中的所支持的最大Lane数量,提高了DP信号传输的兼容性,解决了系统无法正常工作的问题,在低成本情况了提升了DP信号传输链路的兼容性。

Figure 202111245302

A DP signal transmission device and method for improving the compatibility of transmission links, comprising: an AUX proxy module is provided in an AUX auxiliary channel, the AUX proxy module monitors AUX communication, receives an AUX data packet and analyzes it, and analyzes the result according to the analysis result. Direct forwarding or forwarding AUX data packets after modification, including modifying the DP data transmission path supported by electronic equipment in the AUX data packet. The AUX proxy module has three working modes: direct forwarding, modified forwarding and active initiation, which can be automatically carried out according to the configuration. Switch or accept control passive switching from external control module. The invention has multiple working modes, is flexible, can modify the maximum number of Lanes supported in the returned AUX data packet, improves the compatibility of DP signal transmission, and solves the problem that the system cannot work normally. The compatibility of the DP signal transmission link has been improved.

Figure 202111245302

Description

一种提高传输链路兼容性的DP信号传输装置和方法A DP signal transmission device and method for improving transmission link compatibility

技术领域technical field

本发明涉及高清信号传输领域,具体的,涉及一种传输DP信号的装置和方法,能够提高DP信号传输链路兼容性,在信号源和显示器等电子设备支持1 Lane(其中,Lane即数据传输通路)、2 Lane和4 Lane的多通道数据传输,而DP信号传输装置支持的数据传输通道较少时,提高传输链路兼容性。The present invention relates to the field of high-definition signal transmission, in particular, to a device and method for transmitting DP signals, which can improve the compatibility of DP signal transmission links, and support 1 Lane (wherein Lane is data transmission in electronic devices such as signal sources and displays) Channel), 2 Lane and 4 Lane multi-channel data transmission, and when the DP signal transmission device supports fewer data transmission channels, the compatibility of the transmission link is improved.

背景技术Background technique

DisplayPort(简称DP)是一个由PC及芯片制造商联盟开发,视频电子标准协会(VESA)标准化的数字式视频接口标准,主要用于视频源(比如笔记本、显卡等)与显示器等电子设备的连接。DP可用于同时传输音频及视频。DisplayPort (DP for short) is a digital video interface standard developed by the PC and chip manufacturers alliance and standardized by the Video Electronics Standards Association (VESA), mainly used for video sources (such as notebooks, graphics cards, etc.) and electronic devices such as monitors are connected. . DP can be used to transmit audio and video at the same time.

DP接口不仅可以支持全高清显示分辨率(1920×1080),还能支持4k分辨率(3840×2160),以及最新的8k分辨率(7680×4320)。DP接口不仅传输率高,而且可靠稳定,其接口传输的信号由传输图像的数据通道信号以及传输图像相关的状态、控制信息的辅助通道信号组成,具体包含数据传输主通道(Main Link)、AUX辅助通道(AUX Channel)。The DP interface can not only support full HD display resolution (1920×1080), but also 4k resolution (3840×2160), and the latest 8k resolution (7680×4320). The DP interface not only has a high transmission rate, but also is reliable and stable. The signal transmitted by the interface consists of the data channel signal for transmitting the image and the auxiliary channel signal for transmitting the image-related status and control information, including the main data transmission channel (Main Link), AUX Auxiliary Channel (AUX Channel).

AUX辅助通道(AUX Channel)作为DP接口中一条独立的双向传输辅助通道,采用交流耦合差分传输方式,是一条双向半双工传输通道,单一方向速率仅1Mbit/s左右,用来传输设定与控制指令,具体包括:读取扩展显示识别数据(EDID),以确保DP信号的正确传输;读取显示器等电子设备所支持的DP接口的信息,如主要通道的数量和DP信号的传输速率;进行各种显示组态暂存器的设定;读取电子设备状态暂存器。AUX Channel is an independent two-way transmission auxiliary channel in the DP interface. It adopts the AC-coupled differential transmission method. It is a two-way half-duplex transmission channel. The single direction rate is only about 1Mbit/s. It is used to transmit settings and Control instructions, including: reading Extended Display Identification Data (EDID) to ensure the correct transmission of DP signals; reading information on DP interfaces supported by electronic devices such as displays, such as the number of main channels and the transmission rate of DP signals; Carry out various settings of the display configuration register; read the electronic equipment status register.

DP协议规定了视频及音频数据在主通道中进行点到点的传输,其中主通道可以由1、2或4路差分信号构成,分别对应1 Lane、2 Lane和4 Lane的工作模式。视频源或电子设备也可以最大支持1 Lane、2 Lane或4 Lane。但必须向下兼容,即:最大支持4 Lane的设备(包括线缆)能够支持2 Lane及1 Lane的工作模式;最大支持2 Lane的设备(包括线缆)能够支持1 Lane的工作模式,无需支持4 Lane模式;最大支持1 Lane的设备(包括线缆)只需要支持1 Lane模式即可,无需支持2 Lane及4 Lane模式。The DP protocol specifies the point-to-point transmission of video and audio data in the main channel, where the main channel can be composed of 1, 2 or 4 differential signals, corresponding to the working modes of 1 Lane, 2 Lane and 4 Lane respectively. The video source or electronic device can also support up to 1 Lane, 2 Lane or 4 Lane. But it must be backward compatible, that is: devices (including cables) that support up to 4 Lanes can support working modes of 2 Lane and 1 Lane; devices that support up to 2 Lanes (including cables) can support working modes of 1 Lane, without the need for Supports 4 Lane mode; devices (including cables) that support up to 1 Lane only need to support 1 Lane mode, and do not need to support 2 Lane and 4 Lane modes.

实际应用中,当信号源与电子设备通过一段线缆连接之后,视频源与电子设备之间会进行一系列的握手协商,最终确定工作在某一特定的1 Lane、2 Lane或4 Lane模式。在协商过程中,还会用到DP协议规定的另一对AUX数据包用来交换相关握手信息。以下举例对握手协商的过程做简单介绍。In practical applications, after the signal source and the electronic device are connected by a cable, a series of handshake negotiations will be performed between the video source and the electronic device, and finally it is determined to work in a specific 1 Lane, 2 Lane or 4 Lane mode. During the negotiation process, another pair of AUX data packets specified by the DP protocol will be used to exchange relevant handshake information. The following example briefly introduces the process of handshake negotiation.

参见图1,示出了现有技术的DP信号传输装置,DP的信号源1与电子设备2之间通过DP信号传输装置3相连,该传输装置可能是标准DP线、USB-C线缆或者仅仅是内部的PCB走线。在信号源1与电子设备2都通电工作之后,信号源1会通过AUX辅助通道30读取电子设备2的相关信号,其中就包括电子设备2所支持的最大主链路Lane数量(1、2或4)。同时,信号源1本身及DP信号传输装置3也有支持的最大Lane数量。最终系统能工作的最大Lane数量由信号源、传输链路、电子设备三者中支持的最大链路Lane数量的最小值决定。例如,信号源1最大支持4Lane,DP信号传输链路3最大支持4Lane,电子设备2最大支持2Lane,最终整个系统能够工作最大Lane数量是2,即系统只能工作在1 Lane或2 Lane模式,无法工作在4 Lane模式。Referring to FIG. 1, a DP signal transmission device in the prior art is shown. The DP signal source 1 and the electronic device 2 are connected through a DP signal transmission device 3, which may be a standard DP cable, a USB-C cable or Just the internal PCB traces. After both the signal source 1 and the electronic device 2 are powered on, the signal source 1 will read the relevant signals of the electronic device 2 through the AUX auxiliary channel 30, including the maximum number of main link lanes supported by the electronic device 2 (1, 2 or 4). At the same time, the signal source 1 itself and the DP signal transmission device 3 also have the maximum number of lanes supported. The maximum number of lanes that the final system can work with is determined by the minimum value of the maximum number of lanes supported by the signal source, transmission link, and electronic equipment. For example, the signal source 1 supports a maximum of 4 Lanes, the DP signal transmission link 3 supports a maximum of 4 Lanes, and the electronic device 2 supports a maximum of 2 Lanes. Finally, the maximum number of Lanes that the entire system can work with is 2, that is, the system can only work in 1 Lane or 2 Lane mode. Cannot work in 4 Lane mode.

由于DP协议规定了每一个Lane所传输信号的最大速率,例如DP1.2标准中,每一个Lane最大速率只能在5.4Gbps,不难想象,系统中同时工作的Lane数量越多,每一条Lane上的传输速率越大,传输的数据量也越大,对应到显示上的最大分辨率也越大。因此,为获得最佳的用户体验,世面上几乎所有DP信号源、显示器等电子设备支持的最大Lane数量都是4。Since the DP protocol specifies the maximum rate of signals transmitted by each Lane, for example, in the DP1.2 standard, the maximum rate of each Lane can only be 5.4Gbps. It is not difficult to imagine that the more Lanes working simultaneously in the system, the more each Lane The higher the transmission rate, the larger the amount of data transmitted, and the larger the maximum resolution corresponding to the display. Therefore, in order to obtain the best user experience, the maximum number of Lanes supported by almost all DP signal sources, monitors and other electronic devices in the world is 4.

但是,实际应用中有许多传输DP信号的线缆因各种原因,支持的最大Lane数量只有2或者1,这会给用户在使用过程中带来一些兼容性问题。However, in practical applications, there are many cables that transmit DP signals, and for various reasons, the maximum number of lanes supported is only 2 or 1, which will bring some compatibility problems to users during use.

参见图2,示出了现有技术的DP信号传输装置支持的数据传输通道数较低的一种情况。信号源1与电子设备2最大支持4Lane,但信号传输装置只支持2Lane。如前所述,在设备启动后,信号源1会通过AUX辅助通道30读取电子设备2支持的最大Lane数量信号,但是遵循DP协议规范,信号源1并不会从DP信号传输链路上获取支持的Lane数量信号。因此,信号源会假定DP信号传输链路有4条主链路通道。Referring to FIG. 2 , a situation in which the number of data transmission channels supported by the DP signal transmission apparatus in the prior art is shown is low. Signal source 1 and electronic device 2 support up to 4Lane, but the signal transmission device only supports 2Lane. As mentioned above, after the device is started, the signal source 1 will read the maximum number of lanes supported by the electronic device 2 through the AUX auxiliary channel 30, but following the DP protocol specification, the signal source 1 will not be transmitted from the DP signal transmission link. Gets the signal for the number of lanes supported. Therefore, the signal source will assume that the DP signal transmission chain has 4 main link lanes.

信号源1得到电子设备2的最大Lane数量4后,结合自身所支持的最大lane数量也是4,在电子设备被正式点亮之前,会进行进一步的握手动作,完成协商过程,而由于DP信号传输装置并不支持4 条Lane,从而链路校准(Link Training)失败,进而无法点亮电子设备。After the signal source 1 obtains the maximum number of lanes of the electronic device 2 of 4, combined with the maximum number of lanes it supports is also 4, before the electronic device is officially turned on, further handshakes will be performed to complete the negotiation process. The unit does not support 4 lanes, so the Link Training fails and the electronics cannot be lit.

同理,如果DP信号传输装置只支持1 Lane,而DP信号源及电子设备可以支持到2Lane或4 Lane模式,最终系统也可能因为training失败而无法正常工作。Similarly, if the DP signal transmission device only supports 1 Lane, and the DP signal source and electronic equipment can support 2 Lane or 4 Lane mode, the final system may also fail to work properly due to training failure.

综上,由于现有的协议标准不强制信号源降低Lane数量,而信号源及电子设备支持的最大Lane数量可能超过DP信号传输装置所支持的Lane数,从而导致电子设备无法点亮、系统不能正常工作成为现有技术亟需解决的技术问题。To sum up, since the existing protocol standard does not force the signal source to reduce the number of Lanes, and the maximum number of Lanes supported by the signal source and electronic equipment may exceed the number of Lanes supported by the DP signal transmission device, the electronic equipment cannot be lit and the system cannot be Normal work has become a technical problem that needs to be solved urgently in the prior art.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提出一种提高DP信号链路兼容性的DP信号传输装置及方法,大幅提高包括DP、USB-C等线缆在内的DP信号传输装置的兼容性。The purpose of the present invention is to provide a DP signal transmission device and method for improving the compatibility of the DP signal link, and greatly improve the compatibility of the DP signal transmission device including cables such as DP and USB-C.

为达此目的,本发明采用以下技术方案:For this purpose, the present invention adopts the following technical solutions:

一种提高传输链路兼容性的DP信号传输装置,其特征在于,包括:A DP signal transmission device for improving the compatibility of transmission links is characterized in that, comprising:

包括第一连接单元和第二连接单元,以及位于第一、第二连接单元之间的数据传输通道和AUX辅助通道,It includes a first connection unit and a second connection unit, as well as a data transmission channel and an AUX auxiliary channel between the first and second connection units,

其中,第一连接单元,用于和信号源连接;Wherein, the first connection unit is used to connect with the signal source;

第二连接单元,用于和电子设备连接,所述电子设备为具有DP端口的设备;a second connection unit for connecting with an electronic device, the electronic device being a device with a DP port;

数据传输通道,具有一条或多条DP数据传输通路,用于传输DP图像数据;A data transmission channel, which has one or more DP data transmission paths for transmitting DP image data;

AUX辅助通道,用于传输AUX数据包,所述AUX数据包包括图像设定与控制信息;AUX auxiliary channel, used to transmit AUX data packets, the AUX data packets include image setting and control information;

在AUX辅助通道中具有AUX代理模块,所述AUX代理模块,位于信号源和电子设备之间,用于监听AUX通信,接收到AUX数据包并进行解析,根据解析的结果直接转发或修改后转发AUX数据包。There is an AUX proxy module in the AUX auxiliary channel. The AUX proxy module is located between the signal source and the electronic device and is used to monitor AUX communication, receive and parse the AUX data packet, and forward it directly or after modification according to the analysis result. AUX packets.

可选的,所述AUX代理模块,能够监听信号源对电子设备的读取命令,并且将电子设备返回的数据拦截,直接转发或者经过修改后,再返回给信号源;Optionally, the AUX proxy module can monitor the read command of the signal source to the electronic device, and intercept the data returned by the electronic device, directly forward or modify it, and then return it to the signal source;

和/或,所述AUX代理模块,能够监听信号源对电子设备的写入命令,并且将该写入命令直接转发给电子设备,或者拦截该写入命令,修改后再转发给电子设备。And/or, the AUX proxy module can monitor the write command of the signal source to the electronic device, and directly forward the write command to the electronic device, or intercept the write command, and then forward it to the electronic device after modification.

可选的,所述AUX代理模块还能够生成AUX响应信号到信号源或者发起读写命令到电子设备。Optionally, the AUX agent module can also generate an AUX response signal to the signal source or initiate read and write commands to the electronic device.

可选的,所述AUX代理模块,能够截获电子设备返回给信号源的AUX信号中关于电子设备能够支持的DP数据传输通路的数量,当所述DP信号传输装置支持的DP数据传输通路的数量小于电子设备支持的DP数据传输通路的数量时,修改电子设备传回的AUX信号中关于电子设备能够支持的DP数据传输通路的数量,然后将修改后的AUX信号发送到信号源。Optionally, the AUX agent module can intercept the number of DP data transmission paths that the electronic equipment can support in the AUX signal returned by the electronic equipment to the signal source, when the number of DP data transmission paths supported by the DP signal transmission device is When it is less than the number of DP data transmission paths supported by the electronic device, modify the number of DP data transmission paths that the electronic device can support in the AUX signal returned by the electronic device, and then send the modified AUX signal to the signal source.

可选的,AUX代理模块在监听并解析AUX信号后,直接根据解析的结果转发或修改后转发AUX信号。Optionally, after monitoring and parsing the AUX signal, the AUX proxy module directly forwards or modifies and forwards the AUX signal according to the parsing result.

可选的,所述AUX辅助通道还具有控制模块,所述控制模块与所述AUX代理模块相连接,所述控制模块根据AUX代理模块的解析结果,对AUX代理模块下发命令,使得AUX代理模块转发、修改AUX信息,或者主动的给电子设备下发命令,并且接收电子设备端返回的结果。Optionally, the AUX auxiliary channel also has a control module, the control module is connected with the AUX proxy module, and the control module issues an order to the AUX proxy module according to the analysis result of the AUX proxy module, so that the AUX proxy module is The module forwards and modifies the AUX information, or actively issues commands to the electronic device, and receives the result returned by the electronic device.

可选的,所述AUX代理模块有直接转发、修改转发及主动发起三种工作模式,能够根据配置自动进行模式切换或接受外部控制模块的控制被动切换;Optionally, the AUX proxy module has three working modes: direct forwarding, modified forwarding and active initiation, and can automatically perform mode switching according to the configuration or accept passive switching controlled by an external control module;

所述直接转发模式为:所述AUX代理模块收到来自一侧的数据后,将收到的数据包直接转发到另一侧。The direct forwarding mode is: after the AUX proxy module receives the data from one side, it directly forwards the received data packet to the other side.

所述修改转发模式为:所述AUX代理模块收到来自一侧的AUX信号后,修改数据包中部分内容,然后将修改后的AUX信号转发到另一侧;The modified forwarding mode is: after the AUX agent module receives the AUX signal from one side, it modifies part of the content in the data packet, and then the modified AUX signal is forwarded to the other side;

所述主动发起模式为:所述AUX代理模块在收到某一侧的AUX信号后,不直接将AUX信号转发到另一侧,或者AUX代理模块如果收到的是来自信号源侧的命令,则根据外部控制模块的要求或预置要求在内部生成一个数据包回应给信号源,或者AUX代理模块根据外部控制模块的动态要求或预置要求主动地发送相关命令到电子设备端,并且接收电子设备端的返回结果。The active initiation mode is: after the AUX proxy module receives the AUX signal from a certain side, it does not directly forward the AUX signal to the other side, or if the AUX proxy module receives a command from the signal source side, Then, according to the requirements or preset requirements of the external control module, a data packet is generated internally to respond to the signal source, or the AUX agent module actively sends relevant commands to the electronic device according to the dynamic requirements or preset requirements of the external control module, and receives electronic devices. The return result on the device side.

可选的,AUX代理模块,位于第一连接单元或第二连接单元上,或者位于第一连接单元和第二连接单元之间。Optionally, the AUX agent module is located on the first connection unit or the second connection unit, or between the first connection unit and the second connection unit.

可选的,所述DP信号传输装置为线缆,第一连接单元和第二连接单元通过光纤或者铜线连接。Optionally, the DP signal transmission device is a cable, and the first connection unit and the second connection unit are connected by optical fibers or copper wires.

本发明进一步公开了一种提高传输链路兼容性的DP信号传输方法,该方法用于在信号源和电子设备之间的DP信号传输,包括:The present invention further discloses a DP signal transmission method for improving the compatibility of transmission links. The method is used for DP signal transmission between a signal source and an electronic device, including:

在AUX辅助通道中设置有AUX代理模块,所述AUX代理模块,位于信号源和电子设备之间,用于监听AUX通信,接收到AUX数据包并进行解析,根据解析的结果直接转发或修改后转发AUX数据包。An AUX proxy module is set in the AUX auxiliary channel. The AUX proxy module is located between the signal source and the electronic device and is used to monitor the AUX communication, receive and analyze the AUX data packet, and directly forward or modify it according to the analysis result. Forward AUX packets.

可选的,所述AUX代理模块,能够监听信号源对电子设备的读取命令,并且将电子设备返回的数据拦截,直接转发或者经过修改后,再返回给信号源;Optionally, the AUX proxy module can monitor the read command of the signal source to the electronic device, and intercept the data returned by the electronic device, directly forward or modify it, and then return it to the signal source;

和/或,所述AUX代理模块,能够监听信号源对电子设备的写入命令,并且将该写入命令直接转发给电子设备,或者拦截该写入命令,修改后再转发给电子设备;And/or, the AUX agent module can monitor the write command of the signal source to the electronic device, and directly forward the write command to the electronic device, or intercept the write command, and then forward it to the electronic device after modification;

和/或,所述AUX代理模块,能够生成AUX响应信号到信号源或者发起读写命令到电子设备。And/or, the AUX agent module can generate an AUX response signal to the signal source or initiate read and write commands to the electronic device.

可选的,所述AUX代理模块,能够截获电子设备返回给信号源的AUX信号中关于电子设备能够支持的DP数据传输通路的数量,当所述DP信号传输装置支持的DP数据传输通路的数量小于电子设备支持的DP数据传输通路的数量时,修改电子设备传回的AUX信号中关于电子设备能够支持的DP数据传输通路的数量,然后将修改后的AUX信号发送到信号源。Optionally, the AUX agent module can intercept the number of DP data transmission paths that the electronic equipment can support in the AUX signal returned by the electronic equipment to the signal source, when the number of DP data transmission paths supported by the DP signal transmission device is When it is less than the number of DP data transmission paths supported by the electronic device, modify the number of DP data transmission paths that the electronic device can support in the AUX signal returned by the electronic device, and then send the modified AUX signal to the signal source.

可选的,所述AUX代理模块能够在监听并解析AUX信号后,直接根据解析的结果转发或修改后转发AUX信号。Optionally, after monitoring and parsing the AUX signal, the AUX proxy module can directly forward or modify the AUX signal according to the parsing result.

或者,所述AUX辅助通道还具有控制模块,所述控制模块与所述AUX代理模块相连接,所述控制模块根据AUX代理模块的解析结果,对AUX代理模块下发命令,使得AUX代理模块转发、修改AUX信息,或者主动的给电子设备下发命令,并且接收电子设备端返回的结果。Or, the AUX auxiliary channel also has a control module, the control module is connected with the AUX proxy module, and the control module issues an order to the AUX proxy module according to the analysis result of the AUX proxy module, so that the AUX proxy module forwards , modify the AUX information, or actively issue commands to the electronic device, and receive the result returned by the electronic device.

可选的,所述AUX代理模块有直接转发、修改转发及主动发起三种工作模式,能够根据配置自动进行模式切换或接受外部控制模块的控制被动切换;Optionally, the AUX proxy module has three working modes: direct forwarding, modified forwarding and active initiation, and can automatically perform mode switching according to the configuration or accept passive switching controlled by an external control module;

所述直接转发模式为:所述AUX代理模块收到来自一侧的数据后,将收到的数据包直接转发到另一侧。The direct forwarding mode is: after the AUX proxy module receives the data from one side, it directly forwards the received data packet to the other side.

所述修改转发模式为:所述AUX代理模块收到来自一侧的AUX信号后,修改数据包中部分内容,然后将修改后的AUX信号转发到另一侧;The modified forwarding mode is: after the AUX agent module receives the AUX signal from one side, it modifies part of the content in the data packet, and then the modified AUX signal is forwarded to the other side;

所述主动发起模式为:所述AUX代理模块在收到某一侧的AUX信号后,不直接将AUX信号转发到另一侧,或者AUX代理模块如果收到的是来自信号源侧的命令,则根据外部控制模块的要求或预置要求在内部生成一个数据包回应给信号源,或者AUX代理模块根据外部控制模块的动态要求或预置要求主动地发送相关命令到电子设备端,并且接收电子设备端的返回结果。The active initiation mode is: after the AUX proxy module receives the AUX signal from a certain side, it does not directly forward the AUX signal to the other side, or if the AUX proxy module receives a command from the signal source side, Then, according to the requirements or preset requirements of the external control module, a data packet is generated internally to respond to the signal source, or the AUX agent module actively sends relevant commands to the electronic device according to the dynamic requirements or preset requirements of the external control module, and receives electronic devices. The return result on the device side.

综上,本发明具有如下的优点:To sum up, the present invention has the following advantages:

1、能够对AUX数据包进行直接转发或者修改,能够主动的返回相应信号或者给电子设备端发送命令,能够接受显示器等电子设备返回的结果,控制方式灵活多变。1. It can directly forward or modify AUX data packets, actively return corresponding signals or send commands to the electronic device, and accept the results returned by electronic devices such as displays, and the control method is flexible and changeable.

2、针对现有的DP协议存在的不足,将DP信号传输装置支持的最大Lane数量与显示器等电子设备支持的DP数据传输通路的数量进行比较,必要时,修改返回AUX数据包中的所支持的DP数据传输通路的数量,提高了DP信号传输的兼容性,解决了系统无法正常工作的问题。2. In view of the shortcomings of the existing DP protocol, compare the maximum number of lanes supported by the DP signal transmission device with the number of DP data transmission paths supported by electronic devices such as displays, and if necessary, modify the returned AUX data packets. The number of DP data transmission channels improves the compatibility of DP signal transmission and solves the problem that the system cannot work normally.

3、在解决DP信号传输兼容性具体问题同时,也降低了现有设备中进行设备升级的需求,即在低成本情况了提升了DP信号传输链路的兼容性。3. While solving the specific problem of DP signal transmission compatibility, it also reduces the need for equipment upgrades in existing equipment, that is, improves the compatibility of DP signal transmission links at low cost.

附图说明Description of drawings

图1是现有技术的DP信号传输装置的示意图;1 is a schematic diagram of a DP signal transmission device in the prior art;

图2是现有技术的所支持的数据传输通道数较低的DP信号传输装置示意图;2 is a schematic diagram of a DP signal transmission device with a lower number of supported data transmission channels in the prior art;

图3是根据本发明具体实施例的DP信号传输装置的示意图;3 is a schematic diagram of a DP signal transmission device according to a specific embodiment of the present invention;

图4是根据本发明具体实施例的从电子设备返回的AUX数据包的数据示意图;4 is a data schematic diagram of an AUX data packet returned from an electronic device according to a specific embodiment of the present invention;

图5是根据本发明具体实施例的AUX代理模块修改后的AUX数据包的数据示意图;5 is a data schematic diagram of an AUX data packet modified by an AUX proxy module according to a specific embodiment of the present invention;

图6是根据本发明另一个具体实施例的DP信号传输装置的示意图。FIG. 6 is a schematic diagram of a DP signal transmission apparatus according to another specific embodiment of the present invention.

图中的附图标记所分别指代的技术特征为:The technical features denoted by the reference numbers in the figures are:

1、信号源;2、电子设备;3、DP信号传输装置;10、第一连接单元;12、第二连接单元;20、数据传输通道;30、AUX辅助通道;40、AUX代理模块;50、控制模块。1. Signal source; 2. Electronic equipment; 3. DP signal transmission device; 10. First connection unit; 12. Second connection unit; 20. Data transmission channel; 30. AUX auxiliary channel; 40. AUX proxy module; 50 , Control module.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

从背景技术可知,问题出现的原因在于:As can be seen from the background art, the reason for the problem is:

1)DP信号传输装置支持的最大Lane(数据传输通路)数量小于信号源及显示器等电子设备所支持的最大Lane数量,并且1) The maximum number of Lanes (data transmission paths) supported by the DP signal transmission device is less than the maximum number of Lanes supported by electronic equipment such as signal sources and displays, and

2)DP信号传输装置对于信号源是透明的,即信号源1无法得知DP信号传输链路所支持的Lane数量信息,并且2) The DP signal transmission device is transparent to the signal source, that is, the signal source 1 cannot know the number of Lanes supported by the DP signal transmission link, and

3)最大支持4 Lane的信号源在4 Lane 链路校准(Link training)失败后不会继续尝试2 Lane及1 Lane模式;或者最大支持2 Lane信号源在2 Lane training失败后,不会继续尝试1 Lane模式。3) The signal source that supports up to 4 Lane will not continue to try 2 Lane and 1 Lane mode after the 4 Lane link calibration (Link training) fails; or the signal source that supports the maximum 2 Lane will not continue to try after the 2 Lane training failure 1 Lane mode.

同时,所有training过程中的握手协商都是通过AUX通道传输的,因此只需要获取到AUX的通信内容,且对通信的内容做一些调整,即可解决本发明中描述的兼容性问题。At the same time, all handshake negotiations in the training process are transmitted through the AUX channel, so the compatibility problem described in the present invention can be solved only by acquiring the communication content of the AUX and making some adjustments to the communication content.

因此,本发明在于,在现有的DP信号传输装置的AUX辅助通道中设置AUX代理模块,使得AUX数据包不再直接传输,而是通过AUX代理模块进行转发,AUX代理模块能够直接转发或者修改转发AUX传输的信息,特别的,能够在显示器等电子设备支持的最大Lane数量高于DP信号传输装置支持的最大Lane数量的时候,修改AUX数据包中支持的最大Lane数量。进一步的,DP信号传输装置还具有控制模块50,能够主动的发出命令,使得AUX代理模块修改AUX数据包中的特定信息。Therefore, the present invention is to set the AUX proxy module in the AUX auxiliary channel of the existing DP signal transmission device, so that the AUX data packet is no longer directly transmitted, but forwarded through the AUX proxy module, and the AUX proxy module can directly forward or modify Forwarding the information transmitted by AUX, in particular, when the maximum number of lanes supported by electronic devices such as displays is higher than the maximum number of lanes supported by the DP signal transmission device, the maximum number of lanes supported in the AUX data packet can be modified. Further, the DP signal transmission device also has a control module 50, which can actively issue commands, so that the AUX proxy module modifies specific information in the AUX data packet.

具体的,参见图3,示出了根据本发明具体实施例的DP信号传输装置的示意图,Specifically, referring to FIG. 3, a schematic diagram of a DP signal transmission apparatus according to a specific embodiment of the present invention is shown,

该DP信号传输装置,包括第一连接单元10和第二连接单元12,以及位于第一、第二连接单元之间的数据传输通道20和AUX辅助通道30,The DP signal transmission device includes a first connection unit 10 and a second connection unit 12, and a data transmission channel 20 and an AUX auxiliary channel 30 located between the first and second connection units,

其中,第一连接单元10,用于和信号源1连接;Wherein, the first connection unit 10 is used to connect with the signal source 1;

第二连接单元12,用于和电子设备2连接,在本发明中,所述电子设备2包括显示器、集线器、线缆等具有DP端口的设备;The second connection unit 12 is used to connect with the electronic device 2. In the present invention, the electronic device 2 includes a display, a hub, a cable and other devices with DP ports;

数据传输通道20,具有一条或多条DP数据传输通路,即Lane,用于传输DP图像数据;The data transmission channel 20 has one or more DP data transmission paths, namely Lane, for transmitting DP image data;

AUX辅助通道30,用于传输AUX数据包,所述AUX数据包包括图像设定与控制信息;AUX auxiliary channel 30 is used to transmit AUX data packets, and the AUX data packets include image setting and control information;

在AUX辅助通道中具有AUX代理模块40,所述AUX代理模块,隔断了AUX数据包的直接传输,位于信号源1和电子设备2之间,例如,AUX代理模块位于两个连接单元的AUX信号针脚之间,分别与两个连接单元的AUX信号针脚,用于监听AUX通信,接收到AUX数据包并进行解析,根据解析的结果直接转发或修改后转发AUX数据包。There is an AUX proxy module 40 in the AUX auxiliary channel. The AUX proxy module blocks the direct transmission of AUX data packets and is located between the signal source 1 and the electronic device 2. For example, the AUX proxy module is located in the AUX signal of the two connection units. The pins are respectively connected with the AUX signal pins of the two connection units, which are used to monitor the AUX communication, receive the AUX data packet and analyze it, and forward the AUX data packet directly or after modification according to the analysis result.

具体的,所述AUX代理模块40,能够监听信号源1对电子设备2的读取命令,并且将电子设备2返回的数据拦截,直接转发或者经过修改后,再返回给信号源1。Specifically, the AUX proxy module 40 can monitor the read command from the signal source 1 to the electronic device 2 , intercept the data returned by the electronic device 2 , directly forward or modify it, and then return it to the signal source 1 .

和/或,所述AUX代理模块40,能够监听信号源1对电子设备2的写入命令,并且将该写入命令直接转发给电子设备2,或者拦截该写入命令,修改后再转发给电子设备。And/or, the AUX agent module 40 can monitor the write command of the signal source 1 to the electronic device 2, and directly forward the write command to the electronic device 2, or intercept the write command, and then forward it to the electronic device 2 after modification. Electronic equipment.

因此,本发明中,AUX代理模块能够对AUX数据包进行转发或者修改,从而提高DP信号通道的兼容性。Therefore, in the present invention, the AUX proxy module can forward or modify the AUX data packet, thereby improving the compatibility of the DP signal channel.

在具体的实施例中,AUX代理模块监听AUX通信,包括监听信号源1和电子设备2其中一端的AUX通信,和/或,监听两端的AUX通信。In a specific embodiment, the AUX proxy module monitors the AUX communication, including monitoring the AUX communication at one end of the signal source 1 and the electronic device 2, and/or monitoring the AUX communication at both ends.

实施例:Example:

本实施例以AUX数据包中携带的支持的最大Lane数量为例,所述AUX代理模块,可以截获电子设备2返回给信号源1的AUX数据包中关于电子设备能够支持的最大Lane信息,当DP信号传输装置支持的最大Lane数量小于电子设备2支持的最大Lane数量时,修改电子设备2传回的AUX数据包中关于电子设备能够支持的最大Lane信息,然后将修改后的AUX数据包发送到信号源。This embodiment takes the maximum number of supported lanes carried in the AUX data package as an example. The AUX proxy module can intercept the information about the maximum number of lanes that the electronic device can support in the AUX data package returned by the electronic device 2 to the signal source 1. When When the maximum number of lanes supported by the DP signal transmission device is less than the maximum number of lanes supported by the electronic device 2, modify the information about the maximum lane that the electronic device can support in the AUX data packet returned by the electronic device 2, and then send the modified AUX data packet. to the signal source.

包括如下步骤:It includes the following steps:

1)AUX代理模块40从信号源1侧监听到了来自信号源1的命令,在将命令直接转发到电子设备2一侧的同时,对此命令进行解析,若命令是尝试读取电子设备2的DPCD包含地址为0002的寄存器内容,则模块进入修改转发状态;1) The AUX proxy module 40 listens to the command from the signal source 1 from the signal source 1 side, and parses the command while forwarding the command directly to the electronic device 2 side. If the command is an attempt to read the electronic device 2 If the DPCD contains the contents of the register whose address is 0002, the module enters the modified forwarding state;

2)电子设备2在收到了相关命令后,会如实做出应答,并将应答数据通过AUX辅助通道30返回,由于AUX辅助通道被AUX代理模块40截断,因此AUX代理模块40会先收到来自电子设备2的应答数据。2) After receiving the relevant command, the electronic device 2 will respond truthfully and return the response data through the AUX auxiliary channel 30. Since the AUX auxiliary channel is cut off by the AUX proxy module 40, the AUX proxy module 40 will first receive the The response data of the electronic device 2.

可选的,AUX代理模块40,位于第一连接单元10或第二连接单元12上,或者位于第一连接单元和第二连接单元之间。Optionally, the AUX proxy module 40 is located on the first connection unit 10 or the second connection unit 12, or between the first connection unit and the second connection unit.

具体的,参见图4,示出了从电子设备返回的AUX数据包的数据示意图,从该图中可以看到在0002地址中MAX_LANE_COUNT字段,显示其支持的最大Lane数量是4。Specifically, referring to FIG. 4 , it shows a data schematic diagram of the AUX data packet returned from the electronic device. From this figure, it can be seen that the MAX_LANE_COUNT field in the 0002 address shows that the maximum number of lanes it supports is 4.

3)AUX代理模块40监听电子设备侧的AUX通道,收到了来自电子设备2的应答数据包,而后AUX代理模块40解析数据包,如果电子设备回复中支持的最大Lane数量(即数据传输通路的数量)超出了DP信号传输时链路支持的最大Lane数量,则根据实际DP信号传输链路支持的最大Lane数量(可能是1或2),修改0002地址中MAX_LANE_COUNT字段为对应的值(1或2),然后将修改后的数据包再回复给信号源。3) The AUX proxy module 40 monitors the AUX channel on the electronic device side, and receives the response data packet from the electronic device 2, and then the AUX proxy module 40 parses the data packet. number) exceeds the maximum number of lanes supported by the link during DP signal transmission, then according to the actual maximum number of lanes supported by the DP signal transmission link (may be 1 or 2), modify the MAX_LANE_COUNT field in the 0002 address to the corresponding value (1 or 2). 2), and then reply the modified data packet to the signal source.

具体的,参见图5,示出了根据本发明具体实施例的AUX代理模块修改后的AUX数据包的数据示意图,在该图中,MAX_LANE_COUNT已经被修改为2。Specifically, referring to FIG. 5 , it shows a data schematic diagram of an AUX data packet modified by the AUX proxy module according to a specific embodiment of the present invention. In this figure, MAX_LANE_COUNT has been modified to 2.

4)信号源2收到来自AUX代理模块40后的数据,其中电子设备支持的最大Lane数量是经过AUX代理模块40处理的,因此此最大Lane数已经是电子设备及DP信号传输链路都能正常支持的模式。因为此修改过程对信号源是透明的,信号源就会以修改后的Lane数量配置电子设备,进行训练(training)并正常工作。4) The signal source 2 receives the data from the AUX proxy module 40, and the maximum number of lanes supported by the electronic device is processed by the AUX proxy module 40, so the maximum number of lanes is already enough for the electronic device and the DP signal transmission link. Normal supported mode. Because this modification process is transparent to the signal source, the signal source configures the electronics with the modified number of lanes, trains, and functions normally.

由于DP1.2a协议中,并不强制信号源在4 Lane模式training失败后继续尝试2/1Lane模式,或在2 Lane模式training失败后继续尝试1 Lane模式,从而导致此类信号源配合最大支持Lane数量小于电子设备的DP信号传输链路使用时候,导致系统无法正常工作。虽然后续的DP协议版本,比如1.3a,1.4a中做了修正,但得益于DP1.2a标准的DP设备相比于更高版本设备价格上要低很多,因此目前市面上大部分的设备都是遵循DP1.2a的标准。因此都可以会遇到此兼容性问题。本发明在解决具体问题同时,也降低了进行设备升级的需求,在低成本情况了提升了DP信号传输链路的兼容性。In the DP1.2a protocol, it is not mandatory for the signal source to continue to try the 2/1Lane mode after the 4-lane mode training fails, or to continue to try the 1-lane mode after the 2-lane mode training fails, so that such signal sources cooperate with the maximum support lane. When the number of DP signal transmission links is smaller than that of electronic equipment, the system cannot work normally. Although the subsequent DP protocol versions, such as 1.3a and 1.4a, have been corrected, the price of DP devices due to the DP1.2a standard is much lower than that of higher version devices, so most devices on the market are currently on the market. All follow the standard of DP1.2a. Therefore, you can encounter this compatibility problem. While solving specific problems, the present invention also reduces the need for equipment upgrade, and improves the compatibility of the DP signal transmission link under the condition of low cost.

本发明的实施例中,最大Lane数量在0002地址中MAX_LANE_COUNT字段,但这仅仅为示例。最大Lane数量也可能出现在其它地址中的其它字段。只要实现对AUX数据包中相应地址中相应字段的信息修改即可,均在本发明所要求保护的范围之内。In the embodiment of the present invention, the maximum number of lanes is in the MAX_LANE_COUNT field in the 0002 address, but this is only an example. The maximum number of lanes may also appear in other fields in other addresses. As long as the information modification of the corresponding field in the corresponding address in the AUX data packet is implemented, it is all within the scope of protection required by the present invention.

在该实施例中,AUX代理模块40从信号源1侧监听到了来自信号源1的命令,但步骤1也不是必须的,AUX代理模块40对AUX数据包的修改可以不依赖于对0002地址的读命令,而仅依据识别出电子设备2给信号源1在AUX通道上返回的地址为0002的对应数据。In this embodiment, the AUX proxy module 40 monitors the command from the signal source 1 from the signal source 1 side, but step 1 is not necessary, and the AUX proxy module 40 can modify the AUX data packet independently of the 0002 address. The read command is only based on identifying the corresponding data whose address is 0002 returned by the electronic device 2 to the signal source 1 on the AUX channel.

在一个具体的实施例中,所述AUX代理模块还能够生成AUX响应信号到信号源或者发起读写命令到电子设备。In a specific embodiment, the AUX agent module can also generate an AUX response signal to the signal source or initiate read and write commands to the electronic device.

本发明的AUX代理模块40可以在监听并解析AUX数据包后,直接根据解析的结果转发或修改后转发AUX数据包。The AUX proxy module 40 of the present invention can directly forward or modify the AUX data packet according to the analysis result after monitoring and analyzing the AUX data packet.

进一步的,参见图6,根据本发明另一个具体实施例的DP信号传输装置的示意图。所述AUX辅助通道30还可以具有控制模块50,所述控制模块50与所述AUX代理模块40相连接,所述控制模块50根据AUX代理模块的解析结果,对AUX代理模块40下发命令,使得AUX代理模块40转发、修改AUX信息,或者主动的给电子设备2下发命令,并且接收电子设备端返回的结果。Further, referring to FIG. 6 , a schematic diagram of a DP signal transmission apparatus according to another specific embodiment of the present invention. The AUX auxiliary channel 30 may also have a control module 50, the control module 50 is connected with the AUX proxy module 40, and the control module 50 issues an order to the AUX proxy module 40 according to the analysis result of the AUX proxy module, The AUX agent module 40 is made to forward and modify the AUX information, or to actively issue commands to the electronic device 2, and receive the result returned by the electronic device.

因此,通过所述控制模块50,AUX辅助通道30对于AUX数据包的传输更加灵活,不仅可以转发、修改AUX数据包,还可以主动的给电子设备2下发命令,并且接收电子设备端返回的结果;不仅可以对电子设备端2返回的AUX数据包中的最大LANE数量进行修改,还可以修改所返回AUX数据包中的其他参数;不仅可以在收到某一侧数据后,不直接将数据转发,还可以主动生成AUX响应信号到信号源,或者主动发起读写命令到电子设备。Therefore, through the control module 50, the AUX auxiliary channel 30 is more flexible for the transmission of the AUX data packets, not only can forward and modify the AUX data packets, but also can actively issue commands to the electronic device 2, and receive the returned electronic device. As a result, not only can the maximum number of LANEs in the AUX data packet returned by the electronic device end 2 be modified, but also other parameters in the returned AUX data packet can be modified; For forwarding, it can also actively generate an AUX response signal to the signal source, or actively initiate read and write commands to the electronic device.

例如:DP信号的数据传输通道20支持1、2、4lane三种工作模式,其中每一个lane支持的速率可以是1.62Gbps、2.7Gbps、5.4Gbs或8.1Gbps。电子设备内部会有一个DPCD地址为0001的寄存器,用来告知视频源端起所支持的最大速率。比如,若0001这个地址的寄存器数值为14h,那么该电子设备所支持的每个lane最大数据传输速率即为5.4Gbps;若该寄存器数值为1Eh,则该电子设备所支持的每个lane最大数据传输速率即为8.1Gbps. 支持的最大速率越大,意味着该电子设备支持的最大分辨率越大。For example, the data transmission channel 20 of the DP signal supports three working modes of 1, 2, and 4lane, wherein the rate supported by each lane can be 1.62Gbps, 2.7Gbps, 5.4Gbs or 8.1Gbps. There will be a register with a DPCD address of 0001 inside the electronic device, which is used to inform the maximum rate supported by the video source. For example, if the register value of the address 0001 is 14h, then the maximum data transmission rate of each lane supported by the electronic device is 5.4Gbps; if the register value is 1Eh, then the maximum data rate of each lane supported by the electronic device is 5.4Gbps. The transmission rate is 8.1Gbps. The larger the maximum rate supported, the larger the maximum resolution supported by the electronic device.

但某些时候,DP的信号传输链路(数据传输通道20)因为各种原因,导致其支持的最大传输速率小于电子设备所支持的速率。比如,电子设备最大支持8.1Gbps,但DP信号传输链路在传输8.1Gbps数据时候会出现少量数据错误,最终表现出的一个结果是系统的training成功,视频源、传输链路、电子设备都工作在了8.1Gbps,但由于传输链路带宽不足,导致可能的现象是电子设备出现条纹、雪花点等。带来不好的客户体验。But sometimes, the maximum transmission rate supported by the DP signal transmission link (data transmission channel 20 ) is smaller than the rate supported by the electronic device due to various reasons. For example, an electronic device supports a maximum of 8.1Gbps, but a small amount of data errors will occur when the DP signal transmission link transmits 8.1Gbps data. One of the final results is that the training of the system is successful, and the video source, transmission link, and electronic equipment are all working. At 8.1Gbps, but due to insufficient transmission link bandwidth, possible phenomena are stripes, snowflakes, etc. on electronic equipment. Bring a bad customer experience.

此时,本发明能够修改该寄存器的值,从1Eh改为14h,即告诉信号源,电子设备不支持8.1Gbps。此时信号源就不会去尝试8.1Gbps的信号传输,整个系统直接工作在5.4Gbps。例如,在信号源通过AUX辅助通道访问该寄存器时,将电子设备在AUX辅助通道上提供的该寄存器的值替换为14h。虽然相对工作在8.1Gbps时候,分辨率或者刷新率会降低,但却能保证稳定的工作,这对于一些对可靠性要求高应用来说尤为重要。At this time, the present invention can modify the value of the register from 1Eh to 14h, that is, to tell the signal source that the electronic device does not support 8.1Gbps. At this time, the signal source will not try 8.1Gbps signal transmission, and the whole system works directly at 5.4Gbps. For example, when the source accesses this register through the AUX channel, replace the value of this register provided by the electronics on the AUX channel with 14h. Although relatively working at 8.1Gbps, the resolution or refresh rate will be reduced, but it can ensure stable work, which is particularly important for some applications with high reliability requirements.

因此,综上可见,AUX代理模块40有直接转发、修改转发及主动发起三种工作模式,能够根据配置自动进行模式切换或接受外部控制模块的控制被动切换。Therefore, it can be seen from the above that the AUX proxy module 40 has three working modes: direct forwarding, modified forwarding and active initiation, and can automatically switch modes according to the configuration or accept passive switching controlled by an external control module.

所述直接转发模式为:AUX代理模块40收到来自一侧的数据后,将收到的数据包直接转发到另一侧。The direct forwarding mode is: after the AUX proxy module 40 receives the data from one side, it directly forwards the received data packet to the other side.

所述修改转发模式为:AUX代理模块40收到来自一侧的数据后,修改数据包中部分内容,然后将修改后的数据转发到另一侧。The modified forwarding mode is: after receiving the data from one side, the AUX proxy module 40 modifies part of the content in the data packet, and then forwards the modified data to the other side.

所述主动发起模式为:AUX代理模块40在收到某一侧的数据后,不直接将数据转发到另一侧,或者AUX代理模块40如果收到的是来自信号源侧的命令,则根据外部控制模块50的要求或预置要求在内部生成一个数据包回应给信号源,或者AUX代理模块40根据外部控制模块50的动态要求或预置要求主动地发送相关命令到电子设备端,并且接收电子设备端的返回结果,The active initiation mode is: after the AUX proxy module 40 receives the data from a certain side, it does not directly forward the data to the other side, or if the AUX proxy module 40 receives a command from the signal source side, it will The request or preset request of the external control module 50 internally generates a data packet to respond to the signal source, or the AUX agent module 40 actively sends relevant commands to the electronic device according to the dynamic request or preset request of the external control module 50, and receives The result returned by the electronic device,

例如,AUX代理模块可以主动查询例如电子设备支持的速率,并提前识别电子设备支持的速率同DP信号传输装置支持的速率是否一致。进而,在识别出二者支持的最大速率不一致时,响应于收到来自信号源的命令,在内部生成一个数据包回应给信号源,数据包中携带能使得DP信号传输装置与电子设备都正常工作的速率。For example, the AUX proxy module may actively query the rate supported by the electronic device, and identify in advance whether the rate supported by the electronic device is consistent with the rate supported by the DP signal transmission apparatus. Further, when it is recognized that the maximum rates supported by the two are inconsistent, in response to receiving a command from the signal source, a data packet is internally generated to respond to the signal source, and the data packet carries the energy that can make the DP signal transmission device and the electronic equipment normal. rate of work.

在本发明中,DP信号传输装置可以为线缆,第一连接单元和第二连接单元可以通过光纤或者铜线连接。In the present invention, the DP signal transmission device may be a cable, and the first connection unit and the second connection unit may be connected by optical fibers or copper wires.

本发明进一步公开了一种提高传输链路兼容性的DP信号传输方法,该方法用于在信号源和电子设备之间的DP信号传输,包括:The present invention further discloses a DP signal transmission method for improving the compatibility of transmission links. The method is used for DP signal transmission between a signal source and an electronic device, including:

在AUX辅助通道中设置有AUX代理模块,所述AUX代理模块,位于信号源1和电子设备2之间,用于监听AUX通信,接收到AUX数据包并进行解析,根据解析的结果直接转发或修改后转发AUX数据包。An AUX proxy module is set in the AUX auxiliary channel. The AUX proxy module is located between the signal source 1 and the electronic device 2 and is used to monitor the AUX communication, receive and analyze the AUX data packets, and directly forward or parse the AUX data packets according to the analysis results. Forward AUX packets after modification.

进一步的,所述AUX代理模块,能够监听信号源对电子设备的读取命令,并且将电子设备返回的数据拦截,直接转发或者经过修改后,再返回给信号源;Further, the AUX agent module can monitor the reading command of the signal source to the electronic device, and intercept the data returned by the electronic device, directly forward or modify it, and then return it to the signal source;

和/或,所述AUX代理模块,能够监听信号源对电子设备的写入命令,并且将该写入命令直接转发给电子设备,或者拦截该写入命令,修改后再转发给电子设备;And/or, the AUX agent module can monitor the write command of the signal source to the electronic device, and directly forward the write command to the electronic device, or intercept the write command, and then forward it to the electronic device after modification;

和/或,所述AUX代理模块,能够生成AUX响应信号到信号源或者发起读写命令到电子设备。And/or, the AUX agent module can generate an AUX response signal to the signal source or initiate read and write commands to the electronic device.

所述AUX代理模块,能够截获电子设备返回给信号源的AUX信号中关于电子设备能够支持的数据传输通路的数量,当所述DP信号传输装置支持的数据传输通路的数量小于电子设备支持的数据传输通路的数量时,修改电子设备传回的AUX信号中关于电子设备能够支持的数据传输通路的数量,然后将修改后的AUX信号发送到信号源。The AUX agent module can intercept the number of data transmission paths that the electronic equipment can support in the AUX signal returned by the electronic equipment to the signal source, when the number of data transmission paths supported by the DP signal transmission device is less than the data supported by the electronic equipment. When determining the number of transmission channels, modify the number of data transmission channels that the electronic device can support in the AUX signal returned by the electronic device, and then send the modified AUX signal to the signal source.

所述AUX代理模块能够在监听并解析AUX数据包后,直接根据解析的结果转发或修改后转发AUX数据包。After monitoring and parsing the AUX data packet, the AUX proxy module can directly forward or modify the AUX data packet according to the result of the parsing.

或者,所述AUX辅助通道还具有控制模块,所述控制模块与所述AUX代理模块相连接,所述控制模块根据AUX代理模块的解析结果,对AUX代理模块下发命令,使得AUX代理模块转发、修改AUX信息,或者主动的给电子设备下发命令,并且接收电子设备端返回的结果。Or, the AUX auxiliary channel also has a control module, the control module is connected with the AUX proxy module, and the control module issues an order to the AUX proxy module according to the analysis result of the AUX proxy module, so that the AUX proxy module forwards , modify the AUX information, or actively issue commands to the electronic device, and receive the result returned by the electronic device.

所述AUX代理模块有直接转发、修改转发及主动发起三种工作模式,能够根据配置自动进行模式切换或接受外部控制模块的控制被动切换;The AUX agent module has three working modes: direct forwarding, modified forwarding and active initiation, and can automatically switch modes according to the configuration or accept passive switching controlled by an external control module;

所述直接转发模式为:所述AUX代理模块收到来自一侧的数据后,将收到的数据包直接转发到另一侧。The direct forwarding mode is: after the AUX proxy module receives the data from one side, it directly forwards the received data packet to the other side.

所述修改转发模式为:所述AUX代理模块收到来自一侧的AUX信号后,修改数据包中部分内容,然后将修改后的AUX信号转发到另一侧;The modified forwarding mode is: after the AUX agent module receives the AUX signal from one side, it modifies part of the content in the data packet, and then the modified AUX signal is forwarded to the other side;

所述主动发起模式为:所述AUX代理模块在收到某一侧的AUX信号后,不直接将AUX信号转发到另一侧,或者AUX代理模块如果收到的是来自信号源侧的命令,则根据外部控制模块的要求或预置要求在内部生成一个数据包回应给信号源,或者AUX代理模块根据外部控制模块的动态要求或预置要求主动地发送相关命令到电子设备端,并且接收电子设备端的返回结果。The active initiation mode is: after the AUX proxy module receives the AUX signal from a certain side, it does not directly forward the AUX signal to the other side, or if the AUX proxy module receives a command from the signal source side, Then, according to the requirements or preset requirements of the external control module, a data packet is generated internally to respond to the signal source, or the AUX agent module actively sends relevant commands to the electronic device according to the dynamic requirements or preset requirements of the external control module, and receives electronic devices. The return result on the device side.

综上,本发明具有如下的优点:To sum up, the present invention has the following advantages:

1、能够对AUX数据包进行直接转发或者修改,能够主动的返回相应信号或者给电子设备端发送命令,能够接受电子设备返回的结果,控制方式灵活多变。1. It can directly forward or modify AUX data packets, actively return corresponding signals or send commands to the electronic device, and accept the results returned by the electronic device, and the control method is flexible and changeable.

2、针对现有的DP协议存在的不足,将DP信号传输装置支持的最大Lane数量与电子设备支持的最大Lane数量进行比较,必要时,修改返回AUX数据包中的所支持的最大Lane数量,提高了DP信号传输的兼容性,解决了系统无法正常工作的问题。2. In view of the shortcomings of the existing DP protocol, compare the maximum number of lanes supported by the DP signal transmission device with the maximum number of lanes supported by the electronic device, and if necessary, modify the maximum number of lanes supported in the returned AUX data packet. Improve the compatibility of DP signal transmission and solve the problem that the system cannot work normally.

3、在解决DP信号传输兼容性具体问题同时,也降低了现有设备中进行设备升级的需求,即在低成本情况了提升了DP信号传输链路的兼容性。3. While solving the specific problem of DP signal transmission compatibility, it also reduces the need for equipment upgrades in existing equipment, that is, improves the compatibility of DP signal transmission links at low cost.

显然,本领域技术人员应该明白,上述的本发明的各单元或各步骤可以用通用的计算装置来实现,它们可以集中在单个计算装置上,可选地,他们可以用计算机装置可执行的程序代码来实现,从而可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件的结合。Obviously, those skilled in the art should understand that the above-mentioned units or steps of the present invention can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or alternatively, they can be implemented by a program executable by the computer device code so that they can be stored in a storage device and executed by a computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them can be fabricated into a single integrated circuit module. As such, the present invention is not limited to any specific combination of hardware and software.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施方式仅限于此,对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单的推演或替换,都应当视为属于本发明由所提交的权利要求书确定保护范围。The above content is a further detailed description of the present invention in conjunction with the specific preferred embodiments, and it cannot be considered that the specific embodiments of the present invention are limited to this. Below, some simple deductions or substitutions can also be made, all of which should be regarded as belonging to the protection scope of the present invention determined by the submitted claims.

Claims (12)

1. A DP signal transmission apparatus for improving transmission link compatibility, comprising:
comprises a first connection unit, a second connection unit, a data transmission channel and an AUX auxiliary channel which are positioned between the first connection unit and the second connection unit,
the first connecting unit is used for being connected with a signal source;
the second connecting unit is used for connecting with electronic equipment, and the electronic equipment is equipment with a DP port;
a data transmission channel having one or more DP data transmission paths for transmitting DP image data;
the AUX auxiliary channel is used for transmitting an AUX data packet, and the AUX data packet comprises image setting and control information;
the AUX auxiliary channel is provided with an AUX agent module, the AUX agent module is positioned between the signal source and the electronic equipment and is used for monitoring AUX communication, receiving and analyzing the AUX data packet, and directly forwarding or forwarding the AUX data packet after modification according to the analysis result;
specifically, the AUX proxy module may intercept the number of DP data transmission paths that can be supported by the electronic device in an AUX signal returned to the signal source by the electronic device, modify the number of DP data transmission paths that can be supported by the electronic device in the AUX signal returned by the electronic device when the number of DP data transmission paths supported by the DP signal transmission apparatus is less than the number of DP data transmission paths supported by the electronic device, and then send the modified AUX signal to the signal source.
2. The DP signal transmission apparatus of claim 1,
the AUX agent module can monitor a reading command of a signal source to the electronic equipment, intercept data returned by the electronic equipment, and directly forward or return the data to the signal source after modification;
and/or the AUX agent module can monitor a write-in command of the signal source to the electronic equipment, and directly forward the write-in command to the electronic equipment, or intercept the write-in command, and forward the modified write-in command to the electronic equipment.
3. The DP signal transmission apparatus according to claim 1 or 2,
the AUX agent module can also generate an AUX response signal to a signal source or initiate a read-write command to the electronic equipment.
4. The DP signal transmission apparatus of claim 3,
after monitoring and analyzing the AUX signal, the AUX agent module directly forwards or forwards the AUX signal after modification according to the analysis result.
5. The DP signal transmission apparatus of claim 3,
the AUX auxiliary channel is also provided with a control module, the control module is connected with the AUX agent module, and the control module issues commands to the AUX agent module according to the analysis result of the AUX agent module, so that the AUX agent module forwards and modifies AUX information, or actively issues commands to the electronic equipment, and receives the result returned by the electronic equipment terminal.
6. The DP signal transmission apparatus of claim 4 or 5,
the AUX agent module has three working modes of direct forwarding, modified forwarding and active initiation, and can automatically switch modes or accept the control passive switching of an external control module according to configuration;
the direct forwarding mode is as follows: after receiving the data from one side, the AUX agent module directly forwards the received data packet to the other side;
the modified forwarding mode is as follows: after receiving the AUX signal from one side, the AUX agent module modifies part of the content in the data packet and then forwards the modified AUX signal to the other side;
the active initiation mode is as follows: the AUX agent module does not directly forward the AUX signal to the other side after receiving the AUX signal from one side, or if the AUX agent module receives a command from the signal source side, a data packet is internally generated according to the requirement or preset requirement of the external control module and is responded to the signal source, or the AUX agent module actively sends a related command to the electronic equipment end according to the dynamic requirement or preset requirement of the external control module and receives a return result of the electronic equipment end.
7. The DP signal transmission apparatus of claim 6,
and the AUX agent module is positioned on the first connection unit or the second connection unit or between the first connection unit and the second connection unit.
8. The DP signal transmission apparatus of claim 6,
the DP signal transmission device is a cable, and the first connection unit and the second connection unit are connected through an optical fiber or a copper wire.
9. A DP signal transmission method for improving transmission link compatibility, the method being used for DP signal transmission between a signal source and an electronic device, comprising:
an AUX agent module is arranged in the AUX auxiliary channel, is positioned between the signal source and the electronic equipment and is used for monitoring AUX communication, receiving and analyzing an AUX data packet, and directly forwarding or forwarding the AUX data packet after modification according to an analysis result;
specifically, the AUX proxy module may intercept the number of DP data transmission paths that can be supported by the electronic device in an AUX signal returned to the signal source by the electronic device, modify the number of DP data transmission paths that can be supported by the electronic device in an AUX signal returned by the electronic device when the number of DP data transmission paths supported by the DP signal transmission apparatus is less than the number of DP data transmission paths supported by the electronic device, and then send the modified AUX signal to the signal source.
10. The DP signal transmission method according to claim 9, characterized in that:
the AUX agent module can monitor a reading command of a signal source to the electronic equipment, intercept data returned by the electronic equipment, and directly forward or return the data to the signal source after modification;
and/or the AUX agent module can monitor a write-in command of a signal source to the electronic equipment, and directly forward the write-in command to the electronic equipment, or intercept the write-in command, and forward the modified write-in command to the electronic equipment;
and/or the AUX agent module can generate an AUX response signal to a signal source or initiate a read-write command to the electronic equipment.
11. The DP signal transmission method according to claim 10, characterized in that:
the AUX agent module can directly forward or forward the AUX signal after modification according to the analysis result after monitoring and analyzing the AUX signal;
or the AUX auxiliary channel is also provided with a control module, the control module is connected with the AUX agent module, and the control module issues a command to the AUX agent module according to the analysis result of the AUX agent module, so that the AUX agent module forwards and modifies AUX information, or actively issues the command to the electronic equipment, and receives the result returned by the electronic equipment terminal.
12. The DP signal transmission method according to claim 11, characterized in that:
the AUX agent module has three working modes of direct forwarding, modified forwarding and active initiation, and can automatically switch modes or accept the control passive switching of an external control module according to configuration;
the direct forwarding mode is as follows: after receiving the data from one side, the AUX agent module directly forwards the received data packet to the other side;
the modified forwarding mode is as follows: after receiving the AUX signal from one side, the AUX agent module modifies part of the content in the data packet and then forwards the modified AUX signal to the other side;
the active initiation mode is as follows: the AUX agent module does not directly forward the AUX signal to the other side after receiving the AUX signal from one side, or if the AUX agent module receives a command from the signal source side, a data packet is internally generated according to the requirement or preset requirement of the external control module and is responded to the signal source, or the AUX agent module actively sends a related command to the electronic equipment end according to the dynamic requirement or preset requirement of the external control module and receives a return result of the electronic equipment end.
CN202111245302.1A 2021-10-26 2021-10-26 DP signal transmission device and method for improving transmission link compatibility Active CN113688080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111245302.1A CN113688080B (en) 2021-10-26 2021-10-26 DP signal transmission device and method for improving transmission link compatibility

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111245302.1A CN113688080B (en) 2021-10-26 2021-10-26 DP signal transmission device and method for improving transmission link compatibility

Publications (2)

Publication Number Publication Date
CN113688080A CN113688080A (en) 2021-11-23
CN113688080B true CN113688080B (en) 2022-01-21

Family

ID=78587995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111245302.1A Active CN113688080B (en) 2021-10-26 2021-10-26 DP signal transmission device and method for improving transmission link compatibility

Country Status (1)

Country Link
CN (1) CN113688080B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12219206B2 (en) 2022-03-04 2025-02-04 Realtek Semiconductor Corporation Analysis method and non-transitory computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3100174B2 (en) * 1991-03-18 2000-10-16 富士通株式会社 Method of extracting test Dp channel data
CN105704417A (en) * 2016-03-17 2016-06-22 武汉精测电子技术股份有限公司 Device and method of converting V-by-One image signals into LVDS (Low-Voltage Differential Signaling) image signals

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868811B2 (en) * 2011-10-03 2014-10-21 Via Technologies, Inc. Systems and methods for hot-plug detection recovery
WO2016209482A1 (en) * 2015-06-24 2016-12-29 Intel Corporation Techniques to independently control display segments of a display panel
CN109194889B (en) * 2018-08-16 2020-11-20 长芯盛(武汉)科技有限公司 Low-speed signal conversion module for DP interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3100174B2 (en) * 1991-03-18 2000-10-16 富士通株式会社 Method of extracting test Dp channel data
CN105704417A (en) * 2016-03-17 2016-06-22 武汉精测电子技术股份有限公司 Device and method of converting V-by-One image signals into LVDS (Low-Voltage Differential Signaling) image signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12219206B2 (en) 2022-03-04 2025-02-04 Realtek Semiconductor Corporation Analysis method and non-transitory computer-readable storage medium

Also Published As

Publication number Publication date
CN113688080A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
US8390687B2 (en) Automated compliance testing for video devices
US9594536B2 (en) Method and apparatus for electronic device communication
US8832328B2 (en) Data redirection for universal serial bus devices
US8380912B2 (en) Transparent repeater device for handling displayport configuration data (DPCD)
CN101291261B (en) Method and system for in-board device testing
WO2017134522A2 (en) Display system for an array of video displays
EP3306946B1 (en) Method for transmitting and receiving power using hdmi and apparatus therefor
CN115543755A (en) Performance monitoring method, device, system, equipment and medium
CN113688080B (en) DP signal transmission device and method for improving transmission link compatibility
US20130254440A1 (en) Devices and methods for transmitting usb termination signals over extension media
CN116541034A (en) Firmware upgrading method and firmware upgrading system based on multi-stream transmission mode of display port interface
CN117971608A (en) A hard disk log acquisition method, sending method, device, equipment and medium
CN115529425A (en) Vehicle-mounted display screen, and vehicle-mounted display screen partition display system and method
CN116962646A (en) A video transmission system, method and vehicle
CN120452335A (en) A transmission method and device for displaying circuit abnormality information
JP2023549501A (en) Redriver that can switch between linear and limited modes
KR100791464B1 (en) Display device and control method
CN118629340A (en) Data backup method, system and storage medium for LED display
CN112988202B (en) System and method for upgrading FC (fiber channel) module
CN116340075A (en) Hard disk testing device, system, method and computer-readable storage medium
CN115220679A (en) Vehicle-mounted multimedia system and screen initialization method thereof
CN114094404B (en) Active video cable capable of detecting plugging sequence
CN120909912B (en) Single-board, debugging methods, storage media and electronic devices
CN114500875A (en) Card insertion type video processing equipment
CN118860941B (en) Method for processing reading of Cable ID for HDMI active Cable and related products

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241025

Address after: Floor 3-4, Comprehensive Factory Building 201, Changfei Science and Technology Park (Phase II), No. 196 Guanggu 3rd Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province 430073

Patentee after: Changxinsheng (Wuhan) Technology Co.,Ltd.

Country or region after: China

Patentee after: BROADEX TECHNOLOGIES Co.,Ltd.

Address before: 430200 phase II of Changfei science and technology park at the intersection of Guanggu 3rd road and liufangyuan Heng Road, Jiangxia District, Wuhan City, Hubei Province

Patentee before: Changxinsheng (Wuhan) Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250611

Address after: 430073 floors 3-4, No. 201, Changfei Science Park (phase II), No. 196, Guanggu Third Road, Wuhan East Lake New Technology Development Zone, Wuhan, Hubei Province

Patentee after: Changxinsheng (Wuhan) Technology Co.,Ltd.

Country or region after: China

Address before: Floor 3-4, Comprehensive Factory Building 201, Changfei Science and Technology Park (Phase II), No. 196 Guanggu 3rd Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province 430073

Patentee before: Changxinsheng (Wuhan) Technology Co.,Ltd.

Country or region before: China

Patentee before: BROADEX TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right