Detection device and detection method
By using encoding circuits and decoding circuits in the detection device to integrate and decode detection signals, the problems of complex structure and high detection cost in the prior art are solved, and the effect of simplifying signal transmission and improving detection accuracy is achieved.
Patent Information
- Application Number
- CN202311568345.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2043-11-23
AI Technical Summary
In the prior art, when the motherboard performs in-position state detection of multiple hard disks on the backboard, the detection circuit structure is complex, resulting in high detection cost.
A detection device is provided, including an encoding circuit, a decoding circuit and a control unit. The encoding circuit integrates multiple detection signals on the motherboard, and the decoding circuit decodes the integrated signal, and the control unit performs hard disk detection based on the decoding signal.
The detection device can greatly reduce the number of signal lines, simplify the signal transmission line of the circuit, reduce detection costs, and improve the accuracy of the test.
Smart Images

Figure CN117608952B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of server testing, and in particular to a detection device and a detection method. Background Art
[0002] In a computer system, storage is an essential component. In order to ensure the stability of the signal during transmission, the motherboard usually detects the in-place status of the storage component.
[0003] At present, when the mainboard performs in-place status detection on multiple hard disks on the backplane, the chip on the mainboard is directly connected to the chip on the backplane, and the chip on the mainboard needs to directly send multiple detection signals corresponding to each hard disk to the chip on the backplane, and when the chip on the backplane receives the multiple detection signals, it performs in-place status detection on each hard disk on it according to the instructions of each detection signal.
[0004] However, when a large number of hard disks are included on the backplane, the existing detection circuit is relatively complex, resulting in a high detection cost. Summary of the invention
[0005] Based on this, it is necessary to provide a detection device and a detection method that can simplify the detection circuit structure in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a detection device, which includes an encoding circuit, a decoding circuit and a control unit;
[0007] The encoding circuit is used to integrate multiple detection signals output by the signal unit on the main board to obtain a target detection signal;
[0008] A decoding circuit, used for decoding the target detection signal to obtain a plurality of decoded signals;
[0009] The control unit is used to detect the hard disk on the backplane according to multiple decoding signals to obtain a detection result.
[0010] The detection device provided in the embodiment of the present application integrates multiple detection signals output by the signal unit through an encoding circuit, and restores the integrated signal through a decoding circuit, so that the control unit can detect multiple hard disks based on the multiple detection signals. When the number of hard disks is relatively large, the detection device can greatly reduce the number of signal lines, that is, greatly simplify the signal transmission lines of the circuit, and thus can reduce the detection cost of the detection device to a certain extent; in addition, it can also reduce the crosstalk problem between multiple groups of signal lines, thereby improving the accuracy of the test.
[0011] In one of the embodiments, the control unit includes a logic control subunit and a detection subunit;
[0012] The logic control subunit is used to determine the hard disk in place according to the in-place status information of each hard disk on the backplane;
[0013] The detection subunit is used to perform status detection on the hard disk in place according to multiple decoding signals to obtain a detection result.
[0014] The detection device provided in the embodiment of the present application can detect the working status of each hard disk by setting up a detection subunit. Compared with the traditional device that can only detect the presence of the hard disk, the above device can perform a comprehensive detection of the hard disk. In addition, assigning the detection of the hard disk to the detection subunit can reduce the working pressure of the control unit and further improve the test efficiency.
[0015] In one of the embodiments, the control unit further comprises: a check subunit;
[0016] A check subunit, used to check multiple decoded signals to obtain multiple checked signals;
[0017] The logic control subunit is specifically used to determine the hard disk in place according to the in-place status information of each hard disk on the backplane when receiving multiple signals after verification;
[0018] The detection subunit is specifically used to perform status detection on the hard disk in place according to the multiple verified signals to obtain the detection result.
[0019] The detection device provided in the embodiment of the present application adds a check subunit to check the signal restored by the decoding circuit, which can prevent the problem of failure to detect or inaccurate detection due to decoding errors of the decoding circuit or omissions in data transmission.
[0020] In one embodiment, the detection device further includes: an integrated circuit;
[0021] An integration circuit, used for integrating some detection signals among the multiple detection signals to obtain an integrated signal;
[0022] The encoding circuit is specifically used to integrate the integration signal and the detection signal except for part of the detection signal to obtain the target detection signal.
[0023] The detection device provided by the embodiment of the present application can effectively save the number of pins of the encoding circuit by integrating the signal through the integration circuit. In particular, when it is necessary to perform status detection on multiple hard disks, since the number of pins of the encoding circuit is limited, the method of first integrating the signal by the integration circuit can significantly reduce the number of required pins. The above detection method can improve the scalability and flexibility of the system while reducing the complexity of the system. In addition, after the signal is integrated by the integration circuit, the integrated signal is sent to the encoding circuit, which can more efficiently perform data transmission and status detection.
[0024] In one embodiment, the detection device further includes a signal interface; the encoding circuit sends the target detection signal to the decoding circuit via the signal interface.
[0025] The detection device provided in the embodiment of the present application transmits the target detection signal to the decoding circuit through a very small number of signal interfaces, thereby solving the problem of complex circuit structure caused by the traditional use of multiple signal transmission lines. When the number of hard disks is relatively large, the detection device can greatly reduce the number of signal lines, that is, greatly simplify the signal transmission lines of the circuit, thereby reducing the detection cost of the detection device to a certain extent.
[0026] In a second aspect, the present application further provides a detection method, which is applied to the detection device of any embodiment of the first aspect, and the method comprises:
[0027] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0028] The detection method provided in the embodiment of the present application detects the hard disk according to the multiple decoding signals output by the decoding circuit to obtain the detection result. The above detection method integrates the multiple detection signals output by the signal unit through the encoding circuit, and the decoding circuit restores the integrated signal, so that the control unit can detect multiple hard disks based on the multiple detection signals. When the number of hard disks is relatively large, the detection device can greatly reduce the number of signal lines, that is, greatly simplify the signal transmission line of the circuit, and thus reduce the detection cost of the detection device to a certain extent; in addition, it can also reduce the crosstalk problem between multiple groups of signal lines, thereby improving the accuracy of the test.
[0029] In one embodiment, the hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result, including:
[0030] The hard disk in place is determined according to the in-place status information of each hard disk on the backplane, and the status of the hard disk in place is detected according to multiple decoding signals to obtain the detection result.
[0031] The detection method provided in the embodiment of the present application can not only detect the presence of the hard disk, but also detect the working status of the hard disk. Compared with the traditional method that can only detect the presence of the hard disk, the above detection method can perform a comprehensive detection of the hard disk.
[0032] In one embodiment, a status detection is performed on an in-place hard disk according to a plurality of decoding signals to obtain a detection result, including:
[0033] Generate a detection instruction according to the multiple decoded signals, and send the detection instruction to the hard disk in place to start the hard disk in place;
[0034] The status of the hard disk in place is detected according to the working status indicated by the detection instruction and the working status information of the hard disk in place to obtain the detection result.
[0035] The detection method provided in the embodiment of the present application can improve the accuracy of the detection result by further detecting the working status of the hard disk in place when determining the existence of the hard disk in place. In addition, compared with the traditional method that can only detect the presence of the hard disk, the above detection method can perform a comprehensive detection of the hard disk.
[0036] In one embodiment, the method further comprises:
[0037] Turn on the indicator lights of the hard disks in place according to the test results.
[0038] The detection method provided in the embodiment of the present application, since the state of the indicator light can reflect the different states of the hard disk, by connecting the indicator light to the hard disk, there is no need to enter the hard disk management interface. The working status of the hard disk can be quickly understood by simply observing the state changes of the indicator light, which is beneficial for users to troubleshoot and monitor the operating status of each hard disk on the backplane.
[0039] In one embodiment, the method further comprises:
[0040] The multiple decoded signals are verified, and the hard disk is tested according to the multiple verified signals to obtain a test result.
[0041] The detection method provided in the embodiment of the present application can prevent the problem of failure to detect or inaccurate detection due to decoding errors of the decoding circuit or omissions in data transmission by verifying the signal restored by the decoding circuit.
[0042] In a third aspect, the present application further provides a server, the server comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0043] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0044] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0045] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0046] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0047] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0048] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a structural block diagram of a detection device in an embodiment;
[0050] Figure 2 is a structural block diagram of a detection device in another embodiment;
[0051] Figure 3 is a structural block diagram of a detection device in another embodiment;
[0052] Figure 4 is a structural block diagram of a detection device in another embodiment;
[0053] Figure 5 is a structural block diagram of a detection device in another embodiment;
[0054] Figure 6 is a structural block diagram of a detection device in another embodiment;
[0055] Figure 7 A schematic diagram of a detection method in an embodiment;
[0056] Figure 8 is a structural block diagram of a detection device in another embodiment;
[0057] Fig. 9 is an internal structure diagram of a server in one embodiment;
[0058] Description of reference numerals:
[0059] Main board 10; Back board 20;
[0060] Coding circuit 101; Signal unit 102;
[0061] Integration circuit 103; Decoding circuit 201;
[0062] Verification subunit 2023; Logic control subunit 2021;
[0063] Detection subunit 2022; Hard disk 204. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0066] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0067] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0068] In the server system, storage is an indispensable part of the device. In order to ensure the stability of the signal during the transmission process, the mainboard in the server usually detects the in-place status of the storage component. At present, in the process of the mainboard detecting the in-place status of multiple hard disks on the backplane, the chip on the mainboard is directly connected to the chip on the backplane, and the chip on the mainboard needs to directly send the multi-channel detection signal corresponding to each hard disk to the chip on the backplane, and when the chip on the backplane receives the multi-channel detection signal, it detects the in-place status of each hard disk on it according to the indication of each detection signal. However, when the backplane includes a large number of hard disks, the connection method of the existing detection circuit requires more wired cables to support the transmission of the signal. There are often as many as ten interface connections between the backplane and the mainboard. The structure of the detection circuit is very complicated, resulting in high detection costs, and the cumbersome connection method may cause line connection errors, or the signal quality deteriorates due to crosstalk between lines.
[0069] The present application provides a detection device and a detection method, aiming to solve the above-mentioned technical problems. The following embodiments will specifically illustrate the detection device and the detection method described in the present application.
[0070] In one embodiment, Figure 1 As shown, a detection device 1 is provided, which includes an encoding circuit 101, a decoding circuit 201 and a control unit 202.
[0071] Among them, the encoding circuit 101 is used to integrate multiple detection signals output by the signal unit 102 on the main board 10 to obtain a target detection signal; the decoding circuit 201 is used to decode the target detection signal to obtain multiple decoding signals; the control unit 202 is used to detect the hard disk 204 on the backplane 20 according to the multiple decoding signals to obtain a detection result.
[0072] The encoding circuit 101 can be arranged on the mainboard 10 to integrate or merge the input multiple signals. Optionally, the encoding circuit 101 can also be arranged separately and connected to the mainboard 10. The decoding circuit 201 can be arranged on the backplane 20 to decode or restore the input integrated signal or merged signal to decode or restore multiple signals. Optionally, the decoding circuit 201 can also be arranged separately and connected to the backplane 20. The signal unit 102 includes a control chip and a baseboard management controller. The control chip can be a south bridge chip (Platform Controller Hub, referred to as PCH), which is used to control the signal transmission and processing between the components on the mainboard 10. The baseboard management controller can be a baseboard management controller (Baseboard Management Controller, referred to as BMC) conventionally set on the mainboard of a server. The hard disk 201 includes at least one of an NVME disk, a SATA disk, and a SAS disk, and multiple hard disks 201 can be arranged on the backplane, as well as multiple hard disks 201 of the same type or different types.
[0073] The detection signal is a signal required to detect the hard disk 204, and is sent by the control chip and the baseboard management controller. The detection signal may specifically include an in-place state detection signal and a working state detection signal. The detection result includes that the hard disk 204 is in a normal state, or that the hard disk 204 is in an abnormal state. The detection result may specifically include an in-place state detection result and a working state detection result. When detecting whether the hard disk 204 is in place, the in-place state detection result specifically includes that the hard disk 204 is in place, or that the hard disk 204 is not in place; when detecting the working state of the in-place hard disk 204, the working state detection result includes that the hard disk 204 is in a normal working state, or that the hard disk 204 is in an abnormal working state.
[0074] The working principle of the detection device described in the embodiment of the present application is: Figure 1When the detection device shown detects the status of each hard disk 204 on the backplane 20, the signal unit 102 on the mainboard 10 can send multiple detection signals to the encoding circuit 101. After receiving the multiple detection signals, the encoding circuit 101 can integrate the multiple detection signals to obtain a target detection signal, and then send the target detection signal to the decoding circuit 201. After receiving the target detection signal, the decoding circuit 201 can decode or restore the integrated target detection signal to obtain multiple decoded signals, and send the multiple decoded signals to the control unit 202. After receiving the multiple decoded signals, the control unit 202 can first detect the in-place status of each hard disk 204 according to the in-place status detection signal, and when it is determined that there is a hard disk 204 in place, the control unit 202 then detects the working status of the hard disk 204 in place according to the working status detection signal to obtain a detection result.
[0075] Optionally, the control unit 202 can detect the in-place status of each hard disk 204 according to the in-place status detection signal. The process can be as follows: the control unit 202 extracts the hard disk 204 identifier from the in-place status detection signal, and then determines the hard disk 204 to be detected according to the hard disk 204 identifier, and reads the in-place status data of the hard disk 204 to be detected, and determines whether the hard disk 204 to be detected is in place according to the in-place status data. If the in-place status data meets the preset in-place requirements, it is determined that the hard disk 204 is in place; if the in-place status data does not meet the preset in-place requirements, it is determined that the hard disk 204 is not in place. For example, assuming that the value of the in-place status data is 1, it is considered to be in place, and the value of the in-place status data is 0, it is considered to be not in place. The above method can obtain an in-place status detection result including whether the hard disk 204 is in place.
[0076] Optionally, the process of the control unit 202 detecting the working status of the hard disk 204 in place according to the working status detection signal can be: the control unit 202 can determine the control instruction according to the working status detection signal, and send the control instruction to the hard disk 204 in place to control it to work, and then read the working status data of the hard disk 204, and determine whether the hard disk 204 is working normally according to the working status data; if the working status data indicates that the hard disk 204 is working normally, it is determined that the hard disk 204 is in a normal working state; if the working status data indicates that the hard disk 204 is working abnormally, it is determined that the hard disk 204 is in an abnormal working state, thereby obtaining a working status detection result including whether the hard disk 204 is in a normal working state.
[0077] The detection device provided in the embodiment of the present application integrates multiple detection signals output by the signal unit through an encoding circuit, and restores the integrated signal through a decoding circuit, so that the control unit can detect multiple hard disks based on the multiple detection signals. When the number of hard disks is relatively large, the detection device can greatly reduce the number of signal lines, that is, greatly simplify the signal transmission lines of the circuit, and thus can reduce the detection cost of the detection device to a certain extent; in addition, it can also reduce the crosstalk problem between multiple groups of signal lines, thereby improving the accuracy of the test.
[0078] In one embodiment, a detection device 1 is also provided, such as Figure 2 As shown, in Figure 1 On the basis of the detection device 1 described in the embodiment, the control unit 202 in the detection device 1 includes: a logic control subunit 2021 and a detection subunit 2022 .
[0079] The logic control subunit 2021 is used to determine the hard disk 204 in place according to the in-place status information of each hard disk 204 on the backplane 20; the detection subunit 2022 is used to perform status detection on the hard disk 204 in place according to multiple decoding signals to obtain the detection result.
[0080] The logic control subunit 2021 may be a complex programmable logic device (CPLD), which is used to control signal transmission and processing between components on the backplane 20 .
[0081] The working principle of the detection device described in the embodiment of the present application is: Figure 2When the detection device shown detects the status of each hard disk 204 on the backplane 20, the signal unit 102 on the mainboard 10 can send multiple detection signals to the encoding circuit 101. After receiving the multiple detection signals, the encoding circuit 101 can integrate the multiple detection signals to obtain a target detection signal, and then send the target detection signal to the decoding circuit 201. After receiving the target detection signal, the decoding circuit 201 can decode or restore the integrated target detection signal to obtain multiple decoding signals, and send the multiple decoding signals to the logic control subunit 2021. After receiving the multiple decoding signals, the logic control subunit 2021 can first detect the in-place status of each hard disk 204 according to the in-place status information, and when it is determined that there is a hard disk 204 in place, generate a detection instruction according to the multiple detection signals, and send the detection instruction to each hard disk 204 to instruct each hard disk 204 to perform a corresponding operation according to the operation indicated by the detection instruction, and send the detection instruction to the detection subunit 202. 2, to indicate that the detection subunit 2022 reads the status data of the hard disk 204 from each hard disk 204 after receiving the detection instruction, and parses the status data to determine what working state each hard disk 204 is in, and further compares it with the working state corresponding to the operation indicated by the detection instruction. For example, if the detection instruction instructs the hard disk 204 to start or stop working, the corresponding working state should be a starting or stopping working state. At this time, the working state indicated by the detection instruction can be compared with the working state represented by the status data. If they are consistent, it is considered that the hard disk 204 is in a normal working state. If they are inconsistent, it is considered that the hard disk 204 is in an abnormal working state. It should be noted that when the detection subunit 2022 detects that the hard disk 204 is in an abnormal working state, the detection subunit 2022 can generate an abnormal file, and return the abnormal file to the logic control subunit 2021 and return it step by step to the baseboard management controller in the signal unit 102, and display the abnormal state information under the baseboard management controller.
[0082] The detection device provided in the embodiment of the present application can detect the working status of each hard disk by setting up a detection subunit. Compared with the traditional device that can only detect the presence of the hard disk, the above device can perform a comprehensive detection of the hard disk. In addition, assigning the detection of the hard disk to the detection subunit can reduce the working pressure of the control unit and further improve the test efficiency.
[0083] In one embodiment, a detection device 1 is also provided, such as Figure 3 As shown, based on the detection device 1 described in the above embodiment, the control unit 202 in the detection device 1 further includes: a verification subunit 2023.
[0084] The verification subunit 2023 is used to verify multiple decoded signals to obtain multiple verified signals. Correspondingly, the logic control subunit 2021 is specifically used to determine the hard disk in place according to the in-place status information of each hard disk on the backplane when receiving the multiple verified signals. The detection subunit 2022 is specifically used to perform status detection on the hard disk in place according to the multiple verified signals to obtain the detection result.
[0085] The above check subunit 2023 can be implemented by using clock recovery technology (Clock and Data Recovery, CDR for short).
[0086] The working principle of the detection device described in the embodiment of the present application is: Figure 3 When the detection device shown detects the status of each hard disk 204 on the backplane 20, the signal unit 102 on the mainboard 10 can send multiple detection signals to the encoding circuit 101. After receiving the multiple detection signals, the encoding circuit 101 can integrate the multiple detection signals to obtain a target detection signal, and then send the target detection signal to the decoding circuit 201. After receiving the target detection signal, the decoding circuit 201 can decode or restore the integrated target detection signal to obtain multiple decoded signals, and send the multiple decoded signals to the verification subunit 2023. After receiving the multiple decoded signals, the verification subunit 2023 can use the clock recovery technology to perform clock verification on the multiple decoded signals, and then send the verified multiple decoded signals to the logic control subunit 2021. After receiving the verified multiple decoded signals, the logic control subunit 2021 can detect the status of each hard disk 204 according to the verified multiple decoded signals.
[0087] The detection device provided in the embodiment of the present application adds a check subunit to check the signal restored by the decoding circuit, which can prevent the problem of failure to detect or inaccurate detection due to decoding errors of the decoding circuit or omissions in data transmission.
[0088] In one embodiment, a detection device 1 is also provided, such as Figure 4 As shown, in Figure 1 On the basis of the detection device 1 described in the embodiment, the detection device 1 further includes: an integrated circuit 103 .
[0089] The integration circuit 103 is used to integrate some detection signals among the multiple detection signals to obtain an integration signal. Correspondingly, the encoding circuit 101 is specifically used to integrate the integration signal with the detection signals other than the partial detection signals to obtain a target detection signal.
[0090] The integrated circuit 103 may be a signal converter. The partial detection signals are in-position detection signals, which are used to control the hard disk 204 to perform a lighting operation. The detection signals other than the partial detection signals are working state detection signals, which are used to control the hard disk 204 to perform a corresponding work process. Optionally, the in-position detection signal may be an SGPIO signal, and the working state detection signal may be an I2C signal. The SGPIO signal includes four groups of signals, namely, a SClock signal, an SLoad signal, an SDataOut signal, and an SDataIn signal. Among them, the SClock signal is a clock signal, such as a 100k clock signal, the SLoad signal indicates the end signal of the current bit stream, or starts a new bit stream at the next clock, which is used to indicate when the bit stream ends and restarts; the SDataOu signal indicates the bit stream of serial data output, which carries the output bit associated with the disk drive on the backplane 20, and is used to control the LED and other indicator lights (such as activity, positioning and error indicators); the SDataIn signal indicates the serial data table input bit stream, which carries the input bit associated with the disk drive on the backplane 20, and is used to report information such as drive presence detection (such as SATA). It should be noted that the SDataIn signal is determined by the needs of the server, and not all devices support the SDataIn signal. The principle that the signal unit 102 sends the SGPIO signal to the logic control subunit 2021, and the logic control subunit 2021 parses the SGPIO signal, and then controls the hard disk startup according to the SGPIO signal is: the logic control subunit 2021 uses the falling edge of the SClock signal to lock the SLoad signal and the SDataOut signal, and the signal unit 102 uses the falling edge of the SClock signal to lock the SDataIn signal. When the bus using the SGPIO signal intentionally does not exchange the bit stream, the signal unit 102 sets the SClock signal to 0, so that the logic control subunit 2021 knows that the initiator still exists and has not been deleted, and the clock cycle that sets the SLoad signal to 1 is the last clock cycle of the bit stream.
[0091] The working principle of the detection device described in the embodiment of the present application is: Figure 4When the detection device shown detects the status of each hard disk 204 on the backplane 20, the signal unit 102 on the mainboard 10 can send a partial detection signal to the integration circuit 103, and send a detection signal other than the partial detection signal to the encoding circuit 101. After receiving the partial detection signal, the integration circuit 103 can integrate the partial detection signal to obtain an integrated signal, and then send the integrated signal to the encoding circuit 101. After receiving the detection signal other than the partial detection signal and the integration signal, the encoding circuit 101 can integrate the integration signal and the detection signal other than the partial detection signal again to obtain a target detection signal.
[0092] The detection device provided by the embodiment of the present application can effectively save the number of pins of the encoding circuit by integrating the signal through the integration circuit. In particular, when it is necessary to perform status detection on multiple hard disks, since the number of pins of the encoding circuit is limited, the method of first integrating the signal by the integration circuit can significantly reduce the number of required pins. The above detection method can improve the scalability and flexibility of the system while reducing the complexity of the system. In addition, after the signal is integrated by the integration circuit, the integrated signal is sent to the encoding circuit, which can more efficiently perform data transmission and status detection.
[0093] In one embodiment, a detection device 1 is also provided, such as Figure 5 As shown, in Figure 1 On the basis of the detection device 1 described in the embodiment, the detection device 1 further includes: a signal interface 104 .
[0094] The encoding circuit 101 sends the target detection signal to the decoding circuit 201 through the signal interface 104 .
[0095] The working principle of the detection device described in the embodiment of the present application is: Figure 5 When the detection device 1 shown detects the status of each hard disk 204 on the backplane 20, the signal unit 102 on the mainboard 10 can send multiple detection signals to the encoding circuit 101. After receiving the multiple detection signals, the encoding circuit 101 can integrate the multiple detection signals to obtain a target detection signal, and then send the target detection signal to the decoding circuit 201 through the signal interface 104. After receiving the target detection signal, the decoding circuit 201 can decode or restore the integrated target detection signal to obtain multiple decoding signals, and send the multiple decoding signals to the control unit 202. After receiving the multiple decoding signals, the control unit 202 can first detect the in-place status of each hard disk 204 according to the in-place detection signal, and when it is determined that there is a hard disk 204 in place, the control unit 202 then detects the working status of the hard disk 204 in place according to the working status detection signal to obtain a detection result.
[0096] The detection device provided in the embodiment of the present application transmits the target detection signal to the decoding circuit through a very small number of signal interfaces, thereby solving the problem of complex circuit structure caused by the traditional use of multiple signal transmission lines. When the number of hard disks is relatively large, the detection device can greatly reduce the number of signal lines, that is, greatly simplify the signal transmission lines of the circuit, thereby reducing the detection cost of the detection device to a certain extent.
[0097] In one embodiment, a detection device 1 is further provided. Based on the detection device 1 described in the above embodiment, the detection device 1 further includes an indicator light connected to each hard disk 204 , and each indicator light is connected to the detection subunit 2022 .
[0098] The detection subunit 2022 is also used to light up each indicator light according to the status data of each hard disk 204 and the detection instruction.
[0099] Optionally, the indicator light can be a light emitting diode; optionally, the color of the indicator light can represent different states of the hard disk 204, for example, when the color of the indicator light is green, it indicates that the hard disk 204 is in a normal state; when the color of the indicator light is red, it indicates that the hard disk 204 is in an abnormal state.
[0100] The working principle of the detection device described in the embodiment of the present application is as follows: when the detection device 1 is used to detect the status of each hard disk 204 on the backplane 20, the logic control subunit 2021 can, after receiving multiple decoding signals, first detect the in-place status of each hard disk 204 according to the in-place status detection signal, and when it is determined that there is a hard disk 204 in place, generate a detection instruction according to the multiple detection signals, and send the detection instruction to each hard disk 204 to instruct each hard disk 204 to perform a corresponding operation according to the operation indicated by the detection instruction, and send the detection instruction to the detection subunit 2022 to instruct the detection subunit 2022 to read the status data of the hard disk 204 from each hard disk 204 after receiving the detection instruction, and parse the status data to determine what working state each hard disk 204 is in. state, and further compare it with the working state corresponding to the operation indicated by the detection instruction. For example, if the detection instruction instructs the hard disk 204 to start or stop working, the corresponding working state should be the started or stopped working state. At this time, the working state indicated by the detection instruction can be compared with the working state represented by the status data. If they are consistent, it is considered that the hard disk 204 is in a normal working state. At this time, the detection subunit 2022 can light up the indicator light connected to the hard disk 204 in a normal state, for example, the detection subunit 2022 controls the indicator light to turn on green; if they are inconsistent, it is considered that the hard disk 204 is in an abnormal working state. At this time, the detection subunit 2022 can light up the indicator light connected to the hard disk 204 in an abnormal state, for example, the detection subunit 2022 controls the indicator light to turn on red.
[0101] The detection device provided in the embodiment of the present application can reflect the different states of the hard disk by connecting the indicator light to the hard disk. Therefore, there is no need to enter the hard disk management interface. The working status of the hard disk can be quickly understood by simply observing the status changes of the indicator light, which is beneficial for users to troubleshoot and monitor the operating status of each hard disk on the backplane.
[0102] Comprehensive Figure 1-Figure 5 The detection device 2 described in all embodiments, the present application also provides a detection device 2, such as Figure 6 As shown, the detection device 2 includes: an integration circuit 103 , an encoding circuit 101 , a signal interface 104 , a decoding circuit 201 , a check subunit 2023 , a logic control subunit 2021 and a detection subunit 2022 .
[0103] Among them, the integration circuit 103 is used to integrate some of the detection signals among the multiple detection signals output by the signal unit 102 on the mainboard to obtain an integrated signal. The encoding circuit 101 is used to integrate the integrated signal and the detection signals other than the partial detection signals to obtain a target detection signal. The decoding circuit 201 is used to decode the target detection signal to obtain multiple decoded signals. The verification subunit 2023 is used to verify the multiple decoded signals to obtain multiple verified signals. The logic control subunit 2021 is used to determine the hard disk 204 in place according to the in-place status information of each hard disk 204 on the backplane 20. The detection subunit 2022 is used to perform status detection on the hard disk 204 in place according to the multiple decoded signals to obtain a detection result.
[0104] For example, Figure 7 As shown, the signal unit 102 includes a control chip and a baseboard management controller. The control chip can be Figure 7 The south bridge chip PCH in the baseboard management controller can be Figure 7 The integrated circuit 103 may be Figure 7 The I2CSW in the encoding circuit 101 may be Figure 7 The Serializer in; the signal interface 104 can be Figure 7 The interface in; the decoding circuit 201 may be Figure 7 In the Deserializer, the check subunit 2023 can be Figure 7 In the CDR, the logic control subunit 2021 may be Figure 7 The CPLD and detection subunit 2022 may be Figure 7 The detection chip in the Figure 7 LEDs in the
[0105] The working principle of the detection device 2 described in the embodiment of the present application is: Figure 6When the detection device 2 shown detects the status of each hard disk 204 on the backplane 20, the signal unit 102 on the mainboard 10 can send a partial detection signal (control signal) to the integration circuit 103, and send a detection signal (SGPIO signal) other than the partial detection signal to the encoding circuit 101. After receiving the partial detection signal, the integration circuit 103 can integrate the partial detection signal to obtain an integration signal, and then send the integration signal to the encoding circuit 101. After receiving the detection signal other than the partial detection signal and the integration signal, the encoding circuit 101 can integrate the integration signal and the detection signal other than the partial detection signal again to obtain a target detection signal, and then send the target detection signal to the decoding circuit 201 through the signal interface 104 using a cable. After receiving the target detection signal, the decoding circuit 201 can decode or restore the integrated target detection signal to obtain multiple decoding signals (SGPIO signal and I2C signal), and send the multiple decoding signals to the check subunit 2023. After receiving multiple decoded signals, the check subunit 2023 can use clock recovery technology to perform clock check on the multiple decoded signals, and then send the multiple decoded signals after check to the logic control subunit 2021. After receiving multiple verified decoded signals, the logic control subunit 2021 can first detect the in-place status of each hard disk 204 according to the in-place status information, and when it is determined that there is a hard disk 204 in place, generate a detection instruction (ACT signal) according to multiple detection signals, and send the detection instruction to each hard disk 204 to instruct each hard disk 204 to perform a corresponding operation according to the operation indicated by the detection instruction, and send the detection instruction to the detection subunit 2022 to instruct the detection subunit 2022 to read the status data of the hard disk 204 from each hard disk 204 after receiving the detection instruction, and parse the status data to determine what working state each hard disk 204 is in, and then further perform the operation corresponding to the operation indicated by the detection instruction. The working status is compared, for example, if the detection instruction instructs the hard disk 204 to start or stop working, the corresponding working status should be the started or stopped working status. At this time, the working status indicated by the detection instruction can be compared with the working status represented by the status data. If they are consistent, it is considered that the hard disk 204 is in a normal working state. At this time, the detection subunit 2022 can light up the indicator light connected to the hard disk 204 in a normal state, for example, the detection subunit 2022 controls the indicator light to light up green; if they are inconsistent, it is considered that the hard disk 204 is in an abnormal working state. At this time, the detection subunit 2022 can light up the indicator light connected to the hard disk 204 in an abnormal state, for example, the detection subunit 2022 controls the indicator light to light up red.It should be noted that when the detection subunit 2022 detects that the hard disk 204 is in an abnormal working state, the detection subunit 2022 can generate an abnormal file, and return the abnormal file to the logic control subunit 2021 and return it step by step to the baseboard management controller in the signal unit 102, and display the abnormal status information under the baseboard management controller.
[0106] The detection device provided in the embodiment of the present application, by building a set of fully interchangeable backplanes in the server, no matter how the interface between the backplane and the host or the medium supported by the backplane changes, the cables used by the above detection device in various storage architectures are universal, which can avoid the complexity of manual configuration and the cost of wrong configuration. The traditional lighting is to parse the SGPIO signal through the logic control subunit CPLD to issue instructions to each hard disk. The above detection device is designed to parse the control signal and then lead it out, and then connect the led-out signal to the hard disk, and connect the hard disk, the logic control subunit CPLD and the detection subunit at the same time. First, by comparing whether there is a difference between the hard disk status and the detection instruction, the indicator light can be controlled to flash. Second, the hard disk status is detected. If an abnormal situation occurs in the middle, it can be detected by the detection chip, so that the error message is returned, and the log file analysis is printed under the baseboard management controller.
[0107] Based on any detection device provided in the above embodiments, the present application also provides a detection method, which is illustrated by taking the detection method applied to any detection device in the above embodiments as an example. The method includes: detecting the hard disk according to multiple decoding signals output by the decoding circuit to obtain a detection result.
[0108] The above steps have been explained in the previous content. Please refer to the previous instructions for details and will not be repeated here.
[0109] The detection method provided in the embodiment of the present application detects the hard disk according to the multiple decoding signals output by the decoding circuit to obtain the detection result. The above detection method integrates the multiple detection signals output by the signal unit through the encoding circuit, and the decoding circuit restores the integrated signal, so that the control unit can detect multiple hard disks based on the multiple detection signals. When the number of hard disks is relatively large, the detection device can greatly reduce the number of signal lines, that is, greatly simplify the signal transmission line of the circuit, and thus reduce the detection cost of the detection device to a certain extent; in addition, it can also reduce the crosstalk problem between multiple groups of signal lines, thereby improving the accuracy of the test.
[0110] In one embodiment, a specific implementation method for obtaining the detection result is also provided. The above step of "detecting the hard disk according to multiple decoding signals output by the decoding circuit to obtain the detection result" includes: determining the hard disk in place according to the in-place status information of each hard disk on the backplane, and performing status detection on the in-place hard disk according to the multiple decoding signals to obtain the detection result.
[0111] The above steps are all described in the above content. For details, please refer to the above description and will not be repeated here. The detection method provided in the embodiment of the present application can not only detect the presence of the hard disk, but also detect the working status of the hard disk. Compared with the traditional method that can only detect the presence of the hard disk, the above detection method can perform a comprehensive detection of the hard disk.
[0112] In one embodiment, a specific implementation method for obtaining the detection result is also provided, such as Figure 8 As shown, the above step of "detecting the status of the hard disk in place according to multiple decoding signals to obtain the detection result" includes:
[0113] S301, generating a detection instruction according to a plurality of decoded signals, and sending the detection instruction to an in-place hard disk to start the in-place hard disk.
[0114] S302, performing a status detection on the hard disk in place according to the working status indicated by the detection instruction and the working status information of the hard disk in place to obtain a detection result.
[0115] The above steps are all described in the above content. For details, please refer to the above description and will not be repeated here. The detection method provided in the embodiment of the present application can improve the accuracy of the detection result by further detecting the working status of the hard disk in place when determining the existence of the hard disk in place. In addition, compared with the traditional method that can only detect the presence of the hard disk, the above detection method can perform a comprehensive detection of the hard disk.
[0116] In one embodiment, a detection method is further provided. Based on the above embodiment, the method further includes: lighting up the indicator light of the hard disk in place according to the detection result.
[0117] The above steps are all described in the above content. For details, please refer to the above description and will not be repeated here. The detection method provided in the embodiment of the present application, since the state of the indicator light can reflect the different states of the hard disk, by connecting the indicator light to the hard disk, there is no need to enter the hard disk management interface. By simply observing the state change of the indicator light, the working state of the hard disk can be quickly understood, which is beneficial for users to troubleshoot and monitor the operating state of each hard disk on the backplane.
[0118] In one embodiment, a detection method is provided. Based on the above embodiment, the method further includes: verifying multiple decoded signals, and detecting the hard disk according to the verified multiple signals to obtain a detection result.
[0119] The above steps are described in the above content, please refer to the above description for details, and will not be repeated here. The detection method provided in the embodiment of the present application can prevent the problem of failure to detect or inaccurate detection due to decoding errors of the decoding circuit or missing data transmission by verifying the signal restored by the decoding circuit.
[0120] Based on the method described in the above embodiments, the present application also provides a detection device, such as Figure 8 As shown, the detection device includes: a south bridge chip PCH, a BMC, an I2C SW, a Serializer, a Deserializer, a CDR module, a CPLD, a detection chip and an LED indicator light, wherein the control chip in the signal unit 102 in the above embodiment corresponds to Figure 8 The south bridge chip PCH in the baseboard management controller corresponds to Figure 8 BMC in; integrated circuit 103 corresponds to Figure 8 I2C SW in; encoding circuit 101 corresponds to Figure 8 Serializer in; signal interface 104 corresponds to Figure 8 The interface in; decoding circuit 201 corresponds to Figure 8 Deserializer in, check subunit 2023 corresponds to Figure 8 In the CDR, the logic control subunit 2021 corresponds to Figure 8 The CPLD and the detection subunit 2022 correspond to Figure 8 The detection chip in the Figure 8 LEDs in the
[0121] The working principle of the detection device described in the embodiment of the present application is: Figure 8 When the detection device 2 shown detects the status of each hard disk 204 on the backplane 20,
[0122] The south bridge chip PCH and BMC on the mainboard 10 can send part of the detection signal to the I2C SW, such as part of the SGPIO signal and the control signal, and send detection signals other than part of the detection signal to the Serializer, such as the SGPIO signal. After receiving part of the SGPIO signal and the control signal, the I2C SW can integrate part of the SGPIO signal and the control signal to obtain an integrated signal, and then send the integrated signal to the Serializer. After the Serializer receives another part of the SGPIO signal and the integrated signal, it can integrate the integrated signal and another part of the SGPIO signal again to obtain a target detection signal, and then send the target detection signal to the Deserializer through the interface using the Cable cable. After receiving the target detection signal, the Deserializer can decode or restore the integrated target detection signal to obtain multiple decoded signals, such as SGPIO signals and I2C signals, and send the multiple decoded signals to the CDR module. After receiving the multiple decoded signals, the CDR module can use the clock recovery technology to perform clock verification on the multiple decoded signals, and then send the verified multiple decoded signals to the CPLD. After receiving a plurality of verified decoded signals, the CPLD may first detect the in-place status of each hard disk through each hard disk interface according to the in-place status information, and when determining that there is an in-place hard disk, generate a detection instruction, such as an ACT signal, according to a plurality of detection signals, and send the detection instruction to each hard disk to instruct each hard disk to perform a corresponding operation according to the operation indicated by the detection instruction, and send the detection instruction to the detection chip to instruct the detection chip to read the hard disk status data from each hard disk after receiving the detection instruction, and parse the status data to determine what working state each hard disk is in, and then further determine the working state corresponding to the operation indicated by the detection instruction. For example, if the detection instruction instructs the hard disk to start or stop working, the corresponding working state should be the starting or stopping working state. At this time, the working state indicated by the detection instruction can be compared with the working state represented by the status data. If they are consistent, it is considered that the hard disk is in a normal working state. At this time, the detection chip can light up the LED indicator connected to the hard disk in a normal state, for example, the detection chip controls the LED indicator to light up green; if they are inconsistent, it is considered that the hard disk is in an abnormal working state. At this time, the detection chip can light up the LED indicator connected to the hard disk in an abnormal state, for example, the detection chip controls the LED indicator to light up red. It should be noted that when the detection chip detects that the hard disk is in an abnormal working state, the detection chip can generate an abnormal file, and return the abnormal file to the CPLD and return it to the BMC step by step, and display the abnormal state information under the BMC.
[0123] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] In one embodiment, a server is provided, whose internal structure diagram can be as follows: Fig. 9 As shown. The server includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the server is used to provide computing and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the server is used to store detection data. The input / output interface of the server is used to exchange information between the processor and an external device. The communication interface of the server is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a detection method is implemented.
[0125] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0126] In one embodiment, a server is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0127] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0128] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0129] The hard disk in place is determined according to the in-place status information of each hard disk on the backplane, and the status of the hard disk in place is detected according to multiple decoding signals to obtain the detection result.
[0130] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0131] Generate a detection instruction according to the multiple decoded signals, and send the detection instruction to the hard disk in place to start the hard disk in place;
[0132] The status of the hard disk in place is detected according to the working status indicated by the detection instruction and the working status information of the hard disk in place to obtain the detection result.
[0133] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0134] Turn on the indicator lights of the hard disks in place according to the test results.
[0135] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0136] The multiple decoded signals are verified, and the hard disk is tested according to the multiple verified signals to obtain a test result.
[0137] The implementation principle and technical effect of the server provided in the above embodiment are similar to those of the above method embodiment, and will not be repeated here.
[0138] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0139] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0140] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0141] The hard disk in place is determined according to the in-place status information of each hard disk on the backplane, and the status of the hard disk in place is detected according to multiple decoding signals to obtain the detection result.
[0142] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0143] Generate a detection instruction according to the multiple decoded signals, and send the detection instruction to the hard disk in place to start the hard disk in place;
[0144] The status of the hard disk in place is detected according to the working status indicated by the detection instruction and the working status information of the hard disk in place to obtain the detection result.
[0145] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0146] Turn on the indicator lights of the hard disks in place according to the test results.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0148] The multiple decoded signals are verified, and the hard disk is tested according to the multiple verified signals to obtain a test result.
[0149] The computer-readable storage medium provided in the above embodiment has similar implementation principles and technical effects as those of the above method embodiment, and will not be described in detail here.
[0150] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0151] The hard disk is tested according to a plurality of decoding signals output by the decoding circuit to obtain a test result.
[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0153] The hard disk in place is determined according to the in-place status information of each hard disk on the backplane, and the status of the hard disk in place is detected according to multiple decoding signals to obtain the detection result.
[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0155] Generate a detection instruction according to the multiple decoded signals, and send the detection instruction to the hard disk in place to start the hard disk in place;
[0156] The status of the hard disk in place is detected according to the working status indicated by the detection instruction and the working status information of the hard disk in place to obtain the detection result.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0158] Turn on the indicator lights of the hard disks in place according to the test results.
[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0160] The multiple decoded signals are verified, and the hard disk is tested according to the multiple verified signals to obtain a test result.
[0161] The implementation principle and technical effect of the computer program product provided in the above embodiment are similar to those of the above method embodiment, and will not be repeated here.
[0162] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0163] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0164] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A detection device, characterized in that: The detection device includes an encoding circuit, a decoding circuit and a control unit; the control unit includes a logic control subunit and a detection subunit; The encoding circuit is used to integrate multiple detection signals output by the signal unit on the mainboard to obtain a target detection signal; the detection signal includes an in-position state detection signal and a working state detection signal; The decoding circuit is used to decode the target detection signal to obtain a plurality of decoded signals; The logic control subunit is used to determine the hard disk to be detected according to the in-place status detection signal, read the in-place status data of the hard disk to be detected, and determine whether the hard disk to be detected is in place according to the in-place status data, and obtain an in-place status detection result. When the in-place status detection result indicates that the hard disk to be detected is in place, generate a detection instruction according to the multiple decoded signals, and send the detection instruction to the hard disk to be detected to instruct the hard disk to be detected to perform a corresponding operation according to the operation indicated by the detection instruction, and send the detection instruction to the detection subunit; The detection subunit is used to read the status data of the hard disk from the hard disk to be detected, determine the working status of the hard disk to be detected, and compare the working status of the hard disk to be detected with the working status corresponding to the operation indicated by the detection instruction. If they are consistent, it is determined that the hard disk to be detected is in a normal working state. If they are inconsistent, it is determined that the hard disk to be detected is in an abnormal working state. After determining that the hard disk to be detected is in the abnormal working state, an abnormal file is generated, and the abnormal file is returned to the baseboard management controller in the signal unit to display the abnormal status information under the baseboard management controller.
2. The detection device according to claim 1, characterized in that: The control unit further comprises: a check subunit; The check subunit is used to check the multiple decoded signals to obtain multiple signals after checking; The logic control subunit is specifically used to determine the hard disk in place according to the in-place status information of each hard disk on the backplane when receiving the multiple signals after verification; The detection subunit is specifically used to perform status detection on the in-place hard disk according to the multiple verified signals to obtain a detection result.
3. The detection device according to claim 1 or 2, characterized in that: The detection device further comprises: an integrated circuit; The integration circuit is used to integrate some of the multiple detection signals to obtain an integrated signal; The encoding circuit is specifically used to integrate the integration signal and the detection signal other than the partial detection signal to obtain the target detection signal.
4. The detection device according to claim 1 or 2, characterized in that: The detection device also includes a signal interface; the encoding circuit sends the target detection signal to the decoding circuit through the signal interface.
5. The detection device according to claim 1 or 2, characterized in that: The detection device further comprises an indicator light connected to each of the hard disks, and each of the indicator lights is connected to the detection subunit; The detection subunit is further used to light up each of the indicator lights according to the status data of each of the hard disks and the detection instruction.
6. A detection method, characterized in that: The detection method is applied to a control unit in a detection device according to any one of claims 1 to 5, and the method comprises: The hard disk is detected according to the multiple decoding signals output by the decoding circuit to obtain a detection result.
7. The method according to claim 6, characterized in that The step of detecting the hard disk according to the multiple decoding signals output by the decoding circuit to obtain a detection result includes: The hard disk in place is determined according to the in-place status information of each hard disk on the backplane, and the status of the hard disk in place is detected according to the multiple decoded signals to obtain a detection result.
8. The method according to claim 7, characterized in that The performing status detection on the in-place hard disk according to the multiple decoded signals to obtain the detection result includes: generating a detection instruction according to the plurality of decoded signals, and sending the detection instruction to the in-place hard disk to start the in-place hard disk; A status detection is performed on the hard disk in place according to the working status indicated by the detection instruction and the working status information of the hard disk in place to obtain a detection result.
9. The method according to claim 8, characterized in that The method further comprises: The indicator light of the hard disk in place is turned on according to the detection result.
10. The method according to claim 6, characterized in that The method further comprises: The multiple decoded signals are verified, and the hard disk is tested according to the verified multiple signals to obtain a test result.
Citation Information
Patent Citations
Signal transmission system and method
CN116991685A