CN115525488A - Cable detection method and system - Google Patents

Cable detection method and system Download PDF

Info

Publication number
CN115525488A
CN115525488A CN202211181326.XA CN202211181326A CN115525488A CN 115525488 A CN115525488 A CN 115525488A CN 202211181326 A CN202211181326 A CN 202211181326A CN 115525488 A CN115525488 A CN 115525488A
Authority
CN
China
Prior art keywords
hardware
cable
detection
hardware system
server
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
CN202211181326.XA
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.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies 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 XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202211181326.XA priority Critical patent/CN115525488A/en
Publication of CN115525488A publication Critical patent/CN115525488A/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

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

A cable detection method, comprising: the detection equipment acquires a detection instruction issued by a user, sequentially controls each hardware system in n hardware systems in the server to be powered on, and when one hardware system in the n hardware systems is in a powered-on state, other hardware systems in the n hardware systems are in a powered-off state; the server detects whether a cable connection error condition exists in the hardware system in the power-on state or not based on signals transmitted by cables in the hardware system in the power-on state in the n hardware systems so as to obtain a detection result corresponding to the hardware system in the power-on state; the detection equipment acquires a detection result corresponding to each hardware system in the n hardware systems; the detection device outputs a detection result. Therefore, the cables in each hardware system are detected independently, and other hardware systems are controlled to be powered off in the detection process, so that the interference of other hardware systems is avoided, and the detection of the same cable among the same hardware systems is realized.

Description

