A cabinet device and method for automatically detecting and processing hard disk failures

By introducing a monitoring system and a robotic arm system into the server cabinet, faulty hard drives are automatically processed, which solves the problem of increased time and cost caused by manual replacement of hard drives, realizes automatic replacement of faulty hard drives, improves maintenance efficiency, and reduces costs.

CN115098343BActive Publication Date: 2024-10-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210911364.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-30
Publication Date
2024-10-22
Estimated Expiration
2042-07-30

AI Technical Summary

Technical Problem

Existing server hard disk failures require manual replacement. As the number of failed disks increases, time and labor costs gradually increase, and there is a lack of automated processing mechanisms.

Method used

A cabinet device is designed that automatically detects hard disk faults and handles them by itself, including a monitoring system and a robotic arm system. The hard disk status is monitored in real time through the BMC alarm system, and the SNMP protocol is used to send fault signals. The robotic arm system passes the x, y, z three-dimensional position The data locates the faulty hard drive, and performs unplug, store and replace operations.

Benefits of technology

It realizes automatic replacement of faulty hard drives, improves maintenance efficiency, reduces maintenance costs, and saves time and effort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115098343B_ABST
    Figure CN115098343B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of cabinet maintenance technology, and specifically to a cabinet device, method, computer equipment and storage medium that automatically detects and self-processes hard disk faults. The cabinet device cabinet has a hard disk installed inside; a monitoring system is used to monitor hard disk faults in the cabinet and send out the status signal of the hard disk that has failed in time; a mechanical arm system obtains the hard disk status signal, locates the failed hard disk, removes the hard disk, and stores it; and grabs a spare hard disk and inserts the spare hard disk into the pulled out faulty hard disk slot. In the present invention, the BMC alarm system monitors the hard disk status in real time. When the hard disk fails, the hard disk status signal is sent to the mechanical arm system of the cabinet. The mechanical arm system obtains the position of the faulty hard disk, and then performs the operations of locating the faulty disk, pulling out the faulty disk, storing the faulty disk, grabbing a new disk, and replacing the new disk. This technology can realize the automatic replacement of a faulty hard disk, saving time and effort.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cabinet maintenance, and in particular to a cabinet device and method for automatically detecting and self-processing hard disk faults, and specifically to a cabinet device, method, computer equipment and storage medium for automatically detecting and self-processing hard disk faults. Background Art

[0002] A server is a type of computer that runs faster, has a higher load, and is more expensive than an ordinary computer. A server provides computing or application services to other clients (such as PCs, smartphones, ATMs, and even large devices such as train systems) in the network. A server has high-speed CPU computing power, long-term reliable operation, powerful I / O external data throughput, and better scalability.

[0003] The application fields of servers are becoming more and more extensive, the information storage requirements of servers are increasing, and the number of hard disks is increasing. At present, servers already support hot swapping. When a hard disk fails, it needs to be manually unplugged and replaced with a new hard disk. As the number of failed disks increases, the time and manual labor are increasing. Summary of the invention

[0004] In order to solve the technical problems existing in the above-mentioned prior art, the present invention provides a cabinet device, method, computer equipment and storage medium for automatically detecting and self-processing hard disk faults. When a hard disk fails, a hard disk status signal is sent to a mechanical arm system of the cabinet. The mechanical arm system obtains the position of the faulty hard disk and then performs the operations of locating the faulty disk - removing the faulty disk - storing the faulty disk - grabbing a new disk - replacing the new disk.

