Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for detecting interface connection between devices

A technology for testing equipment and interfaces, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as mixing multiple interfaces, improve maintainability and reliability, and reduce the probability of human operation errors.

Active Publication Date: 2016-08-10
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method and device for detecting interface connections between devices to solve the problem that multiple interfaces are prone to mixed insertion in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for detecting interface connection between devices
  • A method and device for detecting interface connection between devices
  • A method and device for detecting interface connection between devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] see image 3 , is a flowchart of an embodiment of the method for detecting interface connections between devices according to the present invention. The method specifically includes:

[0062] This embodiment is described based on the Ethernet interface, and the working parameters of the interface supported by the Ethernet include at least one parameter among speed, duplex state, and flow control parameters. Among them, the rate includes 10M, 100M, 1000M and 10G; the duplex state includes half-duplex state and full-duplex state, and the flow control parameters include full-duplex flow control and flow control not supported. For example, the interface working parameters supported by Ethernet include but are not limited to: 10M, half-duplex working mode; 100M, full-duplex working mode; 1000M, half-duplex working mode; 100M, full-duplex streaming Control work mode, etc.

[0063] The device in this embodiment includes a first device and a second device that communicate wi...

Embodiment 2

[0077] In this embodiment, the interfaces on the first device and the second device are divided into multiple groups according to their functions. For example, the 8 network ports in the first device are divided into two groups, and the 4 network ports in each group can be mixed arbitrarily, but No mixing between the two groups is allowed. The 8 network ports in the second device are also divided into two groups, and the 4 network ports in each group can be inserted randomly, but the two groups cannot be mixed. In this case, the recommended working parameters of the four network ports in the same group can be set to the same rate and duplex state, while the working parameters of different groups are different. As long as the network cable connects two interfaces of different groups on the first device and the second device, it can be detected and an alarm can be issued.

Embodiment 3

[0079] The present embodiment is described based on PCIe (PCI Express, PCI express channel), QPI (QuickPathInterconnect, quick channel interconnection) interface or RapidIO interface, and this PCIe is a kind of high-performance communication link interface for personal computer and server, and it not only The interconnection between two devices on a single board can be realized, and the two devices can also be interconnected through a cable. For example, a server and a flash storage array both provide PCIe interfaces, and the two can be interconnected through a PCIe cable.

[0080] The working modes supported by the PCIe protocol include but are not limited to bit width parameters and / or rates, where the bit width can be 1x, 2x, 4x, 8x, 12x, 16x or 32x, and the rate supports 2.5G, 5G and 8G, and supports multiple kind of combination.

[0081] In this embodiment, the first operating parameter is set in the link control2 register of the first interface, and the second operating ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for detecting interface connections between devices. The method includes: setting the recommended working parameter of the first interface as the first working parameter; acquiring the second working parameter of the second interface through an auto-negotiation operation; Determine whether the second working parameter is equal to the first working parameter, if not, give an alarm to indicate that the connection does not match; if yes, set the recommended working parameter of the first interface as the third working parameter, and send the third working parameter to the second interface through an auto-negotiation operation. Working parameter, and receive the third working parameter sent by the second device through the second interface, so that the first interface and the second interface communicate through the third working parameter; the present invention judges the second working parameter obtained by the first interface Whether the parameter is equal to the set first working parameter, and then determine the matching relationship of the interface, solves the problem of mixed insertion of the interface in the prior art, reduces the probability of human error, and improves the maintainability and reliability of the communication equipment.

Description

technical field [0001] The invention relates to the technical fields of computer and communication, in particular to a method and device for detecting interface connections between devices. Background technique [0002] Communication devices often need to interconnect with each other to exchange information, such as figure 1 As shown in the figure, it is a typical inter-chassis interconnection scenario of communication equipment, which includes a central box and three service boxes (service box 1, service box 2, and service box 3). The switching board of the subrack is connected to the switching board of the central subrack through an Ethernet interface to realize service aggregation. [0003] It is often necessary to follow certain rules in the allocation of interconnection interfaces of communication devices, for example, one device must be connected to a specified interface of another device, and cannot be connected to any one of multiple interfaces at will, or multiple ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26H04L49/111
CPCH04L49/3054H04L69/24H04L69/323
Inventor 李延松张振
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products