Cable detection method and system
Technical Field
The application relates to the technical field of computers, in particular to a cable detection method and system.
Background
At present, in a server (also referred to as a "server node"), a high-speed cable is often used to connect different hardware boards so as to transmit high-speed signals such as a high-speed serial computer extended bus (PCIE) standard, a serial attached Small Computer System Interface (SCSI) and the like across the boards. A Baseboard Management Controller (BMC) in the server needs to accurately detect the presence, insertion errors, and the like of the high-speed cable. However, in a multi-child server node, there are multiple identical server systems, and these multiple identical server systems often have identical components, and if the high-speed cable is connected across systems in reverse, the bmc cannot detect them, which will seriously affect the service on the client side. Therefore, how to detect whether the high-speed cable is inserted incorrectly in the multi-birth node is a technical problem which needs to be solved urgently at present.
Disclosure of Invention
The application provides a cable detection method and system, which can detect whether a high-speed cable in a multi-cell node is inserted wrongly.
In a first aspect, the present application provides a cable detection method, which is applied to a system including a detection device and a server. The server comprises n hardware systems, wherein n is more than or equal to 2. The method comprises the following steps: the detection equipment acquires a detection instruction issued by a user; responding to a detection instruction, and sequentially controlling each hardware system in the n hardware systems to be powered on by the detection equipment, wherein when one hardware system in the n hardware systems is in a powered-on state, other hardware systems in the n hardware systems are in a powered-off state; the method comprises the steps that a server detects whether a cable connection error exists in a hardware system in a power-on state or not based on signals transmitted by cables in the hardware system in the power-on state in n hardware systems so as to obtain a detection result corresponding to the hardware system in the power-on state; the method comprises the steps that detection equipment obtains detection results corresponding to each hardware system in n hardware systems to obtain n detection results; the detection device outputs n detection results.
Therefore, when the cables in the server comprising the hardware systems are detected, the cables in the hardware systems are separately detected, in the detection process, the hardware systems needing cable detection are powered on, and other hardware systems are controlled to be powered off, so that the interference of other hardware systems is avoided, whether the cables in the current hardware system are in wrong connection or not can be accurately detected, and the accuracy of cable detection is improved.
For example, the detection device and the server may be connected by, but not limited to, a network card. Each hardware system may be, but is not limited to being, an X86 system.
In a possible implementation manner, the server detects whether a cable connection error exists in the hardware system in the powered-on state based on a signal transmitted by each cable in the hardware system in the powered-on state in the n hardware systems, which specifically includes: aiming at any cable in a hardware system in a power-on state, determining that any cable is not connected wrongly under the condition that a server acquires a signal transmitted by any cable; and determining that any cable is connected incorrectly under the condition that the server does not acquire the signal transmitted by any cable. Since the hardware system being tested is powered up, each cable should have signal transmission in the event that the cable is not connected incorrectly therein. Therefore, when no signal is transmitted in a certain cable, the cable is connected incorrectly.
In a second aspect, the present application provides a cable detection method, which is applied to a server. The server comprises n hardware systems, wherein n is more than or equal to 2. The method comprises the following steps: acquiring an instruction which is issued by the detection equipment and used for controlling the power-on of the ith hardware system, wherein i is more than or equal to 1 and less than or equal to n; controlling the power-on of the ith hardware system and controlling other hardware systems in the n hardware systems to be in a power-off state; acquiring a power-on signal of an ith hardware system and a signal transmitted by each cable in the ith hardware system; and detecting whether a cable connection error exists in the ith hardware system or not according to the power-on signal of the ith hardware system and the signal transmitted by each cable in the ith hardware system so as to obtain a detection result corresponding to the ith hardware system.
In a possible implementation manner, detecting whether a cable connection error exists in an ith hardware system according to a power-on signal of the ith hardware system and a signal transmitted by each cable in the ith hardware system specifically includes: aiming at any cable in the ith hardware system, under the condition of acquiring a power-on signal and acquiring a signal transmitted by any cable, determining that any cable is not connected wrongly; and determining that any cable is connected wrongly when the power-on signal is acquired and the signal transmitted by any cable is not acquired.
In a possible implementation manner, after obtaining a detection result corresponding to the ith hardware system, the method further includes: acquiring a result reading instruction sent by detection equipment; and responding to the result reading instruction, and transmitting a detection result corresponding to the ith hardware system to the detection equipment.
In a possible implementation manner, the detection device is connected with the server through a network card.
In one possible implementation, each hardware system is an X86 system.
In a third aspect, the present application provides a cable detection system, which includes a detection device and a server. The server comprises n hardware systems, wherein n is more than or equal to 2. The detection device is used for acquiring a detection instruction issued by a user and sequentially controlling each hardware system in the n hardware systems to be powered on, wherein when one hardware system in the n hardware systems is in a powered-on state, other hardware systems in the n hardware systems are in a powered-off state.
The server is used for detecting whether a cable connection error condition exists in the hardware system in the power-on state or not based on signals transmitted by each cable in the hardware system in the power-on state in the n hardware systems so as to obtain a detection result corresponding to the hardware system in the power-on state.
The detection device is further configured to obtain, from the server, a detection result corresponding to each of the n hardware systems to obtain n detection results, and output the n detection results.
For example, the detection device and the server may be connected by, but not limited to, a network card. Each hardware system may be, but is not limited to being, an X86 system.
In a possible implementation manner, when detecting whether a cable connection error exists in a hardware system in a powered-on state based on a signal transmitted by each cable in the hardware system in the powered-on state in n hardware systems, the server is specifically configured to: for any cable in the hardware system in the power-on state, determining that any cable is not connected wrongly under the condition that the server acquires a signal transmitted by any cable; and determining that any cable is connected incorrectly under the condition that the server does not acquire the signal transmitted by any cable. Since the hardware system being tested is powered up, each cable should have a signal transmission in the event of a cable disconnection error therein. Therefore, when no signal is transmitted in a certain cable, the cable is connected incorrectly.
It is to be understood that, the beneficial effects of the second to third aspects may be referred to the related description of the first aspect, and are not described herein again.
Drawings
Fig. 1 is a schematic architecture diagram of a cable detection system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a cable detection method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a cable connection in a hardware system in a server according to an embodiment of the present application.
Detailed Description
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims herein are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first response message and the second response message, etc. are for distinguishing different response messages, not for describing a specific order of the response messages.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units or the like; plural elements means two or more elements, and the like.
By way of example, FIG. 1 illustrates a cable detection system. As shown in fig. 1, the cable detection system 100 includes: a detection device 110 and a server 120 comprising n (n ≧ 2) hardware systems. The detection device 110 and the server 120 may, but are not limited to, establish a connection through a network card; of course, the connection may be established in other manners, which may be determined according to actual situations. For the power supply mode of the detection device 110 and the server 120, both can use separate power sources to supply power.
The detection device 110 is used to detect whether a cable in the server 120 is connected in error. The detection device 110 may control the server 120 through, but not limited to, an Intelligent Platform Management Interface (IPMI) command. For example, a hardware system in the control server 120 is powered on or off. In addition, the detection apparatus 110 may also read the cable detection results in each hardware system in the server 120 through the IPMI instruction, and output the detection results. For example, the detection device 110 may sequentially control each of the n hardware systems in the server 120 to power on or power off.
Each hardware system in the server 120 is a system that can be independent. The hardware contained in each hardware system may be the same, or partially the same, etc. The hardware in each hardware system may be connected to each other through, but not limited to, a cable (such as a high-speed cable, etc.), and may also be connected to each other through a connector. Illustratively, the hardware system may be an X86 system. Each hardware system may include, for example, a motherboard, a Central Processing Unit (CPU), a disk array (RAID), a Complex Programmable Logic Device (CPLD), a Baseboard Management Controller (BMC), and the like.
The server 120 is provided with a signal detector 121. The signal detector 121 may be hard-wired to hardware downstream of the respective cables, such as by a connector or the like. Meanwhile, the signal detector 121 may be hard-wired to hardware (e.g., BMC or CPLD) in each hardware system for transmitting power-on and power-off states of the corresponding hardware system. The signal detector 121 may be disposed separately, or may be integrated into other hardware (such as a hard disk backplane, a board for managing fans, etc.). Illustratively, the signal detector 121 may be, but is not limited to, a CPLD. For example, the connection mode of two pieces of hardware connected by a cable can be called as a soft connection.
The detection device 110 may control each hardware system in the server 120 to power up or power down, respectively. After the user issues the detection instruction through the detection device 110, the detection device 110 may first control only one hardware system to be powered on, but after the detection of the hardware system is completed, may control the hardware system to be powered off, and control another hardware system to be powered on, and the process is repeated until the detection of all the hardware systems is completed.
In the detection process, after a certain hardware system in the server 120 is powered on, the hardware in the hardware system for transmitting the power-on and power-off states of the system may send a signal that the system is powered on to the signal detector 121 through two rows of serial buses (I2C) or an SGPIO (serial bus input/output) bus. In addition, after the hardware system is powered on, the contained hardware is also powered on, and at this time, signals are transmitted between the hardware connected through the cable. When a signal on a certain cable is transmitted to hardware downstream of the cable, the signal may be simultaneously transmitted to the signal detector 121. If the signal detector 121 obtains both the signal that the hardware system is powered on and the signal transmitted by each cable in the hardware system, it indicates that no connection error exists in the line in the hardware system. If the signal detector 121 acquires a signal that the hardware system is powered on but does not acquire a signal transmitted by a certain cable, it indicates that the line is connected incorrectly, i.e. plugged in incorrectly. The signal detector 121 may transmit the detection result to the detection device 110 after completing the detection of the respective cables, so as to be presented to the user through the detection device 110. Illustratively, the signal detector 121 and the detection device 110 may be directly connected or indirectly connected. When the two are indirectly connected, the two can be connected through hardware in each hardware system for transmitting the power-on and power-off states of the corresponding system. In some embodiments, the signal detector 121 may transmit the detection result to the BMC in the hardware system. Thereafter, the detection device 110 may send an instruction to read the detection result to the CPU in the hardware system. The CPU may then communicate with the BMC and obtain the detection result and transmit the detection result to the detection device 110.
Next, a cable detection method provided in an embodiment of the present application is described based on the system shown in fig. 1.
Illustratively, FIG. 2 illustrates a cable detection method. As shown in fig. 2, the cable detection method may include the steps of:
s201, the detection device 110 obtains a detection instruction issued by a user.
In this embodiment, the detection device 110 may provide a visual interface. Through the interface, the user may issue a detection instruction to detect the cable in the server 120.
S202, the detection device 110 controls the ith hardware system in the server 120 to be powered on, where an initial value of i is 1.
In this embodiment, the detection device 110 may control the ith hardware system in the server 120 to be powered on, so as to detect the cable in the ith hardware system. Wherein the initial value of i is 1. For example, the detection device 110 may send a power-on instruction to the server 110 or the ith hardware system in the server 110, so that the server 120 controls the power-on of the ith hardware system. The server 120 may then control the ith hardware system to power up. When the ith hardware system is powered on, the ith hardware system is in a powered-on state. In addition, all the hardware systems in the server 120 except the ith hardware system are in a power-off state, that is, none of the hardware systems is powered on.
And S203, sending a signal for representing that the ith hardware system is powered on to the signal detector 121 in the ith hardware system.
S204, the signal detector 121 obtains signals transmitted by each cable in the ith hardware system.
S205, the signal detector 121 determines whether the cable in the ith hardware system is connected incorrectly based on the signal used for representing that the ith hardware system is powered on and the signals acquired by the signal used for representing the cable transmission.
In this embodiment, when the signal detector 121 acquires a signal indicating that the ith hardware system is powered on, it may determine that the ith hardware system is powered on. Therefore, it should acquire signals transmitted by the cables in the ith hardware system at this time. If the signal transmitted by a certain cable is not acquired, the connection error of the cable is indicated.
S206, the signal detector 121 sends a message containing a detection result of the cable in the ith hardware system to the detection device 110.
In this embodiment, after completing the detection of the cable in the ith hardware system, the signal detector 121 may send the detection result to the detection device 110. For example, the signal detector 121 may first send the detection result to the ith hardware system, for example, to the BMC in the ith hardware system, and then the ith hardware system sends the detection result to the detection device 110.
In some embodiments, the detection device 110 may issue a result reading instruction for reading the detection result to the server 120 or the ith hardware system in the server 120. After the result reading instruction is obtained by the server 120 or the ith hardware system in the server 120, the detection result may be transmitted to the detection device 110.
And S207, the detection device 110 controls the power-off of the ith hardware system.
In this embodiment, after the detection of the cable in the ith hardware system is completed, the hardware system may be controlled to power down.
S208, the detection device 110 determines whether i = i +1, and determines whether i is greater than n, where n is the number of hardware systems included in the server 120.
In this embodiment, after the detection of the cable in the ith hardware system is completed, another hardware system may be detected. At this time, i = i +1 may be controlled. Meanwhile, it is determined whether i is greater than n, which is the number of hardware systems included in the server 120. If i is greater than n, it indicates that the detection of the cables in all the hardware systems in the server 120 is completed, and at this time S209 may be executed. If i is less than or equal to n, it indicates that the detection of cables in all hardware systems in the server 120 is not completed, and at this time, the process may return to S202.
S209, the detection device 110 outputs a detection result.
In this embodiment, after completing the detection of the cables in all the hardware systems in the server 120, the detection device 110 may output a detection result. In some embodiments, the detection device 110 may also directly display the detection result every time the detection result of the cable in one hardware system is obtained, or may display the detection results after the detection result of the cable in a part of hardware systems is obtained, which may be determined according to actual situations, and is not limited herein.
Therefore, when the cables in the hardware systems in the server are detected, the cables in the hardware systems are detected independently, and other hardware systems are controlled to be powered off in the detection process, so that the interference of other hardware systems is avoided, the detection of the same cables among the same hardware systems is realized, and the problem that the same cables among the same hardware systems cannot be detected due to the connection error of the same cables is solved.
In some embodiments, the steps performed by a component in the server 120 in fig. 2 may also be understood as steps performed by the server 120.
In some embodiments, the process described in fig. 2 may be described as: the detection equipment acquires a detection instruction issued by a user. And responding to the detection instruction, and sequentially controlling each hardware system in the n hardware systems to be powered on by the detection equipment, wherein when one hardware system in the n hardware systems is in a powered-on state, other hardware systems in the n hardware systems are in a powered-off state. The server detects whether a cable connection error condition exists in the hardware system in the power-on state or not based on signals transmitted by each cable in the hardware system in the power-on state in the n hardware systems so as to obtain a detection result corresponding to the hardware system in the power-on state. The method comprises the steps that detection equipment obtains detection results corresponding to each hardware system in n hardware systems to obtain n detection results; and outputting n detection results.
In addition, the server detects whether a cable connection error exists in the hardware system in the powered-on state based on signals transmitted by each cable in the hardware system in the powered-on state in the n hardware systems, which may be specifically described as: for any cable in the hardware system in the power-on state, determining that any cable is not connected wrongly under the condition that the server acquires a signal transmitted by any cable; and determining that any cable is connected incorrectly under the condition that the server does not acquire the signal transmitted by any cable.
For ease of understanding, the following description will be made by taking three hardware systems included in the server 120 as an example.
Illustratively, as shown in fig. 3, each of the hardware systems 1, 2, and 3 includes a CPU, hardware a, hardware B, and BMC. For the hardware system 1, the CPU is hard-wired to the hardware a therein, the hardware a is soft-wired to the hardware B therein, and both the hardware B and the BMC are hard-wired to the signal detector 121 in the server 120. For the hardware system 2, the CPU is hard-wired to the hardware a therein, the hardware a is soft-wired to the hardware B therein, and both the hardware B and the BMC are hard-wired to the signal detector 121 in the server 120. For the hardware system 3, the CPU is hard-wired to the hardware a therein, the hardware a is soft-wired to the hardware B in the hardware system 2 (i.e. the cable is misconnected here), and the hardware B and the BMC are hard-wired to the signal detector 121 in the server 120. Wherein the double-arrowed lines in fig. 3 represent hard connections and the curves without arrows represent soft connections.
When detecting the cable in the server 120, the cable in the hardware system 1 may be detected first, then the cable in the hardware system 2 may be detected, and finally the cable in the hardware system 3 may be detected. Specifically, the hardware system 1 may be controlled to be powered on, and the hardware systems 2 and 3 may be controlled to be powered off at the same time, that is, only the hardware system to be detected is powered on. After the hardware system 1 is powered on, the BMC in the hardware system 1 may transmit a signal to the signal detector 121 that the system is powered on. Meanwhile, the signal transmitted by the cable between the hardware a and the hardware B is transmitted from the hardware B to the signal detector 121. Since the BMC in the hardware system 1 is hard-wired to the signal detector 121, a fault does not occur between the BMC and the signal detector 121, and the signal detector 121 may receive a signal transmitted by the BMC at a high probability; since the hardware a and the hardware B are connected by a soft connection, a cable may be connected by a wrong connection. When the cable between the hardware a and the hardware B is in error, the signal detector 121 cannot acquire the signal transmitted by the hardware B. Therefore, if the signal detector 121 acquires the signal transmitted by the BMC in the hardware system 1 and simultaneously acquires the signal transmitted by the cable between the hardware a and the hardware B, it indicates that the cable between the hardware a and the hardware B is not connected in error. After completing the detection of the cable between the hardware a and the hardware B, the signal detector 121 may transmit the detection result to the BMC in the hardware system 1, and the BMC may transmit the detection result to the detection device.
Further, the cable in the hardware system 2 may be detected. At this time, the hardware systems 1 and 3 can be controlled to be powered off and the hardware system 2 can be controlled to be powered on simultaneously. For the detection process of the cable in the hardware system 2, reference may be made to the detection process of the cable in the hardware system 1, which is not described herein again.
After the detection of the cable in the hardware system 2 is completed, the detection of the cable in the hardware system 3 may be performed. At this time, the hardware systems 1 and 2 can be controlled to be powered off and the hardware system 3 can be controlled to be powered on simultaneously. Since the cable between the hardware a and the hardware B in the hardware system 3 is in a wrong connection and the hardware system 2 is in a power-off state, the signal detector 121 cannot acquire the signal transmitted by the cable, but only can acquire the signal transmitted by the BMC in the hardware system 3 that the system is powered on. Therefore, the signal detector 121 may determine that the cable in the hardware system 3 is connected in error, and send the detection result to the detection device via the BMC in the hardware system 3.
It is understood that the processor in the embodiments of the present application may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The general purpose processor may be a microprocessor, but may be any conventional processor.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in Random Access Memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of the present application.

Claims (10)

1. A cable detection method is characterized by being applied to a system comprising detection equipment and a server, wherein the server comprises n hardware systems, n is more than or equal to 2, and the method comprises the following steps:
the detection equipment acquires a detection instruction issued by a user;
responding to the detection instruction, the detection device sequentially controls each hardware system in the n hardware systems to be powered on, wherein when one hardware system in the n hardware systems is in a powered-on state, other hardware systems in the n hardware systems are in a powered-off state;
the server detects whether a cable connection error exists in the hardware system in the power-on state or not based on signals transmitted by each cable in the hardware system in the power-on state in the n hardware systems so as to obtain a detection result corresponding to the hardware system in the power-on state;
the detection equipment acquires detection results corresponding to each hardware system in the n hardware systems to obtain n detection results;
the detection device outputs the n detection results.
2. The method according to claim 1, wherein the server detects whether a cable connection error exists in the hardware system in the powered-on state based on a signal transmitted by each cable in the hardware system in the powered-on state in the n hardware systems, specifically including:
for any cable in the hardware system in the power-on state, determining that the any cable is not connected incorrectly under the condition that the server acquires a signal transmitted by the any cable;
and determining that any cable is connected incorrectly when the server does not acquire the signal transmitted by any cable.
3. The method according to claim 1 or 2, wherein the detection device is connected with the server through a network card.
4. The method of any one of claims 1-3, wherein each of the hardware systems is an X86 system.
5. A cable detection method is characterized by being applied to a server, wherein the server comprises n hardware systems, n is more than or equal to 2, and the method comprises the following steps:
acquiring an instruction which is issued by detection equipment and used for controlling the power-on of the ith hardware system, wherein i is more than or equal to 1;
controlling the ith hardware system to be powered on, and controlling other hardware systems in the n hardware systems to be in a power-off state;
acquiring a power-on signal of the ith hardware system and a signal transmitted by each cable in the ith hardware system;
and detecting whether a cable connection error exists in the ith hardware system or not according to the power-on signal of the ith hardware system and the signal transmitted by each cable in the ith hardware system so as to obtain a detection result corresponding to the ith hardware system.
6. The method according to claim 5, wherein the detecting whether there is a cable connection error in the ith hardware system according to the power-on signal of the ith hardware system and the signal transmitted by each cable in the ith hardware system specifically includes:
for any cable in the ith hardware system, determining that the any cable is not connected incorrectly under the conditions that the power-on signal is acquired and the signal transmitted by the any cable is acquired;
and determining that any cable is connected incorrectly when the power-on signal is acquired and the signal transmitted by any cable is not acquired.
7. The method according to claim 5 or 6, wherein after obtaining the detection result corresponding to the ith hardware system, the method further comprises:
acquiring a result reading instruction sent by the detection equipment;
and responding to the result reading instruction, and transmitting a detection result corresponding to the ith hardware system to the detection equipment.
8. The method according to any one of claims 5-7, wherein the detection device is connected to the server through a network card.
9. The method of any one of claims 5-8, wherein each of the hardware systems is an X86 system.
10. A cable detection system is characterized by comprising detection equipment and a server, wherein the server comprises n hardware systems, and n is more than or equal to 2;
the detection device is used for acquiring a detection instruction issued by a user and sequentially controlling each hardware system in the n hardware systems to be powered on, wherein when one hardware system in the n hardware systems is in a powered-on state, other hardware systems in the n hardware systems are in a powered-off state;
the server is used for detecting whether a cable connection error condition exists in the hardware system in the power-on state or not based on signals transmitted by each cable in the hardware system in the power-on state in the n hardware systems so as to obtain a detection result corresponding to the hardware system in the power-on state;
the detection device is further configured to obtain, from the server, detection results corresponding to each of the n hardware systems to obtain n detection results, and output the n detection results.
CN202211181326.XA 2022-09-27 2022-09-27 Cable detection method and system Pending CN115525488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211181326.XA CN115525488A (en) 2022-09-27 2022-09-27 Cable detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211181326.XA CN115525488A (en) 2022-09-27 2022-09-27 Cable detection method and system

Publications (1)

Publication Number Publication Date
CN115525488A true CN115525488A (en) 2022-12-27

Family

ID=84700015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211181326.XA Pending CN115525488A (en) 2022-09-27 2022-09-27 Cable detection method and system

Country Status (1)

Country Link
CN (1) CN115525488A (en)

Similar Documents

Publication Publication Date Title
US6496790B1 (en) Management of sensors in computer systems
US7711886B2 (en) Dynamically allocating communication lanes for a plurality of input/output (‘I/O’) adapter sockets in a point-to-point, serial I/O expansion subsystem of a computing system
US11748218B2 (en) Methods, electronic devices, storage systems, and computer program products for error detection
CN111289922B (en) Cable plugging detection method and related equipment
US20150113178A1 (en) Peripheral component health monitoring apparatus
US10691562B2 (en) Management node failover for high reliability systems
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
US9424220B2 (en) Method and apparatus for setting working mode of multi-processor system
CN110824387B (en) Device and method for detecting cable connection
CN111176913A (en) Circuit and method for detecting Cable Port in server
US8391162B2 (en) Apparatus and method for testing SMNP cards
CN111858222A (en) Error injection method, apparatus, data storage system and program product
CN115525488A (en) Cable detection method and system
CN109542198B (en) Method and equipment for controlling power-on of PCIE card
US20230334155A1 (en) Data center security control module and control method thereof
CN115129560A (en) Server and wiring warning system thereof
CN110912791B (en) System management bus link and pull-up resistance determination method, device and equipment thereof
CN114880004A (en) Firmware replacement method and device for BMC (baseboard management controller), server and storage medium
CN112596983A (en) Monitoring method for connector in server
US11748293B2 (en) Method of automatic identification and protection of correct PCIe configuration of a server and server applying the method
CN104252400A (en) Multi-node management system and method for data center
US20230334184A1 (en) Data center security control module and control method thereof
US20230350386A1 (en) Method for managing management board of immersion cooling tank, management board of immersion cooling tank, immersion cooling tank, and non-transitory storage medium
CN117648239A (en) Misplug detection method of external equipment and computing equipment
US20100174839A1 (en) Main board system and method for setting main board system

Legal Events

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