[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, in an embodiment provided by the present invention, a device for automatically detecting and self-processing a hard disk fault is provided, the device comprising: a cabinet, a monitoring system and a mechanical arm system;

[0007] The cabinet has a hard disk installed inside;

[0008] The monitoring system is used to monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner;

[0009] The mechanical arm system is used to locate the faulty hard disk after obtaining the hard disk status signal, remove the hard disk, and store it; and to grab the spare hard disk and insert the spare hard disk into the card slot of the pulled out faulty hard disk.

[0010] As a further solution of the present invention, the robotic arm system operates the hard disk through x, y, and z three-dimensional position data.

[0011] As a further solution of the present invention, the monitoring system is a BMC alarm system.

[0012] As a further solution of the present invention, the BMC alarm system is used to obtain the location and status information of the hard disk, and the BMC alarm system sends the hard disk status signal to the mechanical arm system through the SNMP protocol.

[0013] As a further solution of the present invention, the cabinet is provided with two storage devices for respectively placing a spare hard disk and a faulty hard disk, and the two storage devices are arranged on the top of the cabinet.

[0014] As a further solution of the present invention, the storage device is configured to monitor the number of spare hard disks and the number of faulty hard disks in real time, and transmit the data of the number of hard disks and the number of faulty hard disks to the monitoring system.

[0015] As a further solution of the present invention, a camera for auxiliary monitoring is provided at the mechanical claw position of the mechanical arm system, and the camera is provided to assist in positioning the hard disk status light identification.

[0016] In a second aspect, in another embodiment provided by the present invention, a method for automatically detecting and automatically handling a hard disk fault is provided, the method comprising the following steps:

[0017] Monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner;

[0018] Obtaining the hard disk status signal, locating the faulty hard disk, removing the faulty hard disk, and storing it;

[0019] Grab the spare hard drive and insert it into the slot of the faulty hard drive that was removed.

[0020] In a third aspect, in another embodiment provided by the present invention, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of a method for automatically detecting hard disk faults and self-processing when loading and executing the computer program.

[0021] In a fourth aspect, in yet another embodiment provided by the present invention, a storage medium is provided, storing a computer program, which, when loaded and executed by a processor, implements the steps of the method for automatically detecting and self-processing a hard disk fault.

[0022] The technical solution provided by the present invention has the following beneficial effects:

[0023] The present invention provides a cabinet device, method, computer equipment and storage medium for automatically detecting and self-processing hard disk faults. In the present invention, the BMC alarm system monitors the hard disk status in real time. When a hard disk fails, the hard disk status signal is sent to the mechanical arm system of the cabinet. The mechanical arm system obtains the position of the faulty hard disk and then performs the operations of locating the faulty disk - pulling out the faulty disk - storing the faulty disk - grabbing a new disk - replacing the new disk. This technology can realize automatic replacement of a faulty hard disk, saving time and effort. It greatly improves maintenance efficiency and reduces maintenance costs.

[0024] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention.

[0025] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 The present invention is a flowchart of a method for automatically detecting and automatically handling hard disk faults according to an embodiment of the present invention.

[0027] Figure 2 This is a structural block diagram of a cabinet device that automatically detects and handles hard disk failures according to an embodiment of the present invention.

[0028] Figure 3 This is a processing flow chart of a cabinet device that automatically detects and handles hard disk failures according to an embodiment of the present invention.

[0029] In the figure: 100-cabinet, 200-monitoring system, 300-robotic arm system. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0032] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0033] As the information storage requirements of servers increase, the number of hard disks increases. Currently, servers support hot swapping. When a hard disk fails, it needs to be manually unplugged and replaced with a new one. As the number of failed disks increases, the time and labor required to complete the task increases.

[0034] When a hard disk fails, the present invention sends a hard disk status signal to the mechanical arm system of the cabinet, and the mechanical arm system obtains the position of the faulty hard disk, and then performs the operations of locating the faulty disk, pulling out the faulty disk, storing the faulty disk, grabbing a new disk, and replacing the new disk, thereby achieving the problem of automatically replacing the server faulty disk.

[0035] Specifically, the embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0036] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for automatically detecting and automatically handling a hard disk fault provided by an embodiment of the present invention. Figure 1 As shown, the method for automatically detecting and self-processing a hard disk fault includes steps S10 to S30.

[0037] S10. Monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner.

[0038] In an embodiment of the present invention, the hard disk status signal includes the location and status information of the hard disk.

[0039] In an embodiment of the present invention, the hard disk status signal may be transmitted via the SNMP protocol.

[0040] In an embodiment of the present invention, the method of monitoring hard disk failures in a cabinet and sending out hard disk status signals of failures in a timely manner includes the following steps:

[0041] Step 1: Locate the coordinates of each hard disk slot in the cabinet;

[0042] The hard disk is arranged in the hard disk slot.

[0043] Step 2: Based on the coordinate positioning, a status signal of the hard disk having a fault is obtained, wherein the hard disk status signal contains the coordinate positioning of the hard disk;

[0044] Step 3: Send out the hard disk status signal.

[0045] S20, obtaining the hard disk status signal, locating the faulty hard disk, removing the faulty hard disk, and storing it.

[0046] In the embodiment of the present invention, the positioning of the faulty hard disk can accurately position the faulty hard disk according to the hard disk coordinate positioning.

[0047] In an embodiment of the present invention, the steps of obtaining the hard disk status signal, locating the faulty hard disk, removing the hard disk, and storing the hard disk also include verifying and locating the faulty hard disk.

[0048] Specifically, when removing a faulty hard disk, the hard disk location is assisted by identifying the status displayed by the hard disk status light, thereby assisting in identifying whether the faulty hard disk to be replaced is accurately found.

[0049] In an embodiment of the present invention, a faulty hard disk is located by a hard disk status signal, and after the location is completed, the display status of the hard disk status light is identified to assist in verifying whether the hard disk is a faulty hard disk.

[0050] In the embodiment of the present invention, the display status of the hard disk status light is identified by using a camera.

[0051] In the embodiment of the present invention, the hard disk light of the faulty hard disk is identified and judged by a camera. The camera is set up to compare and judge the fault signal sent. If the fault signal sent is inaccurate, timely maintenance is required to eliminate the fault.

[0052] S30, grab the spare hard disk, and insert the spare hard disk into the card slot of the pulled out faulty hard disk.

[0053] In an embodiment of the present invention, the present invention also includes monitoring the number of stored faulty hard disks and spare hard disks, and timely sending a signal when the number of faulty hard disks and spare hard disks reaches a warning range. This makes it easier to clean up faulty hard disks and replenish spare hard disks. This makes it possible to replenish hard disks in a timely manner.

[0054] Specifically, by entering the storage quantity of the number of faulty hard disks in advance, and then monitoring the number of faulty hard disks, when the number of stored faulty hard disks reaches a preset value, an alarm signal can be issued. Similarly, by entering the storage quantity of the number of spare hard disks in advance, and then monitoring the number of spare hard disks, when the number of stored spare hard disks reaches a preset value, an alarm signal can be issued. In this way, the number of stored faulty hard disks and the number of spare hard disks can be accurately monitored, which facilitates the cleaning of stored faulty hard disks and the timely replenishment of spare hard disks.

[0055] The present invention monitors the hard disk status in real time, and when a hard disk fails, accurately finds the position of the hard disk, then pulls out the hard disk, stores the failed disk, grabs a new disk and replaces the new disk, thereby automatically replacing the server failed disk.

[0056] It should be understood that, although described in a certain order, these steps are not necessarily performed in sequence in the above order. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, a part of the steps of the present embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of the steps or stages in other steps or other steps.

[0057] In one embodiment, see Figure 2 As shown, in an embodiment of the present invention, a device for automatically detecting and self-processing a hard disk fault is also provided, and the device includes a cabinet 100, a monitoring system 200 and a robotic arm system 300.

[0058] The cabinet 100 is a server cabinet, and a hard disk is installed inside.

[0059] The monitoring system 200 is used to monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner.

[0060] In an embodiment of the present invention, the monitoring system may be a BMC alarm system, which can monitor the status of the hard disk in real time.

