CN115185759A - LLDP-based server wiring verification method, device and system - Google Patents

LLDP-based server wiring verification method, device and system Download PDF

Info

Publication number
CN115185759A
CN115185759A CN202211077282.6A CN202211077282A CN115185759A CN 115185759 A CN115185759 A CN 115185759A CN 202211077282 A CN202211077282 A CN 202211077282A CN 115185759 A CN115185759 A CN 115185759A
Authority
CN
China
Prior art keywords
server
information
wiring
preset
lldp
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.)
Granted
Application number
CN202211077282.6A
Other languages
Chinese (zh)
Other versions
CN115185759B (en
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211077282.6A priority Critical patent/CN115185759B/en
Publication of CN115185759A publication Critical patent/CN115185759A/en
Application granted granted Critical
Publication of CN115185759B publication Critical patent/CN115185759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Abstract

The application provides a server wiring verification method based on LLDP, which comprises the following steps: acquiring serial number information of accessed server equipment; acquiring wiring information preset by the server from a preset wiring table according to the serial number information of the equipment; receiving real wiring information of the server sent by the accessed server, wherein the real wiring information of the server is obtained by acquiring a switch connected with each network port opposite end of the server by executing an LLDP protocol script when the server is accessed, and the real wiring information of the server comprises a switch name and a port number of the switch actually connected with each port of the server; and comparing the wiring information preset by the server with the real wiring information of the server to obtain a verification result. According to the technical scheme, the server wiring can be checked more conveniently and efficiently.

Description

LLDP (Link Log discovery protocol) based server wiring verification method, device and system
Technical Field
The application relates to the field of financial science and technology, in particular to a server wiring verification method, a server wiring device and a server wiring verification system based on LLDP.
Background
With the rapid development of financial science and technology and Internet Data Center (IDC) scale enterprises, the large number of servers need to be managed, therefore, the wiring operation on the shelves is generally arranged through third-party outsourcing, because the wiring is complicated, the quantity is large, the wiring between the servers and the switch and the design specification are frequently wrong due to manual operation and other reasons, the manual inspection workload is huge, the mistake is not easy to be found in the first time, the problems of misoperation of the servers, incapability of remote management and the like are easily caused, the operation and maintenance party needs to invest a large amount of manpower and time to solve and troubleshoot the wiring, the operation cost is high, and the delivery efficiency is further reduced.
Disclosure of Invention
In view of this, it is actually necessary to provide a server wiring verification method, a server wiring verification apparatus and a server wiring verification system based on LLDP, which are more convenient and efficient.
In view of this, it is actually necessary to provide a server wiring verification method, a server wiring verification apparatus and a server wiring verification system based on LLDP, which are more convenient and efficient.
In a first aspect, an embodiment of the present application provides a server connection verification method implemented based on LLDP, where the server connection verification method includes the following steps:
acquiring serial number information of accessed server equipment;
acquiring preset wiring information of the server from a preset wiring table according to the serial number information of the server equipment, wherein the preset wiring information of the server comprises the name and the port number of the switch equipment at each port opposite end, and the preset wiring table stores the server to be deployed and the corresponding wiring information;
receiving real wiring information of the server sent by the accessed server, wherein the real wiring information of the server is obtained by acquiring a switch connected with an opposite end of each port of the server by executing an LLDP script when the server is accessed, and the real wiring information of the server comprises a switch name and a port number of the switch actually connected with each port of the server; and
and comparing the wiring information preset by the server with the real wiring information of the server to obtain a verification result.
In a second aspect, an embodiment of the present application provides a server wiring verification apparatus implemented based on LLDP, where the server wiring verification apparatus includes:
a first obtaining unit, configured to obtain serial number information of an accessed server device;
a second obtaining unit, configured to obtain, according to serial number information of the server device, connection information preset by the server from a preset connection table, where the connection information preset by the server includes a name and a port number of a switch device at an opposite end of each port, and the preset connection table stores servers to be deployed and corresponding connection information;
the receiving unit is used for receiving the real wiring information of the server sent by the accessed server, the real wiring information of the server is obtained by acquiring a switch connected with an opposite end of each port of the server by executing an LLDP script when the server is accessed, and the real wiring information of the server comprises a switch name and a port number of the switch actually connected with each port of the server;
the verification unit is used for comparing the wiring information preset by the server with the real wiring information of the server to obtain a verification result;
and the display unit is used for displaying corresponding result information according to the verification result.
In a third aspect, an embodiment of the present application provides a server wiring verification system implemented based on LLDP, where the server wiring verification system includes:
a plurality of servers to be deployed;
a deployment system communicatively coupled to the server, the deployment system comprising:
a computer readable storage medium for storing program instructions; and
the processor and the bus execute the program instruction to realize the server wiring checking method based on the LLDP
According to the server wiring verification method based on the LLDP, the server wiring verification device based on the LLDP and the server wiring verification system based on the LLDP, real wiring information and preset wiring information are compared on the deployment system, so that the time for operation and maintenance personnel to troubleshoot wrong wiring can be reduced, and the labor cost can be reduced; by adopting the LLDP protocol, the accessed server and the switch can mutually discover and interact respective system and configuration information in the network, thereby solving the management of switches of different types, different configurations and different manufacturers.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a flowchart of a server connection verification method implemented based on LLDP according to an embodiment of the present application.
Fig. 2 is a first sub-flowchart of a server connection checking method implemented based on LLDP according to an embodiment of the present application.
Fig. 3 is a flowchart of a server connection checking method implemented based on LLDP according to a second embodiment of the present disclosure.
Fig. 4 is a second sub-flowchart of the method for verifying the server connection implemented based on LLDP according to the embodiment of the present application.
Fig. 5 is a flowchart of a third embodiment of a server connection checking method implemented based on LLDP according to an embodiment of the present application.
Fig. 6 is a third sub-flowchart of the method for checking the server connection based on LLDP according to the embodiment of the present application.
Fig. 7 is a schematic diagram of a server connection verification apparatus implemented based on LLDP according to an embodiment of the present application.
Fig. 8 is a schematic internal structural diagram of a deployment system according to an embodiment of the present application.
Fig. 9 is a server wiring verification system implemented based on LLDP according to this embodiment of the present application.
Fig. 10 is a preset wiring table provided in an embodiment of the present application.
Fig. 11 is a diagram of an actual wiring table provided in an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances, in other words that the embodiments described are to be practiced in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and any other variation thereof, may also include other things, such as processes, methods, systems, articles, or apparatus that comprise a list of steps or elements is not necessarily limited to only those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such processes, methods, articles, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope claimed in the present application.
Referring to fig. 1 and fig. 9 in combination, fig. 1 is a flowchart of a server connection checking method implemented based on a Link Layer Discovery Protocol (LLDP) according to an embodiment of the present disclosure. Fig. 9 is a server wiring verification system implemented based on LLDP according to an embodiment of the present application. LLDP is a data link layer protocol, and can send device Information such as a main capability, a Management address, a device identifier, and an interface identifier of one device accessing a network to other devices accessing the same lan, and one device can store the received device Information sent by other devices in the form of a Management Information Base (MIB), and can present a physical topology structure and Management configuration Information of each device. The server wiring verification system 1 comprises a plurality of servers 20 to be deployed and a deployment system 10, wherein the deployment system 10 is in communication connection with the plurality of servers 20 to be deployed through LLDP. The server wiring verification method implemented based on LLDP specifically includes the following steps S102-S110.
Step S102, obtaining the serial number information of the accessed server equipment. It will be appreciated that a plurality of servers 20 to be deployed are wired by a construction worker, and that when one server 20 is powered on, that server 20 will access the deployment system 10, at which point the deployed server 20 may send serial number information of the device to the deployment system 10. That is, deployment system 10 may obtain serial number information for the accessed server 20 device.
Step S104, obtaining preset wiring information of the server from a preset wiring table according to the serial number information of the server device, wherein the preset wiring information of the server comprises the name and the port number of the switch device at the opposite end of each port, namely the name and the port number of the switch device in the preset wiring information are preset in advance, and the preset wiring table stores the server to be deployed and the corresponding wiring information. Specifically, after the wiring design for server deployment is completed, the user uploads the wiring table about the wiring design to the deployment system 10. That is, the pre-wiring table is stored in advance in the deployment system 10. The preset wiring table 2 includes preset wiring information of the servers to be deployed. As shown in fig. 10, in the present embodiment, a preset wiring table 2 is taken as an example for explanation. After the deployment system 10 acquires the serial number of the accessed server 20 device, the preset wiring table 2 is accessed according to the acquired serial number of the device, and preset wiring information corresponding to the serial number of the device is matched in the preset wiring table 2. For example, the serial number of the device is 12312345645678978900, the deployment system 10 searches for the serial number of the device as 12312345645678978900 in the preset wiring table 2 according to the serial number of the device as 12312345645678978900, and when the serial number of the device is found as 12312345645678978900, the wiring information corresponding to the serial number of the device as 12312345645678978900 in the preset wiring table 2 is used as the preset wiring information of the accessed server, and at this time, the serial number of the device of the currently accessed server 20 is successfully matched. When the serial number 12312345645678978900 of the equipment is not found, matching fails at the moment, and corresponding prompt information is output.
Step S106, receiving the real connection information of the server sent by the accessed server, wherein the real connection information of the server is obtained by acquiring the switch connected with the opposite end of each port of the server by executing an LLDP script when the server is accessed, and the real connection information of the server comprises the switch name and the port number of the switch actually connected with each port of the server. Specifically, according to step S106, after the serial number of the accessed server 20 device is successfully matched with the serial number in the preset wiring table 2 by the deployment system 10, the deployment system 10 initiates a request to the accessed server 20 device, the switch name and the corresponding port number of the switch actually connected to each port of the accessed server 20 are requested, after the accessed server 20 receives the request sent by the deployment system 10, the accessed server 20 starts to execute a corresponding LLDP script, where the LLDP script includes a domain name of each port in the accessed server 20, the switch receives a data frame corresponding to each port of the accessed server 20 generated by the accessed server 20 executing the LLDP script, the switch parses the domain name of the corresponding port in the acquired data frame, acquires the MAC address of each port of the accessed server 20, and binds the MAC address of each port of the accessed server 20 with the corresponding port number and stores the MAC address in the MAC address table of the switch. The switch sends the port number information stored in the MAC address table to the accessed server 20, and after receiving the switch information actually connected to each port, the accessed server 20 sends the received information to the deployment system 10.
Step S108, comparing the wiring information preset by the server with the real wiring information of the server to obtain a verification result. It can be understood that, as shown in fig. 11, the deployment system 10 receives the actual wiring information transmitted by the accessed server 20, and forms an actual wiring table 3, where the actual wiring table includes the actual switch device name and the actual port number, compares the preset wiring information obtained in step S104, and determines whether the information of the switch corresponding to each port of the accessed server 20 is consistent with the wiring content in the preset wiring information.
And step S110, displaying corresponding result information according to the verification result. It is understood that the deployment system 10 displays the verification result obtained in step S108 on an interface of the deployment system 10, which will be described in detail below.
In the above embodiment, by comparing the real wiring information with the preset wiring information on the deployment system 10, the time for the operation and maintenance personnel to troubleshoot wrong wiring can be reduced, and thus the labor cost can be reduced; by adopting the LLDP protocol, the accessed server 20 and the switches mutually discover and interact respective system and configuration information in the network, thereby solving the management of the switches of different types, different configurations and different manufacturers.
Please refer to fig. 2 in combination, which is a first sub-flowchart of a method for verifying server wiring based on LLDP according to an embodiment of the present application. Step S110 specifically includes the following steps S202 to S204.
And step S202, when the verification result is correct, displaying the wiring information of the server. It is understood that when the verification result obtained in step S108 is correct, the wiring information of each port of the accessed server 20 will be displayed on the deployment system 10.
And step S204, when the verification result is incorrect, displaying incorrect port wiring information of the server. It is understood that, when the verification result obtained in step S108 is incorrect, the deployment system 10 will display that the connection information corresponding to the port in the accessed server 20 is incorrect.
In the above embodiment, by checking the wiring information, when the wiring information is wrong, incorrect port wiring information is displayed in the deployment system 10, so that the operation and maintenance personnel can quickly locate the problem and correct the problem.
Please refer to fig. 3 in combination, which is a flowchart illustrating a server wire connection checking method implemented based on LLDP according to a second embodiment of the present application. The server wiring checking method further includes the following steps S302-S306.
Step S302, the current position of the accessed server is obtained according to the serial number information of the accessed server equipment. It can be understood that, switches are placed on each cabinet in the machine room according to a certain rule, and if the accessed server 20 is connected to a switch in the machine room, the location of the currently accessed server 20 can be determined through the switch. The operation and maintenance personnel can obtain the wiring information of the accessed server 20 by obtaining the serial number of the accessed server 20 in the deployment system 10, so as to determine the location of the currently accessed server 20.
Step S304, acquiring a preset position corresponding to the server from a preset wiring table according to the serial number information of the server device, wherein the preset position is a position where the server to be deployed is stored in the preset wiring table in advance. It can be understood that the preset position is determined according to the corresponding wiring information during design, and when the serial number of the accessed server 20 is successfully matched with the serial number in the preset wiring table 2, the corresponding preset position can be obtained through the preset wiring table 2.
Step S306, the obtained current position of the server and the preset position are verified to obtain a verification result. The deployment system 10 performs consistency check on the current location of the accessed server 20 obtained in step S302 and step S304 and a preset location to obtain a check result, which will be described in detail below.
In the above embodiment, the current location of the accessed server 20 is verified, so that the wiring information of the accessed server 20 can be further checked, and the occurrence of wiring errors is reduced.
Please refer to fig. 4 in combination, which is a second sub-flowchart of the method for verifying the server connection based on the LLDP implementation provided in this embodiment of the present application. Step S306 specifically includes the following steps S402-S404.
And step S402, when the verification result is correct, displaying information indicating that the position is correct. It can be understood that, when the deployment system 10 obtains the correct verification result through step S306, the deployment system 10 displays that the current location of the accessed server 20 is correct.
And step S404, when the checking result is incorrect, displaying the position information of the current position of the server. It is understood that, when the deployment system 10 obtains the incorrect verification result through step S306, the deployment system 10 displays the current location of the accessed server 20.
In the above embodiment, the location of the accessed server 20 is checked, and when the location is wrong, the location of the accessed server 20 is displayed in the deployment system 10, so that the operation and maintenance personnel can quickly locate and correct the location of the accessed server 20.
Please refer to fig. 5 in combination, which is a flowchart of a third embodiment of a method for verifying server connection implemented based on LLDP according to the embodiment of the present application. The server wiring checking method further specifically comprises the following steps S502-S506.
Step S502, directly obtaining the hardware information of the accessed server equipment according to the accessed server equipment. It is understood that each of the accessed servers 20 will be configured with different hardware information as required at the time of purchase, so that each of the accessed servers 20 can implement different functions. The operation and maintenance personnel may obtain the hardware information of the accessed server 20 through an Intelligent Platform Management Interface (IPMI) in the deployment system 10.
Step S504, acquiring hardware information preset by the server from a preset procurement information table according to the serial number information of the server device, where the preset procurement information stores hardware information corresponding to the server to be deployed. It is understood that the preset purchase information may be entered into the hardware information of each server 20 by setting the preset purchase information table on the deployment system 10 after the equipment purchase is completed. When the matching between the serial number of the accessed server 20 and the serial number in the preset purchasing information table is successful, the corresponding preset hardware information can be acquired from the preset purchasing table.
Step S506, comparing the hardware information of the accessed server device with the corresponding hardware information preset by the server device to obtain a comparison result. It is understood that the deployment system 10 compares the consistency between the accessed hardware information of the server 20 obtained in step S502 and step S504 and the preset hardware information to obtain a comparison result, which will be described in detail below.
In the above embodiment, by checking the hardware information of the accessed server, it can be determined whether the function of the currently accessed server is normal.
Please refer to fig. 6 in combination, which is a third sub-flowchart of the method for checking the wiring of the server 20 implemented based on LLDP according to the embodiment of the present application. Step S506 specifically includes the following steps S602 to S604.
Step S602, when the comparison result is consistent, it is displayed that the hardware information of the current server is correct. It can be understood that, when the comparison result obtained by the deployment system 10 through step S506 is correct, the hardware information of the currently accessed server 20 displayed on the deployment system 10 is correct.
Step S604, when the comparison result is inconsistent, it is displayed that the hardware information of the current server is incorrect. It is understood that, when the comparison result obtained by the deployment system 10 through step S506 is incorrect, the hardware information of the currently accessed server 20 displayed on the deployment system 10 is incorrect. For example, if the number of hard disks in the acquired hardware information of the accessed server 20 is 4, but the number of hard disks in the hardware information acquired by the deployment system 10 from the preset acquisition table is 5, the deployment system 10 determines that the hardware information of the currently accessed server 20 is abnormal, and directly displays that the hardware information of the currently accessed server 20 is incorrect.
In the above embodiment, by comparing the hardware information of the accessed server 20, when the hardware information of the accessed server 20 is wrong, it is displayed in the deployment system 10 that the hardware information of the accessed server 20 is incorrect, so that the operation and maintenance personnel can quickly locate and correct the accessed server 20.
Please refer to fig. 7 in combination, which is a schematic diagram of a server wiring verification apparatus 1000 implemented based on LLDP, the server wiring verification apparatus includes a first obtaining unit 100, a second obtaining unit 200, a receiving unit 300, a verification unit 400, and a display unit 500.
A first obtaining unit 100, configured to obtain serial number information of the accessed server 20 device.
A second obtaining unit 200, configured to obtain, according to the serial number information of the server 20 device, connection information preset by the server 20 from a preset connection table 2, where the connection information preset by the server 20 includes a name and a port number of a switch device at an opposite end of each port, and the preset connection table 2 stores the server 20 to be deployed and corresponding connection information.
The receiving unit 300 is configured to receive the real connection information of the server 20 sent by the accessed server 20, where the real connection information of the server 20 is obtained by acquiring, by executing an LLDP script, a switch connected to an opposite end of each port of the server 20 when the server 20 accesses, and the real connection information of the server 20 includes a switch name and a port number of the switch actually connected to each port of the server 20.
The verification unit 400 is configured to compare the preset wiring information of the server 20 with the real wiring information of the server 20 to obtain a verification result.
And a display unit 500 for displaying corresponding result information according to the verification result.
Please refer to fig. 8 in combination, which is a schematic diagram of an internal structure of a deployment system according to an embodiment of the present application. Deployment system 10 includes a computer-readable storage medium 11, a processor 12, and a bus 13. The computer-readable storage medium 11 includes at least one type of readable storage medium, including flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, and the like. The computer readable storage medium 11 may in some embodiments be an internal storage unit of the deployment system 10, such as a hard disk of the deployment system 10. The computer readable storage medium 11 may also be, in other embodiments, an external deployment system 10 storage device, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the deployment system 10. Further, the computer-readable storage medium 11 may also include both internal storage units and external storage devices of the deployment system 10. The computer-readable storage medium 11 can be used not only to store application software installed in the deployment system 10 and various types of data, but also to temporarily store data that has been output or is to be output.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
Further, the deployment system 10 may also include a display component 14. The display component 14 may be a Light Emitting Diode (LED) display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch panel, or the like. The display component 14 may also be referred to as a display device or display unit, as appropriate, for displaying information processed in the deployment system 10 and for displaying a visual user interface, among other things.
Further, the deployment system 10 may also include a communication component 15. The communication component 15 may optionally include a wired communication component and/or a wireless communication component, such as a WI-FI communication component, a bluetooth communication component, etc., typically used to establish a communication connection between the deployment system 10 and other smart control devices.
The processor 12 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip for executing program codes stored in the computer-readable storage medium 11 or Processing data. Specifically, the processor 12 executes a processing program to control the deployment system 10 to implement the server wire check method based on the LLDP implementation
It is to be understood that fig. 8 only illustrates the deployment system 10 with the components 11-15 and the server wire verification method implemented based on LLDP, and those skilled in the art will appreciate that the architecture illustrated in fig. 8 is not limiting of the deployment system 10 and may include fewer or more components than illustrated, or some components in combination, or a different arrangement of components.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, to the extent that such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, it is intended that the present application also encompass such modifications and variations.
The above-mentioned embodiments are only examples of the present invention, and the scope of the claims of the present invention should not be limited by these examples, so that the claims of the present invention should be construed as equivalent and still fall within the scope of the present invention.

Claims (10)

1. A server wiring checking method realized based on LLDP is characterized in that the server wiring checking method comprises the following steps:
acquiring serial number information of accessed server equipment;
acquiring preset wiring information of a server from a preset wiring table according to the serial number information of the server equipment, wherein the preset wiring information of the server comprises the name and the port number of the switch equipment of each port opposite end, and the preset wiring table stores the server to be deployed and the corresponding wiring information;
receiving real wiring information of the server sent by the accessed server, wherein the real wiring information of the server is obtained by acquiring a switch connected with each network port opposite end of the server by executing an LLDP protocol script when the server is accessed, and the real wiring information of the server comprises a switch name and a port number of the switch actually connected with each port of the server; and
and comparing the wiring information preset by the server with the real wiring information of the server to obtain a verification result.
2. The LLDP-based server connection verification method according to claim 1, wherein comparing the preset connection information of the server with the real connection information of the server to obtain the verification result specifically comprises:
and displaying corresponding result information according to the verification result.
3. The LLDP-based server connection verification method according to claim 2, wherein displaying the corresponding result information according to the verification result specifically comprises:
when the verification result is correct, displaying the wiring information of the server; and
and when the verification result is incorrect, displaying incorrect port wiring information of the server.
4. The LLDP implementation based server wire verification method as claimed in claim 1, characterized in that the method further comprises:
acquiring the current position of an accessed server according to the serial number information of the accessed server equipment;
acquiring a preset position corresponding to the server from a preset wiring table according to the serial number information of the server equipment, wherein the preset position is a position where the server to be deployed is stored in the preset wiring table in advance;
and checking the acquired current position of the server and a preset position to obtain a checking result.
5. The method for verifying the connection of the server based on the LLDP as claimed in claim 4, wherein the step of verifying the obtained current location and the preset location of the server to obtain the verification result specifically comprises:
when the verification result is correct, displaying information indicating that the position is correct; and
and when the verification result is incorrect, displaying the position information of the current position of the server.
6. The LLDP implementation based server wire verification method as claimed in claim 1, characterized in that the method further comprises:
directly acquiring hardware information of the accessed server equipment according to the accessed server equipment;
acquiring hardware information preset by a server from a preset purchasing information table according to the serial number information of the server equipment, wherein the hardware information corresponding to the server to be deployed is stored in the preset purchasing information table; and
and comparing the hardware information of the accessed server equipment with the corresponding hardware information preset by the server to obtain a comparison result.
7. The LLDP-based server connection verification method according to claim 6, wherein comparing the hardware information of the accessed server device with the corresponding preset hardware information of the server to obtain a comparison result specifically comprises:
when the comparison result is consistent, displaying that the hardware information of the current server is correct; and
and when the comparison result is inconsistent, displaying that the hardware information of the current server is incorrect.
8. The utility model provides a server wiring verifying attachment based on LLDP realizes which characterized in that, server wiring verifying attachment specifically includes:
a first obtaining unit, configured to obtain serial number information of an accessed server device;
a second obtaining unit, configured to obtain, according to serial number information of the server device, connection information preset by the server from a preset connection table, where the connection information preset by the server includes a name and a port number of a switch device at an opposite end of each port, and the preset connection table stores servers to be deployed and corresponding connection information;
the receiving unit is configured to receive real connection information of the server sent by the accessed server, where the real connection information of the server is obtained by acquiring a switch connected to an opposite end of each port of the server by executing an LLDP protocol script when the server is accessed, and the real connection information of the server includes a switch name and a port number of the switch actually connected to each port of the server; and
and the verification unit is used for comparing the wiring information preset by the server with the real wiring information of the server to obtain a verification result.
9. The utility model provides a server wiring verifying attachment based on LLDP realizes which characterized in that, server wiring verifying attachment still specifically includes:
and the display unit is used for displaying corresponding result information according to the verification result.
10. A server wiring verification system realized based on LLDP is characterized in that the server wiring verification system specifically comprises:
a plurality of servers to be deployed;
a deployment system communicatively coupled to the server, the deployment system comprising:
a computer readable storage medium for storing program instructions; and
the processor executes the program instructions to implement the server wire verification method based on LLDP implementation of any one of claims 1 to 7.
CN202211077282.6A 2022-09-05 2022-09-05 Method, device and system for checking server wiring based on LLDP Active CN115185759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211077282.6A CN115185759B (en) 2022-09-05 2022-09-05 Method, device and system for checking server wiring based on LLDP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211077282.6A CN115185759B (en) 2022-09-05 2022-09-05 Method, device and system for checking server wiring based on LLDP

Publications (2)

Publication Number Publication Date
CN115185759A true CN115185759A (en) 2022-10-14
CN115185759B CN115185759B (en) 2023-09-29

Family

ID=83524107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211077282.6A Active CN115185759B (en) 2022-09-05 2022-09-05 Method, device and system for checking server wiring based on LLDP

Country Status (1)

Country Link
CN (1) CN115185759B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281206A (en) * 2013-05-29 2013-09-04 新浪网技术(中国)有限公司 System, method and device for determining connected relation
US20140006573A1 (en) * 2012-06-29 2014-01-02 Fujitsu Limited Storage system management device and method of managing storage system
CN109587005A (en) * 2018-12-26 2019-04-05 华为技术服务有限公司 Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN109951325A (en) * 2019-02-28 2019-06-28 华为技术有限公司 A kind of network cable connection inspection method and device
CN110109933A (en) * 2019-04-28 2019-08-09 平安科技(深圳)有限公司 Information maintenance method, configuration management database system and storage medium
CN110430265A (en) * 2019-08-06 2019-11-08 北京奇艺世纪科技有限公司 A kind of method and device obtaining server and inter-exchange corresponding relationship
CN110839089A (en) * 2019-11-07 2020-02-25 苏州浪潮智能科技有限公司 Server positioning method, system, electronic equipment and storage medium
CN111526044A (en) * 2020-04-13 2020-08-11 浪潮思科网络科技有限公司 Method, device and medium for discovering link between switch and server
CN112311574A (en) * 2019-07-30 2021-02-02 中国移动通信有限公司研究院 Method, device and equipment for checking network topology connection
CN112468462A (en) * 2020-11-13 2021-03-09 苏州浪潮智能科技有限公司 Server-based serial number acquisition method, device, equipment and storage medium
CN112636969A (en) * 2020-12-20 2021-04-09 苏州浪潮智能科技有限公司 Automatic configuration method and device and electronic equipment
CN113364628A (en) * 2021-06-11 2021-09-07 上海中通吉网络技术有限公司 Method and equipment for establishing topological relation between server and switch
CN113726543A (en) * 2020-05-26 2021-11-30 北京达佳互联信息技术有限公司 Operation and maintenance service processing method, device, system, server and storage medium
CN114006822A (en) * 2020-07-16 2022-02-01 中国移动通信有限公司研究院 Method and device for judging link between switch and server
US20220083348A1 (en) * 2020-09-14 2022-03-17 Dell Products L.P. Automated os networking configuration system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006573A1 (en) * 2012-06-29 2014-01-02 Fujitsu Limited Storage system management device and method of managing storage system
CN103281206A (en) * 2013-05-29 2013-09-04 新浪网技术(中国)有限公司 System, method and device for determining connected relation
CN109587005A (en) * 2018-12-26 2019-04-05 华为技术服务有限公司 Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN109951325A (en) * 2019-02-28 2019-06-28 华为技术有限公司 A kind of network cable connection inspection method and device
CN110109933A (en) * 2019-04-28 2019-08-09 平安科技(深圳)有限公司 Information maintenance method, configuration management database system and storage medium
CN112311574A (en) * 2019-07-30 2021-02-02 中国移动通信有限公司研究院 Method, device and equipment for checking network topology connection
CN110430265A (en) * 2019-08-06 2019-11-08 北京奇艺世纪科技有限公司 A kind of method and device obtaining server and inter-exchange corresponding relationship
CN110839089A (en) * 2019-11-07 2020-02-25 苏州浪潮智能科技有限公司 Server positioning method, system, electronic equipment and storage medium
CN111526044A (en) * 2020-04-13 2020-08-11 浪潮思科网络科技有限公司 Method, device and medium for discovering link between switch and server
CN113726543A (en) * 2020-05-26 2021-11-30 北京达佳互联信息技术有限公司 Operation and maintenance service processing method, device, system, server and storage medium
CN114006822A (en) * 2020-07-16 2022-02-01 中国移动通信有限公司研究院 Method and device for judging link between switch and server
US20220083348A1 (en) * 2020-09-14 2022-03-17 Dell Products L.P. Automated os networking configuration system
CN112468462A (en) * 2020-11-13 2021-03-09 苏州浪潮智能科技有限公司 Server-based serial number acquisition method, device, equipment and storage medium
CN112636969A (en) * 2020-12-20 2021-04-09 苏州浪潮智能科技有限公司 Automatic configuration method and device and electronic equipment
CN113364628A (en) * 2021-06-11 2021-09-07 上海中通吉网络技术有限公司 Method and equipment for establishing topological relation between server and switch

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
曾楚轩;刘璐;: "流量分析及LLDP技术在信安系统建维中的应用", 信息通信, no. 03, pages 206 - 207 *
马先卿等: "基于LLDP的家庭网络设备自动识别的研究", 《计算机应用与软件》 *
马先卿等: "基于LLDP的家庭网络设备自动识别的研究", 《计算机应用与软件》, vol. 28, no. 02, 15 February 2011 (2011-02-15), pages 199 - 200 *

Also Published As

Publication number Publication date
CN115185759B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN105611330B (en) Smart television maintenance method and system, server and mobile terminal
US9967759B2 (en) Information handling system physical component maintenance through near field communication device interaction
US9569294B2 (en) Information handling system physical component inventory to aid operational management through near field communication device interaction
CN103685386B (en) For determining the method and apparatus for calculating location information of the equipment in whole machine cabinet
US9124655B2 (en) Information handling system operational management through near field communication device interaction
WO2012013130A1 (en) Method and system for managing server information data
US9170960B2 (en) Location of computing assets within an organization
US11450993B2 (en) Automated capture of information about fixed cabling
CN110224854A (en) Dispositions method, device and the storage medium of block chain node
CN110740609A (en) Server information processing method and device for internet data center and controller
CN108965403B (en) Operation and maintenance monitoring connection establishing method and terminal equipment
CN113868058A (en) Peripheral component high-speed interconnection equipment fault detection method and device and server
CN115185759B (en) Method, device and system for checking server wiring based on LLDP
CN112463549A (en) Auditing method, device and equipment of cloud platform and computer readable storage medium
CN110874365B (en) Information query method and related equipment thereof
CN105321058B (en) Method and terminal for searching device and device to be searched
US8621451B1 (en) Responsiveness of a computing device in connection with software distribution
CN111324374B (en) Application program registration method and device based on application performance management system
WO2021097825A1 (en) Device marking method, apparatus, and system, computer device, and storage medium
CN109669867B (en) Test apparatus, automated test method, and computer-readable storage medium
CN109150578B (en) Remote batch parameter configuration method for CORS station
CN108697025B (en) Assembly prompting method of rack-mounted server system
CN116501563B (en) Storage device testing method, system, device, communication device and storage medium
CN106021515A (en) Data base script file management method and system, and client side device
CN114065887A (en) Optical fiber resource management method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant