Expansion device and processing method

By using a built-in processing module in the expansion device to monitor and optimize link parameters in real time, the communication anomaly problem when connecting the expansion device and the display device was resolved, enabling rapid and accurate fault repair and improved system stability.

CN120909830APending Publication Date: 2025-11-07LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511079880.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-01
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

When connecting to a display device, the extended device may experience communication abnormalities or signal interference. Existing technologies lack real-time error classification and reporting mechanisms, resulting in lengthy and inefficient fault handling processes that affect system stability and user experience.

Method used

The extended device's built-in processing module monitors and optimizes the signal transmission characteristics of the target link in real time by adjusting link parameters and dynamically adjusting the handshake status, including voltage swing, pre-emphasis, equalizer coefficient, etc. Combined with test signal and fault code analysis, it automatically diagnoses and repairs link faults.

Benefits of technology

It enables rapid and accurate repair of communication anomalies between expansion devices and display devices, improving system reliability and stability, reducing waste of human resources, and enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120909830A_ABST
    Figure CN120909830A_ABST
Patent Text Reader

Abstract

The invention provides extension equipment and a processing method, and the extension equipment comprises a first interface which is used for being in communication connection with electronic equipment; the second interface is used for being in communication connection with display equipment; the processing module is used for responding to the communication signal to indicate that a target link between the expansion equipment and the display equipment does not meet a target condition, and adjusting a link parameter of the target link so as to enable the target link to meet the target condition; wherein the communication signal comprises a first communication signal acquired through the first interface and / or a second communication signal acquired through the second interface, and the link parameter represents the signal transmission characteristic of the target link.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to an extension device and a processing method. BACKGROUND

[0002] An extension device (for example, a docking station) can meet the needs of users to connect various external devices by copying or extending the ports of an electronic device. In some examples, when the extension device is connected to a display device, communication abnormalities, signal interference, and other problems may occur, and the fault cannot be repaired in time. SUMMARY

[0003] The present disclosure provides an extension device and a processing method.

[0004] According to an aspect of the present disclosure, an extension device is provided, comprising: a first interface configured to be communicatively connected to an electronic device; a second interface configured to be communicatively connected to a display device; and a processing module configured to, in response to a communication signal indicating that a target link between the extension device and the display device does not meet a target condition, adjust a link parameter of the target link to make the target link meet the target condition; wherein the communication signal comprises a first communication signal obtained through the first interface and / or a second communication signal obtained through the second interface, and the link parameter represents a signal transmission characteristic of the target link.

[0005] According to an embodiment of the present disclosure, in a case where the extension device is in a handshake state, the communication signal comprises a first handshake signal obtained through the first interface and / or a second handshake signal obtained through the second interface; and in a case where the extension device is in a working state, the communication signal comprises a first image signal obtained through the first interface and / or a second image signal obtained through the second interface.

[0006] According to an embodiment of the present disclosure, the processing module is configured to, in response to the communication signal indicating that the target link does not meet the target condition, control the second interface to be powered off and then powered on again to perform handshake communication with the display device, and adjust the link parameter of the target link to make the target link meet the target condition.

[0007] According to an embodiment of the present disclosure, the processing module is configured to: in response to the communication signal indicating that the target link does not meet the target condition, obtain a first signal representing a physical connection state of the target link; and in response to the first signal representing that the physical connection state of the target link is normal, adjust the link parameter of the target link to make the target link meet the target condition.

[0008] According to an embodiment of the present disclosure, the processing module is configured to: in response to the communication signal indicating that the target link does not meet the target condition, obtain a target parameter; and adjust the link parameter of the target link according to the target parameter to make the target link meet the target condition; wherein the target parameter comprises a signal transmission parameter of the display device and / or a signal transmission parameter of the electronic device.

[0009] According to an embodiment of the present disclosure, the processing module is configured to: in response to the communication signal indicating that the target link does not meet the target condition, acquire a test signal of the electronic device through the first interface; send the test signal to the display device through the second interface; acquire a test result returned by the display device through the second interface, and adjust a link parameter of the target link based on the test result, so that the target link meets the target condition.

[0010] According to an embodiment of the present disclosure, the processing module is further configured to: in a case where the target link does not meet the target condition after adjusting the link parameter of the target link, acquire a fault code of the display device through the second interface; and determine fault information according to the fault code by querying a preset fault table.

[0011] Another aspect of the present disclosure provides a processing method applied to an expansion device, the expansion device being in communication connection with an electronic device through a first interface and in communication connection with a display device through a second interface; the method comprising: in response to a communication signal indicating that a target link between the expansion device and the display device does not meet a target condition, acquiring a test signal of the electronic device; sending the test signal to the display device; acquiring a test result returned by the display device, and adjusting a first parameter of the target link based on the test result, so that the target link meets the target condition; wherein the communication signal comprises a first communication signal acquired through the first interface and / or a second communication signal acquired through the second interface, and the first parameter represents a signal quality of the target link.