[0061] In the embodiment of the present invention, the BMC alarm system can obtain the location and status information of the hard disk, and if the hard disk fails, the hard disk status signal can be sent to the robotic arm system 300 through the SNMP protocol.

[0062] The robot arm system 300 obtains the hard disk status signal, locates the faulty hard disk, removes the hard disk, and stores it; and grabs the spare hard disk and inserts the spare hard disk into the removed faulty hard disk slot.

[0063] In an embodiment of the present invention, the robotic arm system 300 can operate the hard disk through x, y, and z three-dimensional position data.

[0064] In the embodiment of the present invention, in order to facilitate positioning of the robot system 300 , the base plate of the robot system 300 is fixed relative to the cabinet 100 , and the robot system 300 can be fixedly installed on the cabinet 100 .

[0065] In the embodiment of the present invention, the cabinet 100 is provided with two storage devices for respectively placing a spare hard disk and a faulty hard disk. The two storage devices may be arranged on the top of the cabinet 100 .

[0066] In an embodiment of the present invention, the robot arm system 300 removes the faulty hard disk during operation and puts it into a corresponding storage device, and then grabs a normal hard disk from another storage device and inserts it into the replaced hard disk slot.

[0067] In an embodiment of the present invention, the storage device is configured to monitor the number of spare hard disks and the number of faulty hard disks in real time, and transmit the data of the number of hard disks and the number of faulty hard disks to the monitoring system 200, so as to facilitate manual replacement when the spare hard disks are exhausted.

[0068] Specifically, the plug-in storage device is similar to a shared power bank device, which is a prior art.

[0069] In the embodiment of the present invention, in order to facilitate the robot system 300 to position the hard disk, the three-dimensional data of the cabinet 100 is deployed in the robot system 300, so as to facilitate accurate positioning of the hard disk.

[0070] In an embodiment of the present invention, a camera is provided at the mechanical claw position of the mechanical arm system 300 for auxiliary monitoring, and the camera is provided to assist in positioning the hard disk status light identification.

[0071] In the embodiment of the present invention, specifically, the hard disk light of the faulty hard disk is identified and judged by the camera. By setting up the camera, the fault signal sent by the monitoring system 200 can be compared and judged. If the fault signal sent by the monitoring system 200 is inaccurate, the monitoring system 200 and the robotic arm system 300 need to be maintained in time to eliminate the system fault.

[0072] In an embodiment of the present invention, the cabinet 100 is installed on the auxiliary positioning line on the robot arm system 300, and the monitoring system 200 is installed with set dimensions and slots for discharge.

[0073] Specifically, position buckles are provided at the installation positions on both sides of the cabinet 100 , and the cabinet 100 is placed at the buckle positions to fix the position of the cabinet 100 .

[0074] The front hard disk panel of the cabinet 100 is used to fix the hard disk width, and a positioning light is installed on the hard disk hot-swap frame. Such an arrangement makes it easier for the camera on the mechanical arm system 300 to assist in locating the hard disk position.

[0075] For example, see Figure 3 , Figure 3A specific processing flow chart of a cabinet device for automatically detecting and automatically processing a hard disk fault according to an embodiment is provided, such as Figure 3 As shown, the BMC alarm system in the present invention monitors the hard disk status in real time. When a hard disk fails, the hard disk status signal is sent to the mechanical arm system of the cabinet. The mechanical arm system obtains the location of the faulty hard disk, and then performs the operations of locating the faulty disk - pulling out the faulty disk - storing the faulty disk - grabbing a new disk - replacing the new disk, thereby achieving the problem of automatically replacing the server faulty disk. This technology can realize automatic replacement of faulty hard disks, saving time and effort. It greatly improves maintenance efficiency and reduces maintenance costs.

[0076] In one embodiment, a computer device is provided in an embodiment of the present invention, comprising at least one processor and a memory in communication with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for automatically detecting and self-processing a hard disk fault, and the processor implements the steps in the above method embodiment when executing the instructions:

