发明名称 Method and Apparatus for Detecting Interface Connection Between Devices
摘要 A method for detecting an interface connection between devices is disclosed, including setting a recommended working parameter of a first interface as a first working parameter; obtaining, by using an auto negotiation operation, a second working parameter of a second interface; determining whether the second working parameter is equal to the first working parameter, and if the second working parameter is not equal to the first working parameter, sending an alarm to indicate that a connection is unmatched; if the second working parameter is equal to the first working parameter, setting the recommended working parameter of the first interface as a third working parameter, sending, by using the auto negotiation operation, the third working parameter to the second interface, and receiving the third working parameter sent by a second device through the second interface, so that the first interface communicates with the second interface by using the third working parameter.
申请公布号 US2015032405(A1) 申请公布日期 2015.01.29
申请号 US201414512795 申请日期 2014.10.13
申请人 Huawei Technologies Co., Ltd. 发明人 Li Yansong;Zhang Zhen
分类号 G01R31/04;G06F13/42 主分类号 G01R31/04
代理机构 代理人
主权项 1. A method for detecting an interface connection between devices, wherein the devices comprise a first device and a second device that communicate with each other, wherein the first device comprises a first interface, wherein the second device comprises a second interface, and wherein the first interface and the second interface are connected by using a cable to communicate with each other; the method comprising: setting a recommended working parameter of the first interface as a first working parameter; obtaining, by using an auto negotiation operation, a second working parameter of the second interface, wherein the second working parameter is a recommended working parameter of the second interface that is set in the second device and is sent to the first device after the second device initiates auto negotiation; and determining whether the obtained second working parameter is equal to the first working parameter; sending an alarm to indicate that a connection is unmatched when the obtained second working parameter is not equal to the first working parameter; and sending, by using an auto negotiation operation, the third working parameter to the second interface when the obtained second working parameter is equal to the first working parameter, setting the recommended working parameter of the first interface as a third working parameter, so that the second device receives the third working parameter through the second interface; and receiving the third working parameter sent by the second device through the second interface, so as to complete auto negotiation between the first interface and the second interface, so that the first interface communicates with the second interface by using the third working parameter, wherein the third working parameter of the second interface is sent after the second device obtains the first working parameter of the first interface by using the auto negotiation operation, determines that the first working parameter is equal to the second working parameter, and sets a recommended working parameter of the second interface as the third working parameter.
地址 Shenzhen CN