[0012] According to an embodiment of the present disclosure, the processing module is further configured to: in response to the target link not meeting the target condition, adjust a second parameter of the target link based on the test result, so that the target link meets the target condition; wherein the second parameter represents a communication architecture feature of the target link.

[0013] According to an embodiment of the present disclosure, adjusting the second parameter based on the test result comprises: acquiring a parameter priority of the second parameter, wherein the parameter priority represents a priority of at least one parameter in the second parameter; and adjusting the second parameter according to the test result and the parameter priority.

[0014] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0015] The accompanying drawings are used to better understand the present scheme, and do not limit the present disclosure. Among them:

[0016] Figure 1 is a structural schematic diagram of an expansion device according to an embodiment of the present disclosure;

[0017] Figure 2 is a structural schematic diagram of an extension device according to another embodiment of the present disclosure;

[0018] Figure 3 is a flowchart of a processing method according to an embodiment of the present disclosure;

[0019] Figure 4 is a structural schematic diagram of an extension device according to yet another embodiment of the present disclosure;

[0020] Figure 5 is a schematic block diagram of an example electronic device to implement an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to assist in understanding, and should be considered as merely exemplary. Thus, those skilled in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, for the sake of brevity and clarity, descriptions of well-known functions and constructions are omitted from the following description.

[0022] In the technical solutions of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of data (such as, but not limited to, user personal information) involved in the technical solutions comply with relevant legal regulations, necessary security measures are taken, and do not violate public order and good customs.

[0023] Figure 1 is a structural schematic diagram of an extension device according to an embodiment of the present disclosure.

[0024] As shown in Figure 1 , the extension device of this embodiment includes a first interface for communication connection with an electronic device, and a second interface for communication connection with a display device.

[0025] In an embodiment of the present disclosure, the extension device is in communication connection with the electronic device through the first interface, and the extension device is in communication connection with the display device through the second interface. The extension device can expand the port of the electronic device to enable the electronic device to be in communication connection with a plurality of external devices.

[0026] For example, the extension device can include a third interface and a fourth interface. The extension device is connected with a first external device through the third interface, and the extension device is connected with a second external device through the fourth interface. For example, the first external device can be a mouse, and the second external device can be a headset.

[0027] It should be noted that the display device in this embodiment is an external device. The electronic device can transmit communication signals to the display device through the extension device so that the display device can display the corresponding image information.

[0028] In embodiments of this disclosure, the electronic device may include devices such as laptops, mobile phones, and mobile terminals. The electronic device may also include devices such as augmented reality glasses (AR) and game consoles. In this embodiment, the electronic device transmits communication signals to an external device (e.g., the display device in this embodiment) via an extension device.

[0029] In embodiments of this disclosure, the display device may be a display screen for displaying communication signals transmitted by the electronic device through the extension device. The extension device may be a docking station.

[0030] In some cases, communication anomalies, no image output, or signal interference may occur when the expansion device communicates with the display device. When such anomalies occur, related technologies rely on manual reporting by users or on-site diagnosis and troubleshooting by technicians, resulting in lengthy and inefficient troubleshooting processes, reduced availability of the expansion device, and often requiring significant manpower for individual testing and tracing.

[0031] The extended devices in related technologies lack the ability to proactively identify abnormal states and lack real-time error classification and reporting mechanisms. Without real-time information on the causes of problems and corresponding solutions, users are unable to effectively troubleshoot, thus impacting the overall system stability and user experience.

[0032] like Figure 1 As shown, the extension device includes a processing module for adjusting the link parameters of the target link in response to a communication signal indicating that the target link between the extension device and the display device does not meet the target conditions, so that the target link meets the target conditions; wherein, the communication signal includes a first communication signal obtained through a first interface and / or a second communication signal obtained through a second interface, and the link parameters characterize the signal transmission characteristics of the target link.

[0033] In embodiments of this disclosure, the first communication signal is a communication signal between the expansion device and the electronic device, which can be obtained through the first interface. The second communication signal is a communication signal between the expansion device and the display device, which can be obtained through the second interface.

[0034] In embodiments of the present disclosure, the target link is a data transmission channel between the extension device and the display device. The link parameter characterizes the signal transmission characteristics of the target link. The link parameter can characterize the signal quality of the target link. For example, the link parameter can include parameters such as voltage swing, pre-emphasis, equalizer coefficient, and clock recovery. The voltage swing is used to characterize the signal amplitude strength in the target link, the pre-emphasis is used to characterize the high-frequency component enhancement degree of the signal in the target link, the equalizer coefficient is used to shape the received signal of the target link, and the clock recovery is used to calibrate the sampling points of the signal of the target link.

[0035] In embodiments of the present disclosure, the link parameter can also characterize the communication structure characteristics of the target link. For example, the link parameter can include parameters such as link rate, channel number, and color depth. The link rate is used to characterize the signal transmission speed in the target link, the channel number is used to characterize the number of differential signal pairs in the target link, and the color depth is used to characterize the amount of pixel data in the target link.

