CN116050039A - Method, apparatus, device, medium and program product for device connection - Google Patents

Method, apparatus, device, medium and program product for device connection Download PDF

Info

Publication number
CN116050039A
CN116050039A CN202310076780.7A CN202310076780A CN116050039A CN 116050039 A CN116050039 A CN 116050039A CN 202310076780 A CN202310076780 A CN 202310076780A CN 116050039 A CN116050039 A CN 116050039A
Authority
CN
China
Prior art keywords
interface
information
connection
configuration
wiring
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.)
Pending
Application number
CN202310076780.7A
Other languages
Chinese (zh)
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.)
Shenzhen Huawei Cloud Computing Technology Co ltd
Original Assignee
Shenzhen Huawei Cloud Computing Technology 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 Shenzhen Huawei Cloud Computing Technology Co ltd filed Critical Shenzhen Huawei Cloud Computing Technology Co ltd
Priority to CN202310076780.7A priority Critical patent/CN116050039A/en
Publication of CN116050039A publication Critical patent/CN116050039A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/02Data centres

Abstract

Embodiments of the present disclosure provide methods, apparatus, devices, media, and program products for device wiring. The method includes obtaining a connection configuration of the first device, the connection configuration including configuration connection information of a first interface of the first device. The method also includes obtaining, from the first device, field wiring information for the first interface in response to the first interface being connected to a second interface of the second device. The method further includes checking the correctness of the connection of the first interface to the second interface based on the field wiring information and the configuration wiring information of the first interface. According to the method, the efficiency and the accuracy of performing the equipment connection task by the field engineer are improved.

Description