[0077] S10. Monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner.

[0078] In an embodiment of the present invention, the hard disk status signal includes the location and status information of the hard disk.

[0079] In an embodiment of the present invention, the hard disk status signal may be transmitted via the SNMP protocol.

[0080] In an embodiment of the present invention, the method of monitoring hard disk failures in a cabinet and sending out hard disk status signals of failures in a timely manner includes the following steps:

[0081] Step 1: Locate the coordinates of each hard disk slot in the cabinet;

[0082] The hard disk is arranged in the hard disk slot.

[0083] Step 2: Based on the coordinate positioning, a status signal of the hard disk having a fault is obtained, wherein the hard disk status signal contains the coordinate positioning of the hard disk;

[0084] Step 3: Send out the hard disk status signal.

[0085] S20, obtaining the hard disk status signal, locating the faulty hard disk, removing the faulty hard disk, and storing it.

[0086] In the embodiment of the present invention, the positioning of the faulty hard disk can accurately position the faulty hard disk according to the hard disk coordinate positioning.

[0087] In an embodiment of the present invention, the steps of obtaining the hard disk status signal, locating the faulty hard disk, removing the hard disk, and storing the hard disk also include verifying and locating the faulty hard disk.

[0088] Specifically, when removing a faulty hard disk, the hard disk location is assisted by identifying the status displayed by the hard disk status light, thereby assisting in identifying whether the faulty hard disk to be replaced is accurately found.

[0089] In an embodiment of the present invention, a faulty hard disk is located by a hard disk status signal, and after the location is completed, the display status of the hard disk status light is identified to assist in verifying whether the hard disk is a faulty hard disk.

[0090] In the embodiment of the present invention, the display status of the hard disk status light is identified by using a camera.

[0091] In the embodiment of the present invention, the hard disk light of the faulty hard disk is identified and judged by a camera. The camera is set up to compare and judge the fault signal sent. If the fault signal sent is inaccurate, timely maintenance is required to eliminate the fault.

[0092] S30, grab the spare hard disk, and insert the spare hard disk into the card slot of the pulled out faulty hard disk.

[0093] In an embodiment of the present invention, the present invention also includes monitoring the number of stored faulty hard disks and spare hard disks, and timely sending a signal when the number of faulty hard disks and spare hard disks reaches a warning range. This makes it easier to clean up faulty hard disks and replenish spare hard disks. This makes it possible to replenish hard disks in a timely manner.

[0094] Specifically, by entering the storage quantity of the number of faulty hard disks in advance, and then monitoring the number of faulty hard disks, when the number of stored faulty hard disks reaches a preset value, an alarm signal can be issued. Similarly, by entering the storage quantity of the number of spare hard disks in advance, and then monitoring the number of spare hard disks, when the number of stored spare hard disks reaches a preset value, an alarm signal can be issued. In this way, the number of stored faulty hard disks and the number of spare hard disks can be accurately monitored, which facilitates the cleaning of stored faulty hard disks and the timely replenishment of spare hard disks.

[0095] The present invention monitors the hard disk status in real time. When a hard disk fails, the hard disk is accurately located, and then the hard disk is pulled out, the failed disk is stored, a new disk is grabbed, and the new disk is replaced, thereby automatically replacing the server failed disk. This technology can realize automatic replacement of failed hard disks, saving time and labor. It greatly improves maintenance efficiency and reduces maintenance costs.

[0096] The computer device includes user devices and network devices. The user devices include but are not limited to computers, smart phones, PDAs, etc. The network devices include but are not limited to a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a type of distributed computing, a super virtual computer consisting of a group of loosely coupled computer sets. The computer device can be operated alone to implement the present invention, or it can be connected to the network and implement the present invention through interactive operations with other computer devices in the network. The network where the computer device is located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, VPN network, etc.

[0097] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0098] In one embodiment of the present invention, a storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiment are implemented:

[0099] S10. Monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner.