[0036] In embodiments of the present disclosure, in response to the communication signal indicating that the target link between the extension device and the display device does not meet the target condition, the link parameter of the target link is adjusted. The target link meeting the target condition characterizes that the target link is in a normal state, the data transmission process in the target link is normal, and the target link can meet the communication needs between the extension device and the display device.

[0037] In embodiments of the present disclosure, as physical layer signals in the target link decay, protocol interaction errors, and hardware defects occur, the target link between the extension device and the display device can have a communication abnormality, resulting in the target link not meeting the target condition.

[0038] For example, due to hardware defects, the target link cannot meet the bandwidth transmission needs between the extension device and the display device, resulting in the target link not meeting the target condition.

[0039] In embodiments of the present disclosure, the communication signal can be used to determine whether the target link meets the target condition. When the communication signal is abnormal, it can be determined that the target link does not meet the target condition.

[0040] In embodiments of the present disclosure, the communication signal includes a first communication signal obtained through the first interface and / or a second communication signal obtained through the second interface. The first communication signal can be used to determine whether the target link meets the target condition, the second communication signal can be used to determine whether the target link meets the target condition, and the first communication signal and the second communication signal can be combined to determine whether the target link meets the target condition.

[0041] In the embodiments of the present disclosure, the target link is a data transmission channel between the expansion device and the display device. It can be understood that whether the target link meets the target condition can be determined by the second communication signal. When the second communication signal is abnormal, for example, when the second communication signal is lost during transmission or the receiving end cannot receive the second communication signal, it can be determined that the target link does not meet the target condition. For example, when the signal transmission quality of the second communication signal is poor during transmission, it can be determined that the target link does not meet the target condition.

[0042] In the embodiments of the present disclosure, whether the target link meets the target condition can be determined by the first communication signal. Since the function of the expansion device is to expand the port of the electronic device, the signal transmitted by the electronic device to the display device for display will first be transmitted to the expansion device and then transmitted to the display device by the expansion device. When the communication signal sent by the electronic device is successfully transmitted to the expansion device, if the display device does not respond within a preset time, it can be determined that a fault occurs in the target link between the expansion device and the display device. At this time, it can be determined that the target link does not meet the target condition.

[0043] In the embodiments of the present disclosure, whether the target link meets the target condition can be determined by the combination of the first communication signal and the second communication signal. As can be seen from the above analysis, whether the target link meets the target condition can be determined by the first communication signal alone or the second communication signal alone. Therefore, the combination of the first communication signal and the second communication signal can also determine whether the target link meets the target condition, and can more accurately locate the position where the fault occurs.

[0044] In the embodiments of the present disclosure, when the target link does not meet the target condition, the link parameters representing the signal transmission characteristics of the target link can be adjusted to make the target link meet the target condition. When the signal integrity of the target link deteriorates (such as eye diagram collapse and error code rate exceeding the standard), the link parameters such as voltage swing, pre-emphasis and equalizer coefficient can be adjusted to analyze the eye diagram scan data and error code rate trend in real time, to maintain the signal quality to meet the standard at the minimum cost, so that the target link meets the target condition.

[0045] For example, the voltage swing is adjusted, the output amplitude is increased in steps according to the signal attenuation degree, and the cable loss is compensated. The pre-emphasis is optimized, the signal transition edge strength is enhanced according to the high frequency attenuation characteristics. The equalizer coefficient is configured according to the communication signal to resist intersymbol interference.

[0046] In the embodiments of the present disclosure, when the link parameter representing the signal transmission characteristic of the target link cannot meet the performance requirement of the target link, the link parameter representing the communication structure characteristic of the target link can be adjusted, the historical training failure record and the damage degree of the target link are comprehensively considered, and the degradation path with the least impact on user experience is selected to make the target link meet the target condition.

[0047] For example, the link rate is degraded from a high rate to a low rate, and stability is obtained by sacrificing bandwidth. The number of channels is reduced, the faulty channels are shielded, and the data transmission topology is reconstructed. The color depth is compressed, the color accuracy is reduced, and the bandwidth pressure is reduced.

[0048] Through the embodiments of the present disclosure, in the case that the communication signal indicates that the target link does not meet the target condition, the link parameter of the target link is dynamically adjusted to make the target link achieve the best performance under the current condition, so that the target link meets the target condition, and the communication abnormality problem between the expansion device and the display device is solved.

[0049] In some embodiments of the present disclosure, in the case that the expansion device is in a handshake state, the communication signal includes a first handshake signal obtained through the first interface and / or a second handshake signal obtained through the second interface; in the case that the expansion device is in a working state, the communication signal includes a first image signal obtained through the first interface and / or a second image signal obtained through the second interface.

[0050] In the embodiments of the present disclosure, when the expansion device establishes a communication connection with the electronic device through the first interface, the expansion device will handshake with the electronic device, and at this time, the expansion device is in a handshake state. When the expansion device is in a handshake state, the expansion device and the electronic device will perform a series of negotiation and confirmation processes before establishing a communication connection to ensure that both sides can be compatible and correctly communicate. Similarly, when the expansion device establishes a communication connection with the display device through the second interface, the expansion device also enters a handshake state.

[0051] In the embodiments of the present disclosure, in the case that the expansion device is in a handshake state, the communication signal includes a first handshake signal obtained through the first interface and / or a second handshake signal obtained through the second interface.

[0052] In the embodiments of the present disclosure, whether the target link meets the target condition can be determined by the first handshake signal. For example, whether the expansion device and the electronic device successfully handshake can be determined by the first handshake signal. When the handshake is successful, it can be determined that the target link meets the target condition, and when the handshake fails, it can be determined that the target link does not meet the target condition.

[0053] In the embodiments of the present disclosure, whether the target link meets the target condition can be determined through the second handshake signal. For example, whether the handshake between the extension device and the display device is successful can be determined through the second handshake signal. When the handshake is successful, it can be determined that the target link meets the target condition. When the handshake fails, it can be determined that the target link does not meet the target condition.

[0054] It can be understood that whether the target link meets the target condition can be determined through the first handshake signal and the second handshake signal.

[0055] In the embodiments of the present disclosure, after the handshake is successful, the extension device enters a working state. At this time, the handshake device can receive the image signal from the electronic device through the first interface, and send the received image signal to the display device through the second interface. In the case that the extension device is in the working state, the communication signal includes the first image signal and / or the second image signal.

[0056] In the embodiments of the present disclosure, whether the target link meets the target condition can be determined through the first image signal. For example, when the first image signal is transmitted from the electronic device to the extension device completely, if the display device does not receive the image signal from the extension device, it can be determined that an abnormality occurs in the transmission process of the image signal in the target link, and it can be determined that the target link does not meet the target condition.

[0057] In the embodiments of the present disclosure, whether the target link meets the target condition can be determined through the second image signal. For example, when the second image signal is transmitted from the extension device to the display device through the second interface, it can be determined that the target link meets the target condition. When the display device does not receive the complete second image signal after the extension device sends the second image signal, it can be determined that the target link does not meet the target condition.

[0058] Through the embodiments of the present disclosure, corresponding to different states of the extension device, the communication signal can be embodied into different kinds of signals, thereby improving the accuracy and stability of the determination of the state of the target link, and further improving the reliability of the extension device of the present embodiment.

[0059] In some embodiments of the present disclosure, the processing module is configured to, in response to the communication signal indicating that the target link does not meet the target condition, control the second interface to be powered off and then powered on again to perform handshake communication with the display device, and adjust the link parameter of the target link to make the target link meet the target condition.

[0060] In the embodiments of the present disclosure, in the case that the communication signal indicates that the target link does not meet the target condition, it means that there is a fault or an abnormality in the target link at this time. The second interface is controlled to be powered off and then powered on again to perform handshake communication with the display device, and the link parameter of the target link is adjusted in the process of the handshake communication between the extension device and the display device, so that the target link meets the target condition.

[0061] In the embodiments of the present disclosure, the handshake between devices refers to a series of negotiation and confirmation processes before the two parties of communication establish a connection, for ensuring that the two parties can be compatible and communicate correctly. In the case that the target link does not meet the target condition, the extension device can be made to enter the handshake state by controlling the second interface to be powered off and then powered on again. During the handshake process between the extension device and the display device, the best performance that can be achieved by the target link at this time can be negotiated according to the carrying capacity of the target link by adjusting the link parameters of the target link, so as to make the target link meet the target condition.

[0062] Through the embodiments of the present disclosure, in the case that the target link does not meet the target condition, the target link can be adjusted more quickly and accurately by controlling the extension device to adjust the link parameters of the target link in the handshake state, thereby improving the reliability of the extension device of the present embodiments.

[0063] In some embodiments of the present disclosure, the processing module is configured to: in response to the communication signal indicating that the target link does not meet the target condition, acquire a first signal representing a physical connection state of the target link; and in response to the first signal representing that the physical connection state of the target link is normal, adjust the link parameters of the target link so that the target link meets the target condition.

[0064] In the embodiments of the present disclosure, in the case that the target link does not meet the target condition, a first signal representing a physical connection state of the target link is acquired, and in the case that the first signal represents that the physical connection state of the target link is normal, the link parameters of the target link are adjusted so that the target link meets the target condition.

[0065] In the embodiments of the present disclosure, the first signal can represent the physical on-off of the target link, so as to avoid that the signal for adjusting the link parameters sent by the extension device causes damage to the link when adjusting the link parameters in the disconnected state. In the case that the first signal represents that the target link is disconnected, it can be determined that there is a fault in the target link, and the fault can be reported.

[0066] For example, in the case that the first signal represents that the target link is disconnected, the extension device sends a high-voltage differential signal to adjust the link parameters, which can cause electrostatic damage.

