[go: up one dir, main page]

CN112527582A - Detection method, detection device, detection equipment and storage medium of server cable - Google Patents

Detection method, detection device, detection equipment and storage medium of server cable Download PDF

Info

Publication number
CN112527582A
CN112527582A CN202011504807.0A CN202011504807A CN112527582A CN 112527582 A CN112527582 A CN 112527582A CN 202011504807 A CN202011504807 A CN 202011504807A CN 112527582 A CN112527582 A CN 112527582A
Authority
CN
China
Prior art keywords
cable
server
connection
information
determining
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
CN202011504807.0A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202011504807.0A priority Critical patent/CN112527582A/en
Publication of CN112527582A publication Critical patent/CN112527582A/en
Pending legal-status Critical Current

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/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
    • 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/2273Test methods
    • 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/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a detection method of a server cable, which is characterized in that target cable information is stored in the configuration of a server in advance to indicate the correct connection state, the connection position and the like of the cable on the server, after a server mainboard is electrified, a substrate management controller of the server mainboard scans signals of all cables of the server, the actual connection state of the connected cable is determined according to the scanned signals of all cables, if the signals can be received, the cables are in the connection state, the serial number and the like of the connected cable can be determined according to the identification of the signals, and the actual connection state of the connected cable is compared with the target cable information, so that whether the connection detection result of all cables on the server is normal connection or abnormal connection can be obtained. The invention also discloses a detection device, detection equipment and a storage medium for the server cable, and the detection device, the detection equipment and the storage medium have the beneficial effects.

Description

