US 9,811,496 B2
Method and apparatus for detecting interface connection between devices
Yansong Li, Shenzhen (CN); and Zhen Zhang, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Oct. 13, 2014, as Appl. No. 14/512,795.
Application 14/512,795 is a continuation of application No. PCT/CN2014/073250, filed on Mar. 11, 2014.
Claims priority of application No. 2013 1 0323967 (CN), filed on Jul. 29, 2013.
Prior Publication US 2015/0032405 A1, Jan. 29, 2015
Int. Cl. G06F 13/42 (2006.01); H04L 29/06 (2006.01); G01R 31/04 (2006.01)
CPC G06F 13/42 (2013.01) [H04L 69/24 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method for detecting an interface connection between a first device and a second device, wherein the first device comprises a first interface, wherein the second device comprises a second interface, wherein the first interface and the second interface are connected by a cable, and wherein the method comprises:
setting a recommended working parameter of the first interface as a first working parameter;
obtaining, from an auto negotiation operation with the second device, a second working parameter of the second interface, wherein the second working parameter is a recommended working parameter of the second interface;
determining whether the second working parameter is equal to the first working parameter;
sending an alarm indicating that a connection is unmatched when the second working parameter is not equal to the first working parameter;
setting a third working parameter equal to the first working parameter when the second working parameter is equal to the first working parameter;
sending, via the auto negotiation operation, the third working parameter to the second interface when the second working parameter is equal to the first working parameter; and
communicating with the second interface by using the third working parameter,
wherein the first device and the second device separately comprise at least one interface group,
wherein each one in the at least one interface group comprises at least one interface, and
wherein recommended working parameters of each interface in a same interface group of a same device are the same, and wherein recommended working parameters of each interface in different interface groups of a same device are different when there is a plurality of interface groups in the same device.