[0067] In the embodiments of the present disclosure, the first signal can be a Hot Plug Detect (HPD) signal. The physical connection state of the target link can be judged by the hot plug detection. If the hot plug detection is skipped and the link parameters are directly adjusted, the risk of chip burning will increase.

[0068] For example, in a case where the target link does not satisfy the target condition, detection is performed based on the HPD signal, and in a case where it is confirmed that the physical connection state of the target link is connected, the link parameter is adjusted.

[0069] By the embodiments of the present disclosure, the connection state of the target link is confirmed through the first signal, and the link parameter is adjusted in a case where the physical connection state of the target link is normal, so that the safety of the target link in the adjustment process can be ensured, and the stability and reliability of the expansion device of the embodiments are improved.

[0070] In some embodiments of the present disclosure, the processing module is configured to: in response to the communication signal indicating that the target link does not satisfy the target condition, obtain a target parameter; and adjust the link parameter of the target link according to the target parameter, so that the target link satisfies the target condition; wherein the target parameter includes a signal transmission parameter of the display device and / or a signal transmission parameter of the electronic device.

[0071] In the embodiments of the present disclosure, the device capability of the display device can be determined according to the signal transmission parameter of the display device. The link parameter of the target link is adjusted according to the signal transmission parameter of the display device, so that the link parameter can be adjusted according to the device capability of the display device, so that the data transmission performance of the target link can be matched with the device capability of the display device, and the target link satisfies the target condition.

[0072] In the embodiments of the present disclosure, the signal transmission parameter of the display device can be determined by reading the EDID (Extended Display Identification Data) data of the display device. By reading the EDID data of the display device, the display capability of the display device can be determined, and the mismatch between supply and demand can be avoided.

[0073] For example, the signal transmission parameter of the display device can include the resolution, refresh rate, color depth and other parameters supported by the display device.

[0074] In the embodiments of the present disclosure, the characteristics of the signal transmitted by the electronic device can be determined according to the signal transmission parameter of the electronic device. The link parameter of the target link is adjusted according to the signal transmission parameter of the electronic device, so that the link parameter can be adjusted according to the characteristics of the signal transmitted by the electronic device, so that the data transmission performance of the target link can be matched with the characteristics of the signal, and the target link satisfies the target condition.

[0075] For example, the signal transmission parameter of the electronic device can include the transmission rate and the number of available channels of the signal transmitted by the electronic device.

[0076] Through embodiments of the present disclosure, according to the signal transmission parameters of the display device and the signal transmission parameters of the electronic device, the transmission performance at both ends of the electronic device and the display device can be matched, the compatibility of the device capability and the availability of the transmission resource are determined, and a safe and performance basis is provided for subsequent adjustment of the link parameters.

[0077] In some embodiments of the present disclosure, the processing module is configured to: in response to the communication signal indicating that the target link does not meet the target condition, acquire a test signal of the electronic device through the first interface; send the test signal to the display device through the second interface; acquire a test result returned by the display device through the second interface, and adjust the link parameters of the target link based on the test result, so that the target link meets the target condition.

[0078] In embodiments of the present disclosure, in the case that the communication signal indicates that the target link does not meet the target condition, the electronic device will send a test signal to the expansion device. After receiving the test signal, the electronic device will send the test signal to the display device through the second interface. The test signal can be a standardized data sequence for evaluating the transmission characteristics of the physical channel (link), and the test signal can convert the link defects into quantifiable signal distortion.

[0079] For example, the test signal can be a Pseudo-Random Bit Sequence (PRBS). When the expansion device sends the PRBS, the ideal test result returned by the display device is a neat square wave. When there is loss in the signal transmission of the target link, the test result actually received by the expansion device may correspond to a signal with smooth edges and amplitude attenuation, which reflects the existence of high-frequency loss in the target link.

[0080] In embodiments of the present disclosure, the test process of acquiring the test result based on the test signal can be equivalent to the process of link training of the target link. Link training refers to determining the actual carrying capacity of the current link through iterative testing, and achieving the best performance within the acceptable range of physical damage through dynamic parameter adjustment.

[0081] In embodiments of the present disclosure, the eye diagram is a visual diagnostic tool formed by superimposing all test signal edges, and the eye diagram corresponding to the target link can be determined through the test result.

[0082] For example, when the eye diagram is vertically closed, it indicates that the amplitude of the target link signal transmission is attenuated, at this time, the voltage swing can be increased, where the voltage swing refers to the voltage range that the signal swings between high and low levels. When the eye diagram is horizontally contracted, it indicates that the clock of the target link signal transmission is jittered, at this time, the clock recovery circuit can be optimized. When the trajectory of the eye diagram is blurred, it indicates that there is noise interference in the target link, at this time, the receiving equalizer can be activated. When the eye diagram has asymmetric distortion, it indicates that the impedance is discontinuous, at this time, the pre-emphasis coefficient can be adjusted.

[0083] Through the embodiment of the present disclosure, in the case that the target link does not meet the target condition, the link parameters of the target link are adjusted through the test results returned by the test signal, the link parameters of the target link can be accurately adjusted according to the current actual situation of the target link, and the reliability of the expansion device of the embodiment is improved.

[0084] Figure 2 FIG. 1 is a structural schematic diagram of an expansion device according to another embodiment of the present disclosure.

[0085] As shown in FIG. 1, different from the foregoing embodiment, the expansion device of the present embodiment further comprises a storage module, which is in communication connection with the processing module and is used for storing a preset fault table. Figure 2

[0086] In the embodiment of the present disclosure, the processing module is configured to: after adjusting the link parameters of the target link, in the case that the target link does not meet the target condition, acquire the fault code of the display device through the second interface; and determine the fault information according to the fault code by querying the preset fault table.

[0087] In the embodiment of the present disclosure, in the case that the target link does not meet the target condition after adjusting the link parameters of the target link, it indicates that the target link cannot be automatically repaired, and the fault information needs to be confirmed and sent to the technician, who repairs the fault of the target link.

[0088] In the embodiment of the present disclosure, the fault code can be stored in the display device. For example, the fault code can be stored in the DisplayPort Configuration Data (DPCD) register of the display device, and the DPCD register is mainly responsible for communicating with the expansion device and negotiating display parameters such as resolution, refresh rate, color depth, etc., so as to ensure correct transmission and display of signals. The DPCD register can generate the fault code according to the test process.

[0089] For example, when the target link has physical layer signal damage (such as impedance mismatch, clock jitter), at this time, it is impossible to diagnose by simple voltage measurement. The fault code of the DPCD register can provide a standardized solution to convert analog signal abnormalities into digital readable codes. ​

[0090] In embodiments of the present disclosure, the storage module stores a preset fault table, and the preset fault table corresponds fault codes to fault information.

[0091] For example, the fault information can include link training failure, i.e., poor physical layer signal quality (such as impedance mismatch). The fault information can include symbol error, i.e., data decoding failure (such as clock offset, electromagnetic interference). The fault information can include host no signal, i.e., abnormal output of a graphics card or interruption of protocol handshake. The fault information can include failure to obtain display information, i.e., EDID reading failure. The fault information can include insufficient host bandwidth, i.e., the device cannot support the current resolution (parameters need to be reduced).

[0092] In embodiments of the present disclosure, each fault information corresponds to a specific fault code, and according to the fault code, the preset fault table can be queried to determine the fault information of the target link.

[0093] In embodiments of the present disclosure, the extension device includes a networking module for sending the fault information to the target terminal.

[0094] For example, the fault information can be sent to a cloud platform through the networking module. The fault information can also be transmitted back to the electronic device through the extension device, and the electronic device can display the fault information on other external display devices that are normally connected to the electronic device, to prompt the user of the fault information of the target link.

[0095] In embodiments of the present disclosure, the extension module includes a troubleshooting assistance module. After determining the fault information, the troubleshooting assistance module can determine problem investigation and solution suggestions corresponding to the fault information according to the fault information, to help the user repair the target link.

[0096] Through embodiments of the present disclosure, in the case where the target link cannot be adjusted to meet the target condition by adjusting the link parameters of the target link, the fault information can be determined through the fault code to help the user accurately determine the fault existing in the target link.

[0097] Figure 3 is a flowchart of a processing method according to embodiments of the present disclosure.

[0098] As shown in Figure 3 The processing method of this embodiment includes operations S310-S330. The processing method of this embodiment is applied to an extension device, which is communicatively connected to an electronic device through a first interface and communicatively connected to a display device through a second interface.

[0099] In operation S310, in response to a communication signal indicating that a target link between the extension device and the display device does not meet a target condition, a test signal of the electronic device is obtained.

[0100] In operation S320, a test signal is sent to the display device.

[0101] In operation S330, a test result returned by the display device is acquired, and a first parameter of the target link is adjusted based on the test result, so that the target link meets the target condition.

[0102] In an embodiment of the present disclosure, the communication signal includes a first communication signal acquired through the first interface and / or a second communication signal acquired through the second interface, and the first parameter characterizes the signal quality of the target link.

[0103] In an embodiment of the present disclosure, the first parameter characterizes the signal quality of the target link. The first parameter can be a physical layer parameter of the target link. For example, the first parameter can include parameters such as voltage swing, pre-emphasis, equalizer coefficient, and clock recovery. The voltage swing is used to characterize the signal amplitude strength in the target link, the pre-emphasis is used to characterize the high-frequency component enhancement degree of the signal in the target link, the equalizer coefficient is used to shape the received end signal of the target link, and the clock recovery is used to calibrate the sampling points of the signal of the target link.

[0104] In an embodiment of the present disclosure, when the test result returned by the display device characterizes the signal integrity degradation (such as eye diagram collapse, error code rate exceeding standard) of the target link, the first parameter can be adjusted.