[0100] In an embodiment of the present invention, the hard disk status signal includes the location and status information of the hard disk.

[0101] In an embodiment of the present invention, the hard disk status signal may be transmitted via the SNMP protocol.

[0102] In an embodiment of the present invention, the method of monitoring hard disk failures in a cabinet and sending out hard disk status signals of failures in a timely manner includes the following steps:

[0103] Step 1: Locate the coordinates of each hard disk slot in the cabinet;

[0104] The hard disk is arranged in the hard disk slot.

[0105] Step 2: Based on the coordinate positioning, a status signal of the hard disk having a fault is obtained, wherein the hard disk status signal contains the coordinate positioning of the hard disk;

[0106] Step 3: Send out the hard disk status signal.

[0107] S20, obtaining the hard disk status signal, locating the faulty hard disk, removing the faulty hard disk, and storing it.

[0108] In the embodiment of the present invention, the positioning of the faulty hard disk can accurately position the faulty hard disk according to the hard disk coordinate positioning.

[0109] In an embodiment of the present invention, the steps of obtaining the hard disk status signal, locating the faulty hard disk, removing the hard disk, and storing the hard disk also include verifying and locating the faulty hard disk.

[0110] Specifically, when removing a faulty hard disk, the hard disk location is assisted by identifying the status displayed by the hard disk status light, thereby assisting in identifying whether the faulty hard disk to be replaced is accurately found.

[0111] In an embodiment of the present invention, a faulty hard disk is located by a hard disk status signal, and after the location is completed, the display status of the hard disk status light is identified to assist in verifying whether the hard disk is a faulty hard disk.

[0112] In the embodiment of the present invention, the display status of the hard disk status light is identified by using a camera.

[0113] In the embodiment of the present invention, the hard disk light of the faulty hard disk is identified and judged by a camera. The camera is set up to compare and judge the fault signal sent. If the fault signal sent is inaccurate, timely maintenance is required to eliminate the fault.

[0114] S30, grab the spare hard disk, and insert the spare hard disk into the card slot of the pulled out faulty hard disk.

[0115] In an embodiment of the present invention, the present invention also includes monitoring the number of stored faulty hard disks and spare hard disks, and timely sending a signal when the number of faulty hard disks and spare hard disks reaches a warning range. This makes it easier to clean up faulty hard disks and replenish spare hard disks. This makes it possible to replenish hard disks in a timely manner.

[0116] Specifically, by entering the storage quantity of the number of faulty hard disks in advance, and then monitoring the number of faulty hard disks, when the number of stored faulty hard disks reaches a preset value, an alarm signal can be issued. Similarly, by entering the storage quantity of the number of spare hard disks in advance, and then monitoring the number of spare hard disks, when the number of stored spare hard disks reaches a preset value, an alarm signal can be issued. In this way, the number of stored faulty hard disks and the number of spare hard disks can be accurately monitored, which facilitates the cleaning of stored faulty hard disks and the timely replenishment of spare hard disks.

[0117] The present invention monitors the hard disk status in real time. When a hard disk fails, the hard disk is accurately located, and then the hard disk is pulled out, the failed disk is stored, a new disk is grabbed, and the new disk is replaced, thereby automatically replacing the server failed disk. This technology can realize automatic replacement of failed hard disks, saving time and labor. It greatly improves maintenance efficiency and reduces maintenance costs.

[0118] In an embodiment of the present invention, the present invention also includes monitoring the number of stored faulty hard disks and spare hard disks, and timely sending a signal when the number of faulty hard disks and spare hard disks reaches a warning range. This makes it easier to clean up faulty hard disks and replenish spare hard disks. This makes it possible to replenish hard disks in a timely manner.