Detection method, detection device, detection equipment and storage medium of server cable
Technical Field
The present invention relates to the field of server technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a server cable.
Background
In a server system, high-speed signals between a plurality of boards are generally interconnected by using cables. After the whole machine is assembled and in the operation and maintenance process of the whole machine, the connection state of the cable needs to be detected, the cable is not assembled in place and the cable is damaged, so that the system is abnormal.
Disclosure of Invention
The invention aims to provide a detection method, a detection device, detection equipment and a storage medium for a server cable, which are used for efficiently detecting the connection state of the server cable and reducing the detection labor cost.
In order to solve the above technical problem, the present invention provides a method for detecting a server cable, wherein a baseboard management controller based on a server motherboard comprises:
after the server mainboard is powered on, scanning signals of all cables of the server;
determining the actual connection state of the connected cables according to the scanned signals of the cables;
and comparing the actual connection state with target cable information recorded in the configuration of the server, and determining the connection detection result of each cable.
Optionally, the signal of each cable specifically includes: at least one of an out-of-band sideband signal and an in-band high speed signal.
Optionally, when the signal of the cable is the outband sideband signal, the determining the actual connection state of the connected cable according to the scanned signal of each cable specifically includes:
determining information of the connected cable according to cable storage chip information in the out-of-band sideband signal;
determining information of the server backboard connected with the connecting cable according to information from the server backboard controller at the other end of each cable in the out-of-band sideband signal;
correspondingly, the comparing the actual connection state with the target cable information recorded in the configuration of the server to determine the connection detection result of each cable specifically includes:
comparing the information of the connected cables with the cable identification in the target cable information, and determining the connection detection result of each cable and the server mainboard;
and comparing the information of the server backboard with the backboard model in the target cable information, and determining the connection detection result of each cable and the server backboard.
Optionally, the connection detection result of each cable and the server motherboard specifically includes: the tightness of the connection of each cable with the server mainboard and the correctness of the connection position of each cable on the server mainboard.
Optionally, the connection detection result of each cable and the server backplane specifically includes: the tightness degree of the connection of each cable and the server backboard and the correctness of the connection position of each cable on the server backboard.
Optionally, when the signal of the cable is the in-band high-speed signal, the determining the actual connection state of the connected cable according to the scanned signal of each cable specifically includes:
determining the hard disk drive actually connected with each cable according to the type of each in-band high-speed signal;
detecting the signal quality of each in-band high-speed signal, and determining the actual connection effect of each cable and the actually connected hard disk drive according to the signal quality detection result;
correspondingly, the comparing the actual connection state with the target cable information recorded in the configuration of the server to determine the connection detection result of each cable specifically includes:
comparing the actually connected hard disk drive with the target hard disk drive in the target cable information, and determining the correctness of the connection position of each cable and the hard disk drive of the server backboard;
and comparing the actual connection effect with the target connection effect in the target cable information, and determining the connection detection result of the connected cable.
Optionally, the comparing the actual connection state with the target cable information recorded in the configuration of the server to determine the connection detection result of each cable specifically includes:
comparing the actual connection state with the target cable information according to a preset comparison item;
if all the comparison items pass, determining that the cable connection state is normal;
and if the failed comparison item exists, determining that the cable connection state is abnormal, and generating corresponding alarm information.
In order to solve the above technical problem, the present invention further provides a detection apparatus for a server cable, including:
the scanning unit is used for scanning signals of all cables of the server after the server mainboard is powered on;
a determination unit configured to determine an actual connection state of the connected cable according to the scanned signals of the cables;
and the comparison unit is used for comparing the actual connection state with the target cable information recorded in the configuration of the server and determining the connection detection result of each cable.
In order to solve the above technical problem, the present invention further provides a detection device for a server cable, including:
a memory for storing instructions, the instructions comprising the steps of any one of the above described server cable detection methods;
a processor to execute the instructions.
In order to solve the above technical problem, the present invention further provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for detecting a server cable according to any one of the above.
According to the detection method of the server cable, the target cable information is stored in the configuration of the server in advance to indicate the correct connection state, the connection position and the like of the cable on the server, after the server mainboard is powered on, the baseboard management controller of the server mainboard scans signals of all cables of the server, the actual connection state of the connected cable is determined according to the scanned signals of all cables, if the signals can be received, the cables are in the connection state, the serial number and the like of the connected cable can be determined according to the identification of the signals, and the actual connection state of the connected cable is compared with the target cable information, so that whether the connection detection result of all cables on the server is normal connection or abnormal connection can be obtained.
The invention also provides a detection device, detection equipment and a storage medium for the server cable, which have the beneficial effects and are not described again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting a server cable according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a normal connection between a server motherboard and a server backplane cable according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an abnormal connection between a server motherboard and a server backplane cable according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a detection signal path of a server motherboard and a server backplane cable according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a detection apparatus for a server cable according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a detection device for a server cable according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a detection method, a detection device, detection equipment and a storage medium for a server cable, which are used for efficiently detecting the connection state of the server cable and reducing the detection labor cost.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
Fig. 1 is a flowchart of a method for detecting a server cable according to an embodiment of the present invention.
As shown in fig. 1, a method for detecting a server cable provided in an embodiment of the present invention based on a baseboard management controller of a server motherboard includes:
s101: and after the server mainboard is powered on, scanning signals of all cables of the server.
S102: and determining the actual connection state of the connected cable according to the scanned signals of the cables.
S103: and comparing the actual connection state with the target cable information recorded in the configuration of the server, and determining the connection detection result of each cable.
In specific implementation, the method for detecting the server cable provided by the embodiment of the invention is implemented by writing a detection script in advance and running the detection script by a baseboard management controller of a server mainboard. In order to realize the cable information comparison, correct information of each cable to be detected on the server, namely target cable information, is recorded in the server configuration in advance for the baseboard management controller to call. The target cable information corresponds to the type of the cable to be detected, and at least includes the unique identifier of each cable to be detected and the connection position (interface positions at two ends, etc.) of the cable to be detected. When the connection condition of the server cable is changed, such as before the server leaves a factory, when a cable fault is repaired and replaced, and when the cable connection position is changed, the operation and maintenance personnel should update the target cable information. Different types of cables may be used to transmit different types of signals, and thus corresponding target cable information and detection methods are set according to the cable type. Before the detection is carried out, the operation and maintenance personnel set cables to be detected (if not set, all cables connected with the baseboard management controller are detected) and target cable information.
For step S101, the server motherboard is powered on to serve as a trigger signal for the bmc to scan the cable signals, and the signals of the cables are scanned at regular time.
For step S102, the cable whose signal is scanned is a connected cable, information in the signal is identified, and information such as a unique identifier of each connected cable and a connection position of each connected cable (e.g., an interface of a connected bmc) is determined, that is, an actual connection state of the connected cable.
For step S103, the bmc calls target cable information corresponding to the cables to be detected recorded in the server configuration, compares the actual connection state of the connected cables with the target cable information, including comparing the unique identifier of each connected cable with the unique identifier of each cable recorded in the target cable information, and checks whether there are cables that are connected more, less, or misconnected; and comparing the identified connection position of each connected cable with the correct connection position of each cable described in the target cable information, and checking whether the connected cable with the wrong connection position exists.
On the basis of setting corresponding target cable information and a detection method according to the type of the cable in advance, different comparison items can be set for the same type of cable, a small number of comparison items can be selected for comparing the actual connection state with the target cable information in order to accelerate the detection speed, a plurality of comparison items are selected for comparing in order to guarantee the reliability of the detection result, and the setting is specifically determined according to operation and maintenance personnel. Step S103 specifically includes:
comparing the actual connection state with the target cable information according to a preset comparison item;
if all the comparison items pass, determining that the cable connection state is normal;
and if the failed comparison item exists, determining that the cable connection state is abnormal, and generating corresponding alarm information.
According to the type of the detected cable, the target cable information and the setting of the comparison item, the baseboard management controller gives out the connection state of the current cable according to different detection results, confirms whether the problems of poor cable connection, damage of a cable body, wrong cable connection sequence and the like exist, and can record abnormal log reporting.
According to the detection method for the server cable provided by the embodiment of the invention, the target cable information is stored in the configuration of the server in advance to indicate the correct connection state, the connection position and the like of the cable on the server, after the server mainboard is powered on, the baseboard management controller of the server mainboard scans the signal of each cable of the server, the actual connection state of the connected cable is determined according to the scanned signal of each cable, if the signal can be received, the cable is in the connection state, the number and the like of the connected cable can be determined according to the mark of the signal, and the actual connection state of the connected cable is compared with the target cable information, so that whether the connection detection result of each cable on the server is normal connection or abnormal connection can be obtained.
Fig. 2 is a schematic diagram illustrating a normal connection between a server motherboard and a server backplane cable according to an embodiment of the present invention; fig. 3 is a schematic diagram illustrating an abnormal connection between a server motherboard and a server backplane cable according to an embodiment of the present invention; fig. 4 is a schematic diagram of a detection signal path of a server motherboard and a server backplane cable according to an embodiment of the present invention.
Based on the foregoing embodiments, in the method for detecting a server cable according to the embodiments of the present invention, taking a cable as an example between a server motherboard and a server backplane, as shown in fig. 2, connectors C1, C2, and … Cn at the server motherboard end are respectively connected to connectors J1, J2, and … Jn of the server backplane through high-speed cables (taking a cable for connecting a hard disk between the server motherboard and the server backplane, for example, a Minisas HD) cable 1, a cable 2, and a cable … cable n, and the normal connections are C1-cable 1-J1, C2-cable 2-J2, and … Cn-cable n-Jn. One common cable connection error condition is shown in FIG. 3, where cable 1 is incorrectly connected to connector J2 at the server backplane end and cable 2 is incorrectly connected to connector J1 at the server backplane end.
As shown in fig. 4, the cable 1 for connecting the hard disk between the server motherboard and the server backplane includes two paths of signals, i.e., an out-band signal and an in-band high-speed signal. The sideband signal is an I2C signal, such as an I2C _1 signal shown in fig. 4, transmitted through a sideband signal line, and a cable memory chip (EEPROM) is mounted on the sideband signal line, one end of the sideband signal line is connected to a C1 port of a Baseboard Management Controller (BMC), and the other end of the sideband signal line is connected to a J1 port of a Complex Programmable Logic Device (CPLD) on a server backplane. The in-band high-speed signal is a high-speed SATA signal, such as the SATA signal shown in fig. 4, one end of the in-band high-speed signal line is connected to a SATA Controller (SATA Controller) on the server motherboard, and the other end is connected to the HDD1 on the server backplane. The cable 1 includes a sideband signal line and an in-band high-speed signal line, and shares the same interface on the server motherboard and the server backplane, respectively, and then for this type of cable, the detected signal may specifically include: the connection state of the cable can be determined by at least one of an out-of-band sideband signal and an in-band high speed signal.
When the detected signal of the cable is an out-of-band sideband signal, step S102: determining the actual connection state of the connected cable according to the scanned signals of the cables specifically includes:
determining the information of the connected cable according to the cable storage chip information in the out-of-band sideband signal;
and determining the information of the server backboard connected with the cable according to the information from the server backboard controller at the other end of each cable in the out-of-band sideband signal.
Accordingly, step S103: comparing the actual connection state with the target cable information recorded in the configuration of the server, and determining the connection detection result of each cable, specifically comprising:
comparing the information of the connected cables with the cable identification in the target cable information, and determining the connection detection result of each cable and the server mainboard;
and comparing the information of the server backboard with the backboard model in the target cable information, and determining the connection detection result of each cable and the server backboard.
Wherein, the connection testing result of each cable and server mainboard specifically includes: the tightness of the connection between each cable and the server mainboard and the correctness of the connection position of each cable on the server mainboard. The connection detection result of each cable and the server backplane specifically includes: the tightness of the connection of each cable with the server backplane and the correctness of the connection position of each cable on the server backplane. For the cable described in the target cable information in which the signal cannot be detected, it can be determined that the cable is faulty or loose in connection; the unique identification of the connected cable can be determined by identifying the cable storage chip information, and meanwhile, the signal transmitted by the cable is obtained by interaction of the substrate management controller and a server backplane Controller (CPLD), so that the target cable information is compared to determine whether the connection of the cable with the server mainboard and the server backplane is normal or not.
Taking fig. 2 to 4 as an example, when the cable memory chip information of the cable 1 from the cable memory chip (EEPROM) of the cable 1 is detected, it is determined that the cable 1 is a connected cable, and if the cable 1 is a cable described in the target cable information, the detection may be continued, otherwise, an error is reported. When the interface for detecting the signal of the cable 1 is the port C1, the connection between the cable 1 and the server mainboard can be determined to be normal, otherwise, an error is reported; when the server backboard model from the CPLD is detected to be consistent with the backboard model recorded in the target cable information, the backboard model is detected, otherwise, an error is reported; when the signal received by the cable 1 from the CPLD is the I2C _1 signal, it may be determined that the connection between the cable 1 and the server backplane is normal, otherwise it includes (if the signal received by the cable 1 from the CPLD is the I2C _2, it may be determined that the cable 1 is erroneously connected to the J2 port on the server backplane).
When the detected signal of the cable is an in-band high-speed signal, step S102: determining the actual connection state of the connected cable according to the scanned signals of the cables specifically includes:
determining the hard disk drive actually connected with each cable according to the type of the high-speed signal in each band;
and detecting the signal quality of each in-band high-speed signal, and determining the actual connection effect of each cable and the hard disk drive which is actually connected according to the signal quality detection result.
Accordingly, step S103: comparing the actual connection state with the target cable information recorded in the configuration of the server, and determining the connection detection result of each cable, specifically comprising:
comparing the actually connected hard disk drive with the target hard disk drive in the target cable information, and determining the correctness of the connection position of each cable and the hard disk drive of the server backboard;
and comparing the actual connection effect with the target connection effect in the target cable information, and determining the connection detection result of the connected cable.
If the in-band high-speed signal is selected for detection, as shown in fig. 4, the Baseboard Management Controller (BMC) is connected to the SATA Controller (SATA Controller) on the server motherboard through the I2C _2 signal line, and the Baseboard Management Controller (BMC) can obtain the connection state of the hard disk through the SATA Controller (SATA Controller), so as to determine the connection state of the cable. Meanwhile, a Baseboard Management Controller (BMC) detects the transmission quality of the high-speed SATA signal through a SATA Controller (SATA Controller) to determine whether the connected cable is operating normally.
In order to improve the detection reliability, a Baseboard Management Controller (BMC) can detect the out-band signals and the in-band high-speed signals at the same time, and judge whether the cables are well connected and whether the cables are damaged.
On the basis of the above detailed description of the embodiments corresponding to the detection method of the server cable, the invention also discloses a detection device, a detection device and a storage medium of the server cable corresponding to the method.
Fig. 5 is a schematic structural diagram of a detection apparatus for a server cable according to an embodiment of the present invention.
As shown in fig. 5, a detection apparatus for a server cable according to an embodiment of the present invention includes:
the scanning unit 501 is configured to scan signals of each cable of the server after the server motherboard is powered on;
a determination unit 502 for determining an actual connection state of the connected cable according to the scanned signals of the cables;
a comparing unit 503, configured to compare the actual connection state with the target cable information described in the server configuration, and determine a connection detection result of each cable.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 6 is a schematic structural diagram of a detection device for a server cable according to an embodiment of the present invention.
As shown in fig. 6, a detection apparatus for a server cable according to an embodiment of the present invention includes:
a memory 610 for storing instructions, the instructions comprising the steps of the method for detecting a server cable according to any one of the above embodiments;
a processor 620 for executing the instructions.
Among other things, processor 620 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so forth. The processor 620 may be implemented in at least one hardware form of a digital Signal processing (dsp), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (pla), or a digital Signal processing (dsp). The processor 620 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a central Processing unit (cpu); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 620 may be integrated with an image processor GPU (graphics Processing unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 620 may also include an Artificial Intelligence (AI) (artificial intelligence) processor for processing computational operations related to machine learning.
Memory 610 may include one or more storage media, which may be non-transitory. Memory 610 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 610 is at least used for storing the following computer program 611, wherein after the computer program 611 is loaded and executed by the processor 620, the relevant steps in the server cable detection method disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 610 may also include an operating system 612, data 613, and the like, and the storage manner may be a transient storage or a permanent storage. The operating system 612 may be Windows, among others. The data 613 may include, but is not limited to, data involved in the above-described methods.
In some embodiments, the detection device of the server cable may also include a display screen 630, a power supply 640, a communication interface 650, an input output interface 660, sensors 670, and a communication bus 680.
Those skilled in the art will appreciate that the configuration shown in FIG. 6 does not constitute a limitation of the detection device of the server cable and may include more or fewer components than those shown.
The detection device for the server cable provided by the embodiment of the application comprises the memory and the processor, and when the processor executes the program stored in the memory, the detection method for the server cable can be realized, and the effect is the same as that of the detection method for the server cable.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the detection method such as the server cable are implemented.
The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory ROM (Read-Only Memory), a random Access Memory ram (random Access Memory), a magnetic disk, or an optical disk.
The computer program contained in the storage medium provided in this embodiment can implement the steps of the server cable detection method described above when executed by the processor, and the effect is the same as above.
The above description describes in detail a method, an apparatus, a device and a storage medium for detecting a server cable according to the present invention. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the equipment and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A detection method of a server cable is characterized in that a baseboard management controller based on a server mainboard comprises the following steps:
after the server mainboard is powered on, scanning signals of all cables of the server;
determining the actual connection state of the connected cables according to the scanned signals of the cables;
and comparing the actual connection state with target cable information recorded in the configuration of the server, and determining the connection detection result of each cable.
2. The detection method according to claim 1, wherein the signal of each cable specifically comprises: at least one of an out-of-band sideband signal and an in-band high speed signal.
3. The method according to claim 2, wherein when the signal of the cable is the outband sideband signal, the determining the actual connection state of the connected cable according to the scanned signal of each cable specifically comprises:
determining information of the connected cable according to cable storage chip information in the out-of-band sideband signal;
determining information of the server backboard connected with the connecting cable according to information from the server backboard controller at the other end of each cable in the out-of-band sideband signal;
correspondingly, the comparing the actual connection state with the target cable information recorded in the configuration of the server to determine the connection detection result of each cable specifically includes:
comparing the information of the connected cables with the cable identification in the target cable information, and determining the connection detection result of each cable and the server mainboard;
and comparing the information of the server backboard with the backboard model in the target cable information, and determining the connection detection result of each cable and the server backboard.
4. The method according to claim 3, wherein the detection result of the connection between each cable and the server motherboard specifically includes: the tightness of the connection of each cable with the server mainboard and the correctness of the connection position of each cable on the server mainboard.
5. The method according to claim 3, wherein the detection result of the connection between each cable and the server backplane specifically includes: the tightness degree of the connection of each cable and the server backboard and the correctness of the connection position of each cable on the server backboard.
6. The method according to claim 2, wherein when the signal of the cable is the in-band high-speed signal, the determining the actual connection state of the connected cable according to the scanned signal of each cable specifically includes:
determining the hard disk drive actually connected with each cable according to the type of each in-band high-speed signal;
detecting the signal quality of each in-band high-speed signal, and determining the actual connection effect of each cable and the actually connected hard disk drive according to the signal quality detection result;
correspondingly, the comparing the actual connection state with the target cable information recorded in the configuration of the server to determine the connection detection result of each cable specifically includes:
comparing the actually connected hard disk drive with the target hard disk drive in the target cable information, and determining the correctness of the connection position of each cable and the hard disk drive of the server backboard;
and comparing the actual connection effect with the target connection effect in the target cable information, and determining the connection detection result of the connected cable.
7. The method according to claim 1, wherein the comparing the actual connection status with target cable information recorded in the configuration of the server to determine the connection detection result of each cable specifically includes:
comparing the actual connection state with the target cable information according to a preset comparison item;
if all the comparison items pass, determining that the cable connection state is normal;
and if the failed comparison item exists, determining that the cable connection state is abnormal, and generating corresponding alarm information.
8. A detection apparatus for a server cable, comprising:
the scanning unit is used for scanning signals of all cables of the server after the server mainboard is powered on;
a determination unit configured to determine an actual connection state of the connected cable according to the scanned signals of the cables;
and the comparison unit is used for comparing the actual connection state with the target cable information recorded in the configuration of the server and determining the connection detection result of each cable.
9. A detection apparatus for a server cable, comprising:
a memory for storing instructions, the instructions comprising the steps of the method of detection of a server cable of any one of claims 1 to 7;
a processor to execute the instructions.
10. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method for detecting a server cable according to any one of claims 1 to 7.
CN202011504807.0A 2020-12-18 2020-12-18 Detection method, detection device, detection equipment and storage medium of server cable Pending CN112527582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011504807.0A CN112527582A (en) 2020-12-18 2020-12-18 Detection method, detection device, detection equipment and storage medium of server cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011504807.0A CN112527582A (en) 2020-12-18 2020-12-18 Detection method, detection device, detection equipment and storage medium of server cable

Publications (1)

Publication Number Publication Date
CN112527582A true CN112527582A (en) 2021-03-19

Family

ID=75001493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011504807.0A Pending CN112527582A (en) 2020-12-18 2020-12-18 Detection method, detection device, detection equipment and storage medium of server cable

Country Status (1)

Country Link
CN (1) CN112527582A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655406A (en) * 2021-08-12 2021-11-16 惠州Tcl云创科技有限公司 RF coaxial cable connection detection circuit, detection method and mobile terminal
CN114090351A (en) * 2021-10-26 2022-02-25 中科可控信息产业有限公司 Signal testing method and device, computer equipment and storage medium
CN114201439A (en) * 2021-12-09 2022-03-18 苏州浪潮智能科技有限公司 Server signal identification optimization method, system and storage medium
CN114200346A (en) * 2021-11-18 2022-03-18 苏州浪潮智能科技有限公司 Device and method for detecting on-off of cables in server system
CN117667818A (en) * 2024-01-31 2024-03-08 苏州元脑智能科技有限公司 Signal transmission structure, server and signal transmission method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577569A (en) * 2017-09-12 2018-01-12 郑州云海信息技术有限公司 A kind of server hard disc attachment structure and its application process
US20190042520A1 (en) * 2017-08-01 2019-02-07 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Out-of-band management of data drives
US20200117568A1 (en) * 2017-09-27 2020-04-16 Zhengzhou Yunhai Information Technology Co., Ltd. Design method for implementing backplane lighting for multiple nvme hard disks
CN111176913A (en) * 2019-12-16 2020-05-19 苏州浪潮智能科技有限公司 Circuit and method for detecting Cable Port in server
CN111289922A (en) * 2020-01-22 2020-06-16 华为技术有限公司 Cable plugging detection method and related equipment
CN111722990A (en) * 2020-06-21 2020-09-29 苏州浪潮智能科技有限公司 Method and device for checking cable connection between main back boards
CN111858411A (en) * 2020-06-12 2020-10-30 苏州浪潮智能科技有限公司 System and method for realizing out-of-band interaction of server Expander cards

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190042520A1 (en) * 2017-08-01 2019-02-07 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Out-of-band management of data drives
CN107577569A (en) * 2017-09-12 2018-01-12 郑州云海信息技术有限公司 A kind of server hard disc attachment structure and its application process
US20200117568A1 (en) * 2017-09-27 2020-04-16 Zhengzhou Yunhai Information Technology Co., Ltd. Design method for implementing backplane lighting for multiple nvme hard disks
CN111176913A (en) * 2019-12-16 2020-05-19 苏州浪潮智能科技有限公司 Circuit and method for detecting Cable Port in server
CN111289922A (en) * 2020-01-22 2020-06-16 华为技术有限公司 Cable plugging detection method and related equipment
CN111858411A (en) * 2020-06-12 2020-10-30 苏州浪潮智能科技有限公司 System and method for realizing out-of-band interaction of server Expander cards
CN111722990A (en) * 2020-06-21 2020-09-29 苏州浪潮智能科技有限公司 Method and device for checking cable connection between main back boards

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655406A (en) * 2021-08-12 2021-11-16 惠州Tcl云创科技有限公司 RF coaxial cable connection detection circuit, detection method and mobile terminal
CN113655406B (en) * 2021-08-12 2024-06-11 惠州Tcl云创科技有限公司 RF coaxial cable connection detection circuit, detection method and mobile terminal
CN114090351A (en) * 2021-10-26 2022-02-25 中科可控信息产业有限公司 Signal testing method and device, computer equipment and storage medium
CN114200346A (en) * 2021-11-18 2022-03-18 苏州浪潮智能科技有限公司 Device and method for detecting on-off of cables in server system
CN114200346B (en) * 2021-11-18 2024-01-12 苏州浪潮智能科技有限公司 Device and method for detecting on-off of cable in server system
CN114201439A (en) * 2021-12-09 2022-03-18 苏州浪潮智能科技有限公司 Server signal identification optimization method, system and storage medium
CN114201439B (en) * 2021-12-09 2023-07-14 苏州浪潮智能科技有限公司 Server signal identification optimization method, system and storage medium
CN117667818A (en) * 2024-01-31 2024-03-08 苏州元脑智能科技有限公司 Signal transmission structure, server and signal transmission method
CN117667818B (en) * 2024-01-31 2024-05-14 苏州元脑智能科技有限公司 Signal transmission structure, server and signal transmission method

Similar Documents

Publication Publication Date Title
CN112527582A (en) Detection method, detection device, detection equipment and storage medium of server cable
CN111414268B (en) Fault processing method and device and server
CN111538539B (en) Storage system starting method and device and computer readable storage medium
WO2021169260A1 (en) System board card power supply test method, apparatus and device, and storage medium
US8935437B2 (en) Peripheral component health monitoring apparatus
CN111274077A (en) Disk array reliability testing method, system, terminal and storage medium
CN105975357B (en) A kind of method and system of positioning failure
CN116382968B (en) Fault detection method and device for external equipment
CN117251333A (en) Method, device, equipment and storage medium for acquiring hard disk information
CN112069002B (en) Server hot plug debugging device and method
CN111858222B (en) Error injection method, apparatus, data storage system and program product
CN111176913A (en) Circuit and method for detecting Cable Port in server
CN111290893A (en) OSES (open service systems) read log testing device, method, terminal and storage medium
CN111966033B (en) Detection system for connection state of high-density connector
CN113742182A (en) Hard disk lighting method, device, storage medium and computer program product
CN112596983A (en) Monitoring method for connector in server
CN104484260A (en) Simulation monitoring circuit based on GJB289 bus interface SoC (system on a chip)
CN114064373B (en) Test system, test method, test device and test equipment for USB platelet
CN112383462B (en) Network device and bus configuration method
CN115623464A (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN109194541B (en) Network testing method and system
CN113064095A (en) A kind of electronic equipment fault detection method, device and electronic equipment
CN111539044A (en) Server power firmware write protection control method, device, equipment and storage medium
CN117873771B (en) System downtime processing method, device, equipment, storage medium and server
CN118819987A (en) Link status checking method, device, electronic device and non-volatile 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319