Method, apparatus, device, medium and program product for device connection
Technical Field
Embodiments of the present disclosure relate generally to the field of computer technology and, more particularly, relate to methods, apparatuses, devices, computer-readable storage media and computer program products for device wiring.
Background
A data center is a worldwide network of cooperating, specific devices that are used to communicate, accelerate, expose, calculate, store data information over a network infrastructure. The data center can be provided with a plurality of machine rooms, each machine room can be provided with a plurality of servers and a plurality of network devices (such as switches), and a large number of connecting lines exist between the servers and the network devices. Only if each connection is correct, the server can communicate with the network equipment, and the data center can work normally. When the connection is wrong, technicians need to find the wrong connection in time and correct the wrong connection, so that the data center can work normally.
Generally, network connection is required to be performed on the server according to a connection planning drawing of the server. Because the number of the internal connecting lines of the server cabinet is large and complex, and the connecting line planning drawings of the servers of different models and manufacturers are different, the connecting line modes have differences, and the experience requirements of engineers responsible for connecting lines on site are higher. On the other hand, in an actual connection scene, connection errors often occur, and a field engineer cannot immediately check the correctness of the connection after the connection, so that the problem of locating the connection is not returned until a trigger breakpoint in a subsequent automatic delivery flow. These factors present challenges to the delivery and operation flow of the data center.
Disclosure of Invention
According to a first aspect of the present disclosure, a method for device wiring is provided. The method comprises the steps of obtaining connection configuration of first equipment, wherein the connection configuration comprises configuration connection information of a first interface of the first equipment; obtaining field wiring information of the first interface from the first device in response to the first interface being connected to a second interface of the second device; and checking the correctness of the connection of the first interface to the second interface based on the field connection information and the configuration connection information of the first interface. The wiring configuration here includes equipment wiring planning for delivery and operation. Based on the mode, a field engineer responsible for connection can acquire a connection plan aiming at specific equipment to be connected so as to adaptively check the connection of equipment with different models, and the difference of hardware equipment is shielded. After each connection, whether the connection is correct or not can be checked on site immediately, so that the difficulty of subsequent connection error positioning is avoided, and the efficiency and accuracy of equipment connection are improved.
In some embodiments of the first aspect, obtaining the wiring configuration of the first device may include: the method comprises the steps of obtaining a connection configuration file from a cloud service through a wireless network, wherein the connection configuration file comprises connection configuration of a group of devices, and the group of devices comprises first devices. Based on the mode, the cloud service is used for uniformly configuring the connection planning of all devices on the delivery site, so that the efficiency of the site engineer for completing the connection task is improved.
In some embodiments of the first aspect, obtaining the wiring configuration of the first device may further include: acquiring a connection auxiliary tool from a cloud service through a wireless network; and loading the connection configuration file by using the connection auxiliary tool to acquire the connection configuration of the first device. The connection auxiliary tool can be used for loading a connection configuration file and analyzing configuration connection information of the equipment to be connected. Based on the mode, the configuration connection information of the equipment to be connected can be obtained based on the connection planning and the connection auxiliary tool issued by the cloud service.
In some embodiments of the first aspect, the method may be performed at the terminal device, and the wiring profile may be generated based on a type of operating system of the terminal device. Based on the mode, available wiring planning can be provided for different types of terminal equipment, and the application range is improved.
In some embodiments of the first aspect, obtaining the presence information of the first interface from the first device may include: interface information and neighbor information of a first interface are obtained from a first device, wherein the interface information includes information about the first interface and the neighbor information includes information about a second interface. Based on the mode, the connection condition of the equipment to be connected after the connection can be obtained for checking the correctness of the equipment to be connected.
In some embodiments of the first aspect, obtaining interface information and neighbor information for the first interface from the first device may include: sending a request for acquiring field connection information to the first device so that the first device updates neighbor information of the first interface; and obtaining interface information and updated neighbor information for the first interface from the first device. Based on the mode, the interface information and the neighbor information of the equipment to be connected after the connection can be updated conveniently and rapidly, so that the correctness of the connection can be checked.
In some embodiments of the first aspect, checking the correctness of the connection of the first interface with the second interface may include: and checking consistency between the interface information and neighbor information of the first interface and the configuration connection information. Based on the mode, whether the connection is correct or not can be automatically judged, and the efficiency of the on-site engineer in the wire connection operation is improved.
In some embodiments of the first aspect, the field connection information of the first interface may further include device information of the second device, and checking correctness of the connection of the first interface with the second interface may include: and checking consistency between the device information of the second device and the configuration connection information. Based on the mode, whether the connection is correct or not can be further checked, and the accuracy of the connection is improved.
In some embodiments of the first aspect, the method may further comprise: and outputting configuration connection information of the first interface, wherein the configuration connection information comprises the first interface and information of the interface to which the first interface is connected. Based on the mode, a field engineer can be guided to finish the wiring task according to the configuration wiring information aiming at the equipment to be wired, and the complicated wiring planning drawing is not required to be consulted, so that the experience requirement of the field engineer is reduced, and the accuracy and the efficiency of wiring are improved.
In some embodiments of the first aspect, the first device may be a server in a data center room and the second device may be a switch in the data center room.
According to a second aspect of the present disclosure, a method for device wiring is provided. The method comprises the following steps: in response to identifying that a connection error exists at the first device, obtaining a connection configuration of the first device, the connection configuration including configuration connection information for at least one interface of the first device; acquiring field connection information of at least one interface from a first device; and determining an interface with a wiring error in the at least one interface based on the field wiring information and the configuration wiring information of the at least one interface. Based on the mode, equipment and interfaces with connection errors can be rapidly positioned in an environment with complex equipment connection, so that the operation and maintenance efficiency is improved.
In some embodiments of the second aspect, obtaining the wiring configuration of the first device may include: the method comprises the steps of obtaining a connection configuration file from a cloud service through a wireless network, wherein the connection configuration file comprises connection configuration of a group of devices, and the group of devices comprises first devices. Based on the mode, the cloud service is used for uniformly configuring the connection planning aiming at all devices on the delivery site, so that the efficiency of positioning the connection errors by a field engineer is improved
In some embodiments of the second aspect, obtaining the wiring configuration of the first device may further include: acquiring a connection auxiliary tool from a cloud service through a wireless network; and loading the connection configuration file by using the connection auxiliary tool to acquire the connection configuration of the first device. Based on the mode, the configuration wiring information of the equipment can be obtained based on the wiring planning and the wiring auxiliary tool issued by the cloud service so as to be used for checking the correctness of on-site wiring.
In some embodiments of the second aspect, obtaining field wiring information for at least one interface from the first device may include: interface information and neighbor information of at least one interface are obtained from a first device, wherein the interface information includes information about the at least one interface and the neighbor information includes information about an interface connected with the at least one interface. In this way, the current connection status of the respective interfaces of the device can be acquired for checking the correctness thereof.
In some embodiments of the second aspect, obtaining neighbor information for at least one interface from the first device may include: receiving a network configuration information message from a first device; and obtaining network configuration information of an interface directly connected with at least one interface of the first equipment as neighbor information by filtering the network configuration information message. Based on the mode, the current connection condition of the interface can be conveniently and quickly acquired for checking the correctness of the current connection condition.
In some embodiments of the second aspect, determining that a miswired interface exists in the at least one interface may include: checking whether the field connection information and the configuration connection information of the interfaces are consistent or not according to the interfaces in at least one interface; in response to determining that the field wiring information and the configuration wiring information of the interface are inconsistent, it is determined that a wiring error exists at the interface. Based on the mode, whether the connection line of each interface of the equipment is correct or not can be automatically judged, and the efficiency of positioning wrong connection lines by field engineers is improved.
In some embodiments of the second aspect, the method may further comprise: and outputting configuration connection information of the interface, wherein the configuration connection information comprises the interface and information of the interface to which the interface is connected. In this way, the field engineer can be instructed to connect the correct interface.
In some embodiments of the second aspect, the first device is a server in a data center room and is connected to a switch in the data center room via at least one interface.
According to a third aspect of the present disclosure, an apparatus for device wiring is provided. The device comprises: the connection configuration acquisition unit is configured to acquire connection configuration of the first device, wherein the connection configuration comprises configuration connection information of a first interface of the first device; a field wiring information acquisition unit configured to acquire field wiring information of the first interface from the first device in response to the first interface being connected to the second interface of the second device; a checking unit configured to check correctness of connection of the first interface to the second interface based on the field connection information and the configuration connection information of the first interface
According to a fourth aspect of the present disclosure, an apparatus for device wiring is provided. The device comprises: a connection configuration acquisition unit configured to acquire a connection configuration of the first device in response to identifying that a connection error exists at the first device, the connection configuration including configuration connection information of at least one interface of the first device; the on-site connection information acquisition unit acquires on-site connection information of at least one interface from the first equipment; and a determining unit configured to determine an interface in which a wiring error exists among the at least one interface based on the field wiring information and the configuration wiring information of the at least one interface.
According to a fifth aspect of the present disclosure, an electronic device is provided. The device comprises: at least one processor; and a memory having stored thereon computer executable instructions. The computer-executable instructions, when executed by the at least one processor, cause the apparatus to: acquiring connection configuration of the first equipment, wherein the connection configuration comprises configuration connection information of a first interface of the first equipment; obtaining field wiring information of the first interface from the first device in response to the first interface being connected to a second interface of the second device; and checking the correctness of the connection of the first interface to the second interface based on the field connection information and the configuration connection information of the first interface.
According to a sixth method of the present disclosure, an electronic device is provided. The device comprises: at least one processor; and a memory having stored thereon computer executable instructions. The computer-executable instructions, when executed by the at least one processor, cause the apparatus to: in response to identifying that a connection error exists at the first device, obtaining a connection configuration of the first device, the connection configuration including configuration connection information for at least one interface of the first device; acquiring field connection information of at least one interface from a first device; and determining an interface with a wiring error in the at least one interface based on the field wiring information and the configuration wiring information of the at least one interface.
According to a seventh aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon one or more computer-executable instructions, wherein execution of the one or more computer-executable instructions by a processor causes the processor to perform a method according to the first aspect of the present disclosure or to perform a method according to the second aspect of the present disclosure.
According to an eighth aspect of the present disclosure, there is provided a computer program product comprising computer executable instructions which, when executed by a device, cause the device to perform a method according to the first aspect of the present disclosure or to perform a method according to the second aspect of the present disclosure.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals designate like or similar elements, and wherein:
FIG. 1 illustrates an example environment in which some embodiments of the present disclosure may be implemented;
FIG. 2 illustrates another example environment in which some embodiments of the present disclosure may be implemented;
FIG. 3 illustrates an example business flow for a cloud service and delivery site applying embodiments of the present disclosure;
FIG. 4 illustrates an example of an interface including a configuration wiring plan in accordance with some embodiments of the present disclosure;
fig. 5 illustrates a schematic diagram of a process in which a terminal device obtains a connection configuration according to some embodiments of the present disclosure;
fig. 6 illustrates a schematic diagram of a process of directing device wiring in accordance with some embodiments of the present disclosure;
fig. 7 illustrates a schematic flow diagram of a method for device wiring in accordance with some embodiments of the present disclosure;
FIG. 8 illustrates a schematic flow diagram of another method for device wiring in accordance with some embodiments of the present disclosure;
fig. 9 illustrates a schematic block diagram of an apparatus for device wiring in accordance with some embodiments of the present disclosure;
FIG. 10 illustrates a schematic block diagram of another apparatus for device wiring, according to some embodiments of the present disclosure; and
FIG. 11 illustrates a schematic block diagram of an example device that may be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
In describing embodiments of the present disclosure, the term "comprising" and its like should be taken to be open-ended, i.e., including, but not limited to. The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first," "second," and the like, may refer to different or the same object. Other explicit and implicit definitions are also possible below.
When the server is on-shelf or off-shelf in the delivery and operation of the data center, the server needs to be connected through a network. Because the server cabinet is internally connected with a plurality of complicated wires, and server connection planning drawings of different models and manufacturers are different, the connection modes are different, and the experience requirement on operators operating the network connection is higher. In an actual connection scene, connection errors often occur when a server and a switch are connected, and after a worker responsible for connection on site is connected, the connection correctness cannot be checked immediately, and the connection problem is located after a breakpoint is triggered in a subsequent automatic delivery flow. At this time, the connection error port can be positioned and repaired only by adopting modes such as manual field investigation and the like, the delivery and operation and maintenance flow is blocked, and the accuracy of reconnection is not easy to guarantee.
Some traditional methods are to install a Link Layer Discovery Protocol (LLDP) message parsing tool on a server, parse an LLDP protocol message sent to the server by a neighbor of the server (a physical device directly connected to the server), and obtain information such as main capability, management address, device identification, interface identification and the like of the neighbor, thereby judging whether each network port of the server is connected to a correct physical device. However, the availability of the LLDP protocol message parsing tool installed on the server to determine the link correctness depends on the integrity of the link design planning information, and the link correctness cannot be checked in real time.
In view of this, a method for device wiring is provided in accordance with an embodiment of the present disclosure. The method can be used for improving the efficiency and accuracy of performing equipment wiring tasks by field engineers. The method may be implemented at a terminal device of a field engineer. In the method, a terminal device obtains a connection configuration of a device to be connected, wherein the connection configuration comprises configuration connection information of a first interface of the device to be connected. In response to the first interface being connected to the second interface of the second device (e.g., through operation of a field engineer), the terminal device obtains field wiring information of the first interface from the device to be wired. Then, the terminal device checks the correctness of the connection of the first interface to the second interface based on the field connection information and the configuration connection information of the first interface.
Example Environment
FIG. 1 illustrates an example environment 100 in which embodiments of the present disclosure may be implemented. The environment 100 shows a terminal device 101 for on-site wire guidance, a first device 110 as a device to be connected, a second device 120 to be connected with the first device 110 in a delivery state scenario. The first device 110 may be, for example, a server in a data center room, having several interfaces (collectively referred to as interfaces 112). The interface 112 may be a traffic interface of the first device 110. The second device 120 may be a switch in a data center room having several interfaces (collectively referred to as interfaces 122). The interface 122 may be a traffic interface of the second device 120. An interface may also be referred to herein as a port, and both may be used interchangeably. The interface 112 of the second device 110 may be connected to the interface 122 of the second device 120 to implement the infrastructure of the clustered application (e.g., storage, computing, data transfer). It should be appreciated that the first device 110 may be connected to more devices and is not limited to the situation shown in fig. 1.
The interface 112 of the first device 110 and the interface 122 of the second device 120 may be implemented as, for example, ethernet interfaces or other types of interfaces. Interface 112 and interface 122 may be wired interfaces and are adapted to be connected together by a network cable. Any of interfaces 112 and 122 may have respective attribute information, including, but not limited to: interface identification, physical address (e.g., MAC address), IP address, network policy, network capabilities (e.g., bridging or routing), etc.
The terminal device 101 may be used by a field engineer to facilitate a device connection between the first device 110 and the second device 120. The scenario terminal-device 101 may be various user terminals or service terminals implemented with computing capabilities. The user terminal is, for example, any type of mobile terminal, fixed terminal or portable terminal, including mobile handsets, sites, units, devices, multimedia computers, multimedia tablets, internet nodes, communicators, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers. The service terminal may be any server within a data center room.
The terminal device 101 may be configured to obtain a wiring configuration 105 with respect to the first device 110. In some implementations, the terminal device 101 may have a wired or wireless communication unit (not shown) for receiving the wiring configuration 105 from the internet or an intranet. For example, the terminal device 101 receives the wiring configuration 105 from the cloud service via a wireless access network (WLAN) or a cellular network. The wiring configuration 105 may be configuration information generated by a network engineer in a design state indicating information of other devices to which the interface 112 of the first device 110 should be connected. For example, the wiring configuration 105 may indicate an identity of the interface 112, an interface identity of the counterpart interface to which it should be connected, a physical address, and so on.
The terminal device 101 may also have a display unit for presenting the wiring configuration 105 to direct a field engineer to perform wiring of the first device 110. In the delivery state, the wiring configuration 105 may indicate a device wiring to be connected from the interface 112 of the first device 110 to the interface 122 of the second device 120, as shown by the dashed line in fig. 1.
The terminal device 101 has an interface 102, which interface 102 may be, for example, an ethernet interface or other type of interface. The field engineer may connect the interface 102 of the terminal 101 to one of the interfaces 112 of the first device 110 using a network cable. With the connection between the interface 102 and the interface 112, the terminal device 101 can acquire the connection situation of the first device 110 based on, for example, the LLDP protocol, including the interface information of the interface 112 and the information (referred to as neighbor information) of the interface connected to the interface 112. The terminal device 101 compares the acquired connection situation with the connection configuration 105, thereby judging whether this device connection is correct.
Generally, in the delivery state environment 100 shown in fig. 1, the terminal device 101 used by the field engineer may obtain the design state connection configuration of the first device 110 as a device to be connected, and provide the device and interface information (device information, interface location, etc.) to which the interface 112 of the first device 110 should be connected. The terminal device 101 may also obtain, through the interface 112 connected to the first device 110, a connection condition of the first device 110 and the second device 120, and compare the connection configuration 105 in a design state to instruct the correct connection on site in real time.
FIG. 2 illustrates another example environment 200 in which embodiments of the present disclosure may be implemented. The environment 200 shows a terminal device 101 for locating a connection error, a first device 110 where a connection error may exist, and a second device 120 connected to the first device 110 in an operational state scenario. It should be appreciated that the first device 110 may be connected to more devices and is not limited to the situation shown in fig. 1.
In the environment 200 in the operational state, the first device 110 is configured 105 in a design-state connection that is available to the terminal device 101 used by the field engineer. The field engineer may connect the interface 102 of the terminal device 101 to the interface 112 of the first device 110 via a network cable. The terminal device 101 may acquire connection conditions of the first device 110 based on, for example, the LLDP protocol, including interface information of all interfaces 112 and neighbor information with the interfaces 112 (e.g., information of the interfaces 122 of the second device 120). The terminal device 101 compares the acquired connection situation with the connection configuration 105, thereby judging whether or not there is a wiring error in the first device 110. If a connection condition is found to be inconsistent with the connection configuration 105, a miswiring may be deemed to exist at the corresponding interface. In some implementations, the terminal device 101 may also provide the correct wire guide, i.e. the device information, the interface location to which the interface 112 should be connected.
Delivery state process
FIG. 3 illustrates an example business flow for a cloud service and delivery site applying embodiments of the present disclosure. The example business process is divided into cloud service 310 and delivery site 320. The actions of cloud service 310 are performed by network engineer 311 and the actions of delivery site 320 are performed by the terminal devices on site under the control of site engineer 321.
At cloud service 310, network engineer 311 first inspects the connection rules configuring the baseline at act 312. The wiring rules may be provided by the delivery party to the network engineer 311 in an on-line or off-line manner. For example, the wiring rules may cover different models of servers and switches, as well as the manner in which they are wired between them. Then, in act 314, the network engineer 311 configures the connection check item of the device to be connected and selects the type of the issuing system. The system type refers to the type of operating system of the terminal device used by the field engineer 321. Specifically, the network engineer 311 may select a check item, configure connection planning information corresponding to the check item, a physical address of an interface of the server, a server identification number, a switch port number, and the like.
In act 316, the network engineer 311 saves the wiring configuration awaiting delivery. In some embodiments, a wiring profile may be generated for a group of devices in a data center room, the wiring profile including a wiring configuration for each device. The wiring profile may have different versions depending on the type of system selected. The network engineer 311 may generate corresponding wiring configurations for all possible system types, thereby having a larger scope of application. In some embodiments, the network engineer 311 may also provide wiring assistance for operation in the field terminal device. The connection auxiliary tool is used for analyzing the connection configuration of the equipment to be connected obtained from the connection configuration file and analyzing whether the current connection condition of the equipment accords with the connection configuration. The connection assistance tool may also have a version corresponding to the operating system type.
At the delivery site 320, the terminal device obtains the wiring configuration and installs the wiring assistance tool at act 322. For example, the field engineer 321 operates the terminal apparatus, acquires a connection assistance tool and a connection configuration file corresponding to an operating system of the terminal apparatus. The terminal device uses the connection auxiliary tool to load the connection configuration file. In act 324, the terminal device provides the wire guide according to the wire configuration. In some implementations, the terminal device may present configuration connectivity information for an interface of the device to be connected. The field engineer 321 performs the wiring operation according to the configuration wiring information of each interface. The terminal device may also obtain field wiring information and network configuration information, which may be compared to the wiring configuration at act 326. If the current connection information of the field engineer is inconsistent with the connection configuration, a notification can be immediately sent out to remind the field engineer of the current connection error and give out a correct connection mode. In this manner, the field engineer 321 completes the device wiring under the direction of the wiring configuration until all is completed. At act 328, the connection is completed and the result is reported.
Therefore, the terminal device can compare the connection configuration issued by the cloud service 310 with the on-site connection information and network configuration information acquired by the connection auxiliary tool on site, provide guidance for on-site connection, and check whether the connection and the network configuration are correct. Based on the mode, the connection verification rule is configured on the cloud, the self-defined physical equipment verification rule and verification range are supported, and connection verification between servers of different models and the switch is adapted. In addition, the cloud connection checking configuration service can issue configuration information to terminal equipment (general or special equipment such as a PDA (personal digital assistant), a notebook computer, a server and the like) conforming to the access rule, connection checking of the terminal equipment can be performed in real time in the connection process, and the connection auxiliary tool provides accurate connection guiding and checking according to the configuration rule, so that connection efficiency is improved, and connection quality is guaranteed.
Fig. 4 illustrates an example of an interface including configuration wiring plans according to some embodiments of the disclosure. The configuration link plan may be presented to the network engineer of the cloud service in a tabular form. As shown, each row in the table of fig. 4 represents a wiring configuration of a particular server in the data center room. The connection configuration includes an identification of the server (e.g., serial number SN), information of each interface of the server, information of the corresponding connection interface, and device information of the server.
Referring to fig. 4, the connection configuration of the server identified as FS1970000900 includes configuration connection information for the first interface, which includes: the identification "eth0" of the first interface, the MAC address and the IP address of the first interface, and the link interface "25GE1/0/41" corresponding to the first interface. The server also links configuration of the second interface "eth1" which is configured to be connected to the interface "25GE 1/0/42". In addition, the connection configuration of the server may also include network port capabilities (e.g., bridging, routing, etc.) of the respective interfaces and corresponding connection interfaces, device information of the server itself and other devices connected thereto, network policies, and the like. The network engineer reviews the link planning and configures link verification rules. The check rules include, but are not limited to, interface identification, protocol type, switch identification, switch vendor and model number, network policy (IPv 4/IPv 6), port number, port capability, etc., and may be updated as the protocol expands. After the configuration is completed, the network engineer may save the configuration file as a connection configuration file and wait to issue to the field terminal device. Considering that the terminal device may have different operating system versions, the network engineer selects any one or more of the drop down lists shown in fig. 4 to generate a wiring profile of the corresponding version.
Fig. 5 illustrates a schematic diagram of a process in which a terminal device obtains a connection configuration according to some embodiments of the present disclosure. The field engineer delivering the room sends a request to the cloud service 310 via the terminal device, which issues the connection aid 319 (at the first request) and the connection profile 318 to the field terminal device 101. The field terminal device 101 installs the connection auxiliary tool 319, loads the connection configuration file 318, and obtains the connection configuration and the verification item 103 of the device to be connected in the data center room.
Fig. 6 illustrates a schematic diagram of a process of directing device wiring, according to some embodiments of the present disclosure. The terminal device 101 is connected to a service interface of the first device 110 (e.g., a server) through a network cable, acquires network configuration information of the second device 120 (e.g., a switch) connected to the first device 110, and indicates to a field engineer an interface of the first device 110 and a corresponding interface of the second device that need to be connected in combination with the network configuration information and the connection configuration of the second device 120. The field engineer connects accordingly. The network information of the first device 110 and the second device 120 is updated every time an interface is connected. In some implementations, with the connection assistance tool, the terminal device 101 updates the neighbor information stored by the first device 110 and the second device 120 by controlling the first device to send a protocol message, and verifies whether the connection is correct according to the new neighbor information and the connection configuration rule. After completing the connection and checking the correctness, the terminal device 101 reports the connection result to the cloud service.
Fig. 7 illustrates a schematic flow diagram of a method 700 for device wiring, according to some embodiments of the present disclosure. The method 700 may be implemented by the terminal device 101 shown in fig. 1 and 2, for example. It should be appreciated that method 700 may also include additional actions not shown and/or may omit shown actions, the scope of the present disclosure being not limited in this respect.
At block 710, the terminal device obtains a connection configuration of the first device, the connection configuration including configuration connection information of a first interface of the first device. The first device may be a server to be wired in a data center room.
In some embodiments, the terminal device may obtain the connection profile from the cloud service via the wireless network. For example, the terminal device may connect to the internet via a wireless local area network or a cellular network, obtaining a connection profile from the cloud. The wire profile may be generated based on the type of operating system of the terminal device. In some embodiments, the wiring profile may include wiring configurations of a group of devices, including wiring configurations of a first device.
In some embodiments, the terminal device may obtain the connection assistance tool from the cloud service. The connection aid may also be an installation package that matches the operating system of the terminal device. The field engineer may operate the terminal device, install the connection aid and load the connection configuration file, thereby obtaining the connection configuration of the first device. The connection configuration includes configuration connection information for each interface of the first device.
In some embodiments, the terminal device may output configuration link information of the first interface, for example, for display on a screen. The configuration wiring information of the first interface may include information about the first interface and the interface to which the first interface is to be connected, such as an interface identification, a physical address, an IP address, or the like. The field engineer may complete the connection of the first interface under the guidance of the output information.
At block 720, the terminal device obtains field wiring information for the first interface from the first device in response to the first interface being connected to a second interface of the second device. The second device may be a switch in a data center room.
In some embodiments, the terminal device may obtain interface information and neighbor information of the first interface that has just been wired from the first device as the on-site wiring information. The interface information includes information about the first interface and the neighbor information includes information about the second interface to which the connection is made. The interface information may include the connection condition of each interface of the current device to be connected or only updated connection information of the interface, that is, the connection condition of the current connection. Interface information of the single interface may include information of interface identification, MAC address, IP address, network policy (IPv 4/IPv 6), network port capability (bridging, routing, etc.), and the like. The neighbor information includes information of physical device interfaces connected with each network port of the current device to be connected, wherein the information of the single interface includes information of interface identification, MAC address, IP address, network policy (IPv 4/IPv 6), network port capability (bridging, routing, etc.), virtual Local Area Network (VLAN) plane, etc. The neighbor information may also include device information (name, device type, serial number, etc.) of the second device.
In some embodiments, the terminal device may send a request to the first device to obtain the presence information. Accordingly, the first device may send a protocol packet (e.g., an LLDP packet) to the second device, obtain information of the second interface from the second device, and update neighbor information of the first interface. Thereby, the terminal device obtains interface information of the first interface and updated neighbor information from the first device.
At block 730, the terminal device checks the correctness of the connection of the first interface to the second interface based on the field wiring information and the configuration wiring information. The terminal equipment checks the consistency between the interface information and the neighbor information of the first interface and the configuration connection information so as to determine whether the current connection of the field engineer is correct. The comparison of the interface information and the neighbor information with the configuration link information of the first interface may be used as a baseline requirement for the link, and if the inconsistency is determined to be an error, the link needs to be reconnected. In this case, the terminal device may output an error prompt and give the correct connection mode.
The terminal device may also perform more check items. In some embodiments, the terminal device may check for consistency between the device of the second device and the configuration connectivity information. A part of the check term may be used as an additional requirement for the connection and the terminal device may give a warning if there is an inconsistency.
According to the process described with reference to fig. 7, a field engineer responsible for wiring can obtain a wiring plan for a specific device to be wired, so as to adaptively check the wiring of devices of different models, and shield the difference of hardware devices. Moreover, after each connection, whether the connection is correct or not can be checked on site immediately, so that the difficulty of subsequent connection error positioning is avoided, and the efficiency and accuracy of equipment connection are improved.
Operation and maintenance state process
The embodiment of the disclosure is also suitable for quickly positioning the connection error in the operation and maintenance state. When the machine room equipment triggers a breakpoint in an operation and maintenance state, a connection planning corresponding to the data center machine room is imported from a data source, a network engineer inspects connection information, selects connection configuration and a system type to be issued in a cloud service interface, stores the connection configuration and the connection configuration file as well as an auxiliary connection tool and issues the connection configuration and the auxiliary connection tool to the terminal equipment. The field engineer connects the terminal equipment with the server to be connected, runs a connection auxiliary tool program, and guides the field engineer to use the terminal equipment to connect breakpoint equipment according to connection configuration rules to check the correctness of the field connection, find out a wrong network port of the connection, and report the connection result to the cloud operation and maintenance service according to the guiding connection of the correct network port. And compared with the delivery state, the operation and maintenance state needs to acquire the possible link change after the delivery is completed, and the on-site link is checked according to the updated link information.
Fig. 8 illustrates a schematic flow diagram of another method 800 for device wiring, according to some embodiments of the present disclosure. The method 800 may be implemented by the terminal device 101 shown in fig. 1 and 2, for example. It should be appreciated that method 800 may also include additional actions not shown and/or may omit actions shown, the scope of the present disclosure being not limited in this respect.
In block 810, the terminal device obtains a connection configuration of the first device in response to identifying that a connection error exists at the first device, the connection configuration including configuration connection information for at least one interface of the first device.
In some embodiments, the terminal device may obtain the connection profile from the cloud service via the wireless network. The connection configuration file includes a connection configuration of a set of devices including a first device. In some embodiments, the terminal device may obtain the connection assistance tool from the cloud service via the wireless network, and obtain the connection configuration of the first device by loading the connection configuration file using the connection assistance tool.
At block 820, the terminal device obtains field wiring information for at least one interface from the first device. The terminal equipment acquires interface information and neighbor information of each interface of the first equipment from the first equipment. The interface information includes information about at least one interface, and the neighbor information includes information about interfaces connected to the interfaces. Interface information of the single interface may include information of interface identification, MAC address, IP address, network policy (IPv 4/IPv 6), network port capability (bridging, routing, etc.), and the like.
The neighbor information may include information of physical device interfaces connected to all network interfaces of the first device. In some embodiments, the terminal device may receive the network configuration information packet from the first device, and obtain, as the neighbor information, network configuration information of an interface directly connected to at least one interface of the first device by filtering the network configuration information packet. The information of the single interface includes interface identification, MAC address, IP address, network policy (IPv 4/IPv 6), network port capability (bridging, routing, etc.), virtual Local Area Network (VLAN) plane, etc. The neighbor information may also include device information (name, device type, serial number, etc.) of the second device.
In block 830, the terminal device determines an interface in which a wiring error exists in the at least one interface based on the field wiring information and the configuration wiring information of the at least one interface. The terminal device may check, for each interface of the first device, whether the field connection information of the interface and the corresponding configuration connection information are consistent. If it is determined that the field connection information and the configuration connection information of the interface are inconsistent, the terminal device may determine that a connection error exists at the interface. In addition, the terminal device may also output configuration wiring information of an interface having a wiring error, including information about the interface and the interface to which the interface is to be connected, thereby guiding a field engineer to re-wire.
Example apparatus and apparatus
Fig. 9 illustrates a schematic block diagram of an apparatus 900 for device wiring according to some embodiments of the present disclosure. The apparatus 900 may be implemented at the terminal device 101 shown in fig. 1 and 2. The apparatus 900 includes a link configuration acquisition unit 910, a field link information acquisition unit 920, and an inspection unit 930. The connection configuration obtaining unit 910 is configured to obtain a connection configuration of the first device, where the connection configuration includes configuration connection information of a first interface of the first device. The field wiring information obtaining unit 920 is configured to obtain field wiring information of the first interface from the first device in response to the first interface being connected to the second interface of the second device. The checking unit 930 is configured to check the correctness of the connection of the first interface to the second interface based on the field wiring information and the configuration wiring information of the first interface.
In some embodiments, the wiring configuration acquisition unit 910 may be further configured to: the method comprises the steps of obtaining a connection configuration file from a cloud service through a wireless network, wherein the connection configuration file comprises connection configuration of a group of devices, and the group of devices comprises first devices.
In some embodiments, the wiring configuration acquisition unit 910 may be further configured to: acquiring a connection auxiliary tool from a cloud service through a wireless network; and loading the connection configuration file by using the connection auxiliary tool to acquire the connection configuration of the first device. The connection auxiliary tool can be used for loading a connection configuration file and analyzing configuration connection information of the equipment to be connected.
In some embodiments, the wiring profile may be generated based on the type of operating system of the terminal device.
In some embodiments, the field wiring information obtaining unit 920 may be further configured to: interface information and neighbor information of a first interface are obtained from a first device, wherein the interface information includes information about the first interface and the neighbor information includes information about a second interface.
In some embodiments, the field wiring information obtaining unit 920 may be further configured to: sending a request for acquiring field connection information to the first device so that the first device updates neighbor information of the first interface; and obtaining interface information and updated neighbor information for the first interface from the first device.
In some embodiments, the inspection unit 930 may be further configured to: and checking consistency between the interface information and neighbor information of the first interface and the configuration connection information.
In some embodiments, the field connection information of the first interface may further include device information of the second device, and the checking unit 930 may be further configured to: and checking consistency between the device information of the second device and the configuration connection information.
In some embodiments, the apparatus 900 may further include an output unit configured to output configuration wiring information of the first interface, the configuration wiring information including the first interface and information of an interface to which the first interface is to be connected.
In some embodiments, the first device may be a server in a data center room and the second device may be a switch in the data center room.
Fig. 10 illustrates a schematic block diagram of another apparatus 1000 for device wiring, according to some embodiments of the present disclosure. The apparatus 1000 may be implemented at the terminal device 101 shown in fig. 1 and 2. The apparatus 1000 includes a wiring configuration acquisition unit 1010, a field wiring information acquisition unit 1020, and a determination unit 1030. The connection configuration obtaining unit 1010 is configured to obtain a connection configuration of the first device in response to identifying that a connection error exists at the first device, the connection configuration including configuration connection information of at least one interface of the first device. The field wiring information obtaining unit 1020 is configured to obtain field wiring information of at least one interface from the first device. The determining unit 1030 is configured to determine an interface in which a wiring error exists among the at least one interface based on the field wiring information and the configuration wiring information of the at least one interface.
In some embodiments, the wiring configuration acquisition unit 1010 may be further configured to: the method comprises the steps of obtaining a connection configuration file from a cloud service through a wireless network, wherein the connection configuration file comprises connection configuration of a group of devices, and the group of devices comprises first devices.
In some embodiments, the wiring configuration acquisition unit 1010 may be further configured to: acquiring a connection auxiliary tool from a cloud service through a wireless network; and loading the connection configuration file by using the connection auxiliary tool to acquire the connection configuration of the first device.
In some embodiments, the field wiring information acquisition unit 1020 may be further configured to: interface information and neighbor information of at least one interface are obtained from a first device, wherein the interface information includes information about the at least one interface and the neighbor information includes information about an interface connected with the at least one interface.
In some embodiments, the field wiring information acquisition unit 1020 may be further configured to: receiving a network configuration information message from a first device; and obtaining network configuration information of an interface directly connected with at least one interface of the first equipment as neighbor information by filtering the network configuration information message.
In some embodiments, the determination unit 1030 may be further configured to: checking whether the field connection information and the configuration connection information of the interfaces are consistent or not according to the interfaces in at least one interface; in response to determining that the field wiring information and the configuration wiring information of the interface are inconsistent, it is determined that a wiring error exists at the interface.
In some embodiments, the apparatus 1000 may further comprise an output unit configured to: and outputting configuration connection information of the interface, wherein the configuration connection information comprises the interface and information of the interface to which the interface is connected.
In some embodiments, the first device may be a server in a data center room and be connected to a switch in the data center room via at least one interface.
Fig. 11 shows a schematic block diagram of an example device 1100 that may be used to implement embodiments of the present disclosure, which may be the aforementioned server 220 or the aforementioned mobile device 210. As shown, the device 1100 includes a Central Processing Unit (CPU) 1101 that can perform various suitable actions and processes in accordance with computer program instructions stored in a Read Only Memory (ROM) 1102 or loaded from a storage unit 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
Various components in device 1100 are connected to I/O interface 1105, including: an input unit 1106 such as a keyboard, a mouse, etc.; an output unit 1107 such as various types of displays, speakers, and the like; a storage unit 1108, such as a magnetic disk, optical disk, etc.; and a communication unit 1109 such as a network card, modem, wireless communication transceiver, or the like. The communication unit 1109 allows the device 1100 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The various processes and treatments described above, such as methods 800 and 900, may be performed by the processing unit 1101. For example, in some embodiments, methods 800 and 900 may be implemented as computer software programs tangibly embodied on a machine-readable medium, such as storage unit 1108. In some embodiments, some or all of the computer programs may be loaded and/or installed onto device 1100 via ROM 1102 and/or communication unit 1109. One or more of the acts of the methods 800 and 900 described above may be performed when a computer program is loaded into the RAM 1103 and executed by the CPU 1101.
The present disclosure may be methods, apparatus, systems, and/or computer program products. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for performing aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The embodiments of the present disclosure have been described above, the foregoing description is illustrative, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (24)

1. A method for device wiring, comprising:
acquiring connection configuration of first equipment, wherein the connection configuration comprises configuration connection information of a first interface of the first equipment;
obtaining field wiring information of the first interface from a first device in response to the first interface being connected to a second interface of a second device; and
and checking the correctness of the connection from the first interface to the second interface based on the field connection information and the configuration connection information.
2. The method of claim 1, wherein obtaining a wiring configuration of the first device comprises:
A connection configuration file is obtained from a cloud service via a wireless network, wherein the connection configuration file comprises connection configuration of a group of devices, and the group of devices comprises the first device.
3. The method of claim 2, wherein obtaining a wiring configuration of the first device further comprises:
acquiring a connection auxiliary tool from the cloud service through the wireless network; and
and loading the connection configuration file by using the connection auxiliary tool to acquire the connection configuration of the first device.
4. A method according to claim 2 or 3, wherein the method is performed at a terminal device and the wiring profile is generated based on the type of operating system of the terminal device.
5. The method of claim 1, wherein obtaining field wiring information of the first interface from the first device comprises:
interface information and neighbor information of the first interface are obtained from the first device, wherein the interface information comprises information about the first interface, and the neighbor information comprises information about the second interface.
6. The method of claim 5, wherein obtaining interface information and neighbor information for the first interface from the first device comprises:
Sending a request for acquiring field connection information to the first device so that the first device updates neighbor information of the first interface; and
interface information of the first interface and the updated neighbor information are obtained from the first device.
7. The method of claim 5 or 6, wherein checking the connection of the first interface to the second interface for correctness comprises:
and checking consistency between the interface information of the first interface and the neighbor information and the configuration connection information.
8. The method of claim 1, wherein the field connection information of the first interface further comprises device information of the second device, and checking the correctness of the connection of the first interface with the second interface comprises:
and checking consistency between the equipment information of the second equipment and the configuration connection information.
9. The method of claim 1, further comprising:
and outputting configuration connection information of the first interface, wherein the configuration connection information comprises the first interface and information of an interface to which the first interface is connected.
10. The method of any of claims 1-9, wherein the first device is a server in a data center room and the second device is a switch in the data center room.
11. A method for device wiring, comprising:
responsive to identifying that a connectivity error exists at a first device, obtaining a connectivity configuration of the first device, the connectivity configuration including configuration connectivity information for at least one interface of the first device;
acquiring field connection information of the at least one interface from the first equipment; and
and determining an interface with a connection error in the at least one interface based on the field connection information and the configuration connection information of the at least one interface.
12. The method of claim 11, wherein obtaining a wiring configuration of the first device comprises:
a connection configuration file is obtained from a cloud service via a wireless network, wherein the connection configuration file comprises connection configuration of a group of devices, and the group of devices comprises the first device.
13. The method of claim 12, wherein obtaining a wiring configuration of the first device further comprises:
acquiring a connection auxiliary tool from the cloud service through the wireless network; and
and loading the connection configuration file by using the connection auxiliary tool to acquire the connection configuration of the first device.
14. The method of claim 11, wherein obtaining field wiring information for the at least one interface from the first device comprises:
Interface information and neighbor information of the at least one interface are obtained from the first device, wherein the interface information includes information about the at least one interface, and the neighbor information includes information about an interface connected with the at least one interface.
15. The method of claim 14, wherein obtaining neighbor information for the at least one interface from the first device comprises:
receiving a network configuration information message from the first device; and
and obtaining network configuration information of an interface directly connected with the at least one interface of the first equipment as the neighbor information by filtering the network configuration information message.
16. The method of claim 11, wherein determining that an interface of the at least one interface has a miswiring comprises:
checking whether the field connection information and the configuration connection information of the interfaces are consistent or not according to the interfaces in the at least one interface;
and determining that a connection error exists at the interface in response to determining that the field connection information and the configuration connection information of the interface are inconsistent.
17. The method of claim 16, further comprising:
and outputting configuration connection information of the interface, wherein the configuration connection information comprises the interface and information of the interface to which the interface is connected.
18. The method of claim 11, wherein the first device is a server in a data center room and is connected to a switch in the data center room via the at least one interface.
19. An apparatus for device wiring, comprising:
a connection configuration obtaining unit configured to obtain a connection configuration of a first device, where the connection configuration includes configuration connection information of a first interface of the first device;
a field wiring information acquisition unit configured to acquire field wiring information of the first interface from the first device in response to the first interface being connected to a second interface of a second device; and
and a checking unit configured to check the correctness of the connection of the first interface to the second interface based on the field connection information and the configuration connection information of the first interface.
20. An apparatus for device wiring:
a connection configuration acquisition unit configured to acquire a connection configuration of a first device in response to identifying that a connection error exists at the first device, the connection configuration including configuration connection information of at least one interface of the first device;
a field connection information acquiring unit for acquiring field connection information of the at least one interface from the first device; and
And a determining unit configured to determine an interface having a wiring error among the at least one interface based on the field wiring information and the configuration wiring information of the at least one interface.
21. An electronic device, comprising:
at least one processor; and
a memory having stored thereon computer executable instructions that, when executed by the at least one processor, cause the apparatus to:
acquiring connection configuration of first equipment, wherein the connection configuration comprises configuration connection information of a first interface of the first equipment;
obtaining field wiring information of the first interface from a first device in response to the first interface being connected to a second interface of a second device; and
and checking the correctness of the connection from the first interface to the second interface based on the field connection information and the configuration connection information of the first interface.
22. An electronic device, comprising:
at least one processor; and
a memory having stored thereon computer executable instructions that, when executed by the at least one processor, cause the apparatus to:
Responsive to identifying that a connectivity error exists at a first device, obtaining a connectivity configuration of the first device, the connectivity configuration including configuration connectivity information for at least one interface of the first device;
acquiring field connection information of the at least one interface from the first equipment; and
and determining an interface with a connection error in the at least one interface based on the field connection information and the configuration connection information of the at least one interface.
23. A computer-readable storage medium having stored thereon one or more computer-executable instructions, wherein execution of the one or more computer-executable instructions by a processor causes the processor to perform the method of any of claims 1 to 10 or to perform the method of any of claims 11 to 18.
24. A computer program product comprising computer-executable instructions which, when executed by a device, cause the device to perform the method of any one of claims 1 to 10 or perform the method of any one of claims 11 to 18.
CN202310076780.7A 2023-01-13 2023-01-13 Method, apparatus, device, medium and program product for device connection Pending CN116050039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310076780.7A CN116050039A (en) 2023-01-13 2023-01-13 Method, apparatus, device, medium and program product for device connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310076780.7A CN116050039A (en) 2023-01-13 2023-01-13 Method, apparatus, device, medium and program product for device connection