[0119] Specifically, by entering the storage quantity of the number of faulty hard disks in advance, and then monitoring the number of faulty hard disks, when the number of stored faulty hard disks reaches a preset value, an alarm signal can be issued. Similarly, by entering the storage quantity of the number of spare hard disks in advance, and then monitoring the number of spare hard disks, when the number of stored spare hard disks reaches a preset value, an alarm signal can be issued. In this way, the number of stored faulty hard disks and the number of spare hard disks can be accurately monitored, which facilitates the cleaning of stored faulty hard disks and the timely replenishment of spare hard disks.

[0120] The present invention monitors the hard disk status in real time, and when a hard disk fails, accurately finds the position of the hard disk, then pulls out the hard disk, stores the failed disk, grabs a new disk and replaces the new disk, thereby automatically replacing the server failed disk.

[0121] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented 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 process of the embodiment of the above-mentioned method. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory.

[0122] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

[0123] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.

[0124] It should be understood that, as used herein, the singular form "a" or "an" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the items listed in association. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.

[0125] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.

Claims

1. A cabinet device that automatically detects hard disk failures and handles them automatically. It is characterized in that The cabinet device comprises: a cabinet, a monitoring system and a mechanical arm system; The cabinet has a hard disk installed inside; The monitoring system is used to monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner; The mechanical arm system is used to locate the faulty hard disk after obtaining the hard disk status signal, and to remove and store the hard disk; Grab the spare hard drive and insert it into the slot of the faulty hard drive that was pulled out; The robotic arm system is fixedly mounted on the cabinet, and a camera for auxiliary monitoring is provided at the position of the mechanical claw of the robotic arm system, and the camera assists in positioning the hard disk status light identification.

2. The cabinet device for automatically detecting and automatically handling hard disk failures as claimed in claim 1, It is characterized in that The robotic arm system operates the hard disk through x, y, z three-dimensional position data.

3. The cabinet device for automatically detecting and automatically handling hard disk failures as claimed in claim 1, It is characterized in that The monitoring system is a BMC alarm system.

4. The cabinet device for automatically detecting and automatically handling hard disk failures as claimed in claim 3, It is characterized in that The BMC alarm system is used to obtain the location and status information of the hard disk. The BMC alarm system sends the hard disk status signal to the mechanical arm system through the SNMP protocol.

5. The cabinet device for automatically detecting and automatically handling hard disk failures as claimed in claim 1, It is characterized in that The cabinet is provided with two storage devices for respectively placing a spare hard disk and a faulty hard disk, and the two storage devices are arranged on the top of the cabinet.

6. The cabinet device for automatically detecting and automatically handling hard disk failures as claimed in claim 5, It is characterized in that The storage device is configured to monitor the number of spare hard disks and the number of failed hard disks in real time, and transmit the data of the number of hard disks and the number of failed hard disks to the monitoring system.

7. A method for automatically detecting and handling hard disk failures. It is characterized in that The method includes: Monitor hard disk failures in the cabinet and send out status signals of failed hard disks in a timely manner; In response to the mechanical arm system obtaining the hard disk status signal, locating the faulty hard disk, removing the faulty hard disk, and storing it; The mechanical arm system grabs the spare hard disk and inserts the spare hard disk into the card slot of the pulled out faulty hard disk; The method includes locating the faulty hard disk in response to the mechanical arm system obtaining the hard disk status signal, removing the hard disk, and storing the hard disk; and verifying and locating the faulty hard disk; The verification and positioning of the faulty hard disk includes identifying the hard disk status light display status through a camera to assist in identifying the hard disk location; Wherein, the robotic arm system is fixedly installed on the cabinet, and the camera is arranged at the position of the robotic claw of the robotic arm system.

8. The method for automatically detecting and automatically handling hard disk faults as claimed in claim 7, It is characterized in that The method of monitoring hard disk failures in the cabinet and sending out hard disk status signals of the failed hard disks in a timely manner includes the following steps: Coordinate positioning of each hard disk slot in the cabinet; Based on the coordinate positioning, obtaining a status signal of the hard disk having a fault, wherein the hard disk status signal contains the coordinate positioning of the hard disk; Sends hard disk status signal.