Hard disk module hot-swap server and management method thereof
By using a support frame and a linear drive mechanism in a hard disk module hot-swap server, combined with a contact sensor and a shielding plate, automatic plugging and unplugging of the hard disk module is achieved, solving the problem of inaccurate plugging and improving the reliability and efficiency of the server.
Patent Information
- Application Number
- CN202510928008.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-07-07
AI Technical Summary
In the prior art, the hard disk module is prone to misalignment or failure to be properly plugged in during hot plugging, which affects the normal use of the server.
A hot-swappable server for hard disk modules is designed. A support frame and a linear drive mechanism are used in conjunction with an installation component to realize automatic insertion and removal of the hard disk module. The installation component is driven by a motor to drive a transmission screw to insert and remove the hard disk module, and a contact sensor and a baffle are used for automatic positioning and protection.
It realizes automatic plugging and unplugging of hard disk modules, avoids misalignment caused by manual operation, ensures accurate plugging, protects hot-swap interfaces, and improves server reliability and efficiency.
Smart Images

Figure CN120428827B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of hard disk technology, and in particular to a hard disk module hot-swappable server and a management method thereof. Background Art
[0002] A hot-swappable server is a server architecture in which the various components of the server are designed as modular and installed and managed in a push-pull manner.
[0003] In the related art, hot-swappable servers often require manual insertion or removal of hard disk modules; however, when manually inserting the hard disk module, there is a possibility that the hard disk module and the hot-swappable interface are misaligned or the hard disk module is not properly plugged in during the insertion process, thereby affecting the normal use of the server. Summary of the Invention
[0004] The present application provides a hard disk module hot-swap server and a management method thereof, so as to at least solve the problem of low hard disk module plug-in reliability in the related art.
[0005] This application provides a server with a hot-swappable hard disk module, comprising:
[0006] Server body, support frame, linear drive mechanism and mounting assembly;
[0007] The server body is provided with a plurality of hot-swap interfaces, and the support frames are arranged at the hot-swap interfaces in a one-to-one correspondence;
[0008] The linear drive mechanism is mounted on the support frame, and the mounting assembly is connected to the output end of the linear drive mechanism and is configured to reciprocate under the drive of the linear drive mechanism;
[0009] The mounting assembly is used to place the hard disk module, and the hard disk module is inserted into or removed from the server body under the drive of the linear drive mechanism.
[0010] The present application also provides a hard disk module hot-swap management method, which is applied to the drawer-type modular server described above, comprising:
[0011] Obtain parameter information of the hard disk module during the hot swap process;
[0012] Adjusting the load distribution of the server based on the parameter information;
[0013] Based on the parameter information and the load distribution, predict potential failures of the server and optimize the plugging and unplugging sequence and / or resource allocation of the hard disk modules;
[0014] Based on the optimized plug-in and unplug-out sequence and / or resource configuration of the hard disk module, the hard disk module is controlled to be plugged in and out of the server.
[0015] The embodiment of the present invention provides a hard disk module hot-swap server and management method. By providing a support frame corresponding to multiple hot-swap interfaces on a server body, a linear drive mechanism is installed on the support frame, and a mounting assembly is connected to the output end of the linear drive mechanism so that the mounting assembly reciprocates under the drive of the linear drive mechanism. When the hard disk module is installed on the mounting assembly, the linear drive mechanism provides a driving force so that the mounting assembly drives the hard disk module to move toward the server body and aligns the hard disk module with the hot-swap interface on the server body, thereby inserting the hard disk module into the server body to achieve insertion of the hard disk module. When the hard disk module needs to be removed from the server body, the hard disk module is installed on the mounting base, and the linear drive mechanism provides a driving force so that the mounting assembly moves away from the server body, thereby removing the hard disk from the server body. Through the cooperation of the linear drive structure and the mounting assembly, the hard disk module can be automatically plugged in and out, thereby avoiding the situation where the hard disk module is misplaced or not plugged in due to manual plugging and unplugging, thereby ensuring the normal use of the hard disk module hot-swap server. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0017] Figure 1 A schematic diagram of the structure of a hot-swappable server for hard disk modules provided in an embodiment of the present application;
[0018] Figure 2 A schematic structural diagram of a server body in a hard disk module hot-swappable server provided in an embodiment of the present application;
[0019] Figure 3 A schematic diagram of the partial structure of a hard disk module hot-swappable server provided in an embodiment of the present application;
[0020] Figure 4 This is another partial structural diagram of a hard disk module hot-swappable server provided by an embodiment of the present application;
[0021] Figure 5 This is another partial structural diagram of a hard disk module hot-swappable server provided by an embodiment of the present application;
[0022] Figure 6 This is another partial structural diagram of a hard disk module hot-swappable server provided by an embodiment of the present application;
[0023] Figure 7 A flowchart of a method for hot-swapping a hard disk module provided in an embodiment of the present application;
[0024] Figure 8 A flowchart of a method for hot-swapping a hard disk module according to another embodiment of the present application is provided;
[0025] Figure 9 A flowchart of a method for hot-swapping a hard disk module according to another embodiment of the present application is provided;
[0026] Figure 10 A flowchart of a method for hot-swapping a hard disk module according to another embodiment of the present application is provided;
[0027] Figure 11 A schematic diagram of the structure of a hard disk module hot-swap management system provided in an embodiment of the present application;
[0028] Figure 12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0029] Reference numerals:
[0030] 1. Server body; 2. Hot-swap interface; 3. Hard disk module; 4. Support frame; 41. First through hole; 42. Second through hole; 43. Third through hole; 5. Drive screw; 6. Motor; 7. First connecting plate; 71. Second contact sensor; 8. Second connecting plate; 9. Mounting seat; 91. Mounting groove; 10. First elastic member; 11. Magnetic connector; 12. Third connecting plate; 121. First contact sensor; 13. Shielding plate; 14. Support plate; 15. First wedge plate; 16. First square plate; 17. Second square plate; 18. Second elastic member; 19. Second wedge plate. DETAILED DESCRIPTION
[0031] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0032] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0033] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0034] See also Figure 1 、 Figure 2 An embodiment of the present application provides a hard disk module hot-swappable server, comprising: a server body 1, a support frame 4, a linear drive mechanism, and a mounting assembly; the server body 1 is provided with a plurality of hot-swappable interfaces 2, and the support frames 4 are arranged one-to-one at the hot-swappable interfaces 2; the linear drive mechanism is installed on the support frame 4, and the mounting assembly is connected to the output end of the linear drive mechanism and is used to reciprocate under the drive of the linear drive mechanism; the mounting assembly is used to place the hard disk module 3, and under the drive of the linear drive mechanism, the hard disk module 3 is inserted into or removed from the server body 1.
[0035] In this embodiment, the server body 1 is the main computing and storage unit of the server. A plurality of hot-swap interfaces 2 are integrated on the server body 1. The plurality of hot-swap interfaces 2 are arranged at intervals inside the server body 1 to provide the power supply, data signal and management channel required by the hard disk module 3; and the hot-swap interface 2 allows the hard disk module 3 to be safely connected or disconnected while the server remains powered on and running. A plurality of support frames 4 are installed at the bottom of the server body 1, and the plurality of support frames 4 are arranged one by one at the plurality of hot-swap interfaces 2. Two adjacent support frames 4 can be connected by a plug rod, specifically, the two ends of the plug rod are plugged into the inside of the two support frames 4 by an interference fit, and specifically, the plug rods of different lengths can be replaced according to the distance between the two hot-swap interfaces 2, so that the support frame 4 is more stably arranged at the hot-swap interface 2. The support frame 4 provides a stable installation platform for the linear drive mechanism and the mounting assembly, ensuring that the mechanism is firmly connected to the server body 1. After aligning the support frame 4 with the hot-swap interface 2, it can also ensure that the motion trajectory of the linear drive mechanism and the mounting assembly is aligned with the hot-swap interface 2 on the server body 1, so that the hard disk module 3 can be smoothly and accurately inserted into the hot-swap interface 2.
[0036] The linear drive mechanism is mounted on the support frame 4, and the mounting assembly is connected to the output end of the linear drive mechanism. The linear drive mechanism provides driving force to the mounting assembly, causing the mounting assembly to reciprocate under the drive of the linear drive mechanism. The mounting assembly is used to carry the hard disk module 3. The hard disk module 3 is mounted on the mounting assembly. After the linear drive mechanism receives a control instruction, the linear drive mechanism is started and provided with driving force by the linear drive mechanism, so that the mounting assembly drives the hard disk module 3 along the support frame 4 toward the server body 1, and the hard disk module 3 is aligned with the hot-swap interface 2 on the server body 1, thereby inserting the hard disk module 3 into the server body 1 to achieve insertion of the hard disk module 3.
[0037] When the hard disk module 3 needs to be removed from the server body 1, the hard disk module 3 is mounted on the mounting base, and the linear drive mechanism provides driving force to move the mounting assembly away from the server body 1, thereby removing the hard disk from the server body 1. The cooperation between the linear drive structure and the mounting assembly enables automatic insertion and removal of the hard disk module 3, thus avoiding the situation where the hard disk module 3 is misplaced or not inserted properly due to manual insertion and removal, thereby ensuring the normal use of the hard disk module hot-swappable server.
[0038] See also Figure 3 、 Figure 4 In one embodiment, the linear drive mechanism includes a motor 6, a transmission screw 5 and a first connecting plate 7, one end of the transmission screw 5 is transmission-connected to the output shaft of the motor 6; the first connecting plate 7 is arranged on the transmission screw 5 and reciprocates along the transmission screw 5; the mounting assembly includes a second connecting plate 8, a mounting seat 9 and a magnetic connector 11, the second connecting plate 8 is connected to the first connecting plate 7 and is located above the support frame 4; the second connecting plate 8 is provided with a mounting hole, the mounting seat 9 is slidably arranged in the mounting hole, and the mounting seat 9 is provided with a mounting groove 91, and the mounting groove 91 forms an opening at one end facing the hot plug interface 2; the magnetic connector 11 is arranged on the side of the second connecting plate 8 facing the hot plug interface 2 and is located above the mounting seat 9.
[0039] In this embodiment, the linear drive mechanism is composed of a motor 6, a transmission screw 5 and a first connecting plate 7; the motor 6 is arranged on the side of the support frame 4 close to the server body 1, and is used to provide rotational power; when the motor 6 receives a control instruction, it can drive the output shaft to rotate forward or reverse. One end of the transmission screw 5 is connected to the output shaft of the motor 6, and the outer surface of the transmission screw 5 is provided with an external thread. The first connecting plate 7 is sleeved on the transmission screw 5, and an internal thread matching the external thread is provided on the first connecting plate 7, so that the first connecting plate 7 can perform reciprocating linear motion along the transmission screw 5. A first through hole 41 is provided on the support frame 4 along the length direction of the support frame 4, and part of the first connecting plate 7 extends from the first through hole 41 to the top of the support frame 4, so as to facilitate the fixing of the mounting assembly to the first connecting plate 7.
[0040] The mounting assembly consists of a second connecting plate 8, a mounting seat 9 and a magnetic connector 11; the second connecting plate 8 is connected to the first connecting plate 7 and moves linearly with the first connecting plate 7. The second connecting plate 8 is located above the support frame 4 and is the mounting base for the mounting seat 9 and the magnetic connector 11. A mounting hole is provided on the second connecting plate 8, and the mounting hole passes through the second connecting plate 8. The mounting seat 9 is arranged in the mounting hole and corresponds to the hot-swap interface 2, and under the action of the driving force, the mounting seat 9 slides in the mounting hole. A mounting groove 91 that matches the shape of the hard disk module 3 is provided on the mounting seat 9, and an opening is formed at one end of the mounting groove 91 facing the hot-swap interface 2, so that the hard disk module 3 can be placed into the mounting seat 9 from the opening of the mounting groove 91.
[0041] A magnetic connector 11 is provided on the side of the second connecting plate 8 facing the hot-swap port 2 and positioned above the mounting base 9. When the hard drive module 3 is mounted on the mounting base 9, the magnetic connector 11 can be activated to attract the hard drive module 3, thereby securing the hard drive module 3. Furthermore, a first elastic member 10 is provided between the second connecting plate 8 and the mounting base 9. One end of the first elastic member 10 is connected to the mounting base 9, and the other end is connected to the side of the second connecting plate 8 facing away from the hot-swap port 2, thereby connecting the second connecting plate 8 to the mounting base 9.
[0042] During the process of inserting the hard disk module 3 into the hot-swap interface 2, the motor 6 is started by a control instruction to provide a driving force to drive the transmission screw 5 to rotate; through the cooperation between the transmission screw 5 and the first connecting plate 7, the first connecting plate 7 drives the second connecting plate 8 to move in a straight line toward the server body 1, and the hard disk module 3 is aligned with the hot-swap interface 2 on the server body 1, so that the hard disk module 3 is inserted into the hot-swap interface 2. When the mounting seat 9 moves to the server body 1 and contacts the server body 1, the first connecting plate 7 can continue to move under the action of the driving force, thereby stretching the first elastic member 10 to enable the second connecting plate 8 to continue to move toward the server body 1; after the hard disk module 3 is fully inserted into the interior of the hot-swap interface 2, the magnetic connector 11 is closed to achieve the connection between the hard disk module 3 and the hot-swap interface 2; at this time, the first elastic member 10 returns to its natural length.
[0043] During the process of pulling out the hard disk module 3 from the hot-swap interface 2, the second connecting plate 8 is moved to the server body 1, and the magnetic connector 11 is turned on, so that the hard disk module 3 is installed on the mounting seat 9 and connected to the magnetic connector 11; then the motor 6 is controlled to start to provide a reverse driving force to drive the transmission screw 5 to rotate in the opposite direction, so that the mounting seat 9 moves away from the server body 1, thereby pulling the hard disk module 3 out of the hot-swap interface 2.
[0044] It is understandable that the first elastic member 10 can be a spring, etc., which is not specifically limited; the magnetic connecting member 11 can be a magnetic plate; the magnetic plate and the hard disk module 3 can have a large contact area, thereby ensuring the stability of the installation of the hard disk module 3.
[0045] See also Figure 5 In one embodiment, a third connecting plate 12 is further provided on the support frame 4, and the third connecting plate 12 is fixedly set on the support frame 4. A first contact sensor 121 is provided on the side of the third connecting plate 12 facing the mounting seat 9, and a second contact sensor 71 is provided on the side of the first connecting plate 7 facing the hot plug interface 2. When the first connecting plate 7 moves to the third connecting plate 12, the first contact sensor 121 abuts against the second contact sensor 71.
[0046] In this embodiment, a third connecting plate 12 is fixedly mounted on the support frame 4 and is positioned near the server body 1. When the first connecting plate 7 moves toward the server body 1, the third connecting plate 12 prevents the first connecting plate 7 from moving excessively toward the server body 1, thereby preventing damage to the server body 1. A through hole is provided in the third connecting plate 12, and the transmission screw 5 is disposed within the through hole. A first contact sensor 121 is provided on the side of the third connecting plate 12 facing the mounting seat 9, while a second contact sensor 71 is provided on the side of the first connecting plate 7 facing the hot-swap interface 2. The first contact sensor 121 and the second contact sensor 71 correspond to each other. When the motor 6 drives the transmission screw 5 to rotate, the rotation of the transmission screw 5 can drive the first connecting plate 7 to move horizontally along the transmission screw 5 toward the server body 1; when the first connecting plate 7 moves to the third connecting plate 12 and contacts the third connecting plate 12, the first contact sensor 121 and the second contact sensor 71 abut against each other. At this time, a level change signal is generated by the two contact sensors, and the level change signal is sent to the control center in real time. The control center cuts off the power supply of the motor 6 to stop the motor 6 from moving, thereby preventing the first connecting plate 7 from excessive movement and damaging the server body 1.
[0047] The first contact sensor 121 and the second contact sensor 71 may be physical contact switches, such as micro switches, travel switches or probe-type contact sensors, etc., which may be set according to actual needs without specific limitations.
[0048] In the related art, the hot-swap interface 2 is often directly exposed on the front of the server body 1 to facilitate the plugging and unplugging of the hard disk module 3, which easily leads to dust accumulation in the hot-swap interface 2 and damages the hot-swap interface 2.
[0049] See also Figure 6 In one embodiment, the support frame 4 is also provided with a baffle 13 for blocking the hot-swap interface 2. The baffle 13 is arranged on one end of the support frame 4 close to the hot-swap interface 2; a driving component is provided at the bottom of the baffle 13 for driving the baffle 13 to move horizontally.
[0050] In this embodiment, a second through-hole 42 is provided on the support frame 4 along its width, and is located at an end proximal to the server body 1. A shielding plate 13 is also provided on the support frame 4, which can block the hot-swap interface 2. The shielding plate 13 is disposed within the second through-hole 42, such that the shielding plate 13 is disposed on the end of the support frame 4 proximal to the hot-swap interface 2 and can move horizontally within the second through-hole 42 to open or close the hot-swap interface 2. A drive assembly is also provided at the bottom of the shielding plate 13, which applies a driving force to cause the shielding plate 13 to move horizontally within the second through-hole 42. Before the hard disk module 3 is inserted into the server body 1, the baffle 13 is set in front of the hot-swap interface 2 to block the hot-swap interface 2; when the hard disk module 3 needs to be inserted into the hot-swap interface 2, the linear drive mechanism provides a driving force so that the mounting seat 9 drives the hard disk module 3 to move toward the server body 1; at this time, the drive component also provides a driving force to move the baffle 13 in the second through hole 42 to leak out the hot-swap interface 2, thereby realizing the insertion of the hard disk module 3. When the hard disk module 3 is pulled out from the hot-swap interface 2, the baffle 13 will automatically move to the hot-swap interface 2 under the action of the drive component and close the hot-swap interface 2 again. By setting the baffle 13 at the hot-swap interface 2, the hot-swap interface 2 is prevented from being exposed to the outside, and dust can be effectively prevented from accumulating in the hot-swap interface 2 to avoid damage to the hot-swap interface 2.
[0051] In one embodiment, the drive assembly includes a support plate 14, which is arranged at the bottom of the shielding plate 13; a first wedge plate 15, which is arranged at the bottom of the support plate 14; a second wedge plate 19, which is arranged on the side of the first connecting plate 7 close to the shielding plate 13, and the second wedge plate 19 is adapted to the first wedge plate 15; a first square plate 16, which is arranged on one side of the shielding plate 13 along the width direction of the shielding plate 13; a second square plate 17, which is arranged on the support frame 4 and is located on the other side of the shielding plate 13 along the width direction of the shielding plate 13; and a second elastic member 18, which is arranged between the first square plate 16 and the second square plate 17.
[0052] In this embodiment, the bottom of the shielding plate 13 is fixedly connected to a support plate 14, to which a first wedge plate 15 is fixedly connected. A second wedge plate 19 is fixedly connected to the side of the first connecting plate 7 near the shielding plate 13. The second wedge plate 19 is adapted to fit the first wedge plate 15 and can move with the movement of the first connecting plate 7. A first square plate 16 is provided on the shielding plate 13 along its width and fixed to its outer side. A second square plate 17 is provided on the support frame 4 and located on the other side of the shielding plate 13 along its width. A second elastic member 18 is provided between the first square plate 16 and the second square plate 17, connecting the first and second square plates 16 and 17. When the hard drive assembly is not inserted into the hot-swap interface 2, the shielding plate 13 is positioned at the hot-swap interface 2 to prevent dust from contaminating the interface 2. When the hard disk module 3 needs to be inserted into the hot-swap interface 2, the linear drive mechanism provides driving force to move the hard disk module 3 toward the server body 1. The second wedge plate 19 first squeezes the first wedge plate 15 to move to the side. The movement of the first wedge plate 15 drives the shielding plate 13 to move accordingly and stretch the second elastic member 18, thereby revealing the hot-swap interface 2. The first connecting plate 7 then continues to move toward the server body 1, completely inserting the hard disk module 3 into the hot-swap interface 2. After the hard disk module 3 is removed from the hot-swap interface 2, the shielding plate 13 automatically resets under the action of the second elastic member 18 to block the hot-swap interface 2. The entire process does not require the intervention of manual labor or other electrical components, preventing staff from forgetting to block the hot-swap interface 2. The second elastic member 18 can be a spring, etc.
[0053] In other possible implementations, a third through hole 43 is provided on the end face of the support plate 14 on one side close to the server body 1. During the movement of the first connecting plate 7 toward the server body 1, the second wedge plate 19 can extend out of the support frame 4 through the third through hole 43 to ensure that during the insertion of the hard disk module 3 into the hot-swap interface 2, the second wedge plate 19 always exerts a force on the first wedge plate 15, so that the baffle plate 13 is located on one side of the hot-swap interface 2, preventing the baffle plate 13 from interfering with the insertion of the hard disk module 3 into the hot-swap interface 2.
[0054] In the related art, during the automatic control and monitoring of the hot plugging of the hard disk module 3 in the server, it is often only possible to monitor the basic plugging and unplugging status, and it is impossible to monitor the changes in key parameters such as power supply and signal in real time. For example, during the plugging and unplugging process of the hard disk module 3, it is impossible to accurately monitor power supply fluctuations, signal interference, etc., which may lead to safety hazards in hot plugging operations. Secondly, in the case of multiple hard disk modules 3 and multiple hot plug interfaces 2, it is difficult for traditional servers to achieve efficient load balancing. When the load of a hot plug interface 2 or hard disk module 3 is too high, the server cannot dynamically adjust the load distribution, which may cause some interfaces or modules to be overloaded, affecting the overall performance. The control logic of traditional servers is relatively simple and lacks intelligent decision-making capabilities. For example, during the plugging and unplugging process of the hard disk module 3, the server cannot predict potential faults based on real-time monitoring data, nor can it automatically optimize the plugging and unplugging sequence and resource allocation according to the load conditions.
[0055] Based on this, an embodiment of the present application further provides a hard disk module hot-swap management method, and the method is described in detail in conjunction with the execution process of the hard disk module hot-swap management method.
[0056] Combined participation Figure 7 The embodiment of the present application provides a hard disk module hot-swap management method, which is applied to a hard disk module hot-swap server, comprising the following steps:
[0057] Step S100: Acquire parameter information of the hard disk module 3 during the hot swap process; the parameter information at least includes power fluctuation, signal interference, etc.
[0058] In step S100, refer to Figure 8 , specifically including the following steps:
[0059] Step S110: sampling the voltage of the hot-swap interface 2 multiple times within a target time period to obtain multiple voltage values;
[0060] Step S120: Calculate an average voltage value of the hot-swap interface 2 based on the multiple voltage values;
[0061] Step S130: Calculate the power fluctuation value of the hot-swap interface 2 within the target time period based on the average voltage value and in combination with the power fluctuation monitoring formula;
[0062] Step S140: Obtain the signal power and noise power of the hot-swap interface 2;
[0063] Step S150: Calculate the signal-to-noise ratio of the hot-swap interface 2 based on the signal power and the noise power in combination with a signal-to-noise ratio formula.
[0064] In this embodiment, high-precision sensors are integrated on the hot-swap interface 2 and the hard disk module 3 of the server body 1, specifically voltage sensors and signal sensors. The voltage sensor is used to collect the voltage signal at the hot-swap interface 2 in real time, and the signal sensor is used to monitor the signal power and noise power to obtain key parameters such as power supply fluctuations and signal interference. Specifically, the voltage of the hot-swap interface 2 can be sampled multiple times within a target time period to obtain multiple voltage values; The target time period can be set according to actual needs. Then, the average voltage of the hot-swap interface 2 is calculated based on multiple voltage values. The calculation formula is: Combined with the power fluctuation monitoring formula, the power fluctuation value of hot-swap interface 2 during the target time period is calculated to reflect the stability of the power supply. The power fluctuation monitoring formula is:
[0065]
[0066] in, Indicates power fluctuation value; Represents the voltage value of the i-th sampling point; represents the average voltage value; n represents the number of sampling points.
[0067] Furthermore, the signal power and noise power of the hot-swap interface 2 are obtained by a signal sensor, and the signal-to-noise ratio of the hot-swap interface 2 is calculated in combination with the signal-to-noise ratio formula, thereby evaluating the interference degree of the signal of the hot-swap interface 2. The signal-to-noise ratio formula is:
[0068]
[0069] in, Indicates the signal-to-noise ratio of hot-swap interface 2; Indicates the signal power of hot-swap interface 2; Indicates the noise power of hot-swap interface 2.
[0070] After pre-processing, the real-time collected data such as voltage value, signal power, noise power, etc. can be sent to the control center through a communication interface (such as USB, Ethernet, etc.), thereby providing data support for subsequent load balancing and intelligent decision-making.
[0071] Step S200: Adjust the load distribution of the server based on the parameter information.
[0072] In step S200, refer to Figure 9 , specifically including the following steps:
[0073] Step S210: Calculate the load evaluation value of the hot-swap interface 2 based on the load balancing algorithm;
[0074] Step S220: Calculate the load distribution of the server based on the load evaluation value.
[0075] In this embodiment, after the control center receives the pre-processed voltage value, signal power, noise power and other data, it starts to calculate the load evaluation value of each hot plug interface 2 and hard disk module 3. The expression for calculating the load evaluation value of the hot plug interface 2 is:
[0076]
[0077] in, is the computational effort of the i-th task on the j-th hot-swap interface 2 or hard disk module 3; is the total measurement of the j-th hot-swap interface 2 or hard disk module 3; is the load evaluation value of the jth hot-swap interface 2 or hard disk module 3; m is the number of tasks.
[0078] Assume that there are p hot-swap interfaces 2 and hard disk modules 3 in the server, and each hard disk module 3 has m tasks. The computational cost of the i-th task on the j-th hard disk module 3 is , the total computational effort of the hard disk module 3 is Then, the load evaluation value of each hard disk module 3 can be calculated according to the load evaluation formula .
[0079] For example, there are two hot-swappable interfaces 2, hard disk modules A and B. There are two tasks on hard disk module A, and the computational load is , the total amount of calculation ; There are two tasks on the hard disk module B, and the computational load is , the total amount of calculation The load evaluation value of hard disk module A is , the load evaluation value of hard disk module B is .
[0080] Furthermore, the load distribution of the server is calculated according to the load evaluation value; the expression for calculating the load distribution of the server is:
[0081]
[0082] in, is the load evaluation value of the kth hot-swap interface 2 or hard disk module 3; is the load adjusted from the jth hot-swap interface 2 or hard disk module 3 to the kth hot-swap interface 2 or hard disk module 3; and p is the total number of hot-swap interfaces 2 or hard disk modules 3.
[0083] In the above example, , from the module Adjust to module The load is , that is, the control center will transfer the task equivalent to 0.2 load on hard disk module B to hard disk module A to achieve load balancing, ensure that the load of each hard disk module 3 is within a reasonable range, and avoid overloading of some hard disk modules 3.
[0084] Step S300: Based on the parameter information and load distribution, predict potential failures of the server and optimize the plugging and unplugging sequence and / or resource configuration of the hard disk module 3.
[0085] In step S300, refer to Figure 10 , specifically including the following steps:
[0086] Step S310: Calculate the server failure prediction probability based on the power supply fluctuation value, the signal-to-noise ratio, and the load evaluation value;
[0087] Step S320: Calculate the optimal resource allocation solution for the server based on the predicted failure probability and the current load of the hot-swap interface 2;
[0088] Step S330: Optimize the plugging and unplugging sequence and / or resource configuration of the hard disk module 3 based on the optimal resource configuration solution.
[0089] In this embodiment, after determining the power fluctuation value, signal-to-noise ratio, and load evaluation value in the control center, the failure prediction probability of the server can be calculated in combination with the failure prediction formula. The calculation formula is:
[0090]
[0091] in, represents the failure prediction probability; 、 、 Indicates the weight coefficient. The weight coefficient can be set according to actual needs.
[0092] For example, the power fluctuation value of a certain hard disk module 3 , signal-to-noise ratio , load evaluation value ,set up 、 、 , then the failure prediction probability of the hard disk module 3 is .
[0093] After calculating the failure prediction probability, the optimal resource allocation scheme of the server is calculated in combination with the current load of the hot-swap interface 2. Then, the plugging and unplugging sequence and / or resource allocation of the hard disk module 3 are optimized according to the optimal resource allocation scheme. The calculation formula of the optimal resource allocation scheme is:
[0094]
[0095] in, represents the optimal resource allocation plan; Indicates the target load value; Indicates the penalty coefficient. The target load value can be set as required.
[0096] For example, if a hot-swap port 2 or hard drive module 3 is detected to have a high predicted failure probability and its load exceeds the target load, the control center prioritizes unplugging that hard drive module 3 while distributing its load to other hard drive modules 3 with lower loads and lower predicted failure probabilities. When optimizing resource allocation, the optimal resource allocation solution is determined by minimizing the sum of the squares of load deviations from the target value and the weighted sum of predicted failure probabilities, thereby improving the system's intelligence and reliability.
[0097] In other feasible implementations, the control center, as the core of the entire hot-swappable server, undertakes the important tasks of data reception, processing, and command transmission. The control center first receives various monitoring data through the communication interface, including information such as power supply fluctuations, signal interference, and the load of each hard disk module 3.
[0098] Then, the control center can process the load data according to the load assessment formula and the adjustment formula, calculate the load assessment value of each hard disk module 3, and determine the load adjustment strategy; at the same time, use the fault prediction formula and the calculation formula of the optimal resource allocation plan to analyze the potential failure risk of the server and formulate the optimal plug-in and unplugging sequence and resource allocation plan.
[0099] Finally, the control center sends the processed results, such as load adjustment instructions and plug-in and plug-out operation instructions, to the server through a dedicated control interface to ensure that the server can accurately perform the corresponding hot-plug operations.
[0100] Step S400: Based on the optimized plugging and unplugging sequence and / or resource configuration of the hard disk module 3, control the hard disk module 3 to be plugged into the server.
[0101] In step S400, the server performs hot-swap operations, including inserting and removing the hard disk module 3, according to the optimized insertion and removal sequence and / or resource configuration of the hard disk module 3 and in accordance with the instructions of the control center. When the server performs the hard disk module 3 insertion operation, the control center issues an instruction to insert the hard disk module 3, and the motor 6 starts to provide a driving force to drive the transmission screw 5 to rotate. Through the cooperation of the transmission screw 5 and the first connecting plate 7, the first connecting plate 7 drives the second connecting plate 8 to move in a straight line toward the server body 1, and the hard disk module 3 is aligned with the hot-swap interface 2 on the server body 1, so that the hard disk module 3 is inserted into the hot-swap interface 2. When the mounting seat 9 moves to the server body 1 and contacts the server body 1, the first connecting plate 7 can continue to move under the action of the driving force, thereby stretching the first elastic member 10 and causing the second connecting plate 8 to continue to move toward the server body 1. After the hard disk module 3 is fully inserted into the hot-swap interface 2, the magnetic connector 11 is closed to achieve the connection between the hard disk module 3 and the hot-swap interface 2.
[0102] During the movement of hard drive module 3, power fluctuations and signal interference are monitored in real time. The control center ensures that the inserted hard drive module 3 is assigned to the hot-swap interface 2 with the lowest load based on the calculated load assessment value. For example, if the load assessment indicates that the load on hot-swap interface 2 is low, the control center will instruct the server to accurately insert hard drive module 3 into that hot-swap interface 2.
[0103] When the server performs a hard drive module 3 removal operation, it first determines whether the hard drive module 3 has a high predicted probability of failure or an abnormal load. The control center then sends a removal command to the server. During the removal process, the first connecting plate 7 first drives the second wedge plate 19 to move relative to the server body 1. The interaction between the second wedge plate 19 and the first wedge plate 15 pushes the shield plate 13 to move horizontally, revealing the hot-swap interface 2. The second connecting plate 8 is then moved to the server body 1, and the magnetic connector 11 is activated, allowing the hard drive module 3 to be installed on the mounting seat 9 and connected to the magnetic connector 11. The motor 6 is then controlled to start, providing a reverse driving force to drive the transmission screw 5 in the opposite direction, causing the mounting seat 9 to move away from the server body 1, thereby removing the hard drive module 3 from the hot-swap interface 2. Once the hard drive module 3 is fully removed, the shield plate 13 automatically resets under the action of the second elastic member 18, blocking the hot-swap interface 2 and preventing dust from entering.
[0104] During load adjustment, if the load evaluation value of the hot-swap interface 2 hard disk module A is (Higher than target load value , the load evaluation value of hard disk module B is (lower than the target load value). The control center calculates the load that needs to be adjusted from hard disk module A to hard disk module B based on the load balancing adjustment formula. , and sends load adjustment instructions to the server.
[0105] After receiving the instruction, the server will adjust the task allocation and transfer some tasks on hard disk module A to hard disk module B. On the other hand, if the load of hard disk module A is too high due to performance problems of hard disk module 3, the control center will instruct the server to unplug the hard disk module 3 and insert a new hard disk module 3. At the same time, the load of the new hard disk module 3 will be included in the server load balancing calculation to ensure that the load of the entire server is in a balanced state.
[0106] The hot-swappable hard drive module server and management method provided herein utilizes a motor 6 to drive a transmission screw 5, which drives a first connecting plate 7, to insert and remove the hard drive module 3, preventing misalignment caused by manual operation. A contact sensor then automatically positions the hard drive module 3 to ensure proper insertion and removal. Through the mechanical linkage of a first wedge plate 15, a second wedge plate 19, and a second elastic member 18, the shielding plate 13 is automatically pushed open to expose the hot-swappable interface 2 when a hard drive is inserted. When the hard drive module 3 is removed, the shielding plate automatically resets and blocks the interface, preventing dust from contaminating the interface. No electrical control is required.
[0107] Furthermore, by integrating high-precision sensors and combining power fluctuation formulas and signal-to-noise ratio formulas, key parameters such as power fluctuations and signal interference are monitored in real time. Furthermore, a load assessment formula and adjustment algorithm are used to automatically allocate tasks based on real-time load data to avoid overloading of the hot-swap interface 2 or hard disk module 3. Then, through a fault prediction formula and resource optimization configuration algorithm, potential faults are predicted in combination with monitoring data and load conditions, and the plug-in sequence and resource allocation are automatically optimized. This allows accurate monitoring of power fluctuations, signal interference, and other conditions, reducing the potential safety hazards of hot-swap operations, dynamically adjusting load distribution, avoiding overloading of some interfaces or modules, predicting potential faults based on real-time monitoring data, and automatically optimizing the plug-in sequence and resource allocation based on load conditions. This application combines a mechanical structure with an intelligent algorithm to achieve automatic plug-in and unplugging of the hard disk module 3, interface self-protection, multi-dimensional status monitoring, dynamic load balancing, and fault prediction, solving the problems of low plug-in reliability, lack of interface protection, and insufficient intelligence in traditional hot-swap servers. This enables the server to achieve automatic plug-in and unplugging of the hard disk module 3, dynamic load adjustment, and intelligent prediction and processing of faults, thereby improving the reliability and efficiency of the server.
[0108] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0109] See also Figure 11 , an embodiment of the present application further provides a hard disk module hot-swap management device, comprising:
[0110] An acquisition module 100 is used to obtain parameter information of the hard disk module 3 during the hot swap process;
[0111] An adjustment module 200, configured to adjust the load distribution of the server based on the parameter information;
[0112] The optimization module 300 is used to predict potential server failures based on parameter information and load distribution, and optimize the plugging and unplugging sequence and / or resource allocation of the hard disk module 3;
[0113] The control module 400 is configured to control the hard disk module 3 to be plugged into or removed from the server based on the optimized plugging and unplugging sequence and / or resource configuration of the hard disk module 3 .
[0114] In one embodiment, the acquisition module 100 includes:
[0115] A first acquisition unit is configured to sample the voltage of the hot-swap interface 2 multiple times within a target time period to obtain multiple voltage values;
[0116] A first calculation unit, configured to calculate an average voltage value of the hot-swap interface 2 based on multiple voltage values;
[0117] A second calculation unit is used to calculate the power fluctuation value of the hot-swap interface 2 within the target time period based on the average voltage value and in combination with the power fluctuation monitoring formula;
[0118] A second acquisition unit, configured to acquire the signal power and noise power of the hot-swap interface 2;
[0119] The third calculation unit is configured to calculate the signal-to-noise ratio of the hot-swap interface 2 based on the signal power and the noise power in combination with a signal-to-noise ratio formula.
[0120] In one embodiment, the adjustment module 200 includes:
[0121] A fourth calculation unit, configured to calculate a load evaluation value of the hot-swap interface 2 based on a load balancing algorithm;
[0122] The fifth calculation unit is used to calculate the load distribution of the server based on the load evaluation value.
[0123] In one embodiment, the optimization module 300 includes:
[0124] a sixth calculation unit, configured to calculate a failure prediction probability of the server based on the power supply fluctuation value, the signal-to-noise ratio, and the load evaluation value;
[0125] a seventh calculation unit, configured to calculate an optimal resource allocation scheme for the server based on the predicted probability of failure and the current load of the hot-swap interface 2;
[0126] The optimization unit is used to optimize the plugging and unplugging sequence and / or resource configuration of the hard disk module 3 based on the optimal resource configuration solution.
[0127] For the description of the features in the embodiment corresponding to the hard disk module hot-swap management device, please refer to the relevant description of the embodiment corresponding to the hard disk module hot-swap management method, which will not be repeated here.
[0128] The embodiment of the present application also provides an electronic device, such as Figure 12 As shown, it includes a memory 1010 and a processor 1020. The memory 1010 stores a computer program, and the processor 1020 is configured to run the computer program to execute the steps in any of the above-mentioned hard disk module hot-swap management method embodiments.
[0129] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above-mentioned hard disk module hot-swap management method embodiments when running.
[0130] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0131] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned hard disk module hot-swap management method embodiments are implemented.
[0132] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-mentioned hard disk module hot-swap management method embodiments.
[0133] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0134] The above is a detailed introduction to a hard disk module hot-swappable server and its management method provided by this application. This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the scope of protection of the claims of this application.
Claims
1. A server with hot-swappable hard disk modules, characterized in that: include: A server body (1), a support frame (4), a linear drive mechanism, and a mounting assembly; The server body (1) is provided with a plurality of hot-swap interfaces (2), and the support frames (4) are arranged at the hot-swap interfaces (2) in a one-to-one correspondence; The linear drive mechanism is mounted on the support frame (4), and the mounting assembly is connected to the output end of the linear drive mechanism and is used for reciprocating motion under the drive of the linear drive mechanism; The mounting assembly is used to place a hard disk module (3), and under the drive of the linear drive mechanism, the hard disk module (3) is inserted into or removed from the server body (1); The linear drive mechanism comprises a motor (6), a transmission screw (5) and a first connecting plate (7), one end of the transmission screw (5) being in transmission connection with an output shaft of the motor (6); the first connecting plate (7) is arranged on the transmission screw (5) and reciprocates along the transmission screw (5); The mounting assembly comprises a second connecting plate (8), a mounting seat (9) and a magnetic connector (11), wherein the second connecting plate (8) is connected to the first connecting plate (7) and is located above the support frame (4); The second connecting plate (8) is provided with a mounting hole, the mounting seat (9) is slidably arranged in the mounting hole, the mounting seat (9) is provided with a mounting groove (91), and the mounting groove (91) forms an opening toward one end of the hot plug interface (2); The magnetic connection member (11) is arranged on a side of the second connection plate (8) facing the hot plug interface (2) and is located above the mounting seat (9); The support frame (4) is further provided with a shielding plate (13) for blocking the hot plug interface (2), and the shielding plate (13) is arranged on one end of the support frame (4) close to the hot plug interface (2); a driving component is provided at the bottom of the shielding plate (13) for driving the shielding plate (13) to move horizontally; The driving assembly comprises a support plate (14) arranged at the bottom of the shielding plate (13); A first wedge-shaped plate (15) is arranged at the bottom of the support plate (14); a second wedge-shaped plate (19) disposed on a side of the first connecting plate (7) close to the shielding plate (13), the second wedge-shaped plate (19) being adapted to the first wedge-shaped plate (15); A first square plate (16) is arranged on one side of the shielding plate (13) along the width direction of the shielding plate (13); A second square plate (17) is provided on the support frame (4) and is located on the other side of the shielding plate (13) along the width direction of the shielding plate (13); A second elastic member (18) is provided between the first square plate (16) and the second square plate (17).
2. The hard disk module hot-swap server according to claim 1, characterized in that: The support frame (4) is further provided with a third connecting plate (12), the third connecting plate (12) being fixedly arranged on the support frame (4), a first contact sensor (121) being provided on the side of the third connecting plate (12) facing the mounting seat (9), and a second contact sensor (71) being provided on the side of the first connecting plate (7) facing the hot plug interface (2), and when the first connecting plate (7) moves to the third connecting plate (12), the first contact sensor (121) abuts against the second contact sensor (71).
3. A method for hot-swappable management of a hard disk module, characterized in that: A server for hot-swappable hard disk modules according to any one of claims 1 to 2, comprising: Obtaining parameter information of the hard disk module (3) during the hot swap process; Adjusting the load distribution of the server based on the parameter information; Based on the parameter information and the load distribution, potential failures of the server are predicted, and the plugging and unplugging sequence and / or resource configuration of the hard disk module (3) are optimized; Based on the optimized plugging and unplugging sequence and / or resource configuration of the hard disk module (3), the hard disk module (3) is controlled to be plugged and unplugged into the server.
4. The method for hot-swappable management of a hard disk module according to claim 3, wherein: The parameter information includes at least one of power fluctuation and signal interference; the parameter information of the hard disk module (3) obtained during the hot plugging process includes: Within a target time period, sampling the voltage of the hot plug interface (2) multiple times to obtain multiple voltage values; Calculating an average voltage value of the hot plug interface (2) based on a plurality of the voltage values; Based on the average voltage value and in combination with a power fluctuation monitoring formula, a power fluctuation value of the hot plug interface (2) within the target time period is calculated; Obtaining the signal power and noise power of the hot plug interface (2); The signal-to-noise ratio of the hot-swap interface (2) is calculated based on the signal power and the noise power and in combination with a signal-to-noise ratio formula.
5. The method for hot-swappable management of a hard disk module according to claim 4, wherein: The adjusting the load distribution of the server based on the parameter information includes: Calculating a load evaluation value of the hot plug interface (2) based on a load balancing algorithm; The load distribution of the server is calculated based on the load evaluation value.
6. The method for hot-swappable management of a hard disk module according to claim 5, wherein: The expression for calculating the load evaluation value of the hot plug interface (2) is: The expression for calculating the load distribution of the server is: in, is the computational load of the i-th task on the j-th hot-swap interface (2) or hard disk module (3); is the total amount of the j-th hot-swap interface (2) or hard disk module (3); is the load evaluation value of the jth hot-swap interface (2) or hard disk module (3); m is the number of tasks; is the load evaluation value of the kth hot-swap interface (2) or hard disk module (3); is the load adjusted from the jth hot-swap interface (2) or hard disk module (3) to the kth hot-swap interface (2) or hard disk module (3); and p is the total number of hot-swap interfaces (2) or hard disk modules (3).
7. The method for hot-swappable management of a hard disk module according to claim 5, wherein: The method of predicting potential failures of the server based on the parameter information and the load distribution, and optimizing the plugging and unplugging sequence and / or resource configuration of the hard disk module (3), includes: Calculating a failure prediction probability of the server based on the power supply fluctuation value, the signal-to-noise ratio, and the load evaluation value; Calculating an optimal resource allocation solution for the server based on the predicted failure probability and the current load condition of the hot-swap interface (2); The plugging and unplugging sequence and / or resource configuration of the hard disk module (3) are optimized based on the optimal resource configuration scheme.
Citation Information
Patent Citations
Hard disk hot plug automatic control system and control method
CN115509306A