WO2022110186A1 - 连接器的插入方式的识别方法和装置 - Google Patents

连接器的插入方式的识别方法和装置 Download PDF

Info

Publication number
WO2022110186A1
WO2022110186A1 PCT/CN2020/132883 CN2020132883W WO2022110186A1 WO 2022110186 A1 WO2022110186 A1 WO 2022110186A1 CN 2020132883 W CN2020132883 W CN 2020132883W WO 2022110186 A1 WO2022110186 A1 WO 2022110186A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission channel
connector
characteristic information
type
transmission
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.)
Ceased
Application number
PCT/CN2020/132883
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2020/132883 priority Critical patent/WO2022110186A1/zh
Priority to CN202080103235.7A priority patent/CN115885439B/zh
Priority to EP20963074.8A priority patent/EP4242858A4/en
Publication of WO2022110186A1 publication Critical patent/WO2022110186A1/zh
Priority to US18/325,611 priority patent/US20230305989A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/409Mechanical coupling

Definitions

  • the embodiments of the present application relate to communication technologies, and in particular, to a method and device for identifying an insertion mode of a connector.
  • pluggable connectors include male and female headers.
  • the male header refers to the protruding side of the interface
  • the female header refers to the side where the interface is recessed. Inserting the male header of one connector into the female header of another connector can achieve The connection of these two connectors, thereby establishing a signal transmission link between the two.
  • the interface of the connector mostly adopts the high definition multimedia interface (high definition multimedia interface, HDMI), the display port (display port, DP), the universal serial bus (universal serial bus, USB) and the apple lightning interface (apple lightning) etc.
  • the embodiments of the present application provide a method and device for identifying the insertion mode of a connector, which does not require additionally setting a dedicated transmission channel to transmit feature information, which can improve the signal transmission efficiency on the interface.
  • an embodiment of the present application provides a method for identifying an insertion mode of a connector.
  • the method includes: receiving first feature information through a first transmission channel, where the first transmission channel is a plurality of transmissions included in an interface of the connector. Any one of the channels, and the first transmission channel is the first type of transmission channel, the arrangement of the plurality of transmission channels is rotationally symmetrical, and the interface of the connector is the male head of the first connector or the female of the second connector.
  • the first characteristic information corresponds to the first type of transmission channel
  • it is determined that the male head of the first connector is inserted into the female head of the second connector in the first direction
  • the first characteristic information does not correspond to the first type of transmission channel
  • the method in the embodiment of the present application is applicable to the scenario where the male head of the first connector is inserted into the female head of the second connector, but does not limit the transmission directions of the first connector and the second connector, that is, the implementation of the present application
  • identifying the insertion method of the connector it can be that the male head of the first connector (transmitting end connector) sends signals, and the female head of the second connector (receiving end connector) receives signals; it can also be The female head of the second connector (transmitting end connector) transmits signals, and the male head of the first connector (receiving end connector) receives signals.
  • the multiple transmission channels included in the male head of the first connector and the multiple transmission channels included in the female head of the second connector are arranged in the same manner and are both rotationally symmetrical, so that the male head of the first connector can be ensured.
  • the first transmission channel is any one of a plurality of transmission channels included in the interface of the receiving end connector.
  • the interface of the connector includes 8 transmission channels.
  • the receiving end connector can implement the following steps based on any one of the transmission channels, that is, the receiving end connector can only Detects characteristic information received on a transmission channel to determine how the connector is inserted.
  • the following steps can also be implemented based on 8 (or less than 8) transmission channels, that is, the connector can detect multiple or even all transmission channels at the same time, and may receive characteristic information from one or more transmission channels. , and then determine the insertion method of the connector based on these characteristic information. No matter how many transmission channels are selected, the implementation manner of each transmission channel is the same, so the following description takes one transmission channel (the first transmission channel) as an example, and other transmission channels can refer to this method, and will not be repeated.
  • the interface of the connector on the receiving end and the interface of the connector on the transmitting end adopt a rotationally symmetric structure. Therefore, based on the rotationally symmetric relationship between the transmission channels, the multiple transmission channels included in the interface can be classified as The first type of transmission channel or the second type of transmission channel.
  • multiple transmission channels included in the interface of the receiving end connector may also be classified into multiple categories. The two rotationally symmetric transmission channels in this embodiment of the present application cannot be classified into the same category.
  • Q1_L0 and Q3_L0 are in rotationally symmetric positions, then Q1_L0 and Q3_L0 need to be marked as different categories, and Q2_L1 and Q4_L1 are in rotationally symmetric positions, then Q2_L1 and Q4_L1 need to be marked as different categories, and there are no specific restrictions on the other category division strategies of the transmission channel.
  • the multiple transmission channels included in the interface of the receiving end connector and the multiple transmission channels included in the interface of the sending end connector may be classified based on the same policy. That is, the type of any transmission channel in the interface of the connector at the sending end is the same as the type of the transmission channel at the corresponding position in the interface of the connector at the receiving end.
  • the characteristic information has been assigned according to the category of the second transmission channel. Then the connector at the receiving end can distinguish which type of transmission channel the characteristic information corresponds to according to the value of the received characteristic information. For example, the characteristic information corresponds to the first type of transmission channel, which indicates that the value of the characteristic information is different from the preset value.
  • the identification value used to identify the category of the first-type transmission channel is consistent.
  • the identification value of each type of transmission channel can be preset, and then the classification information and identification value of the multiple transmission channels can be stored in the memory of the connector (such as the connector's cache, memory or other internal storage), so that the connector can directly read from the storage when it needs to use the above information.
  • the multiple transmission channels included in the interface of the receiving end connector and the multiple transmission channels included in the interface of the sending end connector may be classified based on the same policy.
  • the type of the transmission channel (the second transmission channel) from which the characteristic information comes is consistent with the type of the transmission channel (the first transmission channel) that receives the characteristic information, it means that the male head of the first connector is in the first direction (for example, the forward direction).
  • the receiving end connector can classify the multiple transmission channels included in the interface based on the same classification strategy as the sending end connector, and the value of the feature information is associated with the type of the transmission channel, so the receiving end
  • the value of the feature information transmitted by the connector for the first transmission channel is expected, so if the value of the actually received feature information (from the second transmission channel) is consistent with the expected value of the feature information, it means that the first The male head of the connector is inserted into the female head of the second connector in the first direction (for example, the forward direction); if the value of the actually received feature information (from the second transmission channel) is inconsistent with the expected value of the feature information, Indicates that the male header of the first connector is inserted into the female header of the second connector in a second orientation (eg, reverse).
  • a second orientation eg, reverse
  • the first feature information is a synchronization header of a signal received on the first transmission channel; or, the first feature information is a handshake sequence received on the first transmission channel; or, the first feature information is Heartbeat packets received on the first transmission channel.
  • the feature information may be carried in an existing signal.
  • the feature information may be the synchronization header of the signal sent on the second transmission channel.
  • the signal includes two parts: a sync head (sync head) and data (data).
  • the preset value of the sync header used to identify the first type of transmission channel is 0011, which is used to identify the second type of transmission channel.
  • the value of the sync header of a transmission-like channel is 1010, so the sender connector can fill in 0011 in the sync header of the signal sent on Q1_Ly or Q2_Ly, and fill in 1010 in the sync header of the signal sent on Q3_Ly and Q4_Ly.
  • the feature information may also be a handshake sequence sent on the second transmission channel.
  • the handshake sequence is the sequence sent before the connection is established between the sender connector and the receiver connector.
  • the preset value of the handshake sequence used to identify the first type of transmission channel is 5A5A5A5A, which is used for
  • the value of the handshake sequence that identifies the second type of transmission channel is 3C3C3C3C, so the sender connector can send the handshake sequence 5A5A5A5A on Q1_Ly or Q2_Ly, and send the handshake sequence 3C3C3C3C on Q3_Ly and Q4_Ly.
  • the feature information may also be a heartbeat message sent on the second transmission channel.
  • a heartbeat packet is a heartbeat detection packet sent periodically or irregularly between the sender connector and the receiver connector after the connection is established.
  • the preset is used to identify the first type
  • the value of the heartbeat message of the transmission channel is 5A5A5A5A
  • the value of the heartbeat message used to identify the second type of transmission channel is 3C3C3C3C, so the sender connector can send the heartbeat message 5A5A5A5A on Q1_Ly or Q2_Ly
  • the Heartbeat message 3C3C3C3C is sent on Q4_Ly.
  • the characteristic information in addition to transmitting the characteristic information through the above three kinds of signals, the characteristic information may also be transmitted through other existing signals, which is not specifically limited.
  • the feature information may be carried in a signal newly added in this embodiment of the present application. That is, a new signal is added between the sending end connector and the receiving end connector, and characteristic information is transmitted through the new signal.
  • This embodiment of the present application does not specifically limit the format and transmission mechanism of the newly added signal.
  • the method further includes: acquiring second feature information, where the second feature information is used to identify the type of the second transmission channel, where the second transmission channel is any of the above-mentioned multiple transmission channels One; send the above-mentioned second characteristic information through the second transmission channel.
  • the second transmission channel is any one of a plurality of transmission channels included in the interface of the sender connector.
  • the interface of the connector includes 8 transmission channels.
  • the sender connector can implement the following steps based on any one of the transmission channels.
  • the following steps may also be implemented based on 8 (or less than 8) transmission channels. No matter how many transmission channels are selected, the implementation manner of each transmission channel is the same, so one transmission channel (the second transmission channel) is used as an example for description below.
  • the feature information corresponding to the category of the second transmission channel means that the value of the feature information is consistent with the preset identification value used to identify the category of the second transmission channel.
  • the identification value of each type of transmission channel can be preset, and then the classification information and identification value of the multiple transmission channels can be stored in the memory of the connector (such as the connector's cache, memory or other internal storage), so that the connector can directly read from the storage when it needs to use the above information.
  • the type of the second transmission channel is the first type of transmission channel
  • the preset value for identifying the first type of transmission channel is 0011
  • the characteristic information is determined to be Corresponding to the category of the second transmission channel
  • the value of the feature information is not 0011
  • the feature information is determined not to correspond to the category of the second transmission channel.
  • the preset value for identifying the second type of transmission channel is 5A5A5A5A
  • the characteristic information is determined. is corresponding to the category of the second transmission channel.
  • the value of the feature information is not 5A5A5A5A, the feature information is determined not to correspond to the category of the second transmission channel.
  • the second characteristic information is a synchronization header of a signal sent on the second transmission channel; or, the second characteristic information is a handshake sequence sent on the second transmission channel; or, the second characteristic information is Heartbeat packets sent on the second transmission channel.
  • the multiple transmission channels included in the interface of the connector in the embodiment of the present application are rotationally symmetric, so no matter whether the male head is inserted into the female head in a forward direction or reversely inserted into the female head, the multiple transmission channels included in the female head have corresponding male heads.
  • the transmission channel on the header is connected with it, so that when the male and female headers are connected (that is, when working), all the transmission channels are working, and the utilization rate of the transmission channel can reach 100%, which improves the utilization rate of the transmission channel.
  • the embodiment of the present application transmits feature information with a specific value meaning on the transmission channel, and the value of the feature information represents the type of the transmission channel.
  • the above-mentioned transmission channel may be any one of multiple transmission channels included in the interface, and there is no need to additionally set a dedicated transmission channel to transmit characteristic information, which can improve the signal transmission efficiency on the interface.
  • an embodiment of the present application provides a method for identifying an insertion mode of a connector, the method comprising: acquiring second feature information, where the second feature information is used to identify a type of a second transmission channel, the second transmission channel
  • the channel is any one of the multiple transmission channels included in the interface of the connector, the arrangement of the multiple transmission channels is rotationally symmetric, and the interface of the connector is the male head of the first connector or the female head of the second connector;
  • the above-mentioned second characteristic information is sent through the second transmission channel.
  • the second characteristic information is a synchronization header of a signal sent on the second transmission channel; or, the second characteristic information is a handshake sequence sent on the second transmission channel; or, the second characteristic information is Heartbeat packets sent on the second transmission channel.
  • sending the second characteristic information corresponding to the type of the second transmission channel through the second transmission channel includes: when the second transmission channel is a transmission channel of the first type, sending the second characteristic information through the second transmission channel The transmission channel sends the second characteristic information corresponding to the first type of transmission channel; or, when the second transmission channel is the second type of transmission channel, the second characteristic information corresponding to the second type of transmission channel is sent through the second transmission channel information.
  • the method further includes: receiving first feature information through a first transmission channel, where the first transmission channel is any one of the above-mentioned multiple transmission channels, and the first transmission channel is the first transmission channel. type transmission channel; when the above-mentioned first characteristic information corresponds to the first type of transmission channel, it is determined that the male head of the first connector is inserted into the female head of the second connector in the first direction; when the above-mentioned first characteristic information does not correspond to the first type of transmission channel In one type of transmission channel, it is determined that the male head of the first connector is inserted into the female head of the second connector in the second direction; wherein, the first direction and the second direction are opposite.
  • the first feature information is a synchronization header of a signal received on the first transmission channel; or, the first feature information is a handshake sequence received on the first transmission channel; or, the The first feature information is a heartbeat message received on the first transmission channel.
  • the first characteristic information corresponds to the first type of transmission channel, indicating that the value of the first characteristic information is consistent with a preset value for identifying the first type of transmission channel.
  • the method further includes: acquiring multiple transmission channels; classifying the multiple transmission channels respectively, wherein the multiple transmission channels included in the male head of the first connector and the second connector
  • the female header contains multiple transmission channels classified based on the same policy.
  • an embodiment of the present application provides a method for identifying an insertion mode of a connector, the method comprising: acquiring characteristic information by the transmitting end connector, where the characteristic information is used to identify the type of the second transmission channel; The second transmission channel sends the above characteristic information; the receiving end connector receives the characteristic information through the first transmission channel; when the characteristic information corresponds to the first type of transmission channel, the receiving end connector determines that the male head of the first connector is in the first direction Insert the female head of the second connector; when the characteristic information corresponds to a transmission channel other than the first type, the receiving end connector determines that the male head of the first connector is inserted into the female head of the second connector in the second direction.
  • the method in the embodiment of the present application is applicable to the scenario where the male head of the first connector is inserted into the female head of the second connector, but does not limit the transmission directions of the first connector and the second connector, that is, the implementation of the present application
  • identifying the insertion method of the connector it can be that the male head of the first connector (transmitting end connector) sends signals, and the female head of the second connector (receiving end connector) receives signals; it can also be The female head of the second connector (transmitting end connector) transmits signals, and the male head of the first connector (receiving end connector) receives signals.
  • the multiple transmission channels included in the male head of the first connector and the multiple transmission channels included in the female head of the second connector are arranged in the same manner and are both rotationally symmetrical, so that the male head of the first connector can be ensured.
  • the second transmission channel is any one of a plurality of transmission channels included in the interface of the sender connector.
  • the interface of the connector includes 8 transmission channels.
  • the connector at the sending end can transmit characteristic information based on any one of the transmission channels.
  • feature information may also be transmitted based on 8 (or less than 8) transmission channels. No matter how many transmission channels are selected, the implementation manner of each transmission channel is the same, so one transmission channel (the second transmission channel) is used as an example for description below.
  • the interface of the sending end connector adopts a rotationally symmetrical structure, so the multiple transmission channels included in the interface can be classified as the first type of transmission channel or the second type of transmission channel respectively based on the rotationally symmetrical relationship between the transmission channels. For example, as shown in FIG. 2 , Q1_Ly and Q2_Ly are classified as the first type of transmission channels, and Q3_Ly and Q4_Ly are classified as the second type of transmission channels.
  • multiple transmission channels included in the interface may also be classified into multiple categories.
  • Q1_Ly as the first type of transmission channel
  • Q2_Ly as the second type of transmission channel
  • Q3_Ly as the third type of transmission channel
  • Q4_Ly as the fourth type of transmission channel aisle.
  • the two rotationally symmetric transmission channels in this embodiment of the present application cannot be classified into the same category.
  • Q1_L0 and Q3_L0 are in rotationally symmetric positions, then Q1_L0 and Q3_L0 need to be marked as different categories, and Q2_L1 and Q4_L1 are in rotationally symmetric positions, then Q2_L1 and Q4_L1 need to be marked as different categories, and there are no specific restrictions on the other category division strategies of the transmission channel.
  • the feature information corresponding to the category of the second transmission channel means that the value of the feature information is consistent with the preset identification value used to identify the category of the second transmission channel.
  • the feature information may be carried in an existing signal.
  • the feature information may be the synchronization header of the signal sent on the second transmission channel.
  • the signal includes two parts: a sync head (sync head) and data (data).
  • sync head sync head
  • data data
  • the preset value of the sync header used to identify the first type of transmission
  • the value of the sync header is 1010.
  • the feature information may also be a handshake sequence sent on the second transmission channel.
  • the handshake sequence is the sequence sent before the connection between the sender connector and the receiver connector is established.
  • the value of the handshake sequence of the transmission channel is 3C3C3C3C.
  • the feature information may also be a heartbeat message sent on the second transmission channel.
  • the heartbeat packet is a heartbeat detection packet sent periodically or irregularly between the sender connector and the receiver connector after the connection is established.
  • a preset heartbeat for identifying the first type of transmission channel The value of the message is 5A5A5A5A, and the value of the heartbeat message used to identify the second type of transmission channel is 3C3C3C3C.
  • the characteristic information in addition to transmitting the characteristic information through the above three kinds of signals, the characteristic information may also be transmitted through other existing signals, which is not specifically limited.
  • the feature information may be carried in a signal newly added in this embodiment of the present application. That is, a new signal is added between the sending end connector and the receiving end connector, and characteristic information is transmitted through the new signal.
  • This embodiment of the present application does not specifically limit the format and transmission mechanism of the newly added signal.
  • the first transmission channel is any one of a plurality of transmission channels included in the interface of the receiving end connector.
  • the interface of the connector includes 8 transmission channels.
  • the receiving-end connector can receive characteristic information based on any one of the transmission channels, that is, the receiving-end connector can only detect the reception on one transmission channel. characteristic information to determine how the connector is inserted.
  • characteristic information can also be received based on 8 (or less than 8) transmission channels, that is, the connector can detect multiple or even all transmission channels at the same time, and may receive characteristic information from one or more transmission channels. , and then determine the insertion method of the connector based on these characteristic information. No matter how many transmission channels are selected, the implementation manner of each transmission channel is the same.
  • one transmission channel (the first transmission channel) is used as an example for description below, and other transmission channels can refer to this method, and will not be repeated. It should be noted that the first transmission channel and the above-mentioned second transmission channel may refer to the same transmission channel, or may refer to different transmission channels, which are not specifically limited in this embodiment of the present application.
  • the interface of the receiving end connector adopts a rotationally symmetrical structure, so it is also possible to classify the multiple transmission channels included in the interface as the first type of transmission channel or The second type of transmission channel.
  • classification of transmission channels reference may be made to the above description, and details are not repeated here.
  • the sending end connector sends the characteristic information
  • the characteristic information has been assigned according to the category of the second transmission channel.
  • the connector at the receiving end can distinguish which type of transmission channel the characteristic information comes from according to the value of the received characteristic information.
  • the receiving end connector can be based on the same classification strategy as the sending end connector, and can classify the multiple transmission channels included in the interface.
  • the type of the transmission channel (the second transmission channel) from which the characteristic information comes is consistent with the type of the transmission channel (the first transmission channel) that receives the characteristic information, it means that the male head of the first connector is in the first direction (for example, the forward direction).
  • the receiving end connector can classify the multiple transmission channels included in the interface based on the same classification strategy as the sending end connector, and the value of the feature information is associated with the type of the transmission channel, so the receiving end
  • the connector has the expected value of the feature information for the first transmission channel, so if the value of the actually received feature information (from the second transmission channel) is consistent with the expected value of the feature information, it means that the first connector
  • the male head is inserted into the female head of the second connector in the first direction (for example, the forward direction); if the value of the actually received feature information (from the second transmission channel) is inconsistent with the expected value of the feature information, it means that the first
  • the male end of the connector is inserted into the female end of the second connector in a second orientation (eg, reverse).
  • feature information with a specific value meaning is transmitted on the transmission channel, and the value of the feature information represents the type of the transmission channel. If the category is consistent, it can be determined that the male head of the first connector is inserted into the female head of the second connector in the first direction; if the value of the received feature information is inconsistent with the category of the transmission channel receiving the feature information, it can be determined that The male end of the first connector is inserted into the female end of the second connector in the second direction.
  • the above-mentioned transmission channel can be any one of the multiple transmission channels included in the interface, and there is no need to set up a dedicated transmission channel to transmit characteristic information, which can improve the utilization rate of the transmission channel on the interface.
  • an embodiment of the present application provides a connection device, the device includes: a receiving module configured to receive first feature information through a first transmission channel, where the first transmission channel is a plurality of transmission channels included in an interface of a connector Any one of the transmission channels, and the first transmission channel is the first type of transmission channel, the arrangement of the above-mentioned multiple transmission channels is rotationally symmetrical, and the interface of the connector is the male head of the first connector or the female of the second connector.
  • a determination module for determining that the male head of the first connector is inserted into the female head of the second connector in a first direction when the first characteristic information corresponds to the first type of transmission channel; when the first characteristic information corresponds to the first type of transmission channel
  • the step corresponds to the above-mentioned first type of transmission channel, it is determined that the male head of the first connector is inserted into the female head of the second connector in the second direction; wherein, the above-mentioned first direction and the above-mentioned second direction are opposite.
  • the above-mentioned first characteristic information is a synchronization header of a signal received on the above-mentioned first transmission channel; or, the above-mentioned first characteristic information is a handshake sequence received on the above-mentioned first transmission channel; or, the above-mentioned
  • the first feature information is the heartbeat message received on the above-mentioned first transmission channel.
  • the above-mentioned first characteristic information corresponds to the above-mentioned first type of transmission channel, indicating that the value of the above-mentioned first characteristic information is consistent with a preset value for identifying the above-mentioned first type of transmission channel.
  • the above-mentioned apparatus further includes: an acquisition module configured to acquire second characteristic information, where the second characteristic information is used to identify the type of the second transmission channel, and the above-mentioned second transmission channel is the plurality of the above-mentioned Any one of the transmission channels; a sending module, configured to send the above-mentioned second feature information through the above-mentioned second transmission channel.
  • the above-mentioned second characteristic information is a synchronization header of a signal sent on the above-mentioned second transmission channel; or, the above-mentioned second characteristic information is a handshake sequence sent on the above-mentioned second transmission channel; or, the above-mentioned The second characteristic information is the heartbeat message sent on the above-mentioned second transmission channel.
  • the above-mentioned sending module is specifically configured to send the above-mentioned second feature corresponding to the above-mentioned first-type transmission channel through the above-mentioned second transmission channel when the above-mentioned second transmission channel is a first-type transmission channel or, when the second transmission channel is a transmission channel of the second type, the second characteristic information corresponding to the transmission channel of the second type is sent through the second transmission channel.
  • the multiple transmission channels included in the male head of the first connector and the multiple transmission channels included in the female head of the second connector are classified based on the same strategy.
  • an embodiment of the present application provides a connection device, and the device includes: an acquisition module configured to acquire second characteristic information, where the second characteristic information is used to identify the type of the second transmission channel, the second transmission channel is any one of the multiple transmission channels included in the interface of the connector, the arrangement of the multiple transmission channels is rotationally symmetrical, and the interface of the connector is the male head of the first connector or the female head of the second connector; A sending module, configured to send the second feature information through the second transmission channel.
  • the above-mentioned second characteristic information is a synchronization header of a signal sent on the above-mentioned second transmission channel; or, the above-mentioned second characteristic information is a handshake sequence sent on the above-mentioned second transmission channel; or, the above-mentioned The second characteristic information is the heartbeat message sent on the above-mentioned second transmission channel.
  • the above-mentioned sending module is specifically configured to send the above-mentioned second feature corresponding to the above-mentioned first-type transmission channel through the above-mentioned second transmission channel when the above-mentioned second transmission channel is a first-type transmission channel or, when the second transmission channel is a transmission channel of the second type, the second characteristic information corresponding to the transmission channel of the second type is sent through the second transmission channel.
  • the above-mentioned apparatus further includes: a receiving module configured to receive the first characteristic information through a first transmission channel, where the first transmission channel is any one of multiple transmission channels included in the interface of the connector , and the above-mentioned first transmission channel is a first-type transmission channel, the arrangement of the above-mentioned multiple transmission channels is rotationally symmetrical, and the interface of the above-mentioned connector is the male head of the above-mentioned first connector or the female head of the above-mentioned second connector; a determining module, configured to determine that the male head of the first connector is inserted into the female head of the second connector in a first direction when the first characteristic information corresponds to the first type of transmission channel; when the first characteristic information corresponds to the first type of transmission channel When the step corresponds to the first type of transmission channel, it is determined that the male head of the first connector is inserted into the female head of the second connector in the second direction; wherein, the first direction and the second direction are opposite.
  • a receiving module configured to
  • the above-mentioned first characteristic information is a synchronization header of a signal received on the above-mentioned first transmission channel; or, the above-mentioned first characteristic information is a handshake sequence received on the above-mentioned first transmission channel; or, the above-mentioned
  • the first feature information is the heartbeat message received on the above-mentioned first transmission channel.
  • the above-mentioned first characteristic information corresponds to the above-mentioned first type of transmission channel, indicating that the value of the above-mentioned first characteristic information is consistent with a preset value for identifying the above-mentioned first type of transmission channel.
  • the multiple transmission channels included in the male head of the first connector and the multiple transmission channels included in the female head of the second connector are classified based on the same strategy.
  • an embodiment of the present application provides a connector, including: a processor and an interface; the above-mentioned interface is used to send or receive signals; the above-mentioned processor is configured to call one or more programs stored in a memory, To achieve the method according to any one of the first to third aspects above.
  • an embodiment of the present application provides a computer-readable storage medium, including program instructions, which, when executed on a computer or processor, cause the computer or the processor to execute any of the first to third aspects above. a method.
  • an embodiment of the present application provides a computer program product, including program instructions, which, when the program instructions are executed by a computer or a processor, are used to execute the method of any one of the first to third aspects above.
  • FIG. 1a is a schematic diagram of an exemplary rotationally symmetric structure provided by an embodiment of the present application.
  • FIG. 1b is a schematic diagram of an exemplary rotationally symmetric structure provided by an embodiment of the present application.
  • FIG. 2 is an exemplary structural diagram of an interface of a connector according to an embodiment of the present application
  • Fig. 3a is an exemplary schematic diagram of the forward insertion mode of the application itself
  • FIG. 3b is an exemplary schematic diagram of an anti-insertion method applied for by itself
  • 3c is an exemplary schematic diagram of a Type-C male header according to an embodiment of the present application.
  • 3d is an exemplary schematic diagram of a Type-C female header according to an embodiment of the present application.
  • FIG. 4 is an exemplary structural diagram of a connector according to an embodiment of the present application.
  • FIG. 5 is an exemplary flowchart of a method for identifying an insertion mode of a connector according to an embodiment of the present application
  • FIG. 6 is an exemplary schematic diagram of a signal according to an embodiment of the present application.
  • FIG. 7 is an exemplary structural diagram of an interface according to an embodiment of the present application.
  • FIG. 8 is an exemplary structural schematic diagram of a connection device according to an embodiment of the present application.
  • At least one (item) refers to one or more, and "a plurality” refers to two or more.
  • “And/or” is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, “A and/or B” can mean: only A, only B, and both A and B exist , where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, c can be single or multiple.
  • Fig. 1a and Fig. 1b are an exemplary structural diagram of a rotationally symmetric structure according to an embodiment of the present application.
  • the K wires corresponding to one transmission channel jointly transmit one valid signal.
  • a wire corresponds to a pin on the interface.
  • FIG. 2 is an exemplary structural diagram of an interface of a connector according to an embodiment of the present application.
  • Q4_Ly and Q2_Ly are in a rotationally symmetric relationship
  • Q3_Ly and Q1_Ly are in a rotationally symmetric relationship
  • y 0 or 1.
  • FIG. 3a is an exemplary schematic diagram of the positive insertion method of the application itself.
  • the male head of the first connector is inserted into the female head of the second connector in the forward direction, and the male head of the first connector is connected to the second connector.
  • the connection is established between Q1_L0 of the male head of the first connector and Q1_L0 of the female head of the second connector, and Q1_L1 of the male head of the first connector Establish a connection with Q1_L1 of the female head of the second connector; establish a connection between Q2_L0 of the male head of the first connector and Q2_L0 of the female head of the second connector, and Q2_L1 of the male head of the first connector and the second connector Q2_L1 of the female header establishes a connection; Q3_L0 of the male header of the first connector establishes a connection with Q3_L0 of the female header of the second connector, and Q3_L1 of the male header of the first connector establishes a connection with Q3_L1 of the female header of the second connector.
  • FIG. 3b is an exemplary schematic diagram of the reverse insertion method according to the embodiment of the application.
  • the male head of the first connector is inserted into the female head of the second connector in reverse, and the male head of the first connector is inserted into the female head of the second connector.
  • the connection is established between Q1_L0 of the male head of the first connector and Q3_L0 of the female head of the second connector, and Q1_L1 of the male head of the first connector Establish a connection with Q3_L1 of the female head of the second connector; establish a connection between Q2_L0 of the male head of the first connector and Q4_L0 of the female head of the second connector, and Q2_L1 of the male head of the first connector and the second connector Q4_L1 of the female header establishes a connection; Q3_L0 of the male header of the first connector establishes a connection with Q1_L0 of the female header of the second connector, and Q3_L1 of the male header of the first connector establishes a connection with Q1_L1 of the female header of the second connector ; Establish a connection between Q4_L0 of the male head of the first connector and Q2_L0 of the female head of the female head of the second connector, and Q1_L1 of the male head of the first connector
  • FIG. 3c is an exemplary schematic diagram of a Type-C male head according to an embodiment of the present application. As shown in Fig. 3c, the same signal lines are provided on both sides of the male head of the connector.
  • FIG. 3d is an exemplary schematic diagram of a Type-C female header according to an embodiment of the present application. As shown in FIG. 3d , only one side of the two sides of the female header of the connector is provided with signal lines, and the other side is not provided with signal lines. It can be seen that the Type-C interface, no matter whether the male head is inserted into the female head in the forward or reverse direction, there is always one side of the signal line on both sides of the male head connected to the side of the female head with the signal line, so that it can be used normally.
  • the multiple transmission channels included in the interface of the connector of the embodiment of the present application are rotationally symmetrical, so no matter whether the male head is inserted into the female head in the forward direction or reversely inserted into the female head, the female head
  • the multiple transmission channels included in the head are all connected with the corresponding transmission channels on the male head, so that when the male head and the female head are connected (that is, when working), all transmission channels are working, and the utilization rate of the transmission channel can reach 100% , which improves the signal transmission efficiency.
  • FIG. 4 is an exemplary structural diagram of a connector according to an embodiment of the present application.
  • the connector includes at least one processor 411 , at least one memory 412 and at least one interface 413 .
  • the processor 411, the memory 412 and the interface 413 are connected, for example, via a bus.
  • the connection may include various types of interfaces, transmission lines, or buses, etc., which are not specifically limited in the embodiment of the present application.
  • the processor 411 is mainly used to process communication protocols and communication data, control the entire connector, execute software programs, and process data of the software programs.
  • the processor 411 may include one or more processing units, for example, the processor 411 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc.
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the memory 412 is primarily used to store software programs and data.
  • the memory 412 may exist independently (a separate storage element) and be connected to the processor 411 .
  • the memory 412 may be integrated with the processor 411, for example, in a chip (an on-chip storage element).
  • the memory 412 may be used to store computer-executable program code, which includes instructions.
  • the memory 412 may include a stored program area and a stored data area.
  • the storage program area may store an operating system, an application program required for at least one function, and the like.
  • the memory 412 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 411 executes the technical solutions and data processing of the embodiments of the present application by executing the instructions stored in the memory 412 and/or the instructions stored in the memory provided in the processor.
  • the interface 413 is mainly used for receiving and/or transmitting signals.
  • the interface 413 in this embodiment of the present application may adopt the structure of any one of the interfaces shown in FIGS. 1 a to 2 .
  • the interface 413 may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal).
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • asynchronous receiver/transmitter, UART) interface mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, Universal serial bus (universal serial bus, USB) interface, high definition multimedia interface (high definition multimedia interface, HDMI), mobile industry processor interface (mobile industry processor interface, MIPI) interface and/or any implementation of Figure 1a to Figure 3b The interface shown in the example, etc.
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal serial bus
  • HDMI high definition multimedia interface
  • MIPI mobile industry processor interface
  • MIPI mobile industry processor interface
  • Figure 4 shows only one memory, one processor and one interface. In an actual connector, there may be multiple processors, multiple memories, and multiple interfaces, which are not specifically limited in this embodiment of the present application.
  • FIG. 5 is an exemplary flowchart of a method for identifying an insertion mode of a connector according to an embodiment of the present application.
  • the process 500 may be performed by a connector (including a sending end connector and a receiving end connector), such as The connector shown in Figure 4 performs.
  • Process 500 is described as a series of steps or operations, and it should be understood that process 500 may be performed in various orders and/or concurrently, and is not limited to the order of execution shown in FIG. 5 .
  • the method in the embodiment of the present application is applicable to the scenario where the male head of the first connector is inserted into the female head of the second connector, but does not limit the transmission directions of the first connector and the second connector, that is, the implementation of the present application
  • identifying the insertion method of the connector it can be that the male head of the first connector (transmitting end connector) sends signals, and the female head of the second connector (receiving end connector) receives signals; it can also be The female head of the second connector (transmitting end connector) transmits signals, and the male head of the first connector (receiving end connector) receives signals.
  • the multiple transmission channels included in the male head of the first connector and the multiple transmission channels included in the female head of the second connector are arranged in the same manner and are both rotationally symmetrical, so that the male head of the first connector can be ensured.
  • Step 501 The sender connector acquires second feature information, where the second feature information is used to identify the type of the second transmission channel.
  • the second transmission channel is any one of a plurality of transmission channels included in the interface of the sender connector.
  • the interface of the connector includes 8 transmission channels.
  • the sender connector can implement the following steps based on any one of the transmission channels.
  • the following steps may also be implemented based on 8 (or less than 8) transmission channels. No matter how many transmission channels are selected, the implementation manner of each transmission channel is the same, so one transmission channel (the second transmission channel) is used as an example for description below.
  • the interface of the sender connector adopts a rotationally symmetrical structure, so the multiple transmission channels included in the interface can be classified as the first type of transmission channel or the second type of transmission based on the rotational symmetry relationship between the transmission channels. aisle.
  • Q1_Ly and Q2_Ly are classified as the first type of transmission channels
  • Q3_Ly and Q4_Ly are classified as the second type of transmission channels.
  • multiple transmission channels included in the interface may also be classified into multiple categories.
  • Q1_Ly as the first type of transmission channel
  • Q2_Ly as the second type of transmission channel
  • Q3_Ly as the third type of transmission channel
  • Q4_Ly as the fourth type of transmission channel aisle.
  • the two rotationally symmetric transmission channels in this embodiment of the present application cannot be classified into the same category.
  • Q1_L0 and Q3_L0 are in rotationally symmetric positions, then Q1_L0 and Q3_L0 need to be marked as different categories, and Q2_L1 and Q4_L1 are in rotationally symmetric positions, then Q2_L1 and Q4_L1 need to be marked as different categories, and there are no specific restrictions on the other category division strategies of the transmission channel.
  • the feature information corresponding to the category of the second transmission channel means that the value of the feature information is consistent with the preset identification value used to identify the category of the second transmission channel. For example, assuming that the type of the second transmission channel is the first type of transmission channel, and the preset value for identifying the first type of transmission channel is 0011, when the value of the characteristic information is 0011, the characteristic information is determined to be Corresponding to the category of the second transmission channel, when the value of the feature information is not 0011, the feature information is determined not to correspond to the category of the second transmission channel.
  • the preset value for identifying the second type of transmission channel is 5A5A5A5A
  • the characteristic information is determined. is corresponding to the category of the second transmission channel.
  • the value of the feature information is not 5A5A5A5A, the feature information is determined not to correspond to the category of the second transmission channel.
  • the feature information may be carried in an existing signal.
  • the feature information may be the synchronization header of the signal sent on the second transmission channel.
  • the signal includes two parts: a sync head (sync head) and data (data).
  • the preset value of the sync header used to identify the first type of transmission channel is 0011, which is used to identify the second type of transmission channel.
  • the value of the sync header of a transmission-like channel is 1010, so the sender connector can fill in 0011 in the sync header of the signal sent on Q1_Ly or Q2_Ly, and fill in 1010 in the sync header of the signal sent on Q3_Ly and Q4_Ly.
  • the feature information may also be a handshake sequence sent on the second transmission channel.
  • the handshake sequence is the sequence sent before the connection is established between the sender connector and the receiver connector.
  • the preset value of the handshake sequence used to identify the first type of transmission channel is 5A5A5A5A, which is used for
  • the value of the handshake sequence that identifies the second type of transmission channel is 3C3C3C3C, so the sender connector can send the handshake sequence 5A5A5A5A on Q1_Ly or Q2_Ly, and send the handshake sequence 3C3C3C3C on Q3_Ly and Q4_Ly.
  • the feature information may also be a heartbeat message sent on the second transmission channel.
  • a heartbeat packet is a heartbeat detection packet sent periodically or irregularly between the sender connector and the receiver connector after the connection is established.
  • the preset is used to identify the first type
  • the value of the heartbeat message of the transmission channel is 5A5A5A5A
  • the value of the heartbeat message used to identify the second type of transmission channel is 3C3C3C3C, so the sender connector can send the heartbeat message 5A5A5A5A on Q1_Ly or Q2_Ly
  • the Heartbeat message 3C3C3C3C is sent on Q4_Ly.
  • the characteristic information in addition to transmitting the characteristic information through the above three kinds of signals, the characteristic information may also be transmitted through other existing signals, which is not specifically limited.
  • the feature information may be carried in a signal newly added in this embodiment of the present application. That is, a new signal is added between the sending end connector and the receiving end connector, and characteristic information is transmitted through the new signal.
  • This embodiment of the present application does not specifically limit the format and transmission mechanism of the newly added signal.
  • Step 502 The sending end connector sends the characteristic information through the second transmission channel.
  • the sending end connector can send the feature information on the second transmission channel, and the implementation of the feature information can refer to the above-mentioned several situations, and the value of the feature information can correspond to the category of the second transmission channel, which will not be repeated here.
  • Step 503 The receiving end connector receives the characteristic information through the first transmission channel.
  • the first transmission channel is any one of a plurality of transmission channels included in the interface of the receiving end connector.
  • the interface of the connector includes 8 transmission channels.
  • the receiving end connector can implement the following steps based on any one of the transmission channels, that is, the receiving end connector can only Detects characteristic information received on a transmission channel to determine how the connector is inserted.
  • the following steps can also be implemented based on 8 (or less than 8) transmission channels, that is, the connector can detect multiple or even all transmission channels at the same time, and may receive characteristic information from one or more transmission channels. , and then determine the connector insertion method based on these characteristic information.
  • each transmission channel is used as an example for description below.
  • the first transmission channel and the second transmission channel in step 501 may refer to the same transmission channel, or may refer to different transmission channels, which are not specifically limited in this embodiment of the present application.
  • the interface of the connector on the receiving end and the interface of the connector on the transmitting end adopt a rotationally symmetric structure. Therefore, based on the rotationally symmetric relationship between the transmission channels, the plurality of transmission channels included in the interface can be classified into separate groups.
  • the class is either a first-class transmission channel or a second-class transmission channel.
  • the multiple transmission channels included in the interface of the receiving end connector may also be classified into multiple categories. The two rotationally symmetric transmission channels in this embodiment of the present application cannot be classified into the same category.
  • Q1_L0 and Q3_L0 are in rotationally symmetric positions, then Q1_L0 and Q3_L0 need to be marked as different categories, and Q2_L1 and Q4_L1 are in rotationally symmetric positions, then Q2_L1 and Q4_L1 need to be marked as different categories, and there are no specific restrictions on the other category division strategies of the transmission channel.
  • the multiple transmission channels included in the interface of the receiving end connector and the multiple transmission channels included in the interface of the sending end connector may be classified based on the same policy. That is, the type of any transmission channel in the interface of the connector at the sending end is the same as the type of the transmission channel in the interface of the connector at the receiving end.
  • Step 504a when the characteristic information corresponds to the first type of transmission channel, the receiving end connector determines that the male end of the first connector is inserted into the female end of the second connector in the first direction.
  • Step 504b when the characteristic information corresponds to a transmission channel other than the first type, the receiving end connector determines that the male head of the first connector is inserted into the female head of the second connector in the second direction.
  • Steps 504a and 504b are optional steps of choosing one of two, that is, it is determined whether to execute step 504a or step 504b according to the type of the transmission channel corresponding to the feature information.
  • the sending end connector sends the characteristic information
  • the characteristic information has been assigned according to the category of the second transmission channel.
  • the connector at the receiving end can distinguish which type of transmission channel the characteristic information comes from according to the value of the received characteristic information.
  • the multiple transmission channels included in the interface of the receiving end connector and the multiple transmission channels included in the interface of the sending end connector may be classified based on the same policy.
  • the type of the transmission channel (the second transmission channel) from which the characteristic information comes is consistent with the type of the transmission channel (the first transmission channel) that receives the characteristic information, it means that the male head of the first connector is in the first direction (for example, the forward direction).
  • the receiving end connector when the receiving end connector receives from Q1_Ly that the characteristic information is a synchronization header whose value is 0011, it can be determined that the characteristic information comes from the first type of transmission channel. And Q1_Ly belongs to the first type of transmission channel, so it can be determined that the male head of the first connector is inserted into the female head of the second connector in the first direction (for example, the forward direction). Or, when the receiving end connector receives from Q3_Ly that the characteristic information is a synchronization header with a value of 0011, it can be determined that the characteristic information comes from the first type of transmission channel. And Q3_Ly belongs to the second type of transmission channel, so it can be determined that the male head of the first connector is inserted into the female head of the second connector in a second direction (eg, reverse direction).
  • Q1_Ly belongs to the first type of transmission channel, so it can be determined that the male head of the first connector is inserted into the female head of the second connector in the first direction (for example, the
  • the receiving end connector can classify the multiple transmission channels included in the interface based on the same classification strategy as the sending end connector, and the value of the feature information is associated with the type of the transmission channel, so the receiving end
  • the value of the feature information transmitted by the connector for the first transmission channel is expected, so if the value of the actually received feature information (from the second transmission channel) is consistent with the expected value of the feature information, it means that the first The male head of the connector is inserted into the female head of the second connector in the first direction (for example, the forward direction); if the value of the actually received feature information (from the second transmission channel) is inconsistent with the expected value of the feature information, Indicates that the male header of the first connector is inserted into the female header of the second connector in a second orientation (eg, reverse).
  • a second orientation eg, reverse
  • the receiving end connector when the receiving end connector receives a synchronization header whose characteristic information is 0011 from Q1_Ly (the expected characteristic information is 0011), it can be determined that the male head of the first connector is The first direction (eg, the forward direction) is inserted into the female header of the second connector.
  • the receiving end connector receives a synchronization header whose characteristic information is 0011 from Q3_Ly (the expected characteristic information value is 1010), it can be determined that the male head of the first connector is in the second direction (for example, the reverse direction). into the female connector of the second connector.
  • the multiple transmission channels included in the interface of the connector in the embodiment of the present application are rotationally symmetric, so no matter whether the male head is inserted into the female head in a forward direction or reversely inserted into the female head, the multiple transmission channels included in the female head have corresponding male heads.
  • the transmission channel on the header is connected with it, so that when the male and female headers are connected (that is, when working), all the transmission channels are working, and the utilization rate of the transmission channel can reach 100%, which improves the utilization rate of the transmission channel.
  • the embodiment of the present application transmits feature information with a specific value meaning on the transmission channel, and the value of the feature information represents the type of the transmission channel.
  • the above-mentioned transmission channel may be any one of multiple transmission channels included in the interface, and there is no need to additionally set a dedicated transmission channel to transmit characteristic information, which can improve the signal transmission efficiency on the interface.
  • Embodiment 1 The characteristic information is the synchronization header of the signal
  • FIG. 6 is an exemplary schematic diagram of a signal according to an embodiment of the present application.
  • the transmitter connector sends sync head1 on Q1_Ly as a synchronization header, and each synchronization header is followed by a piece of data data.
  • send sync head2 as a sync header on Q3_Lx each sync header is followed by a piece of data data.
  • the receiving end connector receives the feature information on Q1_Ly and Q3_Ly, if the sync header of the signal received on Q1_Ly is sync head1, and the sync header of the signal received on Q3_Ly is sync head2, confirm that the male header of the first connector is inserted into the first The female head of the second connector; if the sync head of the signal received on Q1_Ly is sync head2, and the sync head of the signal received on Q3_Ly is sync head1, make sure that the male head of the first connector is reversely inserted into the female head of the second connector .
  • Embodiment 2 The feature information is a handshake sequence
  • FIG. 7 is an exemplary structural diagram of an interface according to an embodiment of the present application.
  • TxAy and RxAy are classified as the first type of transmission channel, and TxBy and RxBy are classified as the second type of transmission channel.
  • the sender connector Before establishing the connection, the sender connector sends the handshake sequence handshake_signal_A (0x0000FFFF_5A5A5A5A_FFFF0000) on TxAy and handshake_signal_B (0x0000FFFF_3C3C3C3C_FFFF0000) on TxBy.
  • the receiver connector receives feature information from RxAy and RxBy. If the handshake sequence received on RxAy is handshake_signal_A and the handshake sequence received on RxBy is handshake_signal_B, it is determined that the male head of the first connector is inserted into the female head of the second connector.
  • the characteristic information is a heartbeat message
  • the sender connector sends a heartbeat message heartbeat_signal_A (0x0000FFFF_5A5A5A5A_FFFF0000) on TxAy, and sends a heartbeat message heartbeat_signal_B (0x0000FFFF_3C3C3C3C_FFFF0000) on TxBy.
  • the receiving-end connector receives characteristic information from RxAy and RxBy. If the heartbeat message received on RxAy is heartbeat_signal_A and the heartbeat message received on RxBy is heartbeat_signal_B, it is determined that the male head of the first connector is inserted into the second connector.
  • FIG. 8 is an exemplary structural schematic diagram of the connection device according to the embodiment of the present application. As shown in FIG. 8 , the connection device of this embodiment can be applied to the first connector or the second connector in the above-mentioned embodiment, for example, FIG. 4 connector shown.
  • the connection device includes: a receiving module 801 , a determining module 802 , an obtaining module 803 and a sending module 804 . in,
  • the receiving module 801 is configured to receive the first characteristic information through a first transmission channel, the first transmission channel is any one of a plurality of transmission channels included in the interface of the connector, and the first transmission channel is of the first type a transmission channel, the arrangement of the plurality of transmission channels is rotationally symmetric, and the interface of the connector is the male head of the first connector or the female head of the second connector; the determining module 802 is used for when When the first characteristic information corresponds to the first type of transmission channel, it is determined that the male head of the first connector is inserted into the female head of the second connector in the first direction; when the first characteristic information step When corresponding to the first type of transmission channel, it is determined that the male head of the first connector is inserted into the female head of the second connector in a second direction; wherein the first direction and the second direction are opposite .
  • the first feature information is a synchronization header of a signal received on the first transmission channel; or, the first feature information is a handshake sequence received on the first transmission channel or, the first feature information is a heartbeat message received on the first transmission channel.
  • the first characteristic information corresponds to a value representing the first characteristic information of the first type of transmission channel and a preset value for identifying the first type of transmission channel value is the same.
  • the apparatus further includes: an obtaining module 803, configured to obtain second characteristic information, where the second characteristic information is used to identify the type of the second transmission channel, and the second transmission channel is Any one of the multiple transmission channels; a sending module 804, configured to send the second feature information through the second transmission channel.
  • the second characteristic information is a synchronization header of a signal sent on the second transmission channel; or, the second characteristic information is a handshake sequence sent on the second transmission channel or, the second feature information is a heartbeat message sent on the second transmission channel.
  • the sending module 804 is specifically configured to, when the second transmission channel is a first-type transmission channel, send a transmission channel corresponding to the first-type transmission channel through the second transmission channel or, when the second transmission channel is a second type of transmission channel, send the second characteristic information corresponding to the second type of transmission channel through the second transmission channel.
  • the plurality of transmission channels included in the male header of the first connector and the plurality of transmission channels included in the female header of the second connector are classified based on the same strategy.
  • the apparatus of this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 5 , and the implementation principle and technical effect thereof are similar, and are not repeated here.
  • each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the methods disclosed in the embodiments of the present application may be directly embodied as executed by a hardware coding processor, or executed by a combination of hardware and software modules in the coding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory mentioned in the above embodiments may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the disclosed systems, devices and methods may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components described as units may be located in one place, or may be distributed to a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art or the parts of the technical solutions, and the computer software products are stored in a storage medium , which includes several instructions to cause a computer device (personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Communication Control (AREA)

Abstract

一种连接器的插入方式的识别方法和装置。本方法包括:发送端连接器获取特征信息,该特征信息用于标识第二传输通道的类别(501);发送端连接器通过第二传输通道发送特征信息(502);接收端连接器通过第一传输通道接收特征信息(503);当特征信息对应于第一类传输通道时,接收端连接器确定第一连接器的公头以第一方向插入第二连接器的母头(504a);当特征信息对应于非第一类传输通道时,接收端连接器确定第一连接器的公头以第二方向插入第二连接器的母头(504b),第一方向和第二方向相反。本识别方法和装置可以提高接口上的信号传输效率。

Description

连接器的插入方式的识别方法和装置 技术领域
本申请实施例涉及通信技术,尤其涉及一种连接器的插入方式的识别方法和装置。
背景技术
通常可插拔连接器包括公头和母头,公头是指接口凸出来的一方,母头是指接口凹进去的一方,将一个连接器的公头插入另一个连接器的母头可以实现这两个连接器的连接,从而建立二者间的信号传输链路。目前连接器的接口多采用诸如高清晰多媒体接口(high definition multimedia interface,HDMI)、显示端口(display port,DP)、通用串行总线(universal serial bus,USB)和苹果高速接口(apple lightning)等。
随着电子产品的竞争越来越激烈,如何提高接口性能成为提高信号传输效率的关键技术。
发明内容
本申请实施例提供一种连接器的插入方式的识别方法和装置,无需额外设定专用传输通道来传输特征信息,可以提高接口上的信号传输效率。
第一方面,本申请实施例提供一种连接器的插入方式的识别方法,该方法包括:通过第一传输通道接收第一特征信息,该第一传输通道为连接器的接口包括的多个传输通道中的任意一个,且该第一传输通道为第一类传输通道,上述多个传输通道的排布旋转对称,上述连接器的接口为第一连接器的公头或者第二连接器的母头;当第一特征信息对应于第一类传输通道时,确定第一连接器的公头以第一方向插入第二连接器的母头;当第一特征信息不对应于第一类传输通道时,确定第一连接器的公头以第二方向插入第二连接器的母头;其中,上述第一方向和上述第二方向相反。
本申请实施例的方法适用于第一连接器的公头插入第二连接器的母头的场景下,但并不限定第一连接器和第二连接器的传输方向,即在实施本申请实施例提供的连接器的插入方式的识别方法时,可以是第一连接器(发送端连接器)的公头发送信号,第二连接器(接收端连接器)的母头接收信号;也可以是第二连接器(发送端连接器)的母头发送信号,第一连接器(接收端连接器)的公头接收信号。另外,第一连接器的公头包含的多个传输通道和第二连接器的母头包含的多个传输通道的排布方式相同且均为旋转对称,这样才可以确保第一连接器的公头无论是以第一方向还是以第二方向插入第二连接器的母头时,第一连接器和第二连接器的所有传输通道均可以正常工作。
第一传输通道为接收端连接器的接口包括的多个传输通道中的任意一个。例如,如图2所示,连接器的接口包括8个传输通道,为了确定两个连接器的插入方式,接收端连接器可以基于其中任意一个传输通道实施以下步骤,即接收端连接器可以只检测一个传输通道上接收的特征信息,以确定连接器的插入方式。可选的,也可以基于8个(或少于8个)传输通道实施以下步骤,即连接器可以同时检测多个甚至全部传输通道,可能从其中的一个或多个传输通道上接收到特征信息,然后基于这些特征信息确定连接器的插入方式。无论选择多少个传输通道,各个传输通道的实施方式均相同,因此下文以一个传输通道(第 一传输通道)为例进行说明,其它传输通道均可参照该方法,不再一一赘述。
同样的,本申请实施例中接收端的连接器的接口和发送端的连接器的接口采用旋转对称的结构,因此也可以基于传输通道之间的旋转对称关系,将接口包含的多个传输通道分类为第一类传输通道或第二类传输通道。可选的,也可以将接收端连接器的接口包含的多个传输通道分类为多个类别。本申请实施例中旋转对称的两个传输通道不能归为同一类别,例如Q1_L0和Q3_L0处于旋转对称的位置,则Q1_L0和Q3_L0需要标记为不同的类别,Q2_L1和Q4_L1处于旋转对称的位置,则Q2_L1和Q4_L1需要标记为不同的类别,对传输通道的其他类别划分策略不做具体限定。
接收端连接器的接口包含的多个传输通道和发送端连接器的接口包含的多个传输通道可以基于相同的策略分类。即在发送端连接器的接口中任意一个传输通道的类别与在接收端连接器的接口中对应位置的传输通道的类别一致。
发送端连接器发送特征信息时已经根据第二传输通道的类别对特征信息赋值。那么接收端连接器可以根据接收到的特征信息的值分辨出特征信息对应于哪一类别的传输通道,例如,特征信息对应于第一类传输通道,其表示该特征信息的值与预先设定的用于标识第一类传输通道的类别的标识值一致。本申请可以在对连接器的接口包含的多个传输通道进行分类后,预先设定各个类别的传输通道的标识值,然后将多个传输通道的分类信息和标识值存入连接器的存储器(例如连接器的缓存、内存或其他内部存储器)中,以便于连接器在需要用到上述信息时直接从存储其中读取。接收端连接器的接口包含的多个传输通道和发送端连接器的接口包含的多个传输通道可以基于相同的策略分类。当特征信息来自的传输通道(第二传输通道)的类别与接收该特征信息的传输通道(第一传输通道)的类别一致,表示第一连接器的公头以第一方向(例如正向)插入第二连接器的母头;当特征信息来自的传输通道(第二传输通道)的类别与接收该特征信息的传输通道(第一传输通道)的类别不一致,表示第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
换个角度来讲,接收端连接器可以基于与发送端连接器相同的类别划分策略,对接口包括的多个传输通道进行分类,而特征信息的取值与传输通道的类别相关联,因此接收端连接器针对第一传输通道传输的特征信息的取值是有预期的,因此若实际接收到的特征信息(来自第二传输通道)的取值与预期的特征信息的取值一致,表示第一连接器的公头以第一方向(例如正向)插入第二连接器的母头;若实际接收到的特征信息(来自第二传输通道)的取值与预期的特征信息的取值不一致,表示第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
在一种可能的实现方式中,第一特征信息为第一传输通道上接收的信号的同步头;或者,第一特征信息为第一传输通道上接收的握手序列;或者,第一特征信息为第一传输通道上接收的心跳报文。
在一种可能的实现方式中,特征信息可以携带于已有的信号中。
可选的,特征信息可以是第二传输通道上发送的信号的同步头。例如,信号包括同步头(sync head)和数据(data)两部分,以图2为例,预先设定的用于标识第一类传输通道的同步头的取值为0011,用于标识第二类传输通道的同步头的取值为1010,因此发送端连接器可以在Q1_Ly或Q2_Ly上发送的信号的同步头中填入0011,在Q3_Ly和Q4_Ly上发送的信号的同步头中填入1010。
可选的,特征信息也可以是第二传输通道上发送的握手序列。例如,握手序列是发送端连接器和接收端连接器建立连接前发送的序列,以图2为例,预先设定的用于标识第一类传输通道的握手序列的取值为5A5A5A5A,用于标识第二类传输通道的握手序列的取值为3C3C3C3C,因此发送端连接器可以在Q1_Ly或Q2_Ly上发送握手序列5A5A5A5A,在Q3_Ly和Q4_Ly上发送握手序列3C3C3C3C。
可选的,特征信息还可以是第二传输通道上发送的心跳报文。例如,心跳报文是发送端连接器和接收端连接器建立连接后,二者之间定期或不定期发送的心跳检测报文,以图2为例,预先设定的用于标识第一类传输通道的心跳报文的取值为5A5A5A5A,用于标识第二类传输通道的心跳报文的取值为3C3C3C3C,因此发送端连接器可以在Q1_Ly或Q2_Ly上发送心跳报文5A5A5A5A,在Q3_Ly和Q4_Ly上发送心跳报文3C3C3C3C。
需要说明的是,本申请实施例中除了通过上述三种信号传输特征信息外,还可以通过其他已有信号传输特征信息,对此不做具体限定。
在一种可能的实现方式中,特征信息可以携带于本申请实施例新增设的信号中。即在发送端连接器和接收端连接器之间增设新的信号,通过该新的信号传输特征信息。本申请实施例对新增信号的格式和传输机制不做具体限定。
在一种可能的实现方式中,该方法还包括:获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,该第二传输通道为上述多个传输通道中的任意一个;通过该第二传输通道发送上述第二特征信息。
第二传输通道为发送端连接器的接口包括的多个传输通道中的任意一个。例如,如图2所示,连接器的接口包括8个传输通道,为了确定两个连接器的插入方式,发送端连接器可以基于其中任意一个传输通道实施以下步骤。可选的,也可以基于8个(或少于8个)传输通道实施以下步骤。无论选择多少个传输通道,各个传输通道的实施方式均相同,因此下文以一个传输通道(第二传输通道)为例进行说明,其它传输通道均可参照该方法,不再一一赘述。
特征信息对应于第二传输通道的类别是指特征信息的值与预先设定的用于标识第二传输通道的类别的标识值一致。本申请可以在对连接器的接口包含的多个传输通道进行分类后,预先设定各个类别的传输通道的标识值,然后将多个传输通道的分类信息和标识值存入连接器的存储器(例如连接器的缓存、内存或其他内部存储器)中,以便于连接器在需要用到上述信息时直接从存储其中读取。例如,假设第二传输通道的类别为第一类传输通道,预先设定的用于标识第一类传输通道的取值为0011,当特征信息的值为0011时,该特征信息就被确定是对应于第二传输通道的类别的,当特征信息的值不为0011时,该特征信息就被确定是不对应于第二传输通道的类别的。又例如,假设第二传输通道的类别为第二类传输通道,预先设定的用于标识第二类传输通道的取值为5A5A5A5A,当特征信息的值为5A5A5A5A时,该特征信息就被确定是对应于第二传输通道的类别的,当特征信息的值不为5A5A5A5A时,该特征信息就被确定是不对应于第二传输通道的类别的。
在一种可能的实现方式中,第二特征信息为第二传输通道上发送的信号的同步头;或者,第二特征信息为第二传输通道上发送的握手序列;或者,第二特征信息为第二传输通道上发送的心跳报文。
本申请实施例的连接器的接口包含的多个传输通道是旋转对称的,那么无论公头是正 向插入母头,还是反向插入母头,母头包含的多个传输通道均有对应的公头上的传输通道与其连接,使得公头和母头连接时(即工作时)所有的传输通道都在工作,传输通道的利用率可以达到100%,提高了传输通道的利用率。基于该接口,本申请实施例通过在传输通道上传输具有特定取值含义的特征信息,而特征信息的取值代表了传输通道的类别,若接收到的特征信息的取值与接收该特征信息的传输通道的类别一致,则可以确定第一连接器的公头以第一方向插入第二连接器的母头;若接收到的特征信息的取值与接收该特征信息的传输通道的类别不一致,则可以确定第一连接器的公头以第二方向插入第二连接器的母头。上述传输通道可以是接口包含的多个传输通道中的任意一个,无需额外设定专用传输通道来传输特征信息,可以提高接口上的信号传输效率。
第二方面,本申请实施例提供一种连接器的插入方式的识别方法,该方法包括:获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,该第二传输通道为连接器的接口包括的多个传输通道中的任意一个,上述多个传输通道的排布为旋转对称,连接器的接口为第一连接器的公头或者第二连接器的母头;通过第二传输通道发送上述第二特征信息。
在一种可能的实现方式中,第二特征信息为第二传输通道上发送的信号的同步头;或者,第二特征信息为第二传输通道上发送的握手序列;或者,第二特征信息为第二传输通道上发送的心跳报文。
在一种可能的实现方式中,通过第二传输通道发送对应于该第二传输通道的类别的第二特征信息,包括:当该第二传输通道为第一类传输通道时,通过该第二传输通道发送对应于第一类传输通道的第二特征信息;或者,当该第二传输通道为第二类传输通道时,通过该第二传输通道发送对应于第二类传输通道的第二特征信息。
在一种可能的实现方式中,该方法还包括:通过第一传输通道接收第一特征信息,该第一传输通道为上述多个传输通道中的任意一个,且该第一传输通道为第一类传输通道;当上述第一特征信息对应于第一类传输通道时,确定第一连接器的公头以第一方向插入第二连接器的母头;当上述第一特征信息不对应于第一类传输通道时,确定第一连接器的公头以第二方向插入第二连接器的母头;其中,上述第一方向和上述第二方向相反。
在一种可能的实现方式中,该第一特征信息为该第一传输通道上接收的信号的同步头;或者,该第一特征信息为该第一传输通道上接收的握手序列;或者,该第一特征信息为该第一传输通道上接收的心跳报文。
在一种可能的实现方式中,第一特征信息对应于第一类传输通道表示该第一特征信息的值与预先设定的用于标识该第一类传输通道的取值一致。
在一种可能的实现方式中,该方法还包括:获取多个传输通道;对该多个传输通道分别进行分类,其中,第一连接器的公头包含的多个传输通道和第二连接器的母头包含的多个传输通道基于相同的策略分类。
第三方面,本申请实施例提供一种连接器的插入方式的识别方法,该方法包括:发送端连接器获取特征信息,该特征信息用于标识第二传输通道的类别;发送端连接器通过第二传输通道发送上述特征信息;接收端连接器通过第一传输通道接收特征信息;当特征信息对应于第一类传输通道时,接收端连接器确定第一连接器的公头以第一方向插入第二连接器的母头;当特征信息对应于非第一类传输通道时,接收端连接器确定第一连接器的公 头以第二方向插入第二连接器的母头。
本申请实施例的方法适用于第一连接器的公头插入第二连接器的母头的场景下,但并不限定第一连接器和第二连接器的传输方向,即在实施本申请实施例提供的连接器的插入方式的识别方法时,可以是第一连接器(发送端连接器)的公头发送信号,第二连接器(接收端连接器)的母头接收信号;也可以是第二连接器(发送端连接器)的母头发送信号,第一连接器(接收端连接器)的公头接收信号。另外,第一连接器的公头包含的多个传输通道和第二连接器的母头包含的多个传输通道的排布方式相同且均为旋转对称,这样才可以确保第一连接器的公头无论是以第一方向还是以第二方向插入第二连接器的母头时,第一连接器和第二连接器的所有传输通道均可以正常工作。
第二传输通道为发送端连接器的接口包括的多个传输通道中的任意一个。例如,如图2所示,连接器的接口包括8个传输通道,为了确定两个连接器的插入方式,发送端连接器可以基于其中任意一个传输通道传输特征信息。可选的,也可以基于8个(或少于8个)传输通道传输特征信息。无论选择多少个传输通道,各个传输通道的实施方式均相同,因此下文以一个传输通道(第二传输通道)为例进行说明,其它传输通道均可参照该方法,不再一一赘述。
发送端连接器的接口采用旋转对称的结构,因此可以基于传输通道之间的旋转对称关系,将接口包含的多个传输通道分别归类为第一类传输通道或第二类传输通道。例如,如图2所示,将Q1_Ly和Q2_Ly归类为第一类传输通道,将Q3_Ly和Q4_Ly归类为第二类传输通道。可选的,也可以将接口包含的多个传输通道分别归类为多个类别。例如,如图2所示,将Q1_Ly归类为第一类传输通道,将Q2_Ly归类为第二类传输通道,将Q3_Ly归类为第三类传输通道,将Q4_Ly归类为第四类传输通道。本申请实施例中旋转对称的两个传输通道不能归为同一类别,例如Q1_L0和Q3_L0处于旋转对称的位置,则Q1_L0和Q3_L0需要标记为不同的类别,Q2_L1和Q4_L1处于旋转对称的位置,则Q2_L1和Q4_L1需要标记为不同的类别,对传输通道的其他类别划分策略不做具体限定。
特征信息对应于第二传输通道的类别是指特征信息的值与预先设定的用于标识第二传输通道的类别的标识值一致。
在一种可能的实现方式中,特征信息可以携带于已有的信号中。
可选的,特征信息可以是第二传输通道上发送的信号的同步头。例如,信号包括同步头(sync head)和数据(data)两部分,例如,预先设定的用于标识第一类传输通道的同步头的取值为0011,用于标识第二类传输通道的同步头的取值为1010。
可选的,特征信息也可以是第二传输通道上发送的握手序列。例如,握手序列是发送端连接器和接收端连接器建立连接前发送的序列,例如,预先设定的用于标识第一类传输通道的握手序列的取值为5A5A5A5A,用于标识第二类传输通道的握手序列的取值为3C3C3C3C。
可选的,特征信息还可以是第二传输通道上发送的心跳报文。例如,心跳报文是发送端连接器和接收端连接器建立连接后,二者之间定期或不定期发送的心跳检测报文,例如,预先设定的用于标识第一类传输通道的心跳报文的取值为5A5A5A5A,用于标识第二类传输通道的心跳报文的取值为3C3C3C3C。
需要说明的是,本申请实施例中除了通过上述三种信号传输特征信息外,还可以通过 其他已有信号传输特征信息,对此不做具体限定。
在一种可能的实现方式中,特征信息可以携带于本申请实施例新增设的信号中。即在发送端连接器和接收端连接器之间增设新的信号,通过该新的信号传输特征信息。本申请实施例对新增信号的格式和传输机制不做具体限定。
第一传输通道为接收端连接器的接口包括的多个传输通道中的任意一个。例如,连接器的接口包括8个传输通道,为了确定两个连接器的插入方式,接收端连接器可以基于其中任意一个传输通道接收特征信息,即接收端连接器可以只检测一个传输通道上接收的特征信息,以确定连接器的插入方式。可选的,也可以基于8个(或少于8个)传输通道接收特征信息,即连接器可以同时检测多个甚至全部传输通道,可能从其中的一个或多个传输通道上接收到特征信息,然后基于这些特征信息确定连接器的插入方式。无论选择多少个传输通道,各个传输通道的实施方式均相同,因此下文以一个传输通道(第一传输通道)为例进行说明,其它传输通道均可参照该方法,不再一一赘述。需要说明的是,第一传输通道和上述第二传输通道可以是指同一个传输通道,也可以是指不同的传输通道,本申请实施例对此不做具体限定。
同样的,如上所述,接收端连接器的接口采用旋转对称的结构,因此也可以基于传输通道之间的旋转对称关系,将接口包含的多个传输通道分别归类为第一类传输通道或第二类传输通道。传输通道的分类可以参照上述描述,此处不再赘述。
发送端连接器发送特征信息时已经根据第二传输通道的类别对特征信息赋值。那么接收端连接器可以根据接收到的特征信息的值分辨出特征信息来自于哪一类别的传输通道。而接收端连接器可以基于与发送端连接器相同的类别划分策略,可以对接口包括的多个传输通道进行归类。当特征信息来自的传输通道(第二传输通道)的类别与接收该特征信息的传输通道(第一传输通道)的类别一致,表示第一连接器的公头以第一方向(例如正向)插入第二连接器的母头;当特征信息来自的传输通道(第二传输通道)的类别与接收该特征信息的传输通道(第一传输通道)的类别不一致,表示第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
换个角度来讲,接收端连接器可以基于与发送端连接器相同的类别划分策略,对接口包括的多个传输通道进行分类,而特征信息的取值与传输通道的类别相关联,因此接收端连接器针对第一传输通道有预期的特征信息的取值,因此若实际接收到的特征信息(来自第二传输通道)的取值与预期的特征信息的取值一致,表示第一连接器的公头以第一方向(例如正向)插入第二连接器的母头;若实际接收到的特征信息(来自第二传输通道)的取值与预期的特征信息的取值不一致,表示第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
本申请实施例通过在传输通道上传输具有特定取值含义的特征信息,而特征信息的取值代表了传输通道的类别,若接收到的特征信息的取值与接收该特征信息的传输通道的类别一致,则可以确定第一连接器的公头以第一方向插入第二连接器的母头;若接收到的特征信息的取值与接收该特征信息的传输通道的类别不一致,则可以确定第一连接器的公头以第二方向插入第二连接器的母头。一方面上述传输通道可以是接口包含的多个传输通道中的任意一个,无需额外设定专用传输通道来传输特征信息,可以提高接口上传输通道的利用率。
第四方面,本申请实施例提供一种连接装置,该装置包括:接收模块,用于通过第一传输通道接收第一特征信息,该第一传输通道为连接器的接口包括的多个传输通道中的任意一个,且该第一传输通道为第一类传输通道,上述多个传输通道的排布为旋转对称,该连接器的接口为第一连接器的公头或者第二连接器的母头;确定模块,用于当上述第一特征信息对应于上述第一类传输通道时,确定第一连接器的公头以第一方向插入第二连接器的母头;当上述第一特征信息步对应于上述第一类传输通道时,确定第一连接器的公头以第二方向插入第二连接器的母头;其中,上述第一方向和上述第二方向相反。
在一种可能的实现方式中,上述第一特征信息为上述第一传输通道上接收的信号的同步头;或者,上述第一特征信息为上述第一传输通道上接收的握手序列;或者,上述第一特征信息为上述第一传输通道上接收的心跳报文。
在一种可能的实现方式中,上述第一特征信息对应于上述第一类传输通道表示上述第一特征信息的值与预先设定的用于标识上述第一类传输通道的取值一致。
在一种可能的实现方式中,上述装置还包括:获取模块,用于获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,上述第二传输通道为上述多个传输通道中的任意一个;发送模块,用于通过上述第二传输通道发送上述第二特征信息。
在一种可能的实现方式中,上述第二特征信息为上述第二传输通道上发送的信号的同步头;或者,上述第二特征信息为上述第二传输通道上发送的握手序列;或者,上述第二特征信息为上述第二传输通道上发送的心跳报文。
在一种可能的实现方式中,上述发送模块,具体用于当上述第二传输通道为第一类传输通道时,通过上述第二传输通道发送对应于上述第一类传输通道的上述第二特征信息;或者,当上述第二传输通道为第二类传输通道时,通过上述第二传输通道发送对应于上述第二类传输通道的上述第二特征信息。
在一种可能的实现方式中,上述第一连接器的公头包含的上述多个传输通道和上述第二连接器的母头包含的上述多个传输通道基于相同的策略分类。
第五方面,本申请实施例提供一种连接装置,上述装置包括:获取模块,用于获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,上述第二传输通道为连接器的接口包括的多个传输通道中的任意一个,上述多个传输通道的排布为旋转对称,上述连接器的接口为第一连接器的公头或者第二连接器的母头;发送模块,用于通过上述第二传输通道发送上述第二特征信息。
在一种可能的实现方式中,上述第二特征信息为上述第二传输通道上发送的信号的同步头;或者,上述第二特征信息为上述第二传输通道上发送的握手序列;或者,上述第二特征信息为上述第二传输通道上发送的心跳报文。
在一种可能的实现方式中,上述发送模块,具体用于当上述第二传输通道为第一类传输通道时,通过上述第二传输通道发送对应于上述第一类传输通道的上述第二特征信息;或者,当上述第二传输通道为第二类传输通道时,通过上述第二传输通道发送对应于上述第二类传输通道的上述第二特征信息。
在一种可能的实现方式中,上述装置还包括:接收模块,用于通过第一传输通道接收第一特征信息,上述第一传输通道为连接器的接口包括的多个传输通道中的任意一个,且上述第一传输通道为第一类传输通道,上述多个传输通道的排布为旋转对称,上述连接器 的接口为上述第一连接器的公头或者上述第二连接器的母头;确定模块,用于当上述第一特征信息对应于上述第一类传输通道时,确定上述第一连接器的公头以第一方向插入上述第二连接器的母头;当上述第一特征信息步对应于上述第一类传输通道时,确定上述第一连接器的公头以第二方向插入上述第二连接器的母头;其中,上述第一方向和上述第二方向相反。
在一种可能的实现方式中,上述第一特征信息为上述第一传输通道上接收的信号的同步头;或者,上述第一特征信息为上述第一传输通道上接收的握手序列;或者,上述第一特征信息为上述第一传输通道上接收的心跳报文。
在一种可能的实现方式中,上述第一特征信息对应于上述第一类传输通道表示上述第一特征信息的值与预先设定的用于标识上述第一类传输通道的取值一致。
在一种可能的实现方式中,上述第一连接器的公头包含的上述多个传输通道和上述第二连接器的母头包含的上述多个传输通道基于相同的策略分类。
第六方面,本申请实施例提供一种连接器,包括:处理器和接口;上述接口,用于发送或接收信号;上述处理器,被配置为调用存储在存储器中的一个或多个程序,以实现如上述第一至三方面中任一项的方法。
第七方面,本申请实施例提供一种计算机可读存储介质,包括程序指令,该程序指令在计算机或处理器上被执行时,使得该计算机或该处理器执行上述第一至三方面中任一项的方法。
第八方面,本申请实施例提供一种计算机程序产品,包括程序指令,当该程序指令被计算机或处理器执行时,用于执行上述第一至三方面中任一项的方法。
附图说明
图1a为本申请实施例提供的一种示例性的旋转对称结构的示意图;
图1b为本申请实施例提供的一种示例性的旋转对称结构的示意图;
图2为本申请实施例连接器的接口的一个示例性的结构图;
图3a为本身申请正插方式的一个示例性的示意图;
图3b为本身申请反插方式的一个示例性的示意图;
图3c为本申请实施例Type-C公头的一个示例性的示意图;
图3d为本申请实施例Type-C母头的一个示例性的示意图;
图4为本申请实施例连接器的一个示例性的结构图;
图5为本申请实施例连接器的插入方式的识别方法的一个示例性的流程图;
图6为本申请实施例信号的一个示例性的示意图;
图7为本申请实施例接口的一个示例性的结构图;
图8为本申请实施例连接装置的一个示例性的结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请实施例一部分实施例,而不是全部的实施例。基于本申请实施例中的实施例,本领域 普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请实施例保护的范围。
本申请实施例的说明书实施例和权利要求书及附图中的术语“第一”、“第二”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
应当理解,在本申请实施例中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
图1a和图1b为本申请实施例旋转对称结构的一个示例性的结构图,如图1a所示,连接器的接口(例如连接器的公头或者连接器的母头)包括N×M个传输通道(lane),一个传输通道(Qx_Ly)可以由一条线(line)(K=1)构成,或者,一个传输通道(Qx_Ly)也可以由一对差分线(K=2)构成,或者,一个传输通道(Qx_Ly)还可以由三根线(K=3)构成,或者,一个传输通道(Qx_Ly)还可以由更多根线(K=n)构成,本申请实施例对K的取值不做具体限定。一个传输通道对应的K根线共同传输一个有效信号。一根线对应接口上的一个引脚。本申请实施例中N×M个传输通道的排布旋转对称,即将连接器的接口翻转180°后得到如图1b所示的结构,与图1a相比可见,Q4_Ly和Q2_Ly互换位置,Q3_Ly和Q1_Ly互换位置。因此Q4_Ly和Q2_Ly是旋转对称的关系,Q3_Ly和Q1_Ly是旋转对称的关系,其中,y=0,1,2或3。
例如,图2为本申请实施例连接器的接口的一个示例性的结构图,如图2所示,该连接器的接口包括8个传输通道(Q1_L0、Q1_L1、Q2_L0、Q2_L1、Q3_L0、Q3_L1、Q4_L0和Q4_L1),其中,N=4,M=2,K=1。根据该8个传输通道的排列位置,可以知道Q4_Ly和Q2_Ly是旋转对称的关系,Q3_Ly和Q1_Ly是旋转对称的关系,y=0或1。
图3a为本身申请正插方式的一个示例性的示意图,如图3a所示,第一连接器的公头正向插入第二连接器的母头,第一连接器的公头和第二连接器的母头均采用图2所示的结构,包括8个传输通道(Q1_L0、Q1_L1、Q2_L0、Q2_L1、Q3_L0、Q3_L1、Q4_L0和Q4_L1),其中,Q4_Ly和Q2_Ly是旋转对称的关系,Q3_Ly和Q1_Ly是旋转对称的关系,y=0或1。
第一连接器的公头正向插入第二连接器的母头后,第一连接器的公头的Q1_L0和第二连接器的母头的Q1_L0建立连接,第一连接器的公头的Q1_L1和第二连接器的母头的Q1_L1建立连接;第一连接器的公头的Q2_L0和第二连接器的母头的Q2_L0建立连接,第一连接器的公头的Q2_L1和第二连接器的母头的Q2_L1建立连接;第一连接器的公头的Q3_L0和第二连接器的母头的Q3_L0建立连接,第一连接器的公头的Q3_L1和第二连接器的母头的Q3_L1建立连接;第一连接器的公头的Q4_L0和第二连接器的母头的Q4_L0 建立连接,第一连接器的公头的Q4_L1和第二连接器的母头的Q4_L1建立连接。
图3b为本申请实施例反插方式的一个示例性的示意图,如图3b所示,第一连接器的公头反向插入第二连接器的母头,第一连接器的公头和第二连接器的母头均采用图2所示的结构,包括8个传输通道(Q1_L0、Q1_L1、Q2_L0、Q2_L1、Q3_L0、Q3_L1、Q4_L0和Q4_L1),其中,Q4_Ly和Q2_Ly是旋转对称的关系,Q3_Ly和Q1_Ly是旋转对称的关系,y=0或1。
第一连接器的公头反向插入第二连接器的母头后,第一连接器的公头的Q1_L0和第二连接器的母头的Q3_L0建立连接,第一连接器的公头的Q1_L1和第二连接器的母头的Q3_L1建立连接;第一连接器的公头的Q2_L0和第二连接器的母头的Q4_L0建立连接,第一连接器的公头的Q2_L1和第二连接器的母头的Q4_L1建立连接;第一连接器的公头的Q3_L0和第二连接器的母头的Q1_L0建立连接,第一连接器的公头的Q3_L1和第二连接器的母头的Q1_L1建立连接;第一连接器的公头的Q4_L0和第二连接器的母头的Q2_L0建立连接,第一连接器的公头的Q4_L1和第二连接器的母头的Q2_L1建立连接。
图3c为本申请实施例Type-C公头的一个示例性的示意图,如图3c所示,在连接器的公头的两侧设置相同的信号线。图3d为本申请实施例Type-C母头的一个示例性的示意图,如图3d所示,在连接器的母头的两侧中仅一侧设置信号线,另一侧没有设置信号线。可见Type-C接口,无论公头是正向还是反向插入母头,公头的两侧中总有一侧的信号线与母头设置有信号线的一侧相连,这样即可正常使用。但是,由于母头只有一侧设置有信号线,即使公头的两侧均设置有相同的信号线,实际上公头和母头连接时(即工作时)只有一组信号线在工作,使得Type-C接口的信号线的利用率只有50%,影响了信号传输效率。
由此可见,相较于Type-C接口,本申请实施例的连接器的接口包含的多个传输通道是旋转对称的,那么无论公头是正向插入母头,还是反向插入母头,母头包含的多个传输通道均有对应的公头上的传输通道与其连接,使得公头和母头连接时(即工作时)所有的传输通道都在工作,传输通道的利用率可以达到100%,提高了信号传输效率。
图4为本申请实施例连接器的一个示例性的结构图,如图4所示,该连接器包括至少一个处理器411、至少一个存储器412和至少一个接口413。处理器411、存储器412和接口413连接,例如通过总线连接。在本申请实施例中,所述连接可包括各类接口、传输线或总线等,本申请实施例对此不做具体限定。
处理器411主要用于对通信协议以及通信数据进行处理,以及对整个连接器进行控制,执行软件程序,处理软件程序的数据。处理器411可以包括一个或多个处理单元,例如:处理器411可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
存储器412主要用于存储软件程序和数据。存储器412可以是独立存在(独立的存储元件),与处理器411连接。可选的,存储器412可以和处理器411集成在一起,例如集成在一个芯片之内(片内存储元件)。其中,存储器412可以用于存储计算机可执行程 序代码,所述可执行程序代码包括指令。存储器412可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序等。此外,存储器412可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器411通过运行存储在存储器412的指令,和/或存储在设置于处理器中的存储器的指令,执行本申请实施例的技术方案和数据处理。
接口413主要用于接收和/或发送信号。本申请实施例中的接口413可以采用图1a~2任一所示接口的结构。接口413可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,通用串行总线(universal serial bus,USB)接口,高清多媒体接口(high definition multimedia interface,HDMI)、移动产业处理器接口(mobile industry processor interface,MIPI)接口和/或图1a~图3b任一实施例所示的接口等。
图4仅示出了一个存储器、一个处理器和一个接口。在实际的连接器中,可以存在多个处理器、多个存储器和多个接口,本申请实施例对此不做具体限定。
图5为本申请实施例连接器的插入方式的识别方法的一个示例性的流程图,如图5所示,该过程500可以由连接器(包括发送端连接器和接收端连接器),例如图4所示连接器执行。过程500描述为一系列的步骤或操作,应当理解的是,过程500可以以各种顺序执行和/或同时发生,不限于图5所示的执行顺序。
本申请实施例的方法适用于第一连接器的公头插入第二连接器的母头的场景下,但并不限定第一连接器和第二连接器的传输方向,即在实施本申请实施例提供的连接器的插入方式的识别方法时,可以是第一连接器(发送端连接器)的公头发送信号,第二连接器(接收端连接器)的母头接收信号;也可以是第二连接器(发送端连接器)的母头发送信号,第一连接器(接收端连接器)的公头接收信号。另外,第一连接器的公头包含的多个传输通道和第二连接器的母头包含的多个传输通道的排布方式相同且均为旋转对称,这样才可以确保第一连接器的公头无论是以第一方向还是以第二方向插入第二连接器的母头时,第一连接器和第二连接器的所有传输通道均可以正常工作。
步骤501、发送端连接器获取第二特征信息,该第二特征信息用于标识第二传输通道的类别。
第二传输通道为发送端连接器的接口包括的多个传输通道中的任意一个。例如,如图2所示,连接器的接口包括8个传输通道,为了确定两个连接器的插入方式,发送端连接器可以基于其中任意一个传输通道实施以下步骤。可选的,也可以基于8个(或少于8个)传输通道实施以下步骤。无论选择多少个传输通道,各个传输通道的实施方式均相同,因此下文以一个传输通道(第二传输通道)为例进行说明,其它传输通道均可参照该方法,不再一一赘述。
如上所述,发送端连接器的接口采用旋转对称的结构,因此可以基于传输通道之间的 旋转对称关系,将接口包含的多个传输通道分别归类为第一类传输通道或第二类传输通道。例如,如图2所示,将Q1_Ly和Q2_Ly归类为第一类传输通道,将Q3_Ly和Q4_Ly归类为第二类传输通道。可选的,也可以将接口包含的多个传输通道分别归类为多个类别。例如,如图2所示,将Q1_Ly归类为第一类传输通道,将Q2_Ly归类为第二类传输通道,将Q3_Ly归类为第三类传输通道,将Q4_Ly归类为第四类传输通道。本申请实施例中旋转对称的两个传输通道不能归为同一类别,例如Q1_L0和Q3_L0处于旋转对称的位置,则Q1_L0和Q3_L0需要标记为不同的类别,Q2_L1和Q4_L1处于旋转对称的位置,则Q2_L1和Q4_L1需要标记为不同的类别,对传输通道的其他类别划分策略不做具体限定。
特征信息对应于第二传输通道的类别是指特征信息的值与预先设定的用于标识第二传输通道的类别的标识值一致。例如,假设第二传输通道的类别为第一类传输通道,预先设定的用于标识第一类传输通道的取值为0011,当特征信息的值为0011时,该特征信息就被确定是对应于第二传输通道的类别的,当特征信息的值不为0011时,该特征信息就被确定是不对应于第二传输通道的类别的。又例如,假设第二传输通道的类别为第二类传输通道,预先设定的用于标识第二类传输通道的取值为5A5A5A5A,当特征信息的值为5A5A5A5A时,该特征信息就被确定是对应于第二传输通道的类别的,当特征信息的值不为5A5A5A5A时,该特征信息就被确定是不对应于第二传输通道的类别的。
在一种可能的实现方式中,特征信息可以携带于已有的信号中。
可选的,特征信息可以是第二传输通道上发送的信号的同步头。例如,信号包括同步头(sync head)和数据(data)两部分,以图2为例,预先设定的用于标识第一类传输通道的同步头的取值为0011,用于标识第二类传输通道的同步头的取值为1010,因此发送端连接器可以在Q1_Ly或Q2_Ly上发送的信号的同步头中填入0011,在Q3_Ly和Q4_Ly上发送的信号的同步头中填入1010。
可选的,特征信息也可以是第二传输通道上发送的握手序列。例如,握手序列是发送端连接器和接收端连接器建立连接前发送的序列,以图2为例,预先设定的用于标识第一类传输通道的握手序列的取值为5A5A5A5A,用于标识第二类传输通道的握手序列的取值为3C3C3C3C,因此发送端连接器可以在Q1_Ly或Q2_Ly上发送握手序列5A5A5A5A,在Q3_Ly和Q4_Ly上发送握手序列3C3C3C3C。
可选的,特征信息还可以是第二传输通道上发送的心跳报文。例如,心跳报文是发送端连接器和接收端连接器建立连接后,二者之间定期或不定期发送的心跳检测报文,以图2为例,预先设定的用于标识第一类传输通道的心跳报文的取值为5A5A5A5A,用于标识第二类传输通道的心跳报文的取值为3C3C3C3C,因此发送端连接器可以在Q1_Ly或Q2_Ly上发送心跳报文5A5A5A5A,在Q3_Ly和Q4_Ly上发送心跳报文3C3C3C3C。
需要说明的是,本申请实施例中除了通过上述三种信号传输特征信息外,还可以通过其他已有信号传输特征信息,对此不做具体限定。
在一种可能的实现方式中,特征信息可以携带于本申请实施例新增设的信号中。即在发送端连接器和接收端连接器之间增设新的信号,通过该新的信号传输特征信息。本申请实施例对新增信号的格式和传输机制不做具体限定。
步骤502、发送端连接器通过第二传输通道发送特征信息。
发送端连接器可以在第二传输通道上发送该特征信息,特征信息的实现方式可以参照 上述几种情况,特征信息的取值可以与第二传输通道的类别对应,此处不再赘述。
步骤503、接收端连接器通过第一传输通道接收特征信息。
第一传输通道为接收端连接器的接口包括的多个传输通道中的任意一个。例如,如图2所示,连接器的接口包括8个传输通道,为了确定两个连接器的插入方式,接收端连接器可以基于其中任意一个传输通道实施以下步骤,即接收端连接器可以只检测一个传输通道上接收的特征信息,以确定连接器的插入方式。可选的,也可以基于8个(或少于8个)传输通道实施以下步骤,即连接器可以同时检测多个甚至全部传输通道,可能从其中的一个或多个传输通道上接收到特征信息,然后基于这些特征信息确定连接器的插入方式。无论选择多少个传输通道,各个传输通道的实施方式均相同,因此下文以一个传输通道(第一传输通道)为例进行说明,其它传输通道均可参照该方法,不再一一赘述。需要说明的是,第一传输通道和步骤501中的第二传输通道可以是指同一个传输通道,也可以是指不同的传输通道,本申请实施例对此不做具体限定。
同样的,本申请实施例中接收端的连接器的接口和发送端的连接器的接口采用旋转对称的结构,因此也可以基于传输通道之间的旋转对称关系,将接口包含的多个传输通道分别归类为第一类传输通道或第二类传输通道。可选的,也可以将接收端连接器的接口包含的多个传输通道分别归类为多个类别。本申请实施例中旋转对称的两个传输通道不能归为同一类别,例如Q1_L0和Q3_L0处于旋转对称的位置,则Q1_L0和Q3_L0需要标记为不同的类别,Q2_L1和Q4_L1处于旋转对称的位置,则Q2_L1和Q4_L1需要标记为不同的类别,对传输通道的其他类别划分策略不做具体限定。
接收端连接器的接口包含的多个传输通道和发送端连接器的接口包含的多个传输通道可以基于相同的策略分类。即在发送端连接器的接口中任意一个传输通道的类别与在接收端连接器的接口中该传输通道的类别一致。
步骤504a、当特征信息对应于第一类传输通道时,接收端连接器确定第一连接器的公头以第一方向插入第二连接器的母头。
步骤504b、当特征信息对应于非第一类传输通道时,接收端连接器确定第一连接器的公头以第二方向插入第二连接器的母头。
步骤504a和504b是二选一的可选步骤,即根据特征信息对应的传输通道的类别确定是执行步骤504a还是步骤504b。
发送端连接器发送特征信息时已经根据第二传输通道的类别对特征信息赋值。那么接收端连接器可以根据接收到的特征信息的值分辨出特征信息来自于哪一类别的传输通道。接收端连接器的接口包含的多个传输通道和发送端连接器的接口包含的多个传输通道可以基于相同的策略分类。当特征信息来自的传输通道(第二传输通道)的类别与接收该特征信息的传输通道(第一传输通道)的类别一致,表示第一连接器的公头以第一方向(例如正向)插入第二连接器的母头;当特征信息来自的传输通道(第二传输通道)的类别与接收该特征信息的传输通道(第一传输通道)的类别不一致,表示第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
例如,以图2为例,接收端连接器从Q1_Ly上接收到特征信息为取值为0011的同步头时,可以确定该特征信息来自第一类传输通道。而Q1_Ly属于第一类传输通道,因此可以确定第一连接器的公头以第一方向(例如正向)插入第二连接器的母头。或者,接收 端连接器从Q3_Ly上接收到特征信息为取值为0011的同步头时,可以确定该特征信息来自第一类传输通道。而Q3_Ly属于第二类传输通道,因此可以确定第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
换个角度来讲,接收端连接器可以基于与发送端连接器相同的类别划分策略,对接口包括的多个传输通道进行分类,而特征信息的取值与传输通道的类别相关联,因此接收端连接器针对第一传输通道传输的特征信息的取值是有预期的,因此若实际接收到的特征信息(来自第二传输通道)的取值与预期的特征信息的取值一致,表示第一连接器的公头以第一方向(例如正向)插入第二连接器的母头;若实际接收到的特征信息(来自第二传输通道)的取值与预期的特征信息的取值不一致,表示第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
例如,以图2为例,接收端连接器从Q1_Ly(预期的特征信息的取值为0011)上接收到特征信息为取值为0011的同步头时,可以确定第一连接器的公头以第一方向(例如正向)插入第二连接器的母头。或者,接收端连接器从Q3_Ly(预期的特征信息的取值为1010)上接收到特征信息为取值为0011的同步头时,可以确定第一连接器的公头以第二方向(例如反向)插入第二连接器的母头。
本申请实施例的连接器的接口包含的多个传输通道是旋转对称的,那么无论公头是正向插入母头,还是反向插入母头,母头包含的多个传输通道均有对应的公头上的传输通道与其连接,使得公头和母头连接时(即工作时)所有的传输通道都在工作,传输通道的利用率可以达到100%,提高了传输通道的利用率。基于该接口,本申请实施例通过在传输通道上传输具有特定取值含义的特征信息,而特征信息的取值代表了传输通道的类别,若接收到的特征信息的取值与接收该特征信息的传输通道的类别一致,则可以确定第一连接器的公头以第一方向插入第二连接器的母头;若接收到的特征信息的取值与接收该特征信息的传输通道的类别不一致,则可以确定第一连接器的公头以第二方向插入第二连接器的母头。上述传输通道可以是接口包含的多个传输通道中的任意一个,无需额外设定专用传输通道来传输特征信息,可以提高接口上的信号传输效率。
下面采用几个具体的实施例,对图5所示方法实施例的技术方案进行详细说明。
实施例一、特征信息为信号的同步头
以图2为例,Q1_Ly和Q2_Ly归类为第一类传输通道,Q3_Ly和Q4_Ly归类为第二类传输通道。以Q1_Ly和Q3_Ly为例,图6为本申请实施例信号的一个示例性的示意图,如图6所示,发送端连接器在Q1_Ly上发送sync head1作为同步头,每个同步头后跟一段data数据,在Q3_Lx上发送sync head2作为同步头,每个同步头后跟一段data数据。接收端连接器接收Q1_Ly和Q3_Ly上的特征信息,如果Q1_Ly上接收的信号的同步头为sync head1,Q3_Ly上接收的信号的同步头为sync head2,确定第一连接器的公头正向插入第二连接器的母头;如果Q1_Ly上接收的信号的同步头为sync head2,Q3_Ly上接收的信号的同步头为sync head1,确定第一连接器的公头反向插入第二连接器的母头。
实施例二、特征信息为握手序列
图7为本申请实施例接口的一个示例性的结构图,如图7所示,接口中的传输通道有两个方向,其中,Tx*y(y=0~N)表示发送信道,Rx*y(y=0~N)表示接收信道。TxAy和RxAy归类为第一类传输通道,TxBy和RxBy归类为第二类传输通道。在建立连接之 前,发送端连接器在TxAy上发送握手序列handshake_signal_A(0x0000FFFF_5A5A5A5A_FFFF0000),在TxBy上发送握手序列handshake_signal_B(0x0000FFFF_3C3C3C3C_FFFF0000)。接收端连接器从RxAy和RxBy上接收特征信息,如果RxAy上接收的握手序列为handshake_signal_A,RxBy上接收的握手序列为handshake_signal_B,确定第一连接器的公头正向插入第二连接器的母头;如果RxAy上接收的握手序列为handshake_signal_B,RxBy上接收的握手序列为handshake_signal_A,确定第一连接器的公头反向插入第二连接器的母头。
实施例三、特征信息为心跳报文
以图7为例,建立连接之后,发送端连接器在TxAy上发送心跳报文heartbeat_signal_A(0x0000FFFF_5A5A5A5A_FFFF0000),在TxBy上发送心跳报文heartbeat_signal_B(0x0000FFFF_3C3C3C3C_FFFF0000)。接收端连接器从RxAy和RxBy上接收特征信息,如果RxAy上接收的心跳报文为heartbeat_signal_A,RxBy上接收的心跳报文为heartbeat_signal_B,确定第一连接器的公头正向插入第二连接器的母头;如果RxAy上接收的心跳报文为heartbeat_signal_B,RxBy上接收的心跳报文为heartbeat_signal_A,确定第一连接器的公头反向插入第二连接器的母头。
图8为本申请实施例连接装置的一个示例性的结构示意图,如图8所示,本实施例的连接装置可以应用于上述实施例中的第一连接器或第二连接器,例如图4所示的连接器。该连接装置包括:接收模块801、确定模块802、获取模块803和发送模块804。其中,
接收模块801,用于通过第一传输通道接收第一特征信息,所述第一传输通道为连接器的接口包括的多个传输通道中的任意一个,且所述第一传输通道为第一类传输通道,所述多个传输通道的排布为旋转对称,所述连接器的接口为所述第一连接器的公头或者所述第二连接器的母头;确定模块802,用于当所述第一特征信息对应于所述第一类传输通道时,确定所述第一连接器的公头以第一方向插入所述第二连接器的母头;当所述第一特征信息步对应于所述第一类传输通道时,确定所述第一连接器的公头以第二方向插入所述第二连接器的母头;其中,所述第一方向和所述第二方向相反。
在一种可能的实现方式中,所述第一特征信息为所述第一传输通道上接收的信号的同步头;或者,所述第一特征信息为所述第一传输通道上接收的握手序列;或者,所述第一特征信息为所述第一传输通道上接收的心跳报文。
在一种可能的实现方式中,所述第一特征信息对应于所述第一类传输通道表示所述第一特征信息的值与预先设定的用于标识所述第一类传输通道的取值一致。
在一种可能的实现方式中,所述装置还包括:获取模块803,用于获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,所述第二传输通道为所述多个传输通道中的任意一个;发送模块804,用于通过所述第二传输通道发送所述第二特征信息。
在一种可能的实现方式中,所述第二特征信息为所述第二传输通道上发送的信号的同步头;或者,所述第二特征信息为所述第二传输通道上发送的握手序列;或者,所述第二特征信息为所述第二传输通道上发送的心跳报文。
在一种可能的实现方式中,所述发送模块804,具体用于当所述第二传输通道为第一类传输通道时,通过所述第二传输通道发送对应于所述第一类传输通道的所述第二特征信息;或者,当所述第二传输通道为第二类传输通道时,通过所述第二传输通道发送对应于 所述第二类传输通道的所述第二特征信息。
在一种可能的实现方式中,所述第一连接器的公头包含的所述多个传输通道和所述第二连接器的母头包含的所述多个传输通道基于相同的策略分类。
本实施例的装置,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、特定应用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
上述各实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是 电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元说明的部件可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(个人计算机,服务器,或者网络设备等)执行本申请实施例各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种连接器的插入方式的识别方法,其特征在于,所述方法包括:
    通过第一传输通道接收第一特征信息,所述第一传输通道为连接器的接口包括的多个传输通道中的任意一个,且所述第一传输通道为第一类传输通道,所述多个传输通道的排布旋转对称,所述连接器的接口为第一连接器的公头或者第二连接器的母头;
    当所述第一特征信息对应于所述第一类传输通道时,确定所述第一连接器的公头以第一方向插入所述第二连接器的母头;
    当所述第一特征信息不对应于所述第一类传输通道时,确定所述第一连接器的公头以第二方向插入所述第二连接器的母头;
    其中,所述第一方向和所述第二方向相反。
  2. 根据权利要求1所述的方法,其特征在于,所述第一特征信息为所述第一传输通道上接收的信号的同步头;或者,所述第一特征信息为所述第一传输通道上接收的握手序列;或者,所述第一特征信息为所述第一传输通道上接收的心跳报文。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一特征信息对应于所述第一类传输通道表示所述第一特征信息的值与预先设定的用于标识所述第一类传输通道的类别的标识值一致。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述方法还包括:
    获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,所述第二传输通道为所述多个传输通道中的任意一个;
    通过所述第二传输通道发送所述第二特征信息。
  5. 根据权利要求4所述的方法,其特征在于,所述第二特征信息为所述第二传输通道上发送的信号的同步头;或者,所述第二特征信息为所述第二传输通道上发送的握手序列;或者,所述第二特征信息为所述第二传输通道上发送的心跳报文。
  6. 根据权利要求4或5所述的方法,其特征在于,所述通过所述第二传输通道发送所述第二特征信息,包括:
    当所述第二传输通道为第一类传输通道时,通过所述第二传输通道发送对应于所述第一类传输通道的所述第二特征信息;或者,
    当所述第二传输通道为第二类传输通道时,通过所述第二传输通道发送对应于所述第二类传输通道的所述第二特征信息。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述第一连接器的公头包含的所述多个传输通道和所述第二连接器的母头包含的所述多个传输通道基于相同的策略分类。
  8. 一种连接器的插入方式的识别方法,其特征在于,所述方法包括:
    获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,所述第二传输通道为连接器的接口包括的多个传输通道中的任意一个,所述多个传输通道的排布旋转对称,所述连接器的接口为第一连接器的公头或者第二连接器的母头;
    通过所述第二传输通道发送所述第二特征信息。
  9. 根据权利要求8所述的方法,其特征在于,所述第一连接器的公头包含的所述多 个传输通道和所述第二连接器的母头包含的所述多个传输通道基于相同的策略分类。
  10. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:
    通过第一传输通道接收第一特征信息,所述第一传输通道为所述多个传输通道中的任意一个,且所述第一传输通道为第一类传输通道;
    当所述第一特征信息对应于所述第一类传输通道时,确定所述第一连接器的公头以第一方向插入所述第二连接器的母头;
    当所述第一特征信息不对应于所述第一类传输通道时,确定所述第一连接器的公头以第二方向插入所述第二连接器的母头;
    其中,所述第一方向和所述第二方向相反。
  11. 一种连接装置,其特征在于,包括:
    接收模块,用于通过第一传输通道接收第一特征信息,所述第一传输通道为连接器的接口包括的多个传输通道中的任意一个,且所述第一传输通道为第一类传输通道,所述多个传输通道的排布旋转对称,所述连接器的接口为所述第一连接器的公头或者所述第二连接器的母头;
    确定模块,用于当所述第一特征信息对应于所述第一类传输通道时,确定所述第一连接器的公头以第一方向插入所述第二连接器的母头;当所述第一特征信息步对应于所述第一类传输通道时,确定所述第一连接器的公头以第二方向插入所述第二连接器的母头;其中,所述第一方向和所述第二方向相反。
  12. 根据权利要求11所述的装置,其特征在于,所述第一特征信息为所述第一传输通道上接收的信号的同步头;或者,所述第一特征信息为所述第一传输通道上接收的握手序列;或者,所述第一特征信息为所述第一传输通道上接收的心跳报文。
  13. 根据权利要求11或12所述的装置,其特征在于,所述第一特征信息对应于所述第一类传输通道表示所述第一特征信息的值与预先设定的用于标识所述第一类传输通道的类别的标识值一致。
  14. 根据权利要求11-13中任一项所述的装置,其特征在于,所述装置还包括:
    获取模块,用于获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,所述第二传输通道为所述多个传输通道中的任意一个;发送模块,用于通过所述第二传输通道发送所述第二特征信息。
  15. 根据权利要求14所述的装置,其特征在于,所述第二特征信息为所述第二传输通道上发送的信号的同步头;或者,所述第二特征信息为所述第二传输通道上发送的握手序列;或者,所述第二特征信息为所述第二传输通道上发送的心跳报文。
  16. 根据权利要求14或15所述的装置,其特征在于,所述发送模块,具体用于当所述第二传输通道为第一类传输通道时,通过所述第二传输通道发送对应于所述第一类传输通道的所述第二特征信息;或者,当所述第二传输通道为第二类传输通道时,通过所述第二传输通道发送对应于所述第二类传输通道的所述第二特征信息。
  17. 根据权利要求11-16中任一项所述的装置,其特征在于,所述第一连接器的公头包含的所述多个传输通道和所述第二连接器的母头包含的所述多个传输通道基于相同的策略分类。
  18. 一种连接装置,其特征在于,包括:
    获取模块,用于获取第二特征信息,所述第二特征信息用于标识第二传输通道的类别,所述第二传输通道为连接器的接口包括的多个传输通道中的任意一个,所述多个传输通道的排布旋转对称,所述连接器的接口为第一连接器的公头或者第二连接器的母头;发送模块,用于通过所述第二传输通道发送所述第二特征信息。
  19. 根据权利要求18所述的装置,其特征在于,所述第一连接器的公头包含的所述多个传输通道和所述第二连接器的母头包含的所述多个传输通道基于相同的策略分类。
  20. 根据权利要求18或19所述的装置,其特征在于,所述装置还包括:
    接收模块,用于通过第一传输通道接收第一特征信息,所述第一传输通道为所述多个传输通道中的任意一个,且所述第一传输通道为第一类传输通道;
    确定模块,用于当所述第一特征信息对应于所述第一类传输通道时,确定所述第一连接器的公头以第一方向插入所述第二连接器的母头;当所述第一特征信息不对应于所述第一类传输通道时,确定所述第一连接器的公头以第二方向插入所述第二连接器的母头;其中,所述第一方向和所述第二方向相反。
  21. 一种连接器,其特征在于,包括:处理器和接口;
    所述接口,用于发送或接收信号;
    所述处理器,被配置为调用存储在存储器中的一个或多个程序,以实现如权利要求1-10中任一项所述的方法。
  22. 一种计算机可读存储介质,其特征在于,包括程序指令,所述程序指令在计算机或处理器上被执行时,使得所述计算机或所述处理器执行权利要求1-10中任一项所述的方法。
  23. 一种计算机程序产品,其特征在于,包括程序指令,当所述程序指令被计算机或处理器执行时,用于执行权利要求1-10中任一项所述的方法。
PCT/CN2020/132883 2020-11-30 2020-11-30 连接器的插入方式的识别方法和装置 Ceased WO2022110186A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2020/132883 WO2022110186A1 (zh) 2020-11-30 2020-11-30 连接器的插入方式的识别方法和装置
CN202080103235.7A CN115885439B (zh) 2020-11-30 2020-11-30 连接器的插入方式的识别方法和装置
EP20963074.8A EP4242858A4 (en) 2020-11-30 2020-11-30 Method and apparatus for recognizing manner of insertion of connector
US18/325,611 US20230305989A1 (en) 2020-11-30 2023-05-30 Method and Apparatus for Identifying Insertion Manner of Connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/132883 WO2022110186A1 (zh) 2020-11-30 2020-11-30 连接器的插入方式的识别方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/325,611 Continuation US20230305989A1 (en) 2020-11-30 2023-05-30 Method and Apparatus for Identifying Insertion Manner of Connector

Publications (1)

Publication Number Publication Date
WO2022110186A1 true WO2022110186A1 (zh) 2022-06-02

Family

ID=81753904

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/132883 Ceased WO2022110186A1 (zh) 2020-11-30 2020-11-30 连接器的插入方式的识别方法和装置

Country Status (4)

Country Link
US (1) US20230305989A1 (zh)
EP (1) EP4242858A4 (zh)
CN (1) CN115885439B (zh)
WO (1) WO2022110186A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20260009380A (ko) * 2023-05-23 2026-01-19 에프엘씨 테크놀로지 그룹, 인크. 케이블 대역폭 확장기

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021150A (zh) * 2016-04-29 2016-10-12 青岛海信电器股份有限公司 Type-C接口设备、通信系统和通信方法
CN106487748A (zh) * 2015-08-26 2017-03-08 阿里巴巴集团控股有限公司 数据传输方法、装置及系统
CN107301148A (zh) * 2017-06-27 2017-10-27 龙迅半导体(合肥)股份有限公司 USB Type‑C接口转换模块、系统及连接方法
CN108984448A (zh) * 2017-05-31 2018-12-11 维沃移动通信有限公司 一种数据传输的方法及移动终端
CN109344108A (zh) * 2018-09-10 2019-02-15 普联技术有限公司 一种Type-C接口设备、通信方法和通信系统
CN109426638A (zh) * 2017-08-24 2019-03-05 比亚迪股份有限公司 Usb连接装置和包括其的终端设备
US20190138489A1 (en) * 2014-10-21 2019-05-09 Icron Technologies Corporation Devices and methods for providing reduced bandwidth displayport communication
CN111522768A (zh) * 2020-06-16 2020-08-11 硅谷数模(苏州)半导体有限公司 USB Type-C有源线缆

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636922B1 (en) * 1999-03-17 2003-10-21 Adaptec, Inc. Methods and apparatus for implementing a host side advanced serial protocol
US8799527B2 (en) * 2012-09-07 2014-08-05 Apple Inc. Data structures for facilitating communication between a host device and an accessory
US9612991B2 (en) * 2013-10-10 2017-04-04 Nokia Technologies Oy Connector interface pin mapping
WO2017188950A2 (en) * 2016-04-28 2017-11-02 Hewlett-Packard Development Company, L.P. Connector orientations
CN106329254A (zh) * 2016-09-30 2017-01-11 宇龙计算机通信科技(深圳)有限公司 一种usb接口母头、公头、终端和外部设备
JP7114286B2 (ja) * 2018-03-14 2022-08-08 Dynabook株式会社 システム、電子機器および接続制御方法
US11688981B2 (en) * 2019-03-06 2023-06-27 Nxp B.V. Redriver to autonomously detect cable orientation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190138489A1 (en) * 2014-10-21 2019-05-09 Icron Technologies Corporation Devices and methods for providing reduced bandwidth displayport communication
CN106487748A (zh) * 2015-08-26 2017-03-08 阿里巴巴集团控股有限公司 数据传输方法、装置及系统
CN106021150A (zh) * 2016-04-29 2016-10-12 青岛海信电器股份有限公司 Type-C接口设备、通信系统和通信方法
CN108984448A (zh) * 2017-05-31 2018-12-11 维沃移动通信有限公司 一种数据传输的方法及移动终端
CN107301148A (zh) * 2017-06-27 2017-10-27 龙迅半导体(合肥)股份有限公司 USB Type‑C接口转换模块、系统及连接方法
CN109426638A (zh) * 2017-08-24 2019-03-05 比亚迪股份有限公司 Usb连接装置和包括其的终端设备
CN109344108A (zh) * 2018-09-10 2019-02-15 普联技术有限公司 一种Type-C接口设备、通信方法和通信系统
CN111522768A (zh) * 2020-06-16 2020-08-11 硅谷数模(苏州)半导体有限公司 USB Type-C有源线缆

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4242858A4 *

Also Published As

Publication number Publication date
CN115885439A (zh) 2023-03-31
EP4242858A1 (en) 2023-09-13
CN115885439B (zh) 2025-04-08
EP4242858A4 (en) 2024-01-03
US20230305989A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
JP5420690B2 (ja) エンハンスドワイヤレスusbプロトコル及びハブ
TWI819490B (zh) 基於顯示埠介面的多串流傳輸模式的韌體升級方法及韌體升級系統
WO2024001105A1 (zh) 一种通信检测方法、装置、设备、系统以及存储介质
CN105635176A (zh) 一种基于RapidIO的网络数据传输方法
WO2022110186A1 (zh) 连接器的插入方式的识别方法和装置
US9678904B2 (en) PCI express data transmission
CN103581157A (zh) 嵌入式设备和基于该设备进行数据通信的控制方法
CN105847190B (zh) 一种数据传输方法及处理器
CN114422617B (zh) 一种报文处理方法、系统及计算机可读存储介质
CN110099028B (zh) 一种串口数据传输的方法及装置
KR102052866B1 (ko) 패킷 송수신 시스템, 장치 및 방법
US10043480B2 (en) Inter-device conflict resolution on a multimedia link
CN115982090B (zh) 软硬件协同实现远端内存访问的方法和装置
CN118819647A (zh) 通用串行总线接口的驱动方法、装置、电子设备、存储介质及计算机程序产品
CN106844273A (zh) 访问dp辅助通道的方法及装置
WO2025077223A1 (zh) 一种接口的数据传输方法和通信装置
CN103686323A (zh) 多处理器通信方法及系统
CN114443549B (zh) 一种基于特征码流识别的spi通信方法
CN104899166B (zh) Cbus总线数据接收装置及方法
US8914554B2 (en) Communication network device that compares first and second identification number of packet to determine if they are in conformance or non-conformance with self-ID packet
CN114928377A (zh) 降低usb数据透传带宽的输出传输方法、装置及设备
CN120416865A (zh) 通信系统和方法
CN115866173A (zh) 一种视频传输芯片
CN104902209A (zh) Cbus与mcu间的数据传输系统
KR100620993B1 (ko) Ieee 1394 기반의 양방향 비동기 연결 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20963074

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020963074

Country of ref document: EP

Effective date: 20230607

NENP Non-entry into the national phase

Ref country code: DE

WWG Wipo information: grant in national office

Ref document number: 202080103235.7

Country of ref document: CN