Transmitting module, receiving module, interface adjustment method, system and storage medium
By generating detection signals to identify and adjust the wiring sequence and polarity of the eDP interface, the problem of interface mismatch in the vehicle module is solved, realizing normal signal transmission and improving the flexibility and efficiency of hardware design.
Patent Information
- Application Number
- CN202110589931.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-28
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2041-05-28
AI Technical Summary
In automotive modules, the eDP interface suffers from mismatched lane order and polarity between the transmitting and receiving hardware interfaces due to factors such as wiring topology and impedance integrity, resulting in signal transmission failure.
The correspondence between the main channel transmitting interface and the receiving interface is identified by generating a detection signal. The encoding and decoding units are used for detection to generate a detection result. The definition of the main channel transmitting interface is adjusted through the auxiliary channel transmitting interface to achieve automatic adjustment of line sequence and polarity.
This avoids signal transmission problems caused by physical interface incompatibility, improves the fault tolerance and flexibility of hardware design, and increases hardware design efficiency.
Smart Images

Figure CN113223434B_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of communication technology, and in particular to a sending module, a receiving module, an interface adjustment method, a system and a storage medium. [Background technology]
[0002] Display Port (DP) is a digital video interface standard developed by a personal computer (PC) and chip manufacturer alliance and standardized by the Video Electronics Standards Association (VESA). Embedded Display Port (eDP) is a fully digital interface based on the DP architecture and protocol. As the automotive field has higher and higher requirements for display resolution, eDP has become the mainstream interface that gradually replaces LVDS (Low-Voltage Differential Signaling) inside the vehicle module.
[0003] The DP interface is a universal standard interface with standard transmitter and receiver interface definitions. The DP signal is encoded at the transmitter and sent to the receiver, and the receiver decodes it to obtain the DP signal. The DP transmit interface at the transmitter and the DP receive interface at the receiver are usually connected through multiple groups of differential signal lines, and each group of differential signal lines is used to transmit a group of differential signals. Among them, the order of the multiple groups of differential signal lines represents the line (Lane) sequence of the DP interface. In addition, each group of differential signal lines includes two differential signal lines, a positive pole and a negative pole, and the polarity of the differential signal transmitted by each differential signal line represents the polarity of the corresponding DP interface.
[0004] It is understandable that the accurate transmission of DP signals depends on the matching connection relationship between the transmitter and the receiver, that is, the Lane sequence and polarity of the main channel transmitter interface and the main channel receiver interface are matched. However, as an internal interface, the eDP interface will artificially cross and / or reverse the Lane sequence and / or polarity of the eDP transmitter interface and the eDP receiver interface based on the Lane sequence and polarity of the standard DP interface due to factors such as the routing topology and routing impedance integrity. There is no standard interface definition, which leads to a mismatch between the hardware interfaces of the transmitter and the receiver, making it impossible to transmit the signal normally.
[0005]
Application Contents
[0006] In view of this, the present application provides a sending module, a receiving module, an interface adjustment method, a system and a storage medium to solve the above problems.
[0007] In the first aspect, the embodiment of the present application provides a sending module, including: a coding unit, a main channel sending interface, an auxiliary channel receiving interface and a processing unit. Among them, the coding unit is used to generate a detection signal, through which the corresponding relationship between the main channel sending interface of the sending module and the main channel receiving interface of the receiving module can be identified; the main channel sending interface is used to send a detection signal to the main channel receiving interface of the receiving module; the auxiliary channel receiving interface is used to receive the detection result sent by the receiving module; the processing unit is used to adjust the interface definition of the main channel sending interface according to the detection result, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface.
[0008] In the second aspect, the embodiment of the present application provides a receiving module, including: a main channel receiving interface, a decoding unit and an auxiliary channel sending interface. The main channel receiving interface is used to receive a detection signal sent by the main channel sending interface of the sending module; the decoding unit is used to decode the detection signal and generate a detection result, which can characterize the correspondence between the main channel sending interface and the main channel receiving interface; the auxiliary channel sending interface is used to send the detection result to the sending module, so that the sending module adjusts the interface definition of the main channel sending interface according to the detection result.
[0009] In a third aspect, an embodiment of the present application provides an interface adjustment system, comprising a sending module of any one of the first aspect and a receiving module of any one of the second aspect, wherein a main channel sending interface of the sending module is communicatively connected with a main channel receiving interface of the receiving module.
[0010] In a fourth aspect, an embodiment of the present application provides an interface adjustment method, which is applied to a sending module, including: generating a detection signal, which can identify the correspondence between the main channel sending interface of the sending module and the main channel receiving interface of the receiving module; sending a detection signal to the main channel receiving interface of the receiving module through the main channel sending interface of the sending module; receiving the detection result sent by the receiving module through the auxiliary channel receiving interface, and the detection result is used to characterize the correspondence between the main channel sending interface and the main channel receiving interface; adjusting the interface definition of the main channel sending interface according to the detection result, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface.
[0011] In a fifth aspect, an embodiment of the present application provides an interface adjustment method, which is applied to a receiving module, comprising: receiving a detection signal sent by a main channel sending interface of a sending module through a main channel receiving interface of the receiving module, and the correspondence between the main channel sending interface and the main channel receiving interface can be identified through the detection signal; decoding the detection signal to generate a detection result, which can characterize the correspondence between the main channel sending interface and the main channel receiving interface; sending the detection result to the sending module through an auxiliary channel sending interface, so that the sending module adjusts the interface definition of the main channel sending interface according to the detection result.
[0012] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods in the above fourth aspect.
[0013] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods in the above-mentioned fifth aspect.
[0014] By adopting the technical solution provided in the embodiment of the present application, the connection relationship between the main channel transmission interface and the main channel reception interface can be detected through the detection signal, and then the interface definition can be adjusted according to the detection result to achieve automatic adjustment of the line sequence and / or polarity. This can avoid the problem of being unable to transmit data normally due to mismatch on the physical interface, improve the fault tolerance of hardware design, make the interface definition of actual needs more flexible, and improve the efficiency of hardware design.
Brief Description of the Drawings
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a structural diagram of a DP sending interface in the prior art;
[0017] Figure 2 It is a structural schematic diagram of a DP receiving interface in the prior art;
[0018] Figure 3 A schematic diagram of the structure of an interface adjustment system provided in an embodiment of the present application;
[0019] Figure 4A schematic diagram of the connection relationship between a main channel sending interface and a main channel receiving interface provided in an embodiment of the present application;
[0020] Figure 5 A schematic diagram of adjusting an interface definition provided in an embodiment of the present application;
[0021] Figure 6 A schematic diagram of the structure of an eDP interface adjustment system provided in an embodiment of the present application;
[0022] Figure 7 A schematic diagram of a flow chart of an eDP interface adjustment method provided in an embodiment of the present application;
[0023] Figure 8 A schematic diagram of the structure of a display module provided in an embodiment of the present application. [Specific implementation method]
[0024] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0025] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0026] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0027] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0028] In the description of this specification, it is necessary to understand that the words such as "substantially", "approximately", "approximately", "about", "roughly", "substantially" and the like described in the claims and embodiments of the present application refer to what can be generally recognized within a reasonable process operation range or tolerance range, rather than an exact value.
[0029] Display Port (DP) is a digital video interface standard developed by a personal computer (PC) and chip manufacturer alliance and standardized by the Video Electronics Standards Association (VESA). The DP interface includes a DP transmit interface and a DP receive interface.
[0030] See also Figure 1 , is a schematic diagram of the structure of a DP transmission interface in the prior art. Figure 1 As shown, each pin in the DP transmission interface has a corresponding interface definition. Among them, the DP transmission interface includes 4 groups of main channel transmission interfaces, namely Lane0, Lane1, Lane2 and Lane3. Each group of main channel transmission interfaces includes two main channel transmission interfaces, positive and negative, for sending a group of differential signals. For example, the main channel transmission interface Lane0 includes the main channel transmission interface ML_Lane_0_P (Lane sequence is 0, polarity is P, P represents positive pole) and the main channel transmission interface ML_Lane_0_N (Lane sequence is 0, polarity is N, N represents negative pole). In other words, each main channel transmission interface has a corresponding Lane sequence and polarity. Among them, the Lane sequence represents the interface order, and the polarity represents the polarity of the differential signal used for transmission. The definitions of other main channel transmission interfaces are similar to the main channel transmission interface Lane0, and are not listed one by one here.
[0031] See also Figure 2 , is a structural diagram of a DP receiving interface in the prior art. Corresponding to the DP transmitting interface, each pin in the DP receiving interface has a corresponding interface definition. Among them, the DP receiving interface includes 4 groups of main channel receiving interfaces, namely Lane0, Lane1, Lane2 and Lane3. Each group of main channel receiving interfaces includes two main channel receiving interfaces, one positive and one negative, for receiving a group of differential signals. For example, the main channel receiving interface Lane0 includes the main channel receiving interface ML_Lane_0_P (Lane sequence is 0, polarity is P, P represents the positive pole) and the main channel receiving interface ML_Lane_0_N (Lane sequence is 0, polarity is N, N represents the negative pole). In other words, each main channel receiving interface has a corresponding Lane sequence and polarity. Among them, the Lane sequence represents the interface order, and the polarity represents the polarity of the differential signal received. The definitions of other main channel receiving interfaces are similar to those of the main channel receiving interface Lane0, and are not listed one by one here.
[0032] When working, the DP sending interface and the DP receiving interface are connected to each other for information transmission. It can be understood that since the DP sending interface and the DP receiving interface are standard interfaces, after the DP sending interface and the DP receiving interface are connected, the pins in the DP sending interface and the DP receiving interface are connected one by one according to the interface definition. For example, after the DP sending interface and the DP receiving interface are connected, the ML_Lane_0_P pin of the DP sending interface is connected to the ML_Lane_0_P pin of the DP receiving interface. When the ML_Lane_0_P pin of the DP sending interface sends a signal "001", the signal "001" can be received at the ML_Lane_0_P pin of the DP receiving interface.
[0033] However, as an internal interface, the eDP interface will artificially cross and / or reverse the Lane sequence and / or polarity of the eDP transmitting interface and the eDP receiving interface based on the Lane sequence and polarity of the standard DP interface due to factors such as the routing topology and routing impedance integrity. There is no standard interface definition, which leads to a mismatch between the transmitting and receiving hardware interfaces and prevents normal signal transmission.
[0034] In view of the above problems, the embodiments of the present application provide a solution that can improve interface communication. The connection relationship between the main channel sending interface and the main channel receiving interface can be detected by detecting the signal, and then the interface definition can be adjusted according to the detection result to achieve automatic adjustment of the line sequence and / or polarity. This can avoid the problem of being unable to transmit data normally due to mismatch in the physical interface, improve the fault tolerance of the hardware design, make the interface definition of actual needs more flexible, and improve the efficiency of hardware design. The following is a detailed description.
[0035] See also Figure 3 , is a schematic diagram of the structure of an interface adjustment system provided in an embodiment of the present application. Figure 3 As shown, the system includes a sending module and a receiving module. Among them, the sending module includes a coding unit, a main channel sending interface, an auxiliary channel receiving interface and a processing unit; the receiving module includes a main channel receiving interface, a decoding unit and an auxiliary channel sending interface. The main channel sending interface and the main channel receiving interface are connected through a main channel connection line to form a main channel for transmitting high-speed signals such as image or video data; the auxiliary channel sending interface and the auxiliary channel receiving interface are connected through an auxiliary channel connection line to form an auxiliary channel for transmitting low-speed signals. For example, in an embodiment of the present application, the auxiliary channel is used to transmit a detection result corresponding to a detection signal, which is described in detail below.
[0036] It is understandable that the number N of the main channel transmission interface and the main channel receiving interface is usually multiple, so when designing the wiring, the line sequence and / or polarity of the N main channel transmission interfaces and the N main channel receiving interfaces will be crossed or reversed. In the embodiment of the present application, N≥2, for example, N can be 2, 3, 5, 8 or 10, etc., and the embodiment of the present application does not specifically limit this.
[0037] See also Figure 4 , is a schematic diagram of the connection relationship between a main channel sending interface and a main channel receiving interface provided in an embodiment of the present application. Figure 4 In the example, the number of main channel sending interfaces and main channel receiving interfaces are both 3, namely, a first main channel sending interface, a second main channel sending interface, and a third main channel sending interface; and, a first main channel receiving interface, a second main channel receiving interface, and a third main channel receiving interface.
[0038] Under normal circumstances, the connection relationship between the main channel sending interface and the main channel receiving interface should be: the first main channel sending interface is connected to the first main channel receiving interface; the second main channel sending interface is connected to the second main channel receiving interface; the third main channel sending interface is connected to the third main channel receiving interface.
[0039] However, in the actual design process, due to factors such as the routing topology structure and routing impedance integrity, or human error, the first main channel transmission interface and the third main channel transmission interface are crossed, resulting in the first main channel transmission interface being connected to the third main channel receiving interface, and the third main channel transmission interface being connected to the first main channel receiving interface. It is understandable that in this case, signal transmission will be affected.
[0040] In view of the above problems, the embodiment of the present application generates a detection signal through a coding unit to detect the connection relationship between the main channel sending interface and the main channel receiving interface. In other words, the detection signal is used to identify the corresponding relationship between the main channel sending interface of the sending module and the main channel receiving interface of the receiving module. After the coding unit generates the detection signal, the detection signal is sent to the main channel receiving interface of the receiving module through the main channel sending interface.
[0041] After the main channel receiving interface receives the detection signal, the decoding unit decodes the detection signal, generates a detection result, and sends the detection result to the sending module through the auxiliary channel sending interface. The processing unit in the sending module adjusts the interface definition of the main channel sending interface according to the detection result, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface. It can be understood that after the adjustment of the interface definition is completed, the sending module and the receiving module can perform normal information transmission.
[0042] It should be noted that each detection signal can only identify a set of corresponding relationships between a primary channel sending interface and a primary channel receiving interface.
[0043] For example, in Figure 4 In the embodiment shown, a detection signal is sent through the first main channel sending interface, and it is determined based on the detection result that the detection signal is received at the third main channel receiving interface, so it can be determined that the first main channel sending interface is connected to the third main channel receiving interface. Similarly, a detection signal needs to be sent at the second main channel sending interface and the third main channel sending interface respectively to determine the corresponding relationship between all main channel sending interfaces and main channel receiving interfaces.
[0044] See also Figure 5 , is a schematic diagram of adjusting an interface definition provided in an embodiment of the present application. Figure 5 As shown, when it is determined that the first main channel sending interface is connected to the third main channel receiving interface, and the third main channel sending interface is connected to the first main channel receiving interface, the interface definition of the first main channel sending interface is adjusted to the third main channel sending interface; and the interface definition of the third main channel sending interface is adjusted to the first main channel sending interface, so as to ensure normal transmission of signals.
[0045] In a specific implementation, the above interface may be an eDP interface, and accordingly, the sending module is an eDP sending module, and the receiving module is an eDP receiving module. The related functions of the processing unit, the encoding unit, and the decoding unit may be implemented by a field programmable gate array (FPGA), and of course may also be implemented by a chip or a separate hardware module, which is not limited in the embodiments of the present application. The following takes FPGA as an example to illustrate the solution for improving the communication of the eDP interface.
[0046] See also Figure 6 , is a schematic diagram of the structure of an eDP interface adjustment system provided in an embodiment of the present application. Figure 6 As shown, the system includes an eDP sending module and an eDP receiving module, wherein the eDP sending module includes a first programmable logic device FPGA1 and an eDP sending interface; the eDP receiving module includes a second programmable logic device FPGA2 and an eDP receiving interface.
[0047] The eDP transmission interface includes a main channel transmission interface and an auxiliary channel receiving interface, wherein the number of the main channel transmission interfaces is 4 groups (2 in each group, a total of 8), corresponding to Figure 6 Lane a+ / -, Lane b+ / -, Lane c+ / - and Lane d+ / - interfaces in the LANE A ... Figure 6 The AUX (Auxiliary) receiving interface in the device.
[0048] The eDP receiving interface includes a main channel receiving interface and an auxiliary channel sending interface, wherein the number of the main channel receiving interfaces is 4 groups (2 in each group, a total of 8), corresponding to Figure 6 Lane 0+ / -, Lane 1+ / -, Lane 2+ / - and Lane 3+ / - interfaces in the LANE ...2+ / -, Lane 2+ / - and Lane 3+ / - interfaces in the LANE 3+ / - Figure 6 The AUX (Auxiliary) sending interface on the eDP receiving module side.
[0049] The main channel transmission interface and the main channel receiving interface are connected to form a main channel for transmitting high-speed signals such as image or video data; the auxiliary channel receiving interface and the auxiliary channel transmission interface are connected to form an auxiliary channel for transmitting low-speed signals. In the embodiment of the present application, the auxiliary channel is used to transmit the detection result corresponding to the detection signal.
[0050] It can be understood that there will be no crossing and / or reversal of line sequence and / or polarity in the auxiliary channel. Therefore, the crossing and / or reversal of line sequence and / or polarity involved in the embodiments of the present application refers to the crossing and / or reversal of line sequence and / or polarity in the main channel.
[0051] The following describes in detail the process of detecting the line sequence and / or polarity of the eDP interface in conjunction with the method embodiment.
[0052] See also Figure 7 , is a flow chart of an eDP interface adjustment method provided in an embodiment of the present application. The method can be applied to Figure 6 The system shown, Figure 7 As shown, the method mainly includes the following steps.
[0053] Step S701: the eDP sending module generates a detection signal, where the detection signal is used to identify the correspondence between the main channel sending interface of the eDP sending module and the main channel receiving interface of the eDP receiving module.
[0054] In order to detect the correspondence between the primary channel sending interface and the primary channel receiving interface, the embodiment of the present application generates a detection signal through the encoding unit. For example, a detection signal "011" is generated.
[0055] Step S702: Send a detection signal to the main channel receiving interface of the eDP receiving module through the main channel sending interface of the eDP sending module.
[0056] Specifically, one main channel transmission interface can be selected from the eight main channel transmission interfaces to send the generated detection signal to the main channel receiving interface. For example, the detection signal "011" is sent to the main channel receiving interface through the Lane a+ interface. It can be understood that at this time, from the transmitting end, it is not clear which main channel receiving interface will receive the detection signal "011", that is, it is not clear which main channel receiving interface the Lane a+ interface is connected to.
[0057] It is understandable that each detection signal can only identify a set of correspondences between the main channel sending interface and the main channel receiving interface. In order to determine the correspondences between all the main channel sending interfaces and the main channel receiving interfaces, in an embodiment of the present application, the encoding unit needs to generate 8 detection signals in sequence, and send them to the main channel receiving interface in sequence through the 8 main channel sending interfaces, wherein each main channel sending interface sends a detection signal. It should be pointed out that the 8 detection signals need to be sent in sequence, that is, after the previous detection signal is sent and the corresponding detection result is obtained, the next detection signal is sent to avoid interference between the detection signals.
[0058] Step S703: the eDP receiving module decodes the detection signal and generates a detection result, which is used to characterize the corresponding relationship between the main channel sending interface and the main channel receiving interface.
[0059] Specifically, after the main channel receiving interface receives the detection signal, the decoding unit decodes the detection signal and generates a detection result. For example, after the Lane a+ interface sends the detection signal "011", the decoding unit detects "100" at the Lane 3- interface, indicating that the P end of lane a actually corresponds to the N end of lane 3, and the line sequence and polarity of the Lane a+ interface need to be adjusted. For another example, after the Lane b+ interface sends the detection signal "011", the decoding unit detects "011" at the Lane 2+ interface, indicating that the P end of Lane b corresponds to the P end of lane 2, and the Lane b+ interface only needs to adjust the line sequence.
[0060] Step S704: the eDP receiving module sends the detection result to the eDP sending module through the auxiliary channel sending interface.
[0061] Specifically, after the decoding unit obtains the detection result, it sends the detection result to the eDP sending module through the AUX channel, so that the eDP sending module adjusts the interface definition of the main channel sending interface according to the detection result, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface.
[0062] Step S705: the eDP sending module adjusts the interface definition of the main channel sending interface according to the detection result.
[0063] Specifically, the eDP sending module adjusts the interface definition of the main channel sending interface through the processing unit. After completing the adjustment of the interface definition, the eDP sending module can send a signal matching the adjusted interface definition of the main channel sending interface to the main channel receiving interface according to the adjusted interface definition of the main channel sending interface.
[0064] In a possible implementation, the detection result of the primary channel sending interface is shown in Table 1.
[0065] Table 1:
[0066] Original interface definition Test results Lane a+ Lane 3- Lane a- Lane 3+ Lane b+ Lane 2+ Lane b- Lane 2- Lane c+ Lane 0+ Lane c- Lane 0- Lane d+ Lane 1+ Lane d- Lane 1-
[0067] For example, the detection result of the original interface definition Lane a+ is Lane 3-, which means that after the main channel sending interface Lane a+ sends a detection signal, the main channel sending interface Lane 3- receives the corresponding detection signal. Therefore, it is necessary to adjust the interface definition of the main channel sending interface Lane a+ to the main channel sending interface Lane 3-. It can be understood that after the interface definition is adjusted, the main channel sending interface Lane 3- corresponds to the main channel receiving interface Lane 3-, and the matching connection between the main channel sending interface and the main channel receiving interface is realized.
[0068] Specifically, according to the detection results shown in Table 1, the interface definition of the main channel sending interface is adjusted. It can be understood that after the interface definition is adjusted, the data actually sent by the main channel sending interface will also change accordingly. Then, the main channel sending interface sends a signal matching the adjusted interface definition of the main channel sending interface to the main channel receiving interface according to the adjusted interface definition of the main channel sending interface. The actual data sent by the main channel sending interface is shown in Table 2.
[0069] Table 2:
[0070] Original interface definition The actual data sent after the interface definition is adjusted Lane c+ Actually send Lane 0+ data Lane c- Actually sending Lane 0- data Lane d+ Actually sending Lane 1+ data Lane d- Actually sending Lane 1- data Lane b+ Actually sending Lane 2+ data Lane b- Actually sending Lane 2- data Lane a- Actually sending Lane 3+ data Lane a+ Actually sending Lane 3- data
[0071] For example, if the original main channel sending interface Lane c+ corresponds to the main channel receiving interface Lane 0+, the interface definition of the main channel sending interface is adjusted to Lane 0+, so that the original main channel sending interface Lane c+ actually sends the data of Lane 0+, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface.
[0072] Exemplarily, after the original main channel sending interface Lane c+ sends the detection signal "011", the decoding unit detects "011" at the main channel receiving interface Lane 0+, indicating that the Lane sequence of the original main channel sending interface Lane c+ needs to be adjusted to Lane 0+, that is, the interface definition of the original main channel sending interface Lane c+ is adjusted to Lane 0+. After the adjustment, the original main channel sending interface Lane c+ actually sends the data corresponding to the main channel sending interface Lane 0+. For example, during the communication process, the main channel sending interface Lane 0+ needs to send the data "111", then the data "111" is distributed to the original main channel sending interface Lane c+, so that the main channel receiving interface Lane 0+ receives the data "111", so that the signal sent by the main channel sending interface matches the signal received by the main channel receiving interface.
[0073] By adopting the technical solution provided in the embodiment of the present application, the connection relationship between the main channel transmission interface and the main channel reception interface can be detected through the detection signal, and then the interface definition can be adjusted according to the detection result to achieve automatic adjustment of the line sequence and / or polarity. This can avoid the problem of being unable to transmit data normally due to mismatch on the physical interface, improve the fault tolerance of hardware design, make the interface definition of actual needs more flexible, and improve the efficiency of hardware design.
[0074] See also Figure 8 , is a schematic diagram of the structure of a display device provided in an embodiment of the present application. Figure 8 As shown, the display device includes a mainboard and a display module, wherein an eDP sending module is provided on the mainboard, the display module includes a display panel and a display backplane, an eDP receiving module is provided on the display backplane, and the eDP receiving module is used to connect to the eDP sending module.
[0075] After the eDP sending module and the eDP receiving module complete the interface matching using the above solution, they perform normal information transmission. Specifically, the eDP sending module can receive the image or video data sent by the signal source, and send the image or video data to the eDP receiving module, and the eDP receiving module is connected to the display panel to display the image or video data on the display panel. Among them, the signal source can come from the mainboard, or other devices connected to the mainboard, and the embodiments of the present application do not make specific restrictions on this.
[0076] Corresponding to the above-mentioned display device, the embodiment of the present application further provides a display module. The specific content of the display module can be found in the description of the above-mentioned display device embodiment. For the sake of brevity, it will not be repeated here.
[0077] By adopting the technical solution provided in the embodiment of the present application, the connection relationship between the main channel transmission interface and the main channel reception interface can be detected through the detection signal, and then the interface definition can be adjusted according to the detection result to achieve automatic adjustment of the line sequence and / or polarity. This can avoid the problem of being unable to transmit data normally due to mismatch on the physical interface, improve the fault tolerance of hardware design, make the interface definition of actual needs more flexible, and improve the efficiency of hardware design.
[0078] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided in the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0079] In a specific implementation, an embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above method embodiment.
[0080] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A sending module, characterized in that: include: an encoding unit, used to generate a detection signal, wherein the detection signal is used to identify the correspondence between the main channel sending interface of the sending module and the main channel receiving interface of the receiving module; The main channel sending interface is used to send the detection signal to the main channel receiving interface of the receiving module; Auxiliary channel receiving interface, used for receiving the detection result sent by the receiving module; a processing unit, configured to adjust the interface definition of the main channel sending interface according to the detection result, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface; The sending module includes N main channel sending interfaces, and the receiving module includes N main channel receiving interfaces, where N≥2; The encoding unit is specifically used to sequentially generate N detection signals, where the N detection signals are used to identify the corresponding relationship between the N main channel sending interfaces and the N main channel receiving interfaces; The N main channel sending interfaces are used to send the N detection signals to the N main channel receiving interfaces in sequence respectively; The auxiliary channel receiving interface is specifically used to sequentially receive N detection results sent by the receiving module; The processing unit is specifically used to adjust the interface definition of the N main channel sending interfaces according to the N detection results, wherein each detection signal corresponds to a detection result, and the i-th detection result is used to indicate that the i-th main channel sending interface corresponds to the j-th main channel receiving interface, 1≤i≤N, 1≤j≤N; The sending module and the receiving module both adopt embedded display interfaces.
2. The sending module according to claim 1, characterized in that: The interface definition includes line sequence and / or polarity.
3. The sending module according to claim 1, characterized in that: The main channel sending interface is further used to send a signal matching the adjusted interface definition of the main channel sending interface to the main channel receiving interface according to the adjusted interface definition of the main channel sending interface.
4. A receiving module, characterized in that: include: A main channel receiving interface, used to receive a detection signal sent by a main channel sending interface of a sending module; A decoding unit, used for decoding the detection signal to generate a detection result, wherein the detection result is used to characterize the corresponding relationship between the main channel sending interface and the main channel receiving interface; an auxiliary channel sending interface, used to send the detection result to the sending module, so that the sending module adjusts the interface definition of the main channel sending interface according to the detection result; The receiving module includes N main channel receiving interfaces, and the sending module includes N main channel sending interfaces, where N≥2; The N main channel receiving interfaces are used to sequentially receive N detection signals sent by the N main channel sending interfaces; The decoding unit is specifically used to decode the N detection signals in sequence to generate N detection results, wherein each detection signal corresponds to a detection result, and the i-th detection result is used to indicate that the i-th main channel sending interface corresponds to the j-th main channel receiving interface, 1≤i≤N, 1≤j≤N; The auxiliary channel sending interface is specifically used to send the N detection results to the sending module in sequence, so that the sending module adjusts the interface definition of the main channel sending interface according to the N detection results; The sending module and the receiving module both adopt embedded display interfaces.
5. An interface adjustment system, characterized in that: The device comprises the sending module according to any one of claims 1 to 3 and the receiving module according to claim 4, wherein the main channel sending interface of the sending module is communicatively connected with the main channel receiving interface of the receiving module; The main channel sending interface of the sending module is communicatively connected with the main channel receiving interface of the receiving module, specifically including: the N main channel sending interfaces are communicatively connected with the N main channel receiving interfaces, wherein each main channel sending interface is connected to a main channel receiving interface.
6. An interface adjustment method, applied to a sending module, characterized in that: include: Generate a detection signal, wherein the detection signal is used to identify the correspondence between the main channel sending interface of the sending module and the main channel receiving interface of the receiving module; Sending the detection signal to the main channel receiving interface of the receiving module through the main channel sending interface of the sending module; receiving, through the auxiliary channel receiving interface, a detection result sent by the receiving module, wherein the detection result is used to characterize a corresponding relationship between the main channel sending interface and the main channel receiving interface; adjusting the interface definition of the main channel sending interface according to the detection result, so that the signal sent by the sending module through the main channel sending interface matches the signal received by the receiving module through the main channel receiving interface; The sending module includes N main channel sending interfaces, and the receiving module includes N main channel receiving interfaces, where N≥2; The generating of the detection signal specifically includes: generating N detection signals in sequence, wherein the N detection signals are used to identify the corresponding relationship between the N main channel sending interfaces and the N main channel receiving interfaces; Sending the detection signal to the main channel receiving interface of the receiving module through the main channel sending interface of the sending module specifically includes: sending the N detection signals to the N main channel receiving interfaces of the receiving module respectively through the N main channel sending interfaces in sequence; Receiving the detection result sent by the receiving module through the auxiliary channel receiving interface specifically includes: receiving N detection results sent by the receiving module in sequence through the auxiliary channel receiving interface, wherein each detection signal corresponds to a detection result, and the i-th detection result is used to indicate that the i-th main channel sending interface corresponds to the j-th main channel receiving interface, 1≤i≤N, 1≤j≤N; The adjusting the interface definition of the primary channel sending interface according to the detection result specifically includes: adjusting the interface definition of the N primary channel sending interfaces according to the N detection results; The sending module and the receiving module both adopt embedded display interfaces.
7. The method according to claim 6, characterized in that Also includes: According to the adjusted interface definition of the primary channel sending interface, a signal matching the adjusted interface definition of the primary channel sending interface is sent to the primary channel receiving interface.
8. An interface adjustment method, applied to a receiving module, characterized in that: include: Receiving, through the main channel receiving interface of the receiving module, a detection signal sent by the main channel sending interface of the sending module, wherein the detection signal is used to identify a corresponding relationship between the main channel sending interface and the main channel receiving interface; Decoding the detection signal to generate a detection result, where the detection result is used to characterize the corresponding relationship between the main channel sending interface and the main channel receiving interface; Sending the detection result to the sending module through the auxiliary channel sending interface, so that the sending module adjusts the interface definition of the main channel sending interface according to the detection result; The receiving module includes N main channel receiving interfaces, and the sending module includes N main channel sending interfaces, where N≥2; Receiving the detection signal sent by the main channel sending interface of the sending module through the main channel receiving interface of the receiving module specifically includes: receiving N detection signals sent by the N main channel sending interfaces of the sending module through the N main channel receiving interfaces of the receiving module in sequence; Decoding the detection signal to generate a detection result specifically includes: decoding the N detection signals to generate N detection results, wherein each detection signal corresponds to a detection result, and the i-th detection result is used to indicate that the i-th main channel sending interface corresponds to the j-th main channel receiving interface, 1≤i≤N, 1≤j≤N; Sending the detection result to the sending module through the auxiliary channel sending interface specifically includes: sending the N detection results to the sending module in sequence through the auxiliary channel sending interface, so that the sending module adjusts the interface definition of the main channel sending interface according to the N detection results; The sending module and the receiving module both adopt embedded display interfaces.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to claim 6 or 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to claim 8.
Citation Information
Patent Citations
FPGA based Displayport signal generating device and method
CN109448614A
Computer test apparatus and method thereof
KR101621662B1