CN113851155B - Storage device and method for controlling locking of storage - Google Patents
Storage device and method for controlling locking of storage Download PDFInfo
- Publication number
- CN113851155B CN113851155B CN202111094448.0A CN202111094448A CN113851155B CN 113851155 B CN113851155 B CN 113851155B CN 202111094448 A CN202111094448 A CN 202111094448A CN 113851155 B CN113851155 B CN 113851155B
- Authority
- CN
- China
- Prior art keywords
- controller
- storage device
- position detector
- tray
- bmc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000033001 locomotion Effects 0.000 claims abstract description 53
- 230000009467 reduction Effects 0.000 claims description 12
- 230000009471 action Effects 0.000 description 4
- 238000006073 displacement reaction Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B33/00—Constructional parts, details or accessories not provided for in the other groups of this subclass
- G11B33/02—Cabinets; Cases; Stands; Disposition of apparatus therein or thereon
- G11B33/06—Cabinets; Cases; Stands; Disposition of apparatus therein or thereon combined with other apparatus having a different main function
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application discloses a storage device and a method for controlling locking of a storage, wherein the storage device comprises a BMC (baseboard management controller), a storage device frame, a controller tray for fixing a controller, an electric locking part respectively connected with the storage device frame and the controller tray, and a position detector connected with the controller tray. The controller is fixed on the controller tray, and when the controller needs to be removed from the storage device frame, the controller tray is directly removed from the storage device frame. The position detector may be used to detect whether the controller tray is moving, and when movement of the controller tray is detected, the presence of movement of the controller is interpreted, at which point the position detector may feed back movement information to the BMC. The BMC is respectively connected with the position detector and the electric locking component and is used for controlling the electric locking component to lock the controller tray with the storage device frame if motion information fed back by the position detector is received when firmware upgrading is executed, so that a user is prevented from removing the storage controller by mistake.
Description
Technical Field
The application relates to the technical field of data storage, in particular to a storage device and a method for controlling locking of a storage.
Background
The storage system is a system composed of various storage devices storing programs and data, control units, and devices (hardware) and algorithms (software) for managing information scheduling in a computer. The storage device is typically composed of a controller (i.e., motherboard), a backplane, a PCIe (Peripheral Component Interconnect Express, high-speed serial computer expansion bus standard) card, an SSD (Solid State Drives, solid state disk), PSU (Power Supply Unit, power supply device), and the like.
The memory device typically has two controllers that are redundant to each other. The motherboard typically includes a BMC (Baseboard Manager Controller, baseboard management controller), PCIe Switch, SAS Expander, etc. chips that require firmware to perform a specific function. To address the defects (bugs) or newly added functionality that exist with older versions of firmware, the firmware typically needs to be updated. The removal of the controller during the firmware update may cause the firmware update to fail. And the repair controller needs to be returned to a factory or treated by customer service on site, so that the cost is high.
It can be seen that how to prevent users from erroneously removing a storage controller is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application aims to provide a storage device and a method for controlling locking of a storage, which can prevent a user from removing a storage controller by mistake.
In order to solve the technical problems, an embodiment of the present application provides a storage device, including a BMC, a storage device frame, a controller tray for fixing a controller, an electric locking component connected to the storage device frame and the controller tray, and a position detector connected to the controller tray;
and the BMC is respectively connected with the position detector and the electric locking part and is used for controlling the electric locking part to lock the controller tray with the storage equipment frame if motion information fed back by the position detector is received when firmware upgrading is executed.
Optionally, the electric locking component comprises a gear motor provided with a gear and a rack arranged on the inner side of the storage equipment frame; the speed reducing motor is arranged on the controller tray, and the position detector is arranged at the rear end of the speed reducing motor; the gear is meshed with the rack in an initial state;
the position detector is used for feeding back motion information to the BMC when detecting the gear movement of the gear motor;
and the BMC is used for transmitting a modulation signal for controlling the gear motor to reversely rotate to the gear motor according to the motion information so that the controller tray is locked with the storage equipment frame.
Optionally, the BMC is further configured to stop transmitting the modulation signal to the gear motor when the firmware upgrade is completed or an unlock instruction is received.
Optionally, a position detector and a speed reduction motor are respectively arranged at two sides of the controller tray; correspondingly, racks are respectively arranged at positions corresponding to the speed reduction motors on the inner sides of the storage equipment frames.
Optionally, the position detector is an encoder; the encoder is connected with the gear motor.
Optionally, the electric locking component comprises an electric bolt and a groove arranged at a position opposite to the electric bolt on the inner side of the storage equipment frame; the electric bolt is arranged on the side wall of the controller tray;
and the BMC is used for controlling the electric plug pin to be inserted into the groove if the motion information fed back by the position detector is received when firmware upgrading is executed, so that the controller tray is locked with the storage equipment frame.
Optionally, the number of the electric bolts is a plurality of.
Optionally, the BMC is further configured to control the electric latch to move out of the groove when the firmware upgrade is completed or an unlocking instruction is received.
Optionally, an alarm is also included;
and the BMC is connected with the alarm and is used for triggering the alarm to carry out alarm prompt if the motion information fed back by the position detector is received when firmware upgrading is executed.
The embodiment of the application also provides a method for controlling the locking of the memory, which is suitable for the memory device and comprises the following steps:
judging whether motion information fed back by a position detector is received or not when firmware upgrading is executed;
and if the motion information fed back by the position detector is received, controlling the electric locking component to lock the controller tray with the storage equipment frame.
According to the technical scheme, the storage device comprises a BMC, a storage device frame, a controller tray for fixing the controller, an electric locking part connected with the storage device frame and the controller tray respectively, and a position detector connected with the controller tray. The controller is fixed on the controller tray, and when the controller needs to be removed from the storage device frame, the controller tray is directly removed from the storage device frame. The position detector may be used to detect whether the controller tray is moving, and when movement of the controller tray is detected, the presence of movement of the controller is interpreted, at which point the position detector may feed back movement information to the BMC. The BMC is respectively connected with the position detector and the electric locking component and is used for controlling the electric locking component to lock the controller tray with the storage device frame if motion information fed back by the position detector is received when firmware upgrading is executed. According to the technical scheme, the controller is fixed on the controller tray, the controller tray is connected with the storage device frame through the electric locking component, and when the BMC detects that the action of moving out of the controller exists in the firmware upgrading stage, the BMC directly controls the electric locking component to lock the controller tray with the storage device frame, so that a user is prevented from mistakenly removing the storage controller, and smooth completion of firmware upgrading is guaranteed.
Drawings
For a clearer description of embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a schematic diagram of a memory device according to an embodiment of the present application;
fig. 2 is a front view of a structure of an electric locking member according to an embodiment of the present application, which is composed of a gear motor provided with a gear and a rack provided inside a storage device frame;
fig. 3 is a side view of a gear and rack engagement structure of a gear motor according to an embodiment of the present application;
fig. 4 is a flowchart of a method for controlling memory locking according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present application.
The terms "comprising" and "having" and any variations thereof in the description and claims of the application and in the foregoing drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
In order to better understand the aspects of the present application, the present application will be described in further detail with reference to the accompanying drawings and detailed description.
Next, a storage device provided by an embodiment of the present application will be described in detail. Fig. 1 is a schematic structural diagram of a storage device according to an embodiment of the present application, where the storage device includes a BMC11, a storage device frame 12, a controller tray 14 for fixing a controller 13, an electric locking unit 15 connected to the storage device frame 12 and the controller tray 14, and a position detector 16 connected to the controller tray 14.
In the embodiment of the present application, in order to prevent the controller 13 from being erroneously removed during the firmware upgrade stage, the controller 13 may be connected to the storage device frame 12 through the electric locking part 15. In view of the practical application, the difficulty in directly connecting the controller 13 with the electric locking member 15 is relatively high, so that the controller 13 may be fixed on the controller tray 14, thereby connecting the electric locking member 15 with the controller tray 14.
The shape and size of the controller tray 14 may be set according to the shape and size of the controller 13, and the shape and size of the controller tray 14 is not particularly limited herein.
The controller 13 is secured to the controller tray 14 and when it is desired to remove the controller 13 from the storage device frame 12, the controller tray 14 is directly removed from the storage device frame 12. In practical applications, to detect whether there is a movement out of the controller 13, the controller tray 14 may be connected to a position detector 16, and the position detector 16 may be used to detect whether the controller tray 14 is moved, and when detecting that the controller tray 14 is moved, may feed back movement information to the BMC11.
The BMC11 is connected to the position detector 16 and the electric locking unit 15, respectively, and is configured to control the electric locking unit 15 to lock the controller tray 14 and the storage device frame 12 when receiving motion information fed back by the position detector 16 during firmware upgrade.
In the embodiment of the present application, the types of the electric locking part 15 may be various, and the electric locking part 15 may include a gear motor 151 provided with a gear and a rack 152 provided inside the storage device frame 12; the gear motor 151 may be disposed on the controller tray 14, the rack 152 may be tiled inside the storage device frame 12, and the rack 152 may have a limited length, and a front view of the structure thereof may be seen in fig. 2.
In the initial state, the gear of the gear motor 151 is engaged with the rack 152, and when the speed of the gear motor 151 is zero, the gear motor 151 and the storage device frame 12 are in a clamping state, and the gear motor 151 is arranged on the controller tray 14, so that the controller tray 14 and the storage device frame 12 can be in a clamping state.
In practical application, the gear of the gear motor 151 is controlled to move on the rack 152, so that the gear motor 151 can be moved out of the rack 152, and the controller tray 14 can be separated from the storage device frame 12, so that the purpose of moving out the controller tray 14 is achieved. And thus whether the controller tray 14 and the storage device frame 12 clamp gears derived from the gear motor 151 and move. Therefore, in the case where the electric locking member 15 includes the gear motor 151 provided with a gear and the rack gear 152 provided inside the storage device frame 12, the position detector 16 may be provided at the rear end of the gear motor 151, in which case the position detector 16 is used to detect whether or not the gear of the gear motor 151 is moved.
In the initial state, the gear is meshed with the rack 152, the speed reduction motor 151 has no speed, the gear displacement detected by the position detector 16 is zero, once the speed reduction motor 151 has the speed, the gear of the speed reduction motor 151 starts to move, and at this time, the position detector 16 can feed back the detected movement information to the BMC11.
When the BMC11 receives the motion information fed back by the position detector 16, it can learn that the gear of the gear motor 151 is moving, and there is a behavior of moving out of the controller 13. In the firmware upgrade stage, in order to avoid the situation that the controller 13 moves out and causes the firmware upgrade to fail, at this time, the BMC11 may transmit a modulation signal for controlling the reverse rotation of the gear motor 151 to the gear motor 151 according to the motion information, so that the controller tray 14 is locked with the storage device frame 12.
The position detector 16 may be an encoder; the encoder is connected to a gear motor 151. The movement information detected by the position detector 16 may include information of a moving distance, a moving speed, and the like of the speed reduction motor 151. The BMC11 can determine the magnitude of the external force for controlling the gear motor 151 to move forward according to the motion information, so as to transmit a force with the same magnitude in the opposite direction to the gear motor 151, so that the gear of the gear motor 151 is in a relatively static state, and the gear of the gear motor 151 and the rack 152 on the inner side of the storage device frame 12 are kept in a constantly meshed state, thereby achieving the locking effect of the controller tray 14 and the storage device frame 12.
In the embodiment of the present application, the BMC11 transmits a force in an opposite direction to the gear motor 151 in a modulated signal manner. The modulated signal may be a pulse width modulated signal (Pulse Width Modulation, PWM). The manner in which the BMC11 transmits the modulation signal to the gear motor 151 belongs to a relatively mature technology in the prior art, and will not be described in detail herein.
In practical applications, in order to ensure smooth implementation of firmware upgrade, it is only necessary to ensure that the controller 13 is not removed in the firmware upgrade stage, and other stages do not need to monitor and control movement of the controller 13. Thus, at the completion of the firmware upgrade, the BMC11 no longer needs to electrically lock the controller tray 14 to the storage device frame 12.
Therefore, in the embodiment of the present application, when the BMC11 completes the firmware upgrade or receives the unlock command, it may stop transmitting the modulation signal to the gear motor 151.
In practical applications, the firmware upgrade operation may be performed by the BMC11 or by other devices.
When the firmware upgrade operation is performed by the BMC11, the BMC11 may directly stop transmitting the modulation signal to the speed reduction motor 151 after completing the firmware upgrade task.
When the firmware upgrade operation is performed by the other device, the other device may feed back an unlock instruction to the BMC11 after completing the firmware upgrade task, indicating that the firmware upgrade has been completed, without electrically locking the controller tray 14 to the storage device frame 12. When the BMC11 receives the unlock command, it may stop transmitting the modulation signal to the reduction motor 151.
Considering that in practical applications, the gear is moved only when the gear motor 151 is subjected to external force, and the BMC11 transmits a force with the same magnitude in the opposite direction to the gear motor 151, so that the gear of the gear motor 151 is always engaged with the rack 152 inside the storage device frame 12. After BMC11 transmits a force in the opposite direction to gear motor 151, the gears of gear motor 151 will be in an almost stationary state. However, once the external force applied to the gear motor 151 disappears, at this time, if the BMC11 still transmits a force in a reverse direction to the gear motor 151, the gear of the gear motor 151 will move in a reverse direction, at this time, the position detector 16 will detect that there is movement of the gear motor 151, at this time, the position detector 16 may feedback the displacement information to the BMC11 again, which also indicates that the BMC11 does not need to transmit a modulation signal to the gear motor 151 any more. Therefore, in the embodiment of the present application, the unlocking command may be displacement information fed back again to the BMC11 when the position detector 16 detects that there is a movement of the gear motor 151.
In the firmware upgrading stage, a modulation signal is transmitted to the gear motor 151 according to the magnitude of external force applied to the gear motor 151, so that the gear of the gear motor 151 and the rack on the storage device frame 12 are guaranteed to be in a meshed state. Under the condition that firmware upgrade is completed or external force applied to the gear motor 151 disappears, transmission of a modulation signal to the gear motor 151 is stopped timely, and invalid work of BMC11 production is effectively avoided.
In practical applications, in order to ensure that the controller tray 14 and the storage device frame 12 are locked, the position detector 16 and the gear motor 151 may be respectively disposed on two sides of the controller tray 14; accordingly, racks 152 are provided at positions corresponding to the speed reduction motors 151 inside the storage device frame 12, respectively.
In an initial state, the gear is meshed with the rack, and fig. 3 is a side view of a structure of meshing the gear and the rack of the gear motor according to an embodiment of the application. The gear motor 151 is forced to move the gear, and when the gear moves out of the rack, the controller tray 14 is separated from the storage device frame 12, and the controller tray 14 can be moved out of the storage device frame 12. The direction of the gear movement of the gear motor 151 under the action of the external force may be forward along the horizontal line or backward along the horizontal line, and the direction of the movement depends on the direction of the external force, which is not limited herein.
By arranging the gear motors 151 on the two sides of the controller tray 14, the two sides of the controller tray 14 can be meshed with racks on the storage device frame 12 through gears of the gear motors 151, so that the controller tray 14 and the storage device frame 12 can be fastened and connected in an initial state.
In the embodiment of the present application, the electric locking member 15 may be in the form of an electric latch and groove in addition to the form of a reduction motor 151 including a gear and a rack 152. In a specific implementation, the electric locking component 15 may include an electric latch and a groove disposed at a position opposite to the electric latch inside the storage device frame 12; the electric latch is provided on the side wall of the controller tray 14.
In practical applications, the positions of the electric pins and the grooves may be determined according to the direction in which the controller 13 is moved out of the storage device frame 12. Wherein, the straight line formed by the electric bolt and the groove is perpendicular to the direction in which the controller 13 is moved out of the storage device frame 12.
In view of the fact that the controller 13 is typically removed from the storage device frame 12 in a vertically upward direction, a motorized latch may be provided on the side wall of the controller tray 14. When the BMC11 receives the motion information fed back by the position detector 16 during firmware upgrade, the BMC controls the electric plug to be inserted into the groove so as to lock the controller tray 14 with the storage device frame 12.
In order to ensure the locking effect of the controller tray 14 and the storage device frame 12, the number of electric pins may be set to be plural.
In practical applications, in order to ensure smooth implementation of firmware upgrade, it is only necessary to ensure that the controller 13 is not removed in the firmware upgrade stage, and other stages do not need to monitor and control movement of the controller 13. Thus, at the completion of the firmware upgrade, the BMC11 no longer needs to electrically lock the controller tray 14 to the storage device frame 12.
Therefore, in the embodiment of the present application, when the BMC11 completes the firmware upgrade or receives the unlock command, the electric latch can be controlled to move out of the groove.
In practical applications, the firmware upgrade operation may be performed by the BMC11 or by other devices.
When the BMC11 executes the firmware upgrading operation, the BMC11 can directly control the electric bolt to move out of the groove after finishing the firmware upgrading task.
When the firmware upgrade operation is performed by the other device, the other device may feed back an unlock instruction to the BMC11 after completing the firmware upgrade task, indicating that the firmware upgrade has been completed, without electrically locking the controller tray 14 to the storage device frame 12. When the BMC11 receives the unlocking instruction, the electric plug pin can be controlled to move out of the groove.
In practical application, the BMC11 may control the electric latch to be inserted into or removed from the groove through the driving circuit, and the implementation manner thereof belongs to the existing mature technology, which is not described herein.
In the initial state, the electric slot is in a state of moving out of the groove. In the firmware upgrade stage, if it is detected that the controller tray 14 is moved, the BMC11 may control the electric latch to be inserted into the recess, thereby ensuring that the controller 13 is fixed in the storage device frame 12 to ensure smooth execution of firmware upgrade. After the firmware upgrade is completed, the movement of the controller 13 is not limited any more, so the BMC11 can control the power plug to move out of the groove, so that the power plug is restored to the original state.
Considering that in practical applications, the user may not know that the storage device is performing an upgrade operation of firmware, and thus there is a behavior of erroneously removing the controller 13. For this case, an alarm may be provided in the storage device; the BMC11 is connected with the alarm and is used for triggering the alarm to give an alarm prompt if motion information fed back by the position detector is received when firmware upgrading is executed.
The alarm prompting modes can be various, can carry out voice alarm and also can carry out audible and visual alarm.
The alarm is used for alarming, so that a user can know that the current storage device is executing firmware upgrading operation in time, and the operation of moving out of the controller 13 is not supported, and the controller 13 is prevented from being removed by the user by mistake.
According to the technical scheme, the storage device comprises a BMC, a storage device frame, a controller tray for fixing the controller, an electric locking part connected with the storage device frame and the controller tray respectively, and a position detector connected with the controller tray. The controller is fixed on the controller tray, and when the controller needs to be removed from the storage device frame, the controller tray is directly removed from the storage device frame. The position detector may be used to detect whether the controller tray is moving, and when movement of the controller tray is detected, the presence of movement of the controller is interpreted, at which point the position detector may feed back movement information to the BMC. The BMC is respectively connected with the position detector and the electric locking component and is used for controlling the electric locking component to lock the controller tray with the storage device frame if motion information fed back by the position detector is received when firmware upgrading is executed. According to the technical scheme, the controller is fixed on the controller tray, the controller tray is connected with the storage device frame through the electric locking component, and when the BMC detects that the action of moving out of the controller exists in the firmware upgrading stage, the BMC directly controls the electric locking component to lock the controller tray with the storage device frame, so that a user is prevented from mistakenly removing the storage controller, and smooth completion of firmware upgrading is guaranteed.
Fig. 4 is a flowchart of a method for controlling locking of a memory according to an embodiment of the present application, where the method includes:
s401: when the firmware upgrade is executed, whether motion information fed back by the position detector is received is judged.
In the embodiment of the application, in order to prevent the controller from being removed by mistake in the firmware upgrading stage, the controller can be connected with the storage device frame through the electric locking component. In practical application, the difficulty in realizing the connection of the controller and the electric locking component is high, so that the controller can be fixed on the controller tray, and the electric locking component is connected with the controller tray.
The controller is fixed on the controller tray, and when the controller needs to be removed from the storage device frame, the controller tray is directly removed from the storage device frame. In practical applications, to detect whether there is a movement out of the controller, the controller tray may be connected to a position detector, which may be used to detect whether the controller tray is moved, and when it is detected that the controller tray is moved, the BMC may feed back the motion information.
The BMC is connected to the position detector and the electric locking unit, respectively, and if the BMC receives the motion information fed back by the position detector during the firmware upgrade, it indicates that the controller is being moved by mistake during the firmware upgrade stage, and at this time, S402 may be executed.
S402: the control electric locking component locks the controller tray with the storage device frame.
By locking the controller tray with the storage device frame, the controller can be prevented from being removed by mistake in the firmware upgrading stage, and smooth execution of firmware upgrading is ensured.
The description of the features in the embodiment corresponding to fig. 4 may be referred to the related description of the embodiment corresponding to fig. 1, and will not be repeated here.
According to the technical scheme, the storage device comprises a BMC, a storage device frame, a controller tray for fixing the controller, an electric locking part connected with the storage device frame and the controller tray respectively, and a position detector connected with the controller tray. The controller is fixed on the controller tray, and when the controller needs to be removed from the storage device frame, the controller tray is directly removed from the storage device frame. The position detector may be used to detect whether the controller tray is moving, and when movement of the controller tray is detected, the presence of movement of the controller is interpreted, at which point the position detector may feed back movement information to the BMC. The BMC is respectively connected with the position detector and the electric locking component and is used for controlling the electric locking component to lock the controller tray with the storage device frame if motion information fed back by the position detector is received when firmware upgrading is executed. According to the technical scheme, the controller is fixed on the controller tray, the controller tray is connected with the storage device frame through the electric locking component, and when the BMC detects that the action of moving out of the controller exists in the firmware upgrading stage, the BMC directly controls the electric locking component to lock the controller tray with the storage device frame, so that a user is prevented from mistakenly removing the storage controller, and smooth completion of firmware upgrading is guaranteed.
The above describes a storage device and a method for controlling locking of a storage device provided by the embodiments of the present application in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above describes in detail a memory device and a method for controlling memory locking provided by the present application. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.
Claims (9)
1. The storage device is characterized by comprising a BMC (baseboard management controller), a storage device frame, a controller tray for fixing a controller, an electric locking component respectively connected with the storage device frame and the controller tray, and a position detector connected with the controller tray;
the BMC is respectively connected with the position detector and the electric locking component and is used for controlling the electric locking component to lock the controller tray with the storage equipment frame if motion information fed back by the position detector is received when firmware upgrading is executed;
the electric locking component comprises a gear motor provided with a gear and a rack arranged on the inner side of the storage equipment frame; the speed reducing motor is arranged on the controller tray, and the position detector is arranged at the rear end of the speed reducing motor; the gear is meshed with the rack in an initial state;
the position detector is used for feeding back motion information to the BMC when detecting the gear movement of the gear motor;
and the BMC is used for transmitting a modulation signal for controlling the gear motor to reversely rotate to the gear motor according to the motion information so that the controller tray is locked with the storage equipment frame.
2. The storage device of claim 1, wherein the BMC is further configured to stop transmitting a modulation signal to the gear motor when a firmware upgrade is completed or an unlock instruction is received.
3. The storage apparatus according to claim 1, wherein a position detector and a speed reduction motor are provided on both sides of the controller tray, respectively; correspondingly, racks are respectively arranged at positions corresponding to the speed reduction motors on the inner sides of the storage equipment frames.
4. The storage device of claim 1, wherein the position detector is an encoder; the encoder is connected with the gear motor.
5. The storage device of claim 1, wherein the electrical locking member comprises an electrical latch and a recess disposed inside the storage device frame in a position facing the electrical latch; the electric bolt is arranged on the side wall of the controller tray;
and the BMC is used for controlling the electric plug pin to be inserted into the groove if the motion information fed back by the position detector is received when firmware upgrading is executed, so that the controller tray is locked with the storage equipment frame.
6. The storage device of claim 5, wherein the number of electrically powered pins is a plurality.
7. The memory device of claim 5, wherein the BMC is further configured to control the power latch to move out of the recess upon completion of a firmware upgrade or receipt of an unlock command.
8. The storage device of any one of claims 1 to 7, further comprising an alarm;
and the BMC is connected with the alarm and is used for triggering the alarm to carry out alarm prompt if the motion information fed back by the position detector is received when firmware upgrading is executed.
9. A method of controlling memory locking, adapted to the memory device of any one of claims 1 to 8, the method comprising:
judging whether motion information fed back by a position detector is received or not when firmware upgrading is executed;
and if the motion information fed back by the position detector is received, controlling the electric locking component to lock the controller tray with the storage equipment frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094448.0A CN113851155B (en) | 2021-09-17 | 2021-09-17 | Storage device and method for controlling locking of storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094448.0A CN113851155B (en) | 2021-09-17 | 2021-09-17 | Storage device and method for controlling locking of storage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113851155A CN113851155A (en) | 2021-12-28 |
CN113851155B true CN113851155B (en) | 2023-08-22 |
Family
ID=78974324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111094448.0A Active CN113851155B (en) | 2021-09-17 | 2021-09-17 | Storage device and method for controlling locking of storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113851155B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050109723A (en) * | 2004-05-17 | 2005-11-22 | 삼성전자주식회사 | Methog and device for controlling cassette position of semiconductor production device |
CN204666697U (en) * | 2015-05-19 | 2015-09-23 | 国家电网公司 | The illegal open alarming device of ammeter box |
WO2019114715A1 (en) * | 2017-12-15 | 2019-06-20 | 蔚来汽车有限公司 | Loss prevention apparatus and method for vehicle-mounted intelligent controller, and device |
CN111538624A (en) * | 2020-04-23 | 2020-08-14 | 苏州浪潮智能科技有限公司 | Server power supply maintenance method, device, equipment and medium |
CN211768766U (en) * | 2019-10-16 | 2020-10-27 | 深圳市科瑞隆科技有限公司 | High efficiency lithium cell shifts storage device |
JP2021086357A (en) * | 2019-11-27 | 2021-06-03 | Necプラットフォームズ株式会社 | Storage device and abnormal storage device identification method |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4912216B2 (en) * | 2007-05-21 | 2012-04-11 | Thk株式会社 | Actuator with position detection function |
CN101876910A (en) * | 2009-10-28 | 2010-11-03 | 创新科存储技术有限公司 | Double-controller disk memory array, firmware upgrading method and controller thereof |
CN102779057A (en) * | 2012-06-29 | 2012-11-14 | 浪潮(北京)电子信息产业有限公司 | Base board management controller and automatic upgrade system and method thereof |
CN103837762A (en) * | 2012-11-25 | 2014-06-04 | 西安正昌电子有限责任公司 | Potentiometer aging screening device table |
CN206256765U (en) * | 2016-12-07 | 2017-06-16 | 倪浩 | Multifunctional fingerprint lock |
CN110060711B (en) * | 2018-01-18 | 2021-02-12 | 伊姆西Ip控股有限责任公司 | Storage device and method for controlling fan speed thereof |
CN108346233B (en) * | 2018-02-28 | 2024-06-25 | 深圳来电科技有限公司 | Electric vehicle battery leasing equipment, system, leasing method and returning method |
CN209086282U (en) * | 2018-10-18 | 2019-07-09 | 恒泰柯半导体(上海)有限公司 | A kind of fixation device for vehicle detection chip |
CN209683476U (en) * | 2019-04-19 | 2019-11-26 | 河南创杰自动化设备有限公司 | Automatic extending-contracting apparatus |
CN210624621U (en) * | 2019-08-15 | 2020-05-26 | 惠而浦(中国)股份有限公司 | Automatic water box structure |
CN111600722B (en) * | 2020-05-12 | 2022-03-25 | 西安石油大学 | Data transmission device for mathematical algorithm storage equipment based on graph theory |
CN112490764A (en) * | 2020-11-06 | 2021-03-12 | 杭州久协科技有限公司 | Anti-drop magnetic control locking portable hard drive |
CN213958178U (en) * | 2020-12-18 | 2021-08-13 | 深圳市怡化时代科技有限公司 | Rotary screen and self-service terminal |
-
2021
- 2021-09-17 CN CN202111094448.0A patent/CN113851155B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050109723A (en) * | 2004-05-17 | 2005-11-22 | 삼성전자주식회사 | Methog and device for controlling cassette position of semiconductor production device |
CN204666697U (en) * | 2015-05-19 | 2015-09-23 | 国家电网公司 | The illegal open alarming device of ammeter box |
WO2019114715A1 (en) * | 2017-12-15 | 2019-06-20 | 蔚来汽车有限公司 | Loss prevention apparatus and method for vehicle-mounted intelligent controller, and device |
CN211768766U (en) * | 2019-10-16 | 2020-10-27 | 深圳市科瑞隆科技有限公司 | High efficiency lithium cell shifts storage device |
JP2021086357A (en) * | 2019-11-27 | 2021-06-03 | Necプラットフォームズ株式会社 | Storage device and abnormal storage device identification method |
CN111538624A (en) * | 2020-04-23 | 2020-08-14 | 苏州浪潮智能科技有限公司 | Server power supply maintenance method, device, equipment and medium |
Non-Patent Citations (1)
Title |
---|
用DSP控制高速SCSI硬盘数据存储;赵忠文, 曾峦;装备指挥技术学院学报(06);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113851155A (en) | 2021-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106600781B (en) | A kind of control intelligent bicycle lock shuts method, apparatus, intelligent bicycle lock and bicycle | |
CN102431549B (en) | For the control electronics of vehicle | |
CN103246577B (en) | House dog monitoring system | |
US10254733B2 (en) | Motor control device | |
CN109388605B (en) | Method and device for removing deadlock of I2C bus | |
JP2823980B2 (en) | Data processing unit and plug-in package | |
US7387499B2 (en) | System and method for testing the operation of a cooling fan | |
JP7225689B2 (en) | motor controller | |
US6230075B1 (en) | Control device and control method of library apparatus, and library apparatus | |
WO2011032463A1 (en) | Interface system, backboard and method for ensuring connection reliability between sub-card and backboard | |
CN113851155B (en) | Storage device and method for controlling locking of storage | |
CN103879853A (en) | Electronic safety elevator | |
CN106032619A (en) | Communication method for washing machine | |
CN115214614B (en) | Fault detection method, device, electronic equipment and readable medium | |
CN101950193B (en) | Dock and method for locking mobile terminal in same | |
JP7112240B2 (en) | Power conversion system and power conversion method | |
JP2011198205A (en) | Redundant system control system | |
KR920004935A (en) | How to diagnose failure of production line | |
US20220113234A1 (en) | Systems and methods for control of a torsional material testing system | |
CN103625304A (en) | Control device used for electromobile | |
JP6954486B1 (en) | Control device, control method | |
CN103795032A (en) | Detection device and detection method of motor stalling | |
CN2624529Y (en) | Main and spare circuit board switching unit | |
CN108604083A (en) | External monitor with integrated reversed regeneration supporter | |
CN110043656A (en) | Car gear shifting method, entire car controller, automobile and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |