CN114189599A - DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium - Google Patents

DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium Download PDF

Info

Publication number
CN114189599A
CN114189599A CN202210129211.XA CN202210129211A CN114189599A CN 114189599 A CN114189599 A CN 114189599A CN 202210129211 A CN202210129211 A CN 202210129211A CN 114189599 A CN114189599 A CN 114189599A
Authority
CN
China
Prior art keywords
signal
destination
conversion module
speed signal
low
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210129211.XA
Other languages
Chinese (zh)
Other versions
CN114189599B (en
Inventor
刘书扬
李德振
周新亮
李艺
江辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Everpro Technologies Wuhan Co Ltd
Original Assignee
Everpro Technologies Wuhan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Everpro Technologies Wuhan Co Ltd filed Critical Everpro Technologies Wuhan Co Ltd
Priority to CN202210129211.XA priority Critical patent/CN114189599B/en
Publication of CN114189599A publication Critical patent/CN114189599A/en
Application granted granted Critical
Publication of CN114189599B publication Critical patent/CN114189599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/22Adaptations for optical transmission

Abstract

The application relates to a method for processing signal synchronization of a DP active optical cable, wherein the DP active optical cable comprises a source end and a destination end which are arranged oppositely, the source end and the destination end are respectively provided with a corresponding low-speed signal conversion module and a corresponding high-speed signal conversion module, and the method comprises the following steps: detecting a signal of a low-speed signal conversion module of the local terminal or detecting a signal of a high-speed signal conversion module of the local terminal; judging whether the opposite terminal has power failure according to the detection result; and resetting the low-speed signal conversion module of the local terminal in response to the judgment that the opposite terminal is powered off. The method can realize resynchronization without manual power-on operation, and improves user experience.

Description

DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium
Technical Field
The present application relates generally to the field of active optical cables, and in particular, to a DP active optical cable, a method for processing signal synchronization thereof, and a readable storage medium.
Background
The DisplayPort, abbreviated as DP interface, is a digital Video interface standard developed by the alliance of PC and chip manufacturers and standardized by the Video Electronics Standards Association VESA, and is mainly used for connecting a Video source (e.g., a host) to electronic devices such as a display. DP may be used to transmit audio and video simultaneously, and both audio and video may be transmitted separately. The DP interface can support not only full high-definition display resolution (1920 × 1080), but also 4k resolution (3840 × 2160), and the latest 8k resolution (7680 × 4320). The DP interface not only has high transmission rate, but also is reliable and stable.
The signals transmitted by the DP interface consist of data channel signals for transmitting images and auxiliary channel signals for transmitting image-related status and control information. Specifically, the DP data transmission includes a Main Channel (Main Link), an auxiliary Channel (AUX Channel), and a connection (Link tracing). The auxiliary Channel (AUX Channel) is an independent bidirectional transmission Channel in a DP interface, and adopts an alternating current coupling differential transmission mode and a bidirectional half-duplex transmission mode, and the single direction rate is about 1 Mbit/s. The auxiliary Channel (AUX Channel) is based on the AUX protocol, and is used for transmitting setting and control instructions, and specifically includes: reading Extended Display Identification Data (EDID) to ensure proper transmission of the DP signal; reading information of DP interfaces supported by the electronic equipment such as a display, such as the number of main channels and the transmission rate of DP signals; setting various display configuration registers; reading the status register of the electronic device.
The DP cable is a cable with a DP interface that includes a DP active optical cable. The DP active optical cable is a communication cable that converts an electrical signal into an optical signal or converts an optical signal into an electrical signal by means of an external energy source during communication, and optical transceivers at two ends of the DP active optical cable provide photoelectric conversion and optical transmission functions. The DP active optical cable includes a Source end (Source) and a destination end (Sink), both ends of which have a photoelectric conversion chip (e.g., a low-speed signal conversion module and a high-speed signal conversion module hereinafter). The photoelectric conversion chip is used for converting an electric signal into an optical signal or converting the optical signal into the electric signal. The DP active optical cable is duplex, so the Source end (Source) can not only send signals, but also receive signals; the destination (Sink) can not only receive signals but also transmit signals.
The DP active optical cable comprises four paths of high-speed signals (ML 0-ML 3), which are sent by a source end (such as a host) and transmitted to a destination end (such as a display) in a unidirectional mode through optical fibers, two paths of low-speed signals (HPD + AUX) are transmitted between the source end and the destination end in a bidirectional mode through the optical fibers, and the two paths of low-speed signals comprise an HPD (Hot Plug Detect) signal and an AUX (Auxiliary transmission) signal. The HPD signal is used to detect the connection of the display to the destination, and the AUX signal is used to transmit the signal of the auxiliary Channel (AUX Channel).
Under normal conditions, after the source end and the destination end are powered on, the source end transmits display related information including information such as resolution, refresh rate and EDID supported by the display through two paths of low-speed signals (HPD + AUX), the source end transmits high-speed signals to the destination end after the AUX signals at the two ends of the DP active optical cable are normal, and the destination end displays display contents transmitted by the source end. Due to the fact that the source end and the destination end are included in the DP active optical cable, the source end and the destination end are separately powered, for example, the source end is powered by the host, and the destination end is powered by the display. Therefore, in the using process, if the source end or the destination end is powered on after power failure, the opposite end may not know the information, so that the states of the source end and the destination end are asynchronous, and finally, the display cannot display. Generally, when such a problem occurs, the opposite end needs to be powered up again (for example, plugging operation is performed) to reset the AUX state machine, so as to establish a connection again, but in various application scenarios (for example, in an environment where a DP active optical cable is used for long-distance transmission, or in an environment where reliability requirements are high such as medical treatment), the plugging operation is not convenient to perform, or the plugging operation takes a long time, so that normal use of the device is affected, and poor user experience is caused.
Disclosure of Invention
The application provides a method for processing signal synchronization of a DP active optical cable, which is used for solving the problem that the DP active optical cable cannot be synchronized when power failure occurs. The application also provides a DP active optical cable and a computer readable storage medium for realizing the method.
According to a first aspect of the present application, a method for processing signal synchronization of a DP active optical cable is provided, where the DP active optical cable includes a source end and a destination end that are arranged oppositely, and the source end and the destination end are both provided with a corresponding low-speed signal conversion module and a corresponding high-speed signal conversion module, and the method includes: detecting a signal of a low-speed signal conversion module of the local terminal or detecting a signal of a high-speed signal conversion module of the local terminal; judging whether the opposite terminal has power failure according to the detection result; and resetting the low-speed signal conversion module of the local terminal in response to the judgment that the opposite terminal is powered off.
In one embodiment, the method is applied to a source; judging whether the opposite terminal has power failure according to the detection result comprises the following steps: and detecting the signal of the low-speed signal conversion module of the source end, and judging whether the opposite end has power failure according to the signal of the low-speed signal conversion module of the source end.
In one embodiment, the method is applied to a destination; judging whether the opposite terminal has power failure according to the detection result comprises the following steps: detecting a signal of a low-speed signal conversion module of a destination end, and judging whether the opposite end has power failure according to the signal of the low-speed signal conversion module of the destination end; or detecting the signal of the high-speed signal conversion module of the destination end, and judging whether the opposite end has power failure according to the signal of the high-speed signal conversion module of the destination end.
In one embodiment, detecting the signal of the high-speed signal conversion module at the destination comprises: detecting an electric signal obtained by photoelectric conversion of a high-speed signal conversion module at a destination end; or accessing the high-speed signal conversion module of the destination end to acquire the information whether the source end has power failure.
In one embodiment, the signals of the low-speed signal conversion module comprise an auxiliary channel signal (AUX) and a hot plug detect signal (HPD); the detection of the signal of the low-speed signal conversion module at the local terminal comprises the following steps: and detecting an auxiliary channel signal (AUX) of the local terminal, or detecting the auxiliary channel signal (AUX) of the local terminal and a hot plug detection signal (HPD) of the local terminal.
In one embodiment, the low-speed signal conversion module comprises a serializer and a deserializer; resetting the low-speed signal conversion module of the local terminal comprises: resetting a serializer and a deserializer in a low-speed signal conversion module of the local terminal.
In one embodiment, in response to determining that the destination has not been powered down, detecting a state of a hot plug detect signal (HPD) of the source; responding to the low level of the hot plug detection signal (HPD) of the source end, enabling an auxiliary channel signal (AUX) of the source end to be in an input state, and enabling the hot plug detection signal (HPD) of the source end to output the low level; and responding to the high level of the hot plug detection signal (HPD) of the source end, and maintaining the states of the auxiliary channel signal (AUX) and the hot plug detection signal (HPD) of the source end.
In one embodiment, in response to determining that the source has not been powered down, a hot plug detect signal (HPD) of the destination is detected; in response to the hot plug detection signal (HPD) of the destination being low level, making the auxiliary channel signal (AUX) of the destination an input state and making the hot plug detection signal (HPD) of the destination an input state; in response to the hot plug detect signal (HPD) of the destination being high level, the hot plug detect signal (HPD) of the destination is changed to an input state, and the state of the auxiliary channel signal (AUX) of the destination is maintained.
According to a second aspect of the present application, there is provided a DP active optical cable comprising a source end and a destination end arranged opposite to each other, and an optical cable between the source end and the destination end, the source end and the destination end being adapted to implement the method according to any one of the first aspect of the present application.
According to a third aspect of the present application, there is provided a computer readable storage medium comprising a computer program of a method for handling signal synchronization of a DP active optical cable, which when executed implements the method as defined in any one of the first aspects of the present application.
According to the method, the signals of the low-speed signal conversion module or the high-speed signal conversion module in the DP active optical cable are detected, when the signals are detected to be abnormal, the opposite terminal is judged to be powered off, and then the low-speed signal conversion module is reset to carry out synchronization again, so that normal communication of the source terminal and the destination terminal is maintained, and due to the fact that the home terminal does not need to be powered on again, user experience is improved.
Furthermore, by detecting the AUX signal of the source end or the destination end, when the AUX signal is abnormal, the serializer and the deserializer of the low-speed signal conversion module are reset to resynchronize the AUX signal, so that the synchronization of the source end and the destination end is ensured.
Furthermore, the method only needs to reset the low-speed signal conversion module, namely only needs to reset the serializer and the deserializer in the low-speed signal conversion module, and is easy to realize, for example, the method can be realized by controlling the low-speed signal conversion module through related control commands, and can be integrated at a source end and a destination end in a computer program form, so that the stability of the DP active optical cable for realizing the method is greatly improved.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 is a schematic structural view of a DP active optical cable;
FIG. 2 is a schematic diagram of the structure of a low speed signal path;
fig. 3 is a process of signal synchronization between a source terminal and a destination terminal;
FIG. 4 is a schematic flow chart diagram of a method for processing signal synchronization for a DP active optical cable according to an embodiment of the present disclosure;
FIG. 5 is a schematic illustration of a detection mode according to an embodiment of the present application;
FIG. 6 is a schematic illustration of a detection mode according to another embodiment of the present application;
fig. 7 is a flow chart illustrating a method for processing signal synchronization of a DP active optical cable at a source end according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a method for processing signal synchronization of a DP active optical cable for a destination according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be understood that the terms "first", "second", etc. when used in the claims, specification and drawings of this application are used solely to distinguish one from another and are not intended to describe a particular sequence. The terms "comprises" and "comprising," when used in the specification and claims of this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Fig. 1 shows a schematic structural diagram of a DP active optical cable. For clarity purposes, a host (as a video source) and a display are also shown. The DP active optical cable comprises an optical cable and interface devices at two ends of the optical cable, and the two interface devices are respectively connected with the host and the display. In this application, an interface device connected to a host is referred to as a Source (Source), and an interface device connected to a display is referred to as a destination (Sink). Specifically, the source terminal and the destination terminal include a high-speed signal path for transmitting a high-speed signal and a low-speed signal path for transmitting a low-speed signal therebetween, the high-speed signal paths being used for transmitting four unidirectional high-speed signals ML0, ML1, ML2 and ML3, for example, for transmitting a video signal from a host to a display. The low-speed signal channel is used for transmitting AUX signals and HPD signals, adopts a transparent transmission scheme, and uses one optical fiber for transmission. The source end can get power from the host, and the destination end can get power from the display.
In the transmission process of the high-speed signal, the low-speed signal is also transmitted between the source end and the destination end, so as to ensure the synchronization of the source end and the destination end in the transmission process of the high-speed signal.
Fig. 2 shows a schematic structure of a low-speed signal channel. The low-speed signal channel comprises a source terminal controller 1 at the source terminal and a low-speed signal conversion module (i.e. a first low-speed signal conversion module 2) at the source terminal, a destination terminal controller 3 at the destination terminal and a low-speed signal conversion module (i.e. a second low-speed signal conversion module 4) at the destination terminal. The first low-speed signal conversion module 2 at the source end includes a first photoelectric conversion module 21 and a first parsing and coding/decoding module 22, and the second low-speed signal conversion module 4 at the destination end includes a second photoelectric conversion module 41 and a second parsing and coding/decoding module 42. The first photoelectric conversion module 21 and the second photoelectric conversion module 41 are connected by an optical fiber. The first analyzing and coding/decoding module 22 is configured to analyze, code and transmit the electrical signal received from the source controller 1 to the first photoelectric conversion module 21, and decode the electrical signal received from the first photoelectric conversion module 21; the second analyzing and encoding/decoding module 42 is configured to analyze, encode, and transmit the electrical signal received from the destination controller 3 to the second photoelectric conversion module 42, and decode the electrical signal received from the second photoelectric conversion module 42. It should be noted that the source controller 1, the first low-speed signal conversion module 2, the destination controller 3, and the second low-speed signal conversion module 4 are all mature devices or products in the prior art, and therefore detailed structures thereof are not described herein again.
For the high-speed signal channel, a high-speed signal conversion module of a source end and a high-speed signal conversion module of a destination end are also arranged. The high-speed signal conversion module is used for operations such as photoelectric conversion, coding and decoding. The high-speed signal conversion module also belongs to the prior art, and the detailed structure thereof is not described herein.
And the source end and the destination end can realize synchronization by utilizing the interaction of low-speed signals. As shown in fig. 2, the HPD signal may be generated by the destination (for example, the HPD signal is pulled up when the display is charged and the destination is connected), and the HPD signal is sent to the second parsing and coding module 42 through the destination controller 3, the HPD signal is encoded by the second parsing and coding module 42 and converted into an optical signal by the second photoelectric conversion module 41, the optical signal is sent to the first photoelectric conversion module 21 through the optical fiber, the optical signal is converted into an electrical signal by the first photoelectric conversion module 21 and decoded into the HPD signal by the first parsing and coding module 21, and the HPD signal is received by the source controller 1, so that whether the destination is connected to the display or not can be known. The AUX signal, unlike the HPD signal, may be generated by the source terminal and finally transmitted to the destination terminal, or may be generated by the destination terminal and finally transmitted to the source terminal. After the source end and the destination end establish normal AUX communication, the high-speed signal of the DP active optical cable can be transmitted from the source end to the destination end, and the AUX signal between the source end and the destination end needs to be kept synchronous in the high-speed signal transmission process.
Fig. 3 shows a process of signal synchronization between a source terminal and a destination terminal. In an initial state, after the power source is powered on, the AUX signal is in an input state (for example, the AUX signal in the input state indicates waiting to be operated by the host or the power source), and the HPD signal is in a low level; after the destination is powered on, the AUX signal is in an input state (for example, indicating waiting to be operated by the display or the destination), and the HPD signal is in an input state (for example, the HPD signal is in the input state indicating waiting to be pulled high by the display). The process of signal synchronization between the source terminal and the destination terminal comprises the following sub-processes:
in the sub-process (1), when the HPD signal of the destination is pulled high (for example, the display pulls the HPD signal high), the destination controller 3 sends the pulled HPD signal to the second parsing and coding/decoding module 42.
In the sub-process (2), the second parsing and encoding/decoding module 42 encodes the received HPD signal and transmits the encoded HPD signal to the second photoelectric conversion module 41.
In the sub-process (3), the second photoelectric conversion module 41 converts the encoded HPD signal into an optical signal, and transmits the optical signal to the first photoelectric conversion module 21 through an optical fiber.
In the sub-process (4), the first photoelectric conversion module 21 converts the received optical signal into an electrical signal, and sends the electrical signal to the first parsing and coding module 22.
In the sub-process (5), the first parsing and coding/decoding module 22 decodes the received electrical signal to obtain the HPD signal (high level) of the destination, and sends the HPD signal to the source controller 1.
In the sub-process (6), after the source controller 1 receives the HPD signal (high level) from the destination, it can be determined that the display of the destination is connected, and an AUX signal is sent to the first parsing and coding/decoding module 22.
In the sub-process (7), the first parsing and coding module 22 parses the received AUX signal, obtains the state of the AUX, encodes the state, and sends the state to the first photoelectric conversion module 21.
In the sub-process (8), the first photoelectric conversion module 21 converts the received electrical signal into an optical signal, and transmits the optical signal to the second photoelectric conversion module 41 through an optical fiber.
In the sub-process (9), the second photoelectric conversion module 41 converts the received optical signal into an electrical signal and sends the electrical signal to the second parsing and coding/decoding module 42.
And in the sub-process (10), the second parsing and coding module 42 decodes the received AUX signal and transmits the decoded AUX signal to the destination controller 3.
In the sub-process (11), the destination controller 3 processes the received AUX signal, generates an AUX signal for reply, and sends the AUX signal to the second parsing and coding module 42.
The sub-process (12), the second parsing and coding module 42 parses the received AUX signal for reply, obtains the AUX status, and performs coding, and sends to the second photoelectric conversion module 41.
In the sub-process (13), the second photoelectric conversion module 41 converts the received electrical signal into an optical signal, and transmits the optical signal to the first photoelectric conversion module 21 through an optical fiber.
In the sub-process (14), the first photoelectric conversion module 21 converts the received optical signal into an electrical signal and transmits the electrical signal to the first parsing and coding module 22.
The subprocess (15), the first parsing and coding module 22 decodes the received AUX signal for reply and sends it to the source controller 1.
The AUX signal generated by the source controller 1 and the AUX signal generated by the destination controller 3 for reply have a corresponding mapping relationship. Therefore, the sub-process (1) to the sub-process (15) are equivalent to the process of handshaking between the source end and the destination end, and in the subsequent communication process (for example, in the process of transmitting video data through a high-speed signal channel), the sub-process (6) to the sub-process (15) are repeated continuously, that is, the source end generates an AUX signal and transmits the AUX signal to the destination end, and the destination end replies the AUX signal and transmits the AUX signal to the source end, so that the source end and the destination end can keep synchronization according to the AUX signal. For example, if the source end finds that the AUX signal returned by the destination end does not meet the requirement, it may be determined that the source end and the destination end are out of synchronization.
Moreover, the HPD signal is always kept in a high state during communication. If the source end detects that the HPD signal of the destination end becomes low and exceeds a certain time (e.g. 2 ms), the source end interrupts the communication process (including the transmission process of the high-speed signal channel and the low-speed signal channel), waits for the HPD signal to be pulled up again, and then repeats the sub-process (1) to the sub-process (15) for synchronization.
If the source terminal and the destination terminal are in normal operation, the destination terminal is powered off briefly due to some abnormal factor and powered on again, and due to the influence of the power off, for example, in the sub-process (11), the destination terminal may not recover a correct AUX signal after being powered on again, so that the source terminal and the destination terminal are out of synchronization. Moreover, because the power-down time is short, after the destination terminal is powered on, the HPD signal of the source terminal is still at a high level, that is, the source terminal does not detect the change of the HPD signal of the destination terminal, and the source terminal considers that the HPD signal of the destination terminal is always at a high level, the source terminal can continue to be in the synchronization process before the power-down, and the handshake and synchronization cannot be performed again.
Accordingly, if the source terminal is powered off and powered on again due to some abnormal factor when the source terminal and the destination terminal are working normally, due to the influence of the power-off, for example, in the sub-process (6), the source terminal may not send a correct AUX signal after being powered on again, or in the sub-process (15), the source terminal may not correctly judge the received AUX signal after being powered on again, so that the source terminal and the destination terminal are out of synchronization. Moreover, according to the sub-process (1) to the sub-process (5), the HPD signal of the destination is not affected by the source, that is, the destination cannot know the power-down condition of the source through the HPD signal, so that the sub-process (1) is not actively performed again to perform re-handshake and synchronization.
In order to solve the above problem, in general, the opposite terminal needs to be powered up again, for example, after the source terminal is powered down abnormally and is powered up again, the destination terminal needs to be powered up again, and after the destination terminal is powered down abnormally and is powered up again, the source terminal needs to be powered up again, so that the source terminal and the destination terminal execute the sub-process (1) to the sub-process (15) again to perform handshake and synchronization again. For example, the DP active cable may be plugged and unplugged to re-power the source and destination terminals. However, in some application environments, especially medical and other application environments with high reliability requirements, the current operation is interrupted by powering up the opposite terminal again, which is hardly acceptable.
Fig. 4 illustrates a method for processing signal synchronization for a DP active optical cable according to an embodiment of the present application. According to the first aspect of the present application, the method for processing signal synchronization of a DP active optical cable includes steps S1 to S3.
Step S1, detecting a signal of the local low-speed signal conversion module or detecting a signal of the local high-speed signal conversion module.
And step S2, judging whether the opposite terminal has power failure according to the detection result.
And step S3, resetting the low-speed signal conversion module of the local terminal in response to the judgment that the opposite terminal has power failure.
The local terminal and the opposite terminal refer to a source terminal and a destination terminal which are opposite, that is, when the source terminal is the local terminal, the destination terminal is the opposite terminal, and when the destination terminal is the local terminal, the source terminal is the opposite terminal. That is, the method of the present application can be applied to both the source side and the destination side. For example, at the source end, a signal of the low-speed signal conversion module of the source end is detected to judge whether the destination end has power failure, and the low-speed signal conversion module of the source end is reset in response to the power failure of the destination end. If the source end is in the low-speed signal conversion module, the source end is reset, and the low-speed signal conversion module is reset. The occurrence of power failure at the destination end means that the destination end has power failure, and the current destination end is powered on again or is still in a power failure state.
In step S1, as shown in fig. 2, the signal of the first low-speed signal conversion module 2 at the source end refers to a signal that can be detected by the source-end controller 1, such as an AUX signal and an HPD signal interacted between the first parsing and coding module 22 and the source-end controller 1. The signal of the second low-speed signal conversion module 4 at the destination is a signal that can be detected by the destination controller 3, for example, an AUX signal and an HPD signal that are interacted between the second parsing and coding module 42 and the destination controller 3.
In step S3, the low-speed signal conversion module includes an analysis and coding/decoding module and a photoelectric conversion module. Since the photoelectric conversion module cannot be reset, resetting the low-speed signal conversion module is resetting the analysis and coding/decoding module.
FIG. 5 shows a schematic diagram of a detection mode according to an embodiment of the present application. Whether the source end or the destination end is used, whether the opposite end is powered down or not can be judged by detecting the signal of the low-speed signal channel of the local end. As shown in fig. 5, the source controller 1 determines whether the source has the power failure by detecting a signal transmitted to the source by the first low-speed signal conversion module 2, and the destination controller 3 determines whether the source has the power failure by detecting a signal transmitted to the source by the second low-speed signal conversion module 4.
By way of example, detecting the signal of the local low-speed signal conversion module includes: and detecting AUX signals and HPD signals obtained by photoelectric conversion of a low-speed signal conversion module at the local end. As shown in fig. 2, if the source controller 1 detects that the AUX _ OE signal (AUX _ OE signal belonging to the AUX signal) transmitted thereto by the first parsing and coding module 22 is pulled high for more than a set time (e.g., 500 us), and at the same time, the HPD signal transmitted thereto by the first parsing and coding module 22 is at a high level or a low level and is maintained for more than a predetermined time (e.g., 1 ms), it determines that the power failure has occurred at the destination.
In this embodiment, the AUX signal of the local terminal is the main detection object, and the HPD signal is used as a reference. In other embodiments, only the AUX signal may be detected, or other AUX signals other than AUX _ OE may be detected.
Similarly, as shown in fig. 2, if the destination controller 3 detects that the AUX _ OE signal transmitted to it by the second parsing and coding module 42 is pulled up for more than a set time (e.g. 500 us), and at the same time, the HPD signal transmitted to the second parsing and coding module 42 is at a high level or a low level and remains for more than a predetermined time (e.g. 1 ms), it determines that the source is powered down.
That is to say, in this embodiment, the criterion for the power failure occurring at the opposite end is as follows: the AUX _ OE signal at the local terminal is pulled high and the HPD signal at the local terminal remains high or low. The AUX _ OE signal is pulled high to indicate a transmission failure, and the HPD signal remains high or low to indicate that the local terminal is in a more stable state. In addition, the set time is selected to be 500us, so that the condition of the power failure of the destination terminal can be sensitively detected. In other embodiments, to increase sensitivity, smaller set time thresholds may be chosen, such as 400us and 300 us; of course, it is also possible to choose a larger set time threshold, for example 600us or 700 us.
Fig. 6 shows a schematic diagram of a detection mode according to another embodiment of the present application. At the source end, whether the opposite end has power failure or not can be judged by detecting the signal of the low-speed signal channel of the local end. And at the destination end, whether the opposite end has power failure or not can be judged by detecting the signal of the low-speed signal channel of the home end, and whether the opposite end has power failure or not can be judged by detecting the signal of the high-speed signal channel of the home end. As shown in fig. 6, a high-speed signal channel is shown, which includes a high-speed signal conversion module 5 at a source end and a high-speed signal conversion module 6 at a destination end (the high-speed signal conversion module is mainly used for photoelectric conversion, encoding and decoding, etc., and as belonging to the prior art, the specific structure thereof is not described herein again). The source controller 1 determines whether the destination is powered down by detecting a signal transmitted to the source by the first low-speed signal conversion module 2. The destination controller 3 can determine whether the source has power failure by detecting the signal transmitted to it by the second low-speed signal conversion module 4 of the destination, and also determine whether the source has power failure by detecting the signal received by the high-speed signal conversion module 6 of the destination.
The reason for this is that the high-speed signal path is a single-phase path from the source end to the destination end, and therefore the signal received by the high-speed signal conversion module 6 of the destination end can reflect the state of the source end. For example, in an application scenario, the information of whether the source end has power failure or not may be obtained by directly detecting the electrical signal obtained by performing photoelectric conversion on the high-speed signal conversion module 6 of the destination end. In another application scenario, the signal of the high-speed signal conversion module 6 of the destination can be detected in an indirect manner to obtain the information whether the source has power failure; by way of example, the high-speed signal conversion module 6 includes an internal processor and a correlation circuit, and the processor controls the correlation circuit to process the high-speed signal from the source, so that various information of the source can be acquired. Specifically, the processor exhibits different functions according to different chip designs, for example, the processor may acquire information on whether power failure has occurred at the source end and store the information in a corresponding register. Thus, by communicating with the processor (e.g., via serial communication), the processor may access the registers to return information as to whether power loss has occurred at the source.
In step S3, the resetting the local low-speed signal conversion module includes: resetting a serializer and a deserializer in a low-speed signal conversion module of the local terminal. The first low-speed signal conversion module 2 or the second low-speed signal conversion module 4 includes a serializer and a deserializer. A SERializer/DESerializer (SerDes) is an interface circuit in high-speed data communication, and can effectively reduce the number of pins and tracks and improve the communication data rate. Since the serializer/deserializer is already common in the field of high-speed data communication, the structure, function, and usage of the serializer/deserializer will not be described herein.
Fig. 7 illustrates a method for processing signal synchronization of a DP active optical cable at a source end, according to an embodiment of the present application, including the following steps:
in step S101, relevant signals of the source end, such as the AUX _ OE signal and the HPD signal of the source end, are detected.
And S102, judging whether the destination terminal is powered down or not according to the detection result. For example, if the AUX _ OE signal of the source terminal is pulled high and the HPD signal remains at a high level or a low level, it is determined that the power failure occurs at the destination terminal.
And step S103, if the power failure of the destination end is judged, resetting the serializer and the deserializer of the local end. After resetting, the source end is in an initial state. The initial state is that the AUX signal is in the input state and the HPD outputs a low level.
In the initial state, the source terminal waits for an HPD signal from the destination terminal. After the destination is powered off and powered on again, the HPD signal (high level) generated by the destination sub-process (1) is sent to the source, and the source can execute the sub-process (6) to restart handshaking and synchronization of the AUX signal. Therefore, according to the method of the embodiment of the application, when the destination terminal is powered off, the source terminal can respond in time, and the source terminal and the destination terminal can be synchronized again without manual power-on operation.
And if the destination end is judged not to be powered down, jumping to the step S104, and judging the state of the HPD signal. If the destination end is not powered down, the current source end and the destination end are in a normal working state.
If the HPD signal is determined to be at a low level, the process goes to step S105 to make the source end in the initial state. If the HPD signal is low, it means that the HPD signal (high level) generated by the sub-process (1) of the destination has not been received, and therefore, the source end needs to be in an initial state to wait for the HPD signal of the destination end.
If the HPD signal is at a high level, the process goes to step S106, detects the state of the AUX signal, and goes to step S107 or step S108 depending on the state of the AUX signal. In step S107, when the AUX signal is in the input state, the AUX signal is held in the input state, and the HPD signal is held at the high level. In step S108, if the AUX signal is in the output state, the AUX signal is held in the output state, and the HPD signal is held at the high level.
If the HPD signal is high, it indicates that the source end has received the HPD signal (high level) generated by the sub-process (1) of the destination end, and the source end and the destination end are in the synchronization process from the sub-process (6) to the sub-process (15), in this case, the state of the AUX signal and the state of the HPD signal are maintained.
Fig. 8 illustrates a method for processing signal synchronization of a DP active optical cable for a destination according to an embodiment of the present application, including the steps of:
step S201, detecting relevant signals of the destination, such as the AUX _ OE signal and the HPD signal described above; or detecting a signal of the high-speed signal channel at the destination, for example, an electrical signal obtained by performing photoelectric conversion by the above-mentioned high-speed signal conversion module, or accessing a signal acquired by the high-speed signal conversion module.
Step S202, judging whether the source end has power failure according to the detection result. For example, if the AUX _ OE signal of the local terminal is pulled high and the HPD signal remains at a high level or a low level, it is determined that power failure has occurred at the source terminal. And if the source end is in power failure, accessing the high-speed signal conversion module to obtain the power failure information of the source end so as to judge whether the source end is in power failure.
And step S203, if the source end is judged to be powered down, resetting the serializer and the deserializer of the local end. After resetting, the destination terminal is in an initial state. The target terminal is in an initial state, namely, the AUX signal is in an input state, and the HPD is in an input state.
In the initial state, the HPD is in the input state, i.e. the destination waits for the display to pull the HPD signal high, and then the sub-process (1) can be executed. After the source end is powered off and powered on again, the destination end executes a sub-process (1) to send an HPD signal (high level) to the source end, and the source end can execute a sub-process (6) to start synchronization of the AUX signal. Therefore, according to the method of the embodiment of the application, when the source end is powered off, the destination end can respond in time to perform synchronization again, and manual power-on operation is not needed.
And if the source end is judged not to be powered down, jumping to the step S204, and judging the state of the HPD signal. If the source end is not powered down, the current source end and the destination end are in a normal working state.
If the HPD signal is determined to be at a low level, the process goes to step S205 to place the destination in an initial state. The HPD signal is low, which may be that the display has not pulled the HPD signal high, and the destination has not started the sub-process (1), so that the destination needs to be in an initial state to wait for the operation of the display.
If the HPD signal is at a high level, the process goes to step S206, detects the state of the AUX signal, and goes to step S207 or step S208 depending on the state of the AUX signal. In step S207, if the AUX signal is in the input state, the AUX signal is held in the input state and the HPD signal is held in the input state. In step S208, if the AUX signal is in the output state, the AUX signal is kept in the output state, and the HPD signal is in the input state.
Wherein, the HPD signal is high level, which indicates that the display has pulled the HPD signal high, the source terminal and the destination terminal are in the synchronization process from the sub-process (1) to the sub-process (15), in this case, the state of the AUX signal is maintained, and the HPD signal is in the input state to respond to the operation of the display.
According to the second aspect of the present application, there is also provided a DP active optical cable, including a source end and a destination end which are arranged oppositely, and an optical cable between the source end and the destination end, where the source end and the destination end are used to implement the method for signal synchronization of the DP active optical cable according to the first aspect of the present application, for example, the source end is used to implement the method steps shown in fig. 7, and the destination end is used to implement the method steps shown in fig. 8. Since the method of the first aspect of the present application has been described in detail above, it is not described herein again. The DP active optical cable of the application can timely respond to resynchronization when a certain end is powered off, so that the stability of the DP active optical cable is greatly improved.
According to a third aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed, performs the steps described in the method embodiments of the first aspect of the present application, e.g. the source peer performs the method steps shown in fig. 7 and the destination peer performs the method steps shown in fig. 8. By executing the computer program, signal synchronization of the DP active optical cable can be realized, so that manual re-electrifying operation of the local terminal is not needed when the opposite terminal is powered off, and the user experience is improved. The computer program may be executed by the source controller 1 shown in fig. 2 to implement the method steps shown in fig. 7, or executed by the destination controller 3 to implement the method steps shown in fig. 8, which is not described herein again since the method of the first aspect of the present application has been described in detail above.
In the present application, the aforementioned readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, the computer-readable storage medium may be any suitable magnetic or magneto-optical storage medium, such as resistive Random Access Memory (rram), Dynamic Random Access Memory (dram), Static Random Access Memory (SRAM), enhanced Dynamic Random Access Memory (edram), High-Bandwidth Memory (HBM), hybrid Memory cubic (hmc) Memory cube, and the like, or any other medium that can be used to store the desired information and that can be accessed by an application, a module, or both. Any such computer storage media may be part of, or accessible or connectable to, a device. Any applications or modules described herein may be implemented using computer-readable/executable instructions that may be stored or otherwise maintained by such computer-readable media.
In light of the foregoing description of the present specification, those skilled in the art will also understand that terms used to indicate orientation or positional relationship, such as "upper" and "lower", are based on the orientation or positional relationship shown in the drawings of the present specification, which are used for the purpose of convenience in explaining aspects of the present application and simplifying description, and do not explicitly or implicitly indicate that the device or element involved must have the specific orientation, be constructed and operated in the specific orientation, and thus the above-described orientation or positional relationship terms should not be interpreted or construed as limiting the aspects of the present application.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for processing signal synchronization of a DP active optical cable, wherein the DP active optical cable comprises a source end and a destination end which are arranged oppositely, and the source end and the destination end are respectively provided with a corresponding low-speed signal conversion module and a corresponding high-speed signal conversion module, and the method comprises the following steps:
detecting a signal of a low-speed signal conversion module of the local terminal or detecting a signal of a high-speed signal conversion module of the local terminal;
judging whether the opposite terminal has power failure according to the detection result;
and resetting the low-speed signal conversion module of the local terminal in response to the judgment that the opposite terminal is powered off.
2. The method of claim 1, applied to a source end; judging whether the opposite terminal has power failure according to the detection result comprises the following steps:
and detecting the signal of the low-speed signal conversion module of the source end, and judging whether the opposite end has power failure according to the signal of the low-speed signal conversion module of the source end.
3. The method of claim 1, wherein the method is applied to a destination; judging whether the opposite terminal has power failure according to the detection result comprises the following steps:
detecting a signal of a low-speed signal conversion module of a destination end, and judging whether the opposite end has power failure according to the signal of the low-speed signal conversion module of the destination end; or
And detecting the signal of the high-speed signal conversion module of the destination end, and judging whether the opposite end has power failure according to the signal of the high-speed signal conversion module of the destination end.
4. The method of claim 3, wherein detecting the signal of the high-speed signal conversion module of the destination comprises:
detecting an electric signal obtained by photoelectric conversion of a high-speed signal conversion module at a destination end; or
And accessing the high-speed signal conversion module of the destination end to acquire the information whether the source end has power failure or not.
5. The method according to any one of claims 1 to 4, wherein the signals of the low-speed signal conversion module comprise an auxiliary channel signal (AUX) and a hot plug detect signal (HPD); the detection of the signal of the low-speed signal conversion module at the local terminal comprises the following steps:
and detecting an auxiliary channel signal (AUX) of the local terminal, or detecting the auxiliary channel signal (AUX) of the local terminal and a hot plug detection signal (HPD) of the local terminal.
6. The method of claim 5, wherein the low-speed signal conversion module comprises a serializer and a deserializer; resetting the low-speed signal conversion module of the local terminal comprises:
resetting a serializer and a deserializer in a low-speed signal conversion module of the local terminal.
7. The method of claim 5,
responding to the judgment that the destination end is not powered down, and detecting the state of a hot plug detection signal (HPD) of the source end;
responding to the low level of the hot plug detection signal (HPD) of the source end, enabling an auxiliary channel signal (AUX) of the source end to be in an input state, and enabling the hot plug detection signal (HPD) of the source end to output the low level;
and responding to the high level of the hot plug detection signal (HPD) of the source end, and maintaining the states of the auxiliary channel signal (AUX) and the hot plug detection signal (HPD) of the source end.
8. The method of claim 5,
responding to the judgment that the source end is not powered down, and detecting a hot plug detection signal (HPD) of a destination end;
in response to the hot plug detection signal (HPD) of the destination being low level, making the auxiliary channel signal (AUX) of the destination an input state and making the hot plug detection signal (HPD) of the destination an input state;
in response to the hot plug detect signal (HPD) of the destination being high level, the hot plug detect signal (HPD) of the destination is changed to an input state, and the state of the auxiliary channel signal (AUX) of the destination is maintained.
9. A DP active optical cable comprising oppositely disposed source and destination ends and an optical cable between the source and destination ends, wherein the source and destination ends are arranged to implement a method as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program of a method for handling signal synchronization of a DP active optical cable, which computer program, when executed, implements the method according to any one of claims 1 to 8.
CN202210129211.XA 2022-02-11 2022-02-11 DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium Active CN114189599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210129211.XA CN114189599B (en) 2022-02-11 2022-02-11 DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210129211.XA CN114189599B (en) 2022-02-11 2022-02-11 DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium

Publications (2)

Publication Number Publication Date
CN114189599A true CN114189599A (en) 2022-03-15
CN114189599B CN114189599B (en) 2022-06-17

Family

ID=80545789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210129211.XA Active CN114189599B (en) 2022-02-11 2022-02-11 DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium

Country Status (1)

Country Link
CN (1) CN114189599B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5546390A (en) * 1978-09-27 1980-04-01 Amf Inc Automatic temperature controller
JP2000083009A (en) * 1998-09-07 2000-03-21 Denso Corp Radio communication device
EP1356980A2 (en) * 2002-04-25 2003-10-29 Toyota Jidosha Kabushiki Kaisha Vehicle drive control apparatus and method
US20030218915A1 (en) * 2002-05-23 2003-11-27 Matsushita Electric Industrial Co., Ltd. Semiconductor device adapted for power shutdown and power resumption
CN102169215A (en) * 2011-05-18 2011-08-31 苏州旭创科技有限公司 40G QSFP active optical cable
CN103308996A (en) * 2012-03-06 2013-09-18 新科实业有限公司 Active optical cable connector plug and active optical cable using same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5546390A (en) * 1978-09-27 1980-04-01 Amf Inc Automatic temperature controller
JP2000083009A (en) * 1998-09-07 2000-03-21 Denso Corp Radio communication device
EP1356980A2 (en) * 2002-04-25 2003-10-29 Toyota Jidosha Kabushiki Kaisha Vehicle drive control apparatus and method
DE60330614D1 (en) * 2002-04-25 2010-01-28 Toyota Motor Co Ltd Device and method for vehicle drive control
US20030218915A1 (en) * 2002-05-23 2003-11-27 Matsushita Electric Industrial Co., Ltd. Semiconductor device adapted for power shutdown and power resumption
CN102169215A (en) * 2011-05-18 2011-08-31 苏州旭创科技有限公司 40G QSFP active optical cable
CN103308996A (en) * 2012-03-06 2013-09-18 新科实业有限公司 Active optical cable connector plug and active optical cable using same

Also Published As

Publication number Publication date
CN114189599B (en) 2022-06-17

Similar Documents

Publication Publication Date Title
US9253535B2 (en) Sink device receiving an image signal from a source device and power supply method for same
US10409752B2 (en) Bidirectional signal conditioning chip including processor determining data transmission direction and type of transmitted data of USB type-C cable and USB type-C cable including the same
US8799537B1 (en) Transfer of uncompressed multimedia contents and data communications
US9280506B1 (en) Transfer of uncompressed multimedia contents or data communications
US9355057B2 (en) Universal serial bus repeater
KR101490895B1 (en) Discovery of electronic devices utilizing a control bus
US20050243408A1 (en) Configurable two-wire interface module
CN101977082B (en) Optical receiving and transmitting module, optical transmitting device and optical transmitting method
JP4421649B2 (en) Integrated post-amplifier, laser driver and controller
KR100743491B1 (en) Universal interface devices and method thereof
CN101788972A (en) System and method for transmitting data
US9864607B2 (en) Methods and physical computer-readable storage media for initiating re-enumeration of USB 3.0 compatible devices
CN112866608B (en) Adaptive setting method and device for HDMI resolution and electronic device
US20130254440A1 (en) Devices and methods for transmitting usb termination signals over extension media
WO2021029963A1 (en) Memory card slot interface adapter
WO2014023247A1 (en) Embedded device and method for control data communication based on the device
US8650430B2 (en) Enabling a peripheral device to transmit a request for interrupt processing to a host when no clock signal is output from the host device
CN114189599B (en) DP active optical cable, method for processing signal synchronization of DP active optical cable and readable storage medium
WO2022121047A1 (en) Detection system and video receiving box
CN114222178B (en) HDMI active optical cable and method and medium for synchronizing termination state information thereof
US8000278B2 (en) De-activation, at least in part, of receiver, in response, at least in part, to determination that an idle condition exists
JP2015167396A (en) Sink apparatus and power supply method
CN114173077B (en) Control method and electronic equipment
WO2024001105A1 (en) Communication detection method and apparatus, device, system, and storage medium
CN117472822A (en) Electronic system, monitoring chip and operation method

Legal Events

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