[0105] For example, the voltage swing is adjusted, according to the attenuation degree of the test signal, the output amplitude of the signal is increased in steps to compensate for the cable loss. The pre-emphasis is optimized, and the signal transition edge strength can be enhanced for high-frequency attenuation characteristics. The equalization configuration is received, and the equalizer coefficient can be dynamically set to resist intersymbol interference.

[0106] Through the embodiments of the present disclosure, in the case that the target link does not meet the target condition, the signal quality of the target link can be adjusted by adjusting the first parameter, so as to maintain the signal quality up to standard at a minimum cost.

[0107] In some embodiments of the present disclosure, further comprising: in response to the target link not meeting the target condition, adjusting a second parameter of the target link based on the test result, so that the target link meets the target condition; wherein the second parameter characterizes a communication architecture feature of the target link.

[0108] In an embodiment of the present disclosure, when the target link still does not meet the target condition after the first parameter is adjusted based on the test result, the second parameter of the target link can be adjusted based on the test result.

[0109] In embodiments of the present disclosure, the second parameter characterizes a communication architecture feature of the target link. For example, the second parameter can include parameters such as link rate, channel quantity, and color depth. The link rate is used to characterize the signal transmission speed in the target link, the channel quantity is used to characterize the number of differential signal pairs of the target link, and the color depth is used to characterize the amount of pixel data of the target link.

[0110] In embodiments of the present disclosure, when the adjustment of the first parameter cannot meet the performance requirement, the transmission performance of the target link can be degraded by adjusting the second parameter.

[0111] For example, degrading the link rate, stepping the link rate from a high rate to a low rate, can sacrifice bandwidth for the stability of data transmission. Reducing the channel quantity can shield a faulty channel and reconstruct the data transmission topology. Compressing the color depth can reduce color accuracy and thereby alleviate the bandwidth pressure of the target link.

[0112] Through embodiments of the present disclosure, the actual carrying capacity of the target link is determined through iterative testing, and by dynamically adjusting the second parameter, the best performance of the target link can be achieved within an acceptable range of physical damage.

[0113] In some embodiments of the present disclosure, adjusting the second parameter based on the test result includes: obtaining a parameter priority of the second parameter, wherein the parameter priority characterizes the priority of at least one parameter in the second parameter; and adjusting the second parameter according to the test result and the parameter priority.

[0114] In embodiments of the present disclosure, when the target link does not meet the target condition, the transmission performance of the target link can be degraded by adjusting the second parameter. The current bandwidth requirement can be calculated in real time, and when the available bandwidth of the target link after degradation is lower than the current bandwidth requirement, dynamic adjustment can be performed according to the parameter priority of the second parameter.

[0115] In embodiments of the present disclosure, the current bandwidth requirement can be determined according to the resolution, refresh rate, and color depth. For example, the current bandwidth requirement = resolution x refresh rate x color depth x 1.2 (protocol overhead coefficient).

[0116] In embodiments of the present disclosure, the parameter priority characterizes the priority of at least one parameter in the second parameter. The second parameter can include multiple parameters, and different parameters have different priorities.

[0117] For example, the resolution parameter is the first priority, the refresh rate is the second priority, and the color depth is the third priority. For the first priority, the native resolution (for example, 3840x2160) can be maintained, and the refresh rate (for example, 60Hz is adjusted to 30Hz) is reduced. For the second priority, the target refresh rate (for example, 144Hz) can be maintained, and visual lossless compression (for example, a compression ratio of 3:1) is enabled. For the third priority, the resolution and refresh rate can be maintained, the color depth (for example, 10bit is adjusted to 8bit) is reduced, and dithering compensation is activated.

[0118] According to the embodiments of the present disclosure, the second parameter is adjusted according to the test result and the parameter priority, a performance degradation-experience guarantee double-track mechanism can be formed, technical disadvantages can be converted into user experience advantages, and the reliability of the processing method of the embodiments is improved.

[0119] Figure 4 is a structural schematic diagram of an extension device according to still another embodiment of the present disclosure.

[0120] As Figure 4 shown, unlike the foregoing embodiments, the extension device of the present embodiment includes a first register, and the display device includes a second register.

[0121] In the embodiments of the present disclosure, the first register of the extension device can be a physical layer register (PHY). The first register is used to store the first parameter (a physical layer parameter, for example, a voltage swing, pre-emphasis, equalizer coefficients, etc.).

[0122] In the embodiments of the present disclosure, the second register of the display device can be a DPCD register. The second register is used to store the second parameter (a link layer parameter, for example, a link rate, a number of channels, and a color depth, etc.).

[0123] According to the embodiments of the present disclosure, the first register and the second register cooperatively constitute a complete control system of the link parameter, the processing module is facilitated to adjust the link parameter, and the reliability of the extension device of the present embodiment is improved.

[0124] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.

[0125] Figure 5is a schematic block diagram of an example electronic device with which embodiments of the present disclosure can be implemented. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present disclosure described and / or claimed in this document.