Publications (1)

Publication Number Publication Date
CN116050039A true CN116050039A (en) 2023-05-02

Family

ID=86131192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310076780.7A Pending CN116050039A (en) 2023-01-13 2023-01-13 Method, apparatus, device, medium and program product for device connection

Country Status (1)

Country Link
CN (1) CN116050039A (en)

Similar Documents

Publication Publication Date Title
CN112291079B (en) Network service configuration method and network management equipment
CN110752952A (en) Network fault positioning method and device, network equipment and computer storage medium
US11636016B2 (en) Cloud simulation and validation system
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
US11477074B2 (en) Remote line integration
CN108416449B (en) Operation and maintenance method and device
CN111142878A (en) SDN operation and maintenance method, device, equipment and readable storage medium
CN113986478A (en) Resource migration strategy determination method and device
CN113468067B (en) Application program debugging method and device, electronic equipment and computer readable medium
CN110557281A (en) Intelligent operation and maintenance method and device based on CMDB and alarm map
CN114430366A (en) Information acquisition application issuing method, related device and computer program product
CN105515804A (en) Apparatus and method for fixing client system errors
CN116050039A (en) Method, apparatus, device, medium and program product for device connection
CN111190761A (en) Log output method and device, storage medium and electronic equipment
CN112235213B (en) SDN switch shunting method, system, terminal and storage medium
CN114978923A (en) Fault drilling method, device and system
US20210304219A1 (en) Methods, equipment and storage medium for unmanned aerial vehicle activation and unbinding
CN111404782A (en) Terminal testing method and device, computing equipment and storage medium
WO2023032115A1 (en) Network management device, network management method, and network management system
WO2023032116A1 (en) Script identification device, script identification method, and script identification system
CN109586960A (en) A kind of method for updating configuration data and device
US20230350704A1 (en) Automated bot for error-free racking-stacking
CN112565398B (en) GFS data downloading method and device, electronic equipment and storage medium
KR102436385B1 (en) System for terminal access based beacon using protocol for Internet of Things, Method thereof, and Compueter readable storage medium having the same
US20220011364A1 (en) Wireless electronic-control system

Legal Events

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