[0126] As shown in FIG. 5, Figure 5 The device 500 includes a computing unit 501 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 502 or a computer program loaded into a random access memory (RAM) 503 from a storage unit 508. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0127] A plurality of components in the device 500 are connected to the I / O interface 505, including an input unit 506, such as a keyboard, a mouse, and the like; an output unit 507, such as various types of displays, speakers, and the like; the storage unit 508, such as a magnetic disk, an optical disk, and the like; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0128] The computing unit 501 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs various methods and processes described above, such as the processing method. For example, in some embodiments, the processing method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded onto the RAM 503 and executed by the computing unit 501, one or more steps of the processing method described above can be performed. Alternatively, in other embodiments, the computing unit 501 can be configured to perform the processing method by any other suitable means, such as by means of firmware.

[0129] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0130] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces a means for implementing the functions / acts specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0131] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0132] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0133] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0134] The computer system can include clients and servers. This relationship can be. The servers are generally remote from the users and can be accessed via the Internet using a communication network. The relationship can be a client-server relationship over a communications network, and as such, the servers can be accessed by the clients using computer programs. The servers can be cloud servers, also known as cloud computing servers or cloud hosts, which are mainframe products in the cloud computing service system, and solve the defects of large management difficulty and weak business scalability in traditional physical hosts and VPS services (Virtual Private Server, or VPS for short). The servers can also be servers of a distributed system, or servers combined with a blockchain.

[0135] It should be understood that the various forms of flow shown above can be reordered, additional steps added, or steps deleted. For example, the steps described in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present disclosure can be achieved, and the present disclosure is not limited herein.

[0136] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. An extension device comprising: a first interface configured to be communicatively connected with an electronic device; a second interface configured to be communicatively connected with a display device; a processing module configured to adjust a link parameter of a target link between the extension device and the display device to make the target link satisfy a target condition in response to a communication signal indicating that the target link does not satisfy the target condition; wherein the communication signal comprises a first communication signal obtained through the first interface and / or a second communication signal obtained through the second interface, and the link parameter represents a signal transmission characteristic of the target link.

2. The extension device of claim 1, wherein, when the extension device is in a handshake state, the communication signal comprises a first handshake signal obtained through the first interface and / or a second handshake signal obtained through the second interface; and when the extension device is in a working state, the communication signal comprises a first image signal obtained through the first interface and / or a second image signal obtained through the second interface.

3. The extension device of claim 1, wherein the processing module is configured to control the second interface to be powered off and then powered on again to perform handshake communication with the display device and adjust the link parameter of the target link to make the target link satisfy the target condition in response to the communication signal indicating that the target link does not satisfy the target condition.

4. The extension device of claim 1, wherein the processing module is configured to: obtain a first signal representing a physical connection state of the target link in response to the communication signal indicating that the target link does not satisfy the target condition; and adjust the link parameter of the target link to make the target link satisfy the target condition in response to the first signal representing that the physical connection state of the target link is normal.

5. The extension device of claim 1, wherein the processing module is configured to: obtain a target parameter in response to the communication signal indicating that the target link does not satisfy the target condition; and adjust the link parameter of the target link according to the target parameter to make the target link satisfy the target condition; and the target parameter comprises a signal transmission parameter of the display device and / or a signal transmission parameter of the electronic device. wherein 6. The extension device of claim 1, wherein the processing module is configured to: obtain a test signal of the electronic device through the first interface in response to the communication signal indicating that the target link does not satisfy the target condition; send the test signal to the display device through the second interface; and obtain a test result returned by the display device through the second interface, and adjust the link parameter of the target link based on the test result to make the target link satisfy the target condition.

7. The extension device of claim 1, further comprising: a storage module communicatively connected with the processing module and configured to store a preset fault table; and the processing module is configured to: obtain a fault code of the display device through the second interface in a case where the target link does not satisfy the target condition after adjusting the link parameter of the target link. ​ According to the fault code, the preset fault table is inquired to determine fault information.

8. A processing method applied to an extension device, the extension device being communicatively connected with an electronic device through a first interface, and the extension device being communicatively connected with a display device through a second interface; the method comprising: in response to a communication signal indicating that a target link between the extension device and the display device does not satisfy a target condition, obtaining a test signal of the electronic device; sending the test signal to the display device; obtaining a test result returned by the display device, and adjusting a first parameter of the target link based on the test result, so that the target link satisfies the target condition; wherein the communication signal comprises a first communication signal obtained through the first interface and / or a second communication signal obtained through the second interface, and the first parameter represents a signal quality of the target link.

9. The method of claim 8, further comprising: in response to the target link not satisfying the target condition, adjusting a second parameter of the target link based on the test result, so that the target link satisfies the target condition; wherein the second parameter represents a communication architecture feature of the target link.

10. The method of claim 9, wherein the adjusting the second parameter based on the test result comprises: obtaining a parameter priority of the second parameter, wherein the parameter priority represents a priority of at least one parameter in the second parameter; and adjusting the second parameter according to the test result and the parameter priority.