Movatterモバイル変換


[0]ホーム

URL:


CN103559462B - Snap close processes device and method - Google Patents

Snap close processes device and method
Download PDF

Info

Publication number
CN103559462B
CN103559462BCN201310567682.XACN201310567682ACN103559462BCN 103559462 BCN103559462 BCN 103559462BCN 201310567682 ACN201310567682 ACN 201310567682ACN 103559462 BCN103559462 BCN 103559462B
Authority
CN
China
Prior art keywords
lock
fru
type
frame number
slot
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
Application number
CN201310567682.XA
Other languages
Chinese (zh)
Other versions
CN103559462A (en
Inventor
梁永贵
陈松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201310567682.XApriorityCriticalpatent/CN103559462B/en
Publication of CN103559462ApublicationCriticalpatent/CN103559462A/en
Application grantedgrantedCritical
Publication of CN103559462BpublicationCriticalpatent/CN103559462B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供一种锁扣处理装置及方法。本发明的锁扣处理装置,包括:设备管理器、锁扣组件和锁扣控制器;其中:所述设备管理器,与所述锁扣控制器相连接,用于获取解锁指令或者故障指令;所述锁扣控制器,与所述锁扣组件相连接,用于在所述设备管理器接收到所述解锁指令或者故障指令后,驱动所述锁扣组件对所述解锁指令或者故障指令中对应的可更换器件单元FRU进行解锁。本发明实施例解决了现有技术中对大量同类型和同型号的FRU中特定编号的FRU进行更换时,由于误将其他正常运行的FRU拔出,导致系统关机以及数据丢失的问题,提高了锁扣处理装置进行解锁操作的安全性和可靠性。

Embodiments of the present invention provide a lock processing device and method. The lock processing device of the present invention includes: a device manager, a lock component, and a lock controller; wherein: the device manager is connected to the lock controller, and is used to obtain an unlock command or a fault command; The lock controller is connected to the lock assembly, and is used to drive the lock assembly to respond to the unlock instruction or fault instruction after the device manager receives the unlock instruction or fault instruction. The corresponding replaceable unit FRU is unlocked. The embodiment of the present invention solves the problem of system shutdown and data loss caused by mistakenly pulling out other normally running FRUs when replacing a specific numbered FRU among a large number of FRUs of the same type and model in the prior art, and improves the The safety and reliability of the lock processing device for unlocking operations.

Description

Translated fromChinese
锁扣处理装置及方法Lock processing device and method

技术领域technical field

本发明实施例涉及硬件锁技术,尤其涉及一种锁扣处理装置及方法。Embodiments of the present invention relate to hardware lock technology, and in particular to a lock processing device and method.

背景技术Background technique

目前,硬盘阵列(RedundantArraysofInexpensiveDisks,简称:RAID)主要包括:硬件框和可更换器件单元(FieldReplacementUnits,简称:FRU),其中,该硬件框上设置有多个槽位,该槽位是指对插入的FRU的放置空间。另外,为了防止因震动、移动等原因而导致FRU从硬件框中掉出,现有技术中主要采用锁扣方式,即在该硬件框的槽位中设置带弹片的锁扣,当FRU插入硬件框的槽位时,松开弹片即可将该FRU锁在硬件框中,以固定该槽位中的FRU,另外,还可以通过使用者以外力按下弹片即可解开锁扣,并拔出相应槽位中的FRU,从而通过设置带有弹片的锁扣来控制该硬件框中的FRU的插拔,有效地防止因震动,移动等导致FRU的掉出。At present, a hard disk array (RedundantArraysofInexpensiveDisks, referred to as: RAID) mainly includes: a hardware frame and a replaceable device unit (Field Replacement Units, referred to as: FRU), wherein the hardware frame is provided with a plurality of slots, the slots refer to the inserted FRU placement space. In addition, in order to prevent the FRU from falling out of the hardware frame due to vibration, movement, etc., the lock method is mainly used in the prior art, that is, a lock with a shrapnel is set in the slot of the hardware frame. When the FRU is inserted into the hardware When the frame is in the slot, release the spring to lock the FRU in the hardware frame to fix the FRU in the slot. In addition, the user can also press the spring by external force to unlock the lock and pull out the corresponding The FRU in the slot can control the insertion and removal of the FRU in the hardware frame by setting a lock with a shrapnel, effectively preventing the FRU from falling out due to vibration, movement, etc.

但是,带有弹片的锁扣由于可以通过人为施力进行打开,且FRU都有多冗余配置,因此,在硬盘阵列的维护过程中,经常需要根据经验在大量同类型和同型号的FRU中准确找到特定编号的FRU进行更换,如果误将其他正常运行的FRU拔出,则会导致系统关机,严重时甚至导致数据丢失。However, since the lock with the shrapnel can be opened by artificial force, and the FRUs have multiple redundant configurations, in the maintenance process of the hard disk array, it is often necessary to use experience among a large number of FRUs of the same type and model. Accurately find the FRU with a specific number and replace it. If you mistakenly pull out other FRUs that are running normally, it will cause the system to shut down, and even cause data loss in severe cases.

发明内容Contents of the invention

本发明实施例提供一种锁扣处理装置及方法,以解决现有技术中对大量同类型和同型号的FRU中特定编号的FRU进行更换时,由于误将其他正常运行的FRU拔出,导致系统关机以及数据丢失的问题。The embodiment of the present invention provides a lock processing device and method to solve the problem that in the prior art, when replacing a specific numbered FRU among a large number of FRUs of the same type and model, other normal operating FRUs are mistakenly pulled out. System shutdown and data loss issues.

第一方面,本发明实施例提供一种锁扣装置,包括:In a first aspect, an embodiment of the present invention provides a locking device, including:

设备管理器、锁扣组件和锁扣控制器;其中:Device Manager, Latch Component, and Latch Controller; where:

所述设备管理器,与所述锁扣控制器相连接,用于获取解锁指令或者故障指令;The device manager is connected to the lock controller, and is used to obtain an unlock command or a fault command;

所述锁扣控制器,与所述锁扣组件相连接,用于在所述设备管理器接收到所述解锁指令或者故障指令后,驱动所述锁扣组件对所述解锁指令或者故障指令中对应的可变更器件单元进行解锁。The lock controller is connected to the lock assembly, and is used to drive the lock assembly to respond to the unlock instruction or fault instruction after the device manager receives the unlock instruction or fault instruction. The corresponding changeable device unit is unlocked.

在第一方面的第一种可能实现方式中,所述设备管理器包括:In a first possible implementation manner of the first aspect, the device manager includes:

接收单元,用于接收用户触发的所述解锁指令,所述解锁指令包括:类型、框号和槽号;A receiving unit, configured to receive the unlocking instruction triggered by the user, the unlocking instruction including: type, frame number and slot number;

触发单元,用于触发所述框号对应的SES芯片,使得所述SES芯片驱动所述类型和槽号对应的锁扣控制器驱动所述锁扣组件对所述类型、所述框号和所述槽号对应的FRU进行解锁,以使得插入所述类型、所述框号和所述槽号对应的FRU与所述框号对应的硬件框锁分离。The trigger unit is used to trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the type and the slot number to drive the lock component to control the type, the frame number and the slot number. Unlock the FRU corresponding to the slot number, so that the FRU inserted into the type, the frame number, and the slot number is separated from the hardware frame lock corresponding to the frame number.

根据第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述接收单元还用于获取故障指令,所述故障指令包括:框号、槽号、类型和故障编号;According to the first possible implementation of the first aspect, in the second possible implementation, the receiving unit is further configured to acquire a fault instruction, the fault instruction includes: frame number, slot number, type, and fault number ;

则所述设备管理器还包括:Then the device manager also includes:

分析单元,用于根据所述故障编号,判断是否需要对所述框号、槽号和类型对应的FRU进行更换;An analysis unit, configured to determine whether the FRU corresponding to the frame number, slot number, and type needs to be replaced according to the fault number;

则所述触发单元还用于在所述分析单元确定对所述框号、槽号和类型对应的FRU进行更换时,触发所述框号对应的SES芯片,使得所述SES芯片驱动所述槽号对应的锁扣控制器驱动所述锁扣组件对所述框号、所述槽号和所述类型对应的FRU进行解锁,以使得插入所述框号、所述槽号和所述类型对应的FRU与所述框号对应的硬件框锁分离。Then the trigger unit is also used to trigger the SES chip corresponding to the frame number when the analysis unit determines to replace the FRU corresponding to the frame number, slot number and type, so that the SES chip drives the slot The lock controller corresponding to the number drives the lock assembly to unlock the FRU corresponding to the frame number, the slot number, and the type, so that the frame number, the slot number, and the type correspond to The FRU and the hardware frame lock corresponding to the frame number are separated.

根据第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述接收单元还用于接收器件插入指令,所述器件插入指令包括类型、框号和槽号;According to the second possible implementation of the first aspect, in a third possible implementation, the receiving unit is further configured to receive a device insertion instruction, where the device insertion instruction includes a type, a frame number, and a slot number;

则所述设备管理器还包括:Then the device manager also includes:

检测单元,用于对所述类型、框号和槽号对应的FRU进行检测;A detection unit, configured to detect the FRU corresponding to the type, frame number and slot number;

所述锁扣控制器,还用于在所述检测单元对所述类型、框号和槽号对应的FRU检测通过后,驱动所述锁扣组件对所述类型、框号和槽号对应的FRU进行加锁。The lock controller is further configured to drive the lock component to detect the FRU corresponding to the type, frame number, and slot number after the detection unit passes the detection of the FRU corresponding to the type, frame number, and slot number. FRU is locked.

根据第一方面、第一方面的第一种到第三种可能的实现方式中任一种,在第四种可能的实现方式中,所述锁扣组件包括:第一传送轮、第二传送轮、传送带和锁头;其中:According to any one of the first aspect and the first to third possible implementations of the first aspect, in a fourth possible implementation, the locking assembly includes: a first transmission wheel, a second transmission wheel Wheels, belts and locks; of which:

所述传送带绕设在所述第一传送轮和所述第二传送轮上;The conveyor belt is wound on the first conveyor wheel and the second conveyor wheel;

所述锁头设置在所述传送带上;The lock head is arranged on the conveyor belt;

所述第一传送轮和/或第二传送轮,与所述锁扣控制器相连接,用于当所述锁扣控制器向所述第一传送轮和/或第二传送轮供电时,驱动所述传送带上的所述锁头滑动,实现所述锁头在滑动到对应的FRU的锁槽中以进行加锁,或者所述锁头从对应的FRU锁槽中滑出后以进行解锁;The first transmission wheel and/or the second transmission wheel are connected to the lock controller, for when the lock controller supplies power to the first transmission wheel and/or the second transmission wheel, Drive the lock head on the conveyor belt to slide, so that the lock head slides into the lock groove of the corresponding FRU for locking, or the lock head slides out of the corresponding FRU lock groove for unlocking ;

其中,所述锁槽设置在FRU的底部,并与所述锁头相匹配。Wherein, the lock groove is arranged at the bottom of the FRU and matches with the lock head.

第二方面,本发明实施例提供一种锁扣处理方法,包括:In a second aspect, an embodiment of the present invention provides a lock processing method, including:

通过设备管理器获取解锁指令或者故障指令;Obtain the unlock command or fault command through the device manager;

触发锁扣控制器驱动锁扣组件对所述解锁指令或者故障指令中对应的可更换器件单元FRU进行解锁。The lock controller is triggered to drive the lock assembly to unlock the corresponding replaceable unit FRU in the unlock command or fault command.

在第二方面的第一种可能实现方式中,在所述解锁指令包括类型、框号和槽号时,所述触发锁扣控制器驱动锁扣组件对所述解锁指令或者故障指令中对应的FRU进行解锁,包括:In the first possible implementation manner of the second aspect, when the unlock command includes type, frame number and slot number, the trigger lock controller drives the lock component to respond to the unlock command or the corresponding fault command FRUs are unlocked, including:

触发所述框号对应的SES芯片,使得所述SES芯片驱动所述类型和槽号对应的锁扣控制器驱动所述锁扣组件对所述类型、所述框号和所述槽号对应的FRU进行解锁,以使得插入所述类型、所述框号和所述槽号对应的FRU与所述框号对应的硬件框锁分离。Trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the type and the slot number to drive the lock component to the type, the frame number, and the slot number. The FRU is unlocked, so that the FRU inserted into the type, the frame number, and the slot number corresponds to the hardware frame lock corresponding to the frame number.

在第二方面的第二种可能实现方式中,在所述故障指令包括:框号、槽号、类型和故障编号时,所述方法还包括:In a second possible implementation manner of the second aspect, when the fault instruction includes: frame number, slot number, type, and fault number, the method further includes:

根据所述故障编号,判断是否需要对所述框号、槽号和类型对应的FRU进行更换;According to the fault number, it is judged whether it is necessary to replace the FRU corresponding to the frame number, slot number and type;

则所述触发锁扣控制器驱动锁扣组件对所述解锁指令或者故障指令中对应的FRU进行解锁,包括:Then the trigger lock controller drives the lock assembly to unlock the corresponding FRU in the unlock command or fault command, including:

在确定对所述框号、槽号和类型对应的FRU进行更换时,触发所述框号对应的SES芯片,使得所述SES芯片驱动所述槽号对应的锁扣控制器驱动所述锁扣组件对所述框号、所述槽号和所述类型对应的FRU进行解锁,以使得插入所述框号、所述槽号和所述类型对应的FRU与所述框号对应的硬件框锁分离。When it is determined to replace the FRU corresponding to the frame number, slot number and type, trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the slot number to drive the lock The component unlocks the FRU corresponding to the frame number, the slot number, and the type, so that the FRU corresponding to the frame number, the slot number, and the type is inserted into the hardware frame lock corresponding to the frame number separate.

在第二方面的第三种可能实现方式中,还包括:In a third possible implementation manner of the second aspect, it also includes:

通过所述设备管理器接收器件插入指令,所述器件插入指令包括类型、框号和槽号,并对所述类型、框号和槽号对应的FRU进行检测;receiving a device insertion instruction through the device manager, the device insertion instruction including type, frame number and slot number, and detecting the FRU corresponding to the type, frame number and slot number;

在对所述类型、框号和槽号对应的FRU检测通过后,触发框号对应的SES芯片,使得所述SES芯片驱动所述槽号对应的所述锁扣组件对所述类型、框号和槽号对应的FRU进行加锁。After the FRU corresponding to the type, frame number and slot number is detected and passed, the SES chip corresponding to the frame number is triggered, so that the SES chip drives the locking component corresponding to the slot number to the type, frame number The FRU corresponding to the slot number is locked.

根据第二方面、第二方面的第一种到第三种可能的实现方式中任一种,在第四种可能的实现方式中,触发所述锁扣控制器驱动所述锁扣组件对FRU进行加锁或解锁具体为:According to the second aspect or any one of the first to third possible implementations of the second aspect, in a fourth possible implementation, the locking controller is triggered to drive the locking assembly to the FRU To lock or unlock, the details are:

触发所述锁扣控制器对所述锁扣组件中的第一传送轮和/或第二传送轮供电,以使得所述第一传送轮和/或第二传送轮驱动绕设在所述第一传送轮和第二传送轮的传送带上的锁头滑动,实现所述锁头在滑动到对应的FRU的锁槽中以进行加锁,或者所述锁头从对应的FRU锁槽中滑出后以进行解锁;Triggering the lock controller to supply power to the first transmission wheel and/or the second transmission wheel in the lock assembly, so that the first transmission wheel and/or the second transmission wheel drive around the first transmission wheel The lock head on the conveyor belt of the first transmission wheel and the second transmission wheel slides to realize that the lock head slides into the lock groove of the corresponding FRU for locking, or the lock head slides out of the corresponding FRU lock groove to unlock later;

其中,所述锁槽设置在FRU的底部,并与所述锁头相匹配。Wherein, the lock groove is arranged at the bottom of the FRU and matches with the lock head.

本发明实施例所提供的锁扣处理装置及方法,锁扣控制器通过与其连接的设备管理器接收的解锁指令或故障指令,驱动与其连接的锁扣组件对该解锁指令或者故障指令中指示的FRU进行解锁,实现了通过用户发出的指令控制管理与该指令所指示的FRU对应的锁扣组件进行解锁,解决了现有技术中对大量同类型和同型号的FRU中特定编号的FRU进行更换时,由于误将其他正常运行的FRU拔出,导致系统关机以及数据丢失的问题,提高了锁扣处理装置进行解锁操作的安全性和可靠性。In the lock processing device and method provided in the embodiments of the present invention, the lock controller drives the lock component connected to the unlock command or the fault command indicated in the unlock command or fault command through the device manager connected to it to receive the unlock command or the fault command. The FRU is unlocked, and the lock assembly corresponding to the FRU indicated by the command is controlled and managed by the user to unlock, which solves the problem of replacing a specific numbered FRU among a large number of FRUs of the same type and model in the prior art When other normal operating FRUs are mistakenly pulled out, the system shuts down and data is lost, which improves the security and reliability of the unlocking operation of the lock processing device.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative efforts.

图1为本发明所提供的一种锁扣处理装置的一个实施例的结构示意图;Fig. 1 is a schematic structural view of an embodiment of a lock processing device provided by the present invention;

图2为本发明所提供的一种锁扣处理装置的另一个实施例的结构示意图;Fig. 2 is a schematic structural view of another embodiment of a lock processing device provided by the present invention;

图3为本发明所提供的一种锁扣处理装置的还一个实施例的结构示意图;Fig. 3 is a structural schematic diagram of another embodiment of a lock processing device provided by the present invention;

图4为图1到图3提供的锁扣处理装置中锁扣组件的结构示意图;Fig. 4 is a schematic structural view of the lock assembly in the lock processing device provided in Fig. 1 to Fig. 3;

图5A、图5B和图5C为图4所示锁扣组件的加锁过程的示意图;Fig. 5A, Fig. 5B and Fig. 5C are schematic diagrams of the locking process of the locking assembly shown in Fig. 4;

图6为本发明所提供的一种锁扣处理方法的一个实施例的流程图;Fig. 6 is a flowchart of an embodiment of a lock processing method provided by the present invention;

图7为本发明所提供的一种锁扣处理方法的另一个实施例的流程图;Fig. 7 is a flowchart of another embodiment of a lock processing method provided by the present invention;

图8为本发明所提供的一种锁扣处理方法的还一个实施例的流程图;Fig. 8 is a flowchart of another embodiment of a lock processing method provided by the present invention;

图9为本发明所提供的一种锁扣处理方法的再一个实施例的流程图。Fig. 9 is a flowchart of another embodiment of a locking processing method provided by the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明所提供的一种锁扣处理装置的一个实施例的结构示意图。如图1所示,本实施例的装置可以包括:设备管理器100、锁扣组件200和锁扣控制器300;其中,该设备管理器100,与该锁扣控制器300相连接,用于获取解锁指令或者故障指令;该锁扣控制器300,与该锁扣组件200相连接,用于在该设备管理器100接收到该解锁指令或者故障指令后,驱动该锁扣组件200对该解锁指令或者故障指令中对应的FRU进行解锁。Fig. 1 is a schematic structural view of an embodiment of a lock processing device provided by the present invention. As shown in FIG. 1 , the device of this embodiment may include: a device manager 100, a lock assembly 200, and a lock controller 300; wherein, the device manager 100 is connected to the lock controller 300 for Obtain an unlock instruction or a failure instruction; the lock controller 300 is connected to the lock assembly 200, and is used to drive the lock assembly 200 to unlock the lock assembly 200 after the device manager 100 receives the unlock instruction or failure instruction. The corresponding FRU in the command or fault command is unlocked.

在本实施例中,例如,锁扣组件200可以为硬盘框中各槽位对插入该槽位的FRU的锁扣开关,则锁扣控制器300可以对该硬盘框中各槽位对应的锁扣组件200进行开关控制,具体地,当该锁扣控制器300获取到设备管理器100接收的解锁指令或者故障指令,该解锁指令或者故障指令指示与该指令对应的该锁扣控制器300对与其连接的锁扣组件200进行解锁,通常地,在用户需要对硬盘框中指定槽位的锁扣组件200进行解锁时,向设备管理器100发出解锁指令,或者,当设备管理器100检测到硬盘框中特定槽位的FRU产生故障时,发出故障指令,锁扣控制器300根据上述解锁指令或者故障指令对指令中所指示的槽位对应的锁扣组件200进行解锁处理;现有技术中,需要对硬盘框中的FRU进行更换时,通常根据用户对待解锁FRU所在槽位的判断,直接解锁相应槽位的锁扣,容易因用户的判断失误而错误的拔取运行中的FRU,即便是用户明确的知道需要被解锁的硬盘框的槽位,也可能由于误操作将正常运行的FRU取出,导致系统关机;与现有技术不同的是,本实施例中对锁扣组件200的解锁是通过获取设备管理器100接收的指令执行的,根据指令控制该指令所指示的锁扣控制器300驱动相应的FRU所对应的槽位进行解锁,避免了人为解锁的误判断或误操作。In this embodiment, for example, the lock component 200 can be a lock switch for each slot in the hard disk enclosure to the FRU inserted into the slot, and the lock controller 300 can lock the lock corresponding to each slot in the hard disk enclosure. The buckle assembly 200 performs switch control. Specifically, when the lock controller 300 acquires the unlock command or fault command received by the device manager 100, the unlock command or fault command indicates that the lock controller 300 corresponding to the command is The locking assembly 200 connected to it is unlocked. Usually, when the user needs to unlock the locking assembly 200 in the specified slot in the hard disk enclosure, an unlocking command is sent to the device manager 100, or when the device manager 100 detects When the FRU in a specific slot in the hard disk enclosure fails, a fault command is issued, and the lock controller 300 unlocks the lock assembly 200 corresponding to the slot indicated in the command according to the above unlock command or fault command; , when the FRU in the hard disk enclosure needs to be replaced, the lock of the corresponding slot is usually unlocked directly according to the user’s judgment on the slot where the FRU is to be unlocked. The user clearly knows the slot of the hard disk enclosure that needs to be unlocked, and may also take out the normally running FRU due to misoperation, causing the system to shut down; different from the prior art, the unlocking of the locking assembly 200 in this embodiment is It is executed by obtaining the instruction received by the device manager 100, and controlling the lock controller 300 indicated by the instruction to drive the slot corresponding to the corresponding FRU to unlock, avoiding misjudgment or misoperation of manual unlocking.

需要说明的是,设备管理器100可以连接多个锁扣控制器300,同时或者逐个发出对不同锁扣组件200的加锁或解锁指令,以使锁扣控制器300对其连接的锁扣组件200进行加锁或解锁控制,实现对该锁扣组件200对应的FRU的拔取或固定。It should be noted that the device manager 100 can be connected to multiple lock controllers 300, and at the same time or one by one send out lock or unlock commands to different lock components 200, so that the lock controller 300 can lock the lock components connected to it. 200 performs locking or unlocking control to realize the extraction or fixing of the FRU corresponding to the locking component 200 .

本实施例所提供的锁扣处理装置,锁扣控制器通过与其连接的设备管理器接收的解锁指令或故障指令,驱动与其连接的锁扣组件对该解锁指令或者故障指令中指示的FRU进行解锁,实现了通过用户发出的指令控制管理与该指令所指示的FRU对应的锁扣组件进行解锁,解决了现有技术中对大量同类型和同型号的FRU中特定编号的FRU进行更换时,由于误将其他正常运行的FRU拔出,导致系统关机以及数据丢失的问题,提高了锁扣处理装置进行解锁操作的安全性和可靠性。In the lock processing device provided in this embodiment, the lock controller drives the lock component connected to it to unlock the FRU indicated in the unlock command or fault command through the unlock command or fault command received by the device manager connected to it. , realizing the unlocking of the locking assembly corresponding to the FRU indicated by the command control and management issued by the user, and solving the problem of replacing a specific numbered FRU among a large number of FRUs of the same type and model in the prior art. Mistakenly pulling out other normally running FRUs will cause system shutdown and data loss, which improves the safety and reliability of the unlocking operation of the lock processing device.

图2为本发明所提供的一种锁扣处理装置的另一个实施例的结构示意图。如图2所示,本实施例的装置在上述实施例的基础上,该设备管理器100具体包括:接收单元110和触发单元120,其中,该接收单元110用于接收用户触发的该解锁指令,该解锁指令包括:类型、框号和槽号;该触发单元120用于触发该框号对应的SES芯片,使得该SES芯片驱动该类型和槽号对应的锁扣控制器300驱动该锁扣组件200对该类型、该框号和该槽号对应的FRU进行解锁,以使得插入该类型、框号和槽号对应的FRU与该框号对应的硬件框分离。Fig. 2 is a schematic structural view of another embodiment of a lock processing device provided by the present invention. As shown in FIG. 2 , the apparatus of this embodiment is based on the above-mentioned embodiments, and the device manager 100 specifically includes: a receiving unit 110 and a triggering unit 120, wherein the receiving unit 110 is used to receive the unlock instruction triggered by the user , the unlock command includes: type, frame number and slot number; the trigger unit 120 is used to trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller 300 corresponding to the type and slot number to drive the lock The component 200 unlocks the FRU corresponding to the type, the frame number and the slot number, so that the inserted FRU corresponding to the type, frame number and slot number is separated from the hardware frame corresponding to the frame number.

在本实施例中,具体由接收单元110接收用户触发的解锁指令,该解锁指令中包括类型、框号和槽号,使得触发单元120根据解锁指令触发该框号对应的硬盘框中的小型计算机系统接口(SmallComputerSystemInterface,简称:SCSI)扩展服务(SCSIEnclosureServices简称:SES)芯片,通常地,硬盘阵列的每个硬盘框中设置有一个SES芯片,当触发单元120根据解锁指令中的框号驱动该框号所指示的硬盘框对应的SES芯片时,该被触发的SES芯片进一步根据解锁指令中的类型和槽号驱动对应槽位中的锁扣控制器300对相应锁扣组件200进行解锁,从而实现插入该类型、框号和槽号对应的FRU与该框号对应的硬件框分离,即用户可以取出已分离的FRU。In this embodiment, the receiving unit 110 specifically receives the unlocking command triggered by the user, the unlocking command includes the type, frame number and slot number, so that the triggering unit 120 triggers the small computer in the hard disk frame corresponding to the frame number according to the unlocking command System interface (SmallComputerSystemInterface, referred to as: SCSI) extended service (SCSIEnclosureServices referred to as: SES) chip, usually, each hard disk enclosure of the hard disk array is provided with a SES chip, when the trigger unit 120 drives the enclosure according to the enclosure number in the unlock command When the SES chip corresponding to the hard disk enclosure indicated by the number, the triggered SES chip further drives the lock controller 300 in the corresponding slot to unlock the corresponding lock assembly 200 according to the type and slot number in the unlock command, thereby realizing Insert the FRU corresponding to the type, frame number, and slot number to be separated from the hardware frame corresponding to the frame number, that is, the user can take out the separated FRU.

图3为本发明所提供的一种锁扣处理装置的还一个实施例的结构示意图,在上述图2所示实施例的基础上,该接收单元110还用于获取故障指令,该故障指令包括:框号、槽号、类型和故障编号;相应地,该设备管理器100还包括:分析单元130,用于根据该故障编号,判断是否需要对该框号、槽号和类型对应的FRU进行更换;相应地,该触发单元120还用于在该分析单元130确定对该框号、槽号和类型对应的FRU进行更换时,触发该框号对应的SES芯片,使得该SES芯片驱动该槽号对应的锁扣控制器300驱动该锁扣组件200对该框号、该槽号和该类型对应的FRU进行解锁,从而使得插入该框号、该槽号和该类型对应的FRU与该框号对应的硬件框分离。Fig. 3 is a schematic structural diagram of another embodiment of a locking processing device provided by the present invention. On the basis of the above-mentioned embodiment shown in Fig. 2, the receiving unit 110 is also used to obtain fault instructions, which include : frame number, slot number, type and fault number; correspondingly, the device manager 100 also includes: an analysis unit 130, which is used to judge whether the FRU corresponding to the frame number, slot number and type needs to be processed according to the fault number Replacement; correspondingly, the trigger unit 120 is also used to trigger the SES chip corresponding to the frame number when the analysis unit 130 determines to replace the FRU corresponding to the frame number, slot number and type, so that the SES chip drives the slot The locking controller 300 corresponding to the number drives the locking component 200 to unlock the FRU corresponding to the frame number, the slot number, and the type, so that the FRU corresponding to the frame number, the slot number, and the type is inserted into the frame The hardware box corresponding to the number is separated.

与上述实施例类似地,在本实施例中,故障指令用于使得触发单元120根据该指令对其指示的框号和槽号对应的FRU进行解锁。当硬盘阵列中的某个FRU存在故障,不能正常运行时,可以向设备管理器100上报故障指令,并在该故障指令中携带存在故障的FRU的框号、槽号、类型和故障编号。举例来说,可以通过装置的检测管理线程检测FRU是否故障,并在某个FRU故障时,上报故障指令给设备管理器100。Similar to the above embodiment, in this embodiment, the fault command is used to make the trigger unit 120 unlock the FRU corresponding to the indicated frame number and slot number according to the command. When a certain FRU in the hard disk array has a fault and cannot operate normally, a fault command can be reported to the device manager 100, and the fault command carries the frame number, slot number, type and fault number of the faulty FRU. For example, the detection management thread of the device can detect whether a FRU is faulty, and report a fault command to the device manager 100 when a certain FRU is faulty.

相应地,设备管理器110还包括分析单元130,具体对该故障指令中的故障编号进行分析,从而判断是否需要对该故障指令所指示的框号和槽号中的FRU进行更换,进而使得触发单元120在获得分析单元130的分析结果后,执行相应的操作;例如,分析单元130确定需要对该框号、槽号和类型对应的FRU进行更换,则触发单元120触发该框号对应的硬盘框中的SES芯片,该SES芯片进一步根据故障指令中的槽号驱动对应槽位中的锁扣控制器300对相应锁扣组件200进行解锁,从而实现插入该框号、槽号和该类型对应的FRU与该框号对应的硬件框分离,即用户可以取出已分离的FRU进行更换。Correspondingly, the device manager 110 also includes an analysis unit 130, specifically analyzing the fault number in the fault command, so as to determine whether it is necessary to replace the FRU in the frame number and slot number indicated by the fault command, and then trigger After the unit 120 obtains the analysis result of the analysis unit 130, it performs corresponding operations; for example, the analysis unit 130 determines that the FRU corresponding to the frame number, slot number and type needs to be replaced, and the trigger unit 120 triggers the hard disk corresponding to the frame number The SES chip in the frame, the SES chip further drives the lock controller 300 in the corresponding slot to unlock the corresponding lock assembly 200 according to the slot number in the fault command, so as to realize the insertion of the frame number, the slot number and the corresponding type. The FRU of the subrack is separated from the hardware subrack corresponding to the subrack number, that is, the user can take out the detached FRU for replacement.

本实施例在具体实现中,由设备管理器分析获取的故障指令,对存在故障的FRU是否需要更换进行判断,对判断后确定需要进行更换的FRU的解锁方式与上述实施例类似,也是由设备管理器根据指令中所指示的框号和槽号实现对锁扣控制器的控制,进而对相应的FRU进行解锁,在解锁的过程中,避免了人为判断和解锁操作的失误而造成错误解锁的问题。In the specific implementation of this embodiment, the device manager analyzes the obtained fault command to judge whether the faulty FRU needs to be replaced, and the unlocking method of the FRU that needs to be replaced after the judgment is similar to the above embodiment, and is also determined by the device. The manager realizes the control of the lock controller according to the frame number and slot number indicated in the instruction, and then unlocks the corresponding FRU. During the unlocking process, it avoids the wrong unlocking caused by human judgment and unlocking operation errors. question.

进一步地,在本发明的再一个实施例中,在上述图3所示实施例的基础上,该接收单元110还用于接收器件插入指令,该器件插入指令包括类型、框号和槽号;则该设备管理器100还包括:检测单元140,用于对该类型、框号和槽号对应的FRU进行检测;该锁扣控制器300,还用于在该检测单元140对该类型、框号和槽号对应的FRU检测通过后,驱动该锁扣组件200对该类型、框号和槽号对应的FRU进行加锁。Further, in another embodiment of the present invention, on the basis of the above-mentioned embodiment shown in FIG. 3 , the receiving unit 110 is also used to receive a device insertion instruction, and the device insertion instruction includes type, frame number and slot number; Then the device manager 100 also includes: a detection unit 140 for detecting the FRU corresponding to the type, frame number and slot number; After the FRU corresponding to the frame number and slot number passes the detection, the locking component 200 is driven to lock the FRU corresponding to the type, frame number, and slot number.

在本实施例中,实现了对插入的FRU的自动加锁的控制方式,在具体实现中,当有新的FRU插入硬盘框中的槽位时,该硬盘框中的SES芯片检测到硬盘框中对应槽位的在位信号,向设备管理器100上报该检测信号,具体向接收单元110发出插入指令,该插入指令用于使得设备管理器100对插入指令所指示的类型、框号和槽号中的FRU进行加锁处理,具体地,插入指令中包括FRU的类型、框号和槽号,相应地,设备管理器100还包括检测单元140,对该插入指令所指示的类型、框号和槽号对应的FRU进行检测,若检测通过,则说明该FRU可以在该硬盘阵列中正常运行,进而驱动锁扣控制器300对该FRU对应的锁扣组件200进行加锁,避免该FRU在运行时被误取出而造成系统关机。In this embodiment, the automatic locking control method for the inserted FRU is implemented. In the specific implementation, when a new FRU is inserted into the slot in the hard disk enclosure, the SES chip in the hard disk enclosure detects that the hard disk enclosure report the detection signal to the device manager 100, specifically send an insertion instruction to the receiving unit 110, and the insertion instruction is used to make the device manager 100 determine the type, frame number, and slot indicated by the insertion instruction. The FRU in the number performs locking processing. Specifically, the type, frame number and slot number of the FRU are included in the insert instruction. The FRU corresponding to the slot number is detected. If the detection is passed, it means that the FRU can operate normally in the hard disk array, and then the lock controller 300 is driven to lock the lock assembly 200 corresponding to the FRU, so as to prevent the FRU from being locked. The system is shut down due to being taken out by mistake while running.

本实施例所提供的锁扣处理装置,在上述实施例的基础上,不仅可以实现对待解锁的FRU进行的解锁操作,还可以实现在插入FRU时,根据硬盘框的SES芯片对在位信号的检测自动发起插入指令,以实现对该插入的FRU的自动加锁操作,进一步提高了硬盘阵列中锁扣处理装置的安全性和可靠性。The lock processing device provided in this embodiment, on the basis of the above embodiments, can not only realize the unlocking operation of the FRU to be unlocked, but also realize the detection of the in-position signal according to the SES chip of the hard disk enclosure when the FRU is inserted. The detection automatically initiates an insertion command to realize the automatic locking operation of the inserted FRU, which further improves the security and reliability of the locking processing device in the hard disk array.

需要说明的是,本实施例中,也可以通过用户对设备管理器发出的加锁指令实现对该指令所指示的FRU进行加锁,该加锁指令指定待加锁的FRU对应的类型、框号和槽号,本实施例中的对加锁指令的控制方式与上述实施例中对解锁指令的控制方式类似,只是对锁扣组件发出的执行动作不同。It should be noted that in this embodiment, the user can also implement the locking of the FRU indicated by the instruction through the locking instruction issued by the user to the device manager. The locking instruction specifies the type and frame corresponding to the FRU to be locked. number and slot number, the control mode of the locking command in this embodiment is similar to the control mode of the unlocking command in the above embodiment, except that the execution action issued by the lock assembly is different.

图4为图1到图3提供的锁扣处理装置中锁扣组件的结构示意图,图5A、图5B和图5C为图4所示锁扣组件的加锁方式的示意图。请参考图4和图5A~图5C,本实施例所提供的锁扣组件200包括:第一传送轮210、第二传送轮220、传送带230和锁头240;其中:该传送带230绕设在该第一传送轮210和该第二传送轮220上;该锁头240设置在该传送带230上;该第一传送轮210和/或第二传送轮220,与锁扣控制器300相连接,用于当该锁扣控制器300向该第一传送轮210和/或第二传送轮220供电时,驱动该传送带230上的该锁头240滑动,实现该锁头240在滑动到对应的FRU的锁槽240a中以进行加锁,或者该锁头240从对应的FRU锁槽240a中滑出后以进行解锁;其中,该锁槽240a设置在FRU的底部,并与该锁头240相匹配。Fig. 4 is a schematic structural view of the lock assembly in the lock processing device provided in Fig. 1 to Fig. 3 , and Fig. 5A, Fig. 5B and Fig. 5C are schematic diagrams of the locking method of the lock assembly shown in Fig. 4 . Please refer to FIG. 4 and FIG. 5A-FIG. 5C, the lock assembly 200 provided in this embodiment includes: a first transmission wheel 210, a second transmission wheel 220, a transmission belt 230 and a lock head 240; wherein: the transmission belt 230 is wound around On the first transmission wheel 210 and the second transmission wheel 220; the lock head 240 is arranged on the transmission belt 230; the first transmission wheel 210 and/or the second transmission wheel 220 are connected with the lock controller 300, It is used to drive the lock head 240 on the conveyor belt 230 to slide when the lock controller 300 supplies power to the first transmission wheel 210 and/or the second transmission wheel 220, so that the lock head 240 slides to the corresponding FRU Lock slot 240a of the FRU for locking, or the lock head 240 slides out of the corresponding FRU lock slot 240a for unlocking; wherein, the lock slot 240a is set at the bottom of the FRU and matches the lock head 240 .

在本实施例中,举例来说,第一传送轮210可以为一个滑轮、第二传送轮220可以为一个微型电机,以带动传送带230上的锁头240滑动。另外,该传送带230可以具体为橡皮带等。In this embodiment, for example, the first transmission wheel 210 can be a pulley, and the second transmission wheel 220 can be a micro motor to drive the lock head 240 on the transmission belt 230 to slide. In addition, the conveyor belt 230 may specifically be a rubber belt or the like.

在本实施例中,提供了锁扣处理装置一种具体的锁扣组件200的实现方式,该锁扣组件200设置在硬盘框中的槽位中,与槽位和待插入的FRU一一对应,具体的,可以将该锁扣组件200设置在槽位的底部,即FRU插入槽位时与硬盘框接触的底部位置,本实施例中,锁扣组件200是对插入槽位的FRU的加锁,因此,在FRU和其插入的槽位中分别设置有锁扣组件200中相配合的锁槽240a和锁头240,锁槽240a可以是一“凹”槽型,相应地,利用锁头240在锁槽240a中的滑入或滑出实现锁扣组件200的加锁或解锁;在具体实现中,锁槽240a设置在FRU的底部,当该FRU插入硬盘框中的槽位时,如图5A和图5B所示,该FRU底部的锁槽240a向槽位底部的锁头240方向移动,直到锁槽240a与锁头240接触,此时,锁头位于锁槽240a的“凹”槽区外部,锁扣组件200为解锁状态,当锁扣控制器300接收到设备管理器100的加锁指令或插入指令时,控制与其连接的第一传送轮210和/或第二传送轮220转动,带动传送带230以及设置在该传送带230上的锁头240随之运动,如图5B和图5C所示,该锁头240被滑入锁槽240a的“凹”槽区内部,此时,锁扣组件200为加锁状态。In this embodiment, a lock processing device is provided, which implements a specific lock assembly 200. The lock assembly 200 is set in a slot in the hard disk enclosure, and corresponds to the slot and the FRU to be inserted one-to-one. Specifically, the locking assembly 200 can be arranged at the bottom of the slot, that is, the bottom position where the FRU contacts the hard disk enclosure when inserted into the slot. In this embodiment, the locking assembly 200 is an addition to the FRU inserted into the slot. Lock, therefore, the lock slot 240a and the lock head 240 matched in the lock catch assembly 200 are respectively provided in the FRU and the slot where it is inserted. The lock slot 240a can be a "concave" groove type. 240 slides in or out of the locking groove 240a to realize the locking or unlocking of the locking assembly 200; in a specific implementation, the locking groove 240a is set at the bottom of the FRU, when the FRU is inserted into the slot in the hard disk enclosure, as As shown in Fig. 5A and Fig. 5B, the lock groove 240a at the bottom of the FRU moves toward the lock head 240 at the bottom of the slot until the lock groove 240a contacts the lock head 240, at this time, the lock head is located in the "concave" groove of the lock groove 240a Outside the area, the locking assembly 200 is in the unlocked state, and when the locking controller 300 receives a locking command or an insertion command from the device manager 100, it controls the first transmission wheel 210 and/or the second transmission wheel 220 connected thereto to rotate , driving the conveyor belt 230 and the lock head 240 arranged on the conveyor belt 230 to move accordingly, as shown in Figure 5B and Figure 5C, the lock head 240 is slid into the "concave" groove area of the lock groove 240a, at this time, the lock The clasp assembly 200 is in a locked state.

本实施例所提供锁扣处理装置中的锁扣组件,与硬盘阵列中硬盘框的槽位和插入其中的FRU一一对应,由锁扣控制器通过获取的指令实现对指令所指示的框号和槽号对应的锁扣组件进行加锁或解锁,所有锁扣组件和与其配合的锁槽具有统一的规格,可以自由组合,使得FRU插入同类型的任何槽位时都可以与该槽位中的锁头配合使用。The lock component in the lock processing device provided in this embodiment corresponds to the slot of the hard disk enclosure in the hard disk array and the FRU inserted into it one by one, and the lock controller implements the frame number indicated by the instruction through the obtained instruction The locking components corresponding to the slot numbers are used for locking or unlocking. All locking components and corresponding locking slots have uniform specifications and can be combined freely, so that when FRU is inserted into any slot of the same type, it can be connected with the slot. The lock head is used together.

需要说明的是,本实施例提供了锁扣组件的一种实现方式,本发明所提供的锁扣处理装置中的锁扣组件的结构和其加锁解锁的方式不限制于本实施例所提供的具体方式,凡是可以通过锁扣控制器获取指令实现对锁扣组件的加锁或解锁,都可以用于本发明提供的锁扣处理装置中。It should be noted that this embodiment provides an implementation of the lock assembly, and the structure of the lock assembly in the lock processing device provided by the present invention and its locking and unlocking methods are not limited to those provided in this embodiment. The specific manner, any lock controller that can acquire instructions to realize locking or unlocking of the lock assembly can be used in the lock processing device provided by the present invention.

图6为本发明所提供的一种锁扣处理方法的一个实施例的流程图,本实施例提供的方法适用于本发明图1所示装置的操作方式。如图6所示,本实施例的方法可以包括:FIG. 6 is a flowchart of an embodiment of a locking processing method provided by the present invention. The method provided in this embodiment is applicable to the operation mode of the device shown in FIG. 1 of the present invention. As shown in Figure 6, the method of this embodiment may include:

S110,通过设备管理器获取解锁指令或者故障指令。S110. Obtain an unlocking instruction or a fault instruction through the device manager.

S120,触发锁扣控制器驱动锁扣组件对该解锁指令或者故障指令中对应的可更换器件单元FRU进行解锁。S120, triggering the lock controller to drive the lock assembly to unlock the FRU corresponding to the unlock command or the fault command.

本发明实施例提供的锁扣处理方法为本发明图1所示实施例提供的锁扣处理装置的处理方法,具备相应的方法步骤,其实现原理和技术效果类似,此处不再赘述。The lock processing method provided in the embodiment of the present invention is the processing method of the lock processing device provided in the embodiment shown in FIG. 1 of the present invention, and has corresponding method steps. The implementation principle and technical effect are similar, and will not be repeated here.

图7为本发明所提供的一种锁扣处理方法的另一个实施例的流程图,如图7所示,本实施例的方法包括:Fig. 7 is a flowchart of another embodiment of a lock processing method provided by the present invention. As shown in Fig. 7, the method of this embodiment includes:

S210,通过设备管理器获取解锁指令,该解锁指令包括类型、框号和槽号。S210. Obtain an unlocking instruction through the device manager, where the unlocking instruction includes a type, a frame number, and a slot number.

S220,触发该框号对应的SES芯片,使得该SES芯片驱动该类型和槽号对应的锁扣控制器驱动该锁扣组件对该类型、该框号和该槽号对应的FRU进行解锁,以使得插入该类型、框号和槽号对应的FRU与该框号对应的硬件框锁分离。S220, trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the type and the slot number to drive the lock component to unlock the FRU corresponding to the type, the frame number, and the slot number, to Separate the FRU inserted into the type, frame number, and slot number from the hardware frame lock corresponding to the frame number.

本发明实施例提供的锁扣处理方法为本发明图2所示实施例提供的锁扣处理装置的处理方法,具备相应的方法步骤,其实现原理和技术效果类似,此处不再赘述。The locking processing method provided in the embodiment of the present invention is the processing method of the locking processing device provided in the embodiment shown in FIG. 2 of the present invention, and has corresponding method steps. The implementation principle and technical effect are similar, and will not be repeated here.

可选地,图8为本发明所提供的一种锁扣处理方法的还一个实施例的流程图,如图8所示,本实施例的方法包括:Optionally, FIG. 8 is a flowchart of another embodiment of a lock processing method provided by the present invention. As shown in FIG. 8, the method of this embodiment includes:

S310,通过设备管理器获取故障指令,该故障指令包括:框号、槽号、类型和故障编号。S310. Obtain a fault instruction through the device manager, where the fault instruction includes: a frame number, a slot number, a type, and a fault number.

S320,根据该故障编号,判断是否需要对该框号、槽号和类型对应的FRU进行更换;若是,则执行S330;若否,则结束。S320, according to the fault number, judge whether it is necessary to replace the FRU corresponding to the frame number, slot number and type; if yes, execute S330; if not, end.

S330,触发该框号对应的SES芯片,使得该SES芯片驱动该槽号对应的锁扣控制器驱动该锁扣组件对该框号、该槽号和该类型对应的FRU进行解锁,以使得插入该框号、该槽号和该类型对应的FRU与该框号对应的硬件框锁分离。结束。S330, trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the slot number to drive the lock component to unlock the frame number, the slot number and the FRU corresponding to the type, so that the inserted The frame number, the slot number, and the FRU corresponding to this type are separated from the hardware frame lock corresponding to the frame number. Finish.

进一步地,图9为本发明所提供的一种锁扣处理方法的再一个实施例的流程图,如图9所示,本实施例的方法包括:Further, FIG. 9 is a flow chart of another embodiment of a lock processing method provided by the present invention. As shown in FIG. 9, the method of this embodiment includes:

S410,通过该设备管理器接收器件插入指令,该器件插入指令包括类型、框号和槽号。S410. Receive a device insertion instruction through the device manager, where the device insertion instruction includes a type, frame number, and slot number.

S420,判断该类型、框号和槽号对应的FRU是否通过检测;若是,则执行S430;若否,则结束。S420, judging whether the FRU corresponding to the type, frame number, and slot number passes the test; if yes, execute S430; if not, end.

S430,触发框号对应的SES芯片,使得该SES芯片驱动该槽号对应的该锁扣组件对该类型、框号和槽号对应的FRU进行加锁。结束。S430, trigger the SES chip corresponding to the frame number, so that the SES chip drives the locking component corresponding to the slot number to lock the FRU corresponding to the type, frame number, and slot number. Finish.

需要说明的是,本实施例中,也可以通过用户对设备管理器发出的加锁指令实现对该指令所指示的FRU进行加锁,该加锁指令指定待加锁的FRU对应的类型、框号和槽号,本实施例中的对加锁指令的控制方式与上述实施例中对解锁指令的控制方式类似,只是对锁扣组件发出的执行动作不同。It should be noted that in this embodiment, the user can also implement the locking of the FRU indicated by the instruction through the locking instruction issued by the user to the device manager. The locking instruction specifies the type and frame corresponding to the FRU to be locked. number and slot number, the control mode of the locking command in this embodiment is similar to the control mode of the unlocking command in the above embodiment, except that the execution action issued by the lock assembly is different.

本发明实施例提供的锁扣处理方法为本发明图3所示实施例提供的锁扣处理装置的处理方法,具备相应的方法步骤,其实现原理和技术效果类似,此处不再赘述。The lock processing method provided in the embodiment of the present invention is the processing method of the lock processing device provided in the embodiment shown in FIG. 3 of the present invention, and has corresponding method steps. The implementation principle and technical effect are similar, and will not be repeated here.

在具体实现中,上述各实施例中,触发锁扣控制器驱动锁扣组件对FRU进行加锁或解锁具体可以为:触发该锁扣控制器对该锁扣组件中的第一传送轮和/或第二传送轮供电,以使得该第一传送轮和/或第二传送轮驱动绕设在该第一传送轮和第二传送轮的传送带上的锁头滑动,实现该锁头在滑动到对应的FRU的锁槽中以进行加锁,或者该锁头从对应的FRU锁槽中滑出后以进行解锁;其中,该锁槽设置在FRU的底部,并与该锁头相匹配。In a specific implementation, in each of the above embodiments, triggering the lock controller to drive the lock assembly to lock or unlock the FRU may specifically be: triggering the lock controller to drive the lock assembly to the first transmission wheel and/or Or the second transmission wheel is powered, so that the first transmission wheel and/or the second transmission wheel drive the lock head to slide around the conveyor belt of the first transmission wheel and the second transmission wheel, and realize that the lock head slides to The lock slot of the corresponding FRU is used for locking, or the lock head slides out of the corresponding FRU lock slot for unlocking; wherein, the lock slot is arranged at the bottom of the FRU and matches the lock head.

本发明实施例提供的锁扣处理方法为对本发明图4和图5A~图5C所示实施例提供的锁扣处理装置中锁扣组件的处理方法,具备相应的方法步骤,其实现原理和技术效果类似,此处不再赘述The locking processing method provided by the embodiment of the present invention is a processing method for the locking component in the locking processing device provided by the embodiment shown in Fig. 4 and Fig. 5A to Fig. 5C of the present invention, and has corresponding method steps, and its realization principle and technology The effect is similar and will not be repeated here

需要说明的是,本实施例提供了锁扣组件的一种实现方式,本发明所提供的锁扣处理方法中的控制锁扣组件的加锁或解锁方式不限制于本实施例所提供的具体方式,凡是可以通过锁扣控制器获取指令实现对锁扣组件的加锁或解锁,都可以用于本发明提供的锁扣处理方法中。It should be noted that this embodiment provides an implementation of the locking assembly, and the method of controlling the locking or unlocking of the locking assembly in the locking processing method provided by the present invention is not limited to the specific method provided in this embodiment. Any method, any method that can obtain instructions from the lock controller to realize locking or unlocking of the lock assembly, can be used in the lock processing method provided by the present invention.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (10)

Translated fromChinese
1.一种锁扣处理装置,其特征在于,包括:设备管理器、锁扣组件和锁扣控制器;其中:1. A lock processing device, characterized in that it comprises: a device manager, a lock assembly and a lock controller; wherein:所述设备管理器,与所述锁扣控制器相连接,用于获取解锁指令或者故障指令;The device manager is connected to the lock controller, and is used to obtain an unlock command or a fault command;所述锁扣控制器,与所述锁扣组件相连接,用于在所述设备管理器接收到所述解锁指令或者故障指令后,驱动所述锁扣组件对所述解锁指令或者故障指令中对应的磁盘阵列硬件框中的可更换器件单元FRU进行解锁。The lock controller is connected to the lock assembly, and is used to drive the lock assembly to respond to the unlock instruction or fault instruction after the device manager receives the unlock instruction or fault instruction. Unlock the FRU in the corresponding disk array hardware box.2.根据权利要求1所述的装置,其特征在于,所述设备管理器包括:2. The device according to claim 1, wherein the device manager comprises:接收单元,用于接收用户触发的所述解锁指令,所述解锁指令包括:类型、框号和槽号;A receiving unit, configured to receive the unlocking instruction triggered by the user, the unlocking instruction including: type, frame number and slot number;触发单元,用于触发所述框号对应的SES芯片,使得所述SES芯片驱动所述类型和槽号对应的锁扣控制器驱动所述锁扣组件对所述类型、所述框号和所述槽号对应的FRU进行解锁,以使得插入所述类型、所述框号和所述槽号对应的FRU与所述框号对应的硬件框锁分离。The trigger unit is used to trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the type and the slot number to drive the lock component to control the type, the frame number and the slot number. Unlock the FRU corresponding to the slot number, so that the FRU inserted into the type, the frame number, and the slot number is separated from the hardware frame lock corresponding to the frame number.3.根据权利要求2所述的装置,其特征在于,所述接收单元还用于获取故障指令,所述故障指令包括:框号、槽号、类型和故障编号;3. The device according to claim 2, wherein the receiving unit is further configured to acquire a fault instruction, the fault instruction comprising: frame number, slot number, type, and fault number;则所述设备管理器还包括:Then the device manager also includes:分析单元,用于根据所述故障编号,判断是否需要对所述框号、槽号和类型对应的FRU进行更换;An analysis unit, configured to determine whether the FRU corresponding to the frame number, slot number, and type needs to be replaced according to the fault number;则所述触发单元还用于在所述分析单元确定对所述框号、槽号和类型对应的FRU进行更换时,触发所述框号对应的SES芯片,使得所述SES芯片驱动所述槽号对应的锁扣控制器驱动所述锁扣组件对所述框号、所述槽号和所述类型对应的FRU进行解锁,以使得插入所述框号、所述槽号和所述类型对应的FRU与所述框号对应的硬件框锁分离。Then the trigger unit is also used to trigger the SES chip corresponding to the frame number when the analysis unit determines to replace the FRU corresponding to the frame number, slot number and type, so that the SES chip drives the slot The lock controller corresponding to the number drives the lock assembly to unlock the FRU corresponding to the frame number, the slot number, and the type, so that the frame number, the slot number, and the type correspond to The FRU and the hardware frame lock corresponding to the frame number are separated.4.根据权利要求3所述的装置,其特征在于,所述接收单元还用于接收器件插入指令,所述器件插入指令包括类型、框号和槽号;4. The device according to claim 3, wherein the receiving unit is further configured to receive a device insertion instruction, and the device insertion instruction includes type, frame number and slot number;则所述设备管理器还包括:Then the device manager also includes:检测单元,用于对所述类型、框号和槽号对应的FRU进行检测;A detection unit, configured to detect the FRU corresponding to the type, frame number and slot number;所述锁扣控制器,还用于在所述检测单元对所述类型、框号和槽号对应的FRU检测通过后,驱动所述锁扣组件对所述类型、框号和槽号对应的FRU进行加锁。The lock controller is further configured to drive the lock component to detect the FRU corresponding to the type, frame number, and slot number after the detection unit passes the detection of the FRU corresponding to the type, frame number, and slot number. FRU is locked.5.根据权利要求1至4任一所述的装置,其特征在于,所述锁扣组件包括:第一传送轮、第二传送轮、传送带和锁头;其中:5. The device according to any one of claims 1 to 4, wherein the lock assembly comprises: a first transmission wheel, a second transmission wheel, a transmission belt and a lock head; wherein:所述传送带绕设在所述第一传送轮和所述第二传送轮上;The conveyor belt is wound on the first conveyor wheel and the second conveyor wheel;所述锁头设置在所述传送带上;The lock head is arranged on the conveyor belt;所述第一传送轮和/或第二传送轮,与所述锁扣控制器相连接,用于当所述锁扣控制器向所述第一传送轮和/或第二传送轮供电时,驱动所述传送带上的所述锁头滑动,实现所述锁头在滑动到对应的FRU的锁槽中以进行加锁,或者所述锁头从对应的FRU锁槽中滑出后以进行解锁;The first transmission wheel and/or the second transmission wheel are connected to the lock controller, for when the lock controller supplies power to the first transmission wheel and/or the second transmission wheel, Drive the lock head on the conveyor belt to slide, so that the lock head slides into the lock groove of the corresponding FRU for locking, or the lock head slides out of the corresponding FRU lock groove for unlocking ;其中,所述锁槽设置在FRU的底部,并与所述锁头相匹配。Wherein, the lock groove is arranged at the bottom of the FRU and matches with the lock head.6.一种锁扣处理方法,其特征在于,包括:6. A lock processing method, characterized in that, comprising:通过设备管理器获取解锁指令或者故障指令;Obtain the unlock command or fault command through the device manager;触发锁扣控制器驱动锁扣组件对所述解锁指令或者故障指令中对应的磁盘阵列硬件框中的可更换器件单元FRU进行解锁。The lock controller is triggered to drive the lock assembly to unlock the FRU in the hardware frame of the disk array corresponding to the unlock command or the fault command.7.根据权利要求6所述的方法,其特征在于,在所述解锁指令包括类型、框号和槽号时,所述触发锁扣控制器驱动锁扣组件对所述解锁指令或者故障指令中对应的FRU进行解锁,包括:7. The method according to claim 6, characterized in that, when the unlocking command includes type, frame number and slot number, the trigger lock controller drives the locker assembly to respond to the unlocking command or fault command The corresponding FRU is unlocked, including:触发所述框号对应的SES芯片,使得所述SES芯片驱动所述类型和槽号对应的锁扣控制器驱动所述锁扣组件对所述类型、所述框号和所述槽号对应的FRU进行解锁,以使得插入所述类型、所述框号和所述槽号对应的FRU与所述框号对应的硬件框锁分离。Trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the type and the slot number to drive the lock component to the type, the frame number, and the slot number. The FRU is unlocked, so that the FRU inserted into the type, the frame number, and the slot number corresponds to the hardware frame lock corresponding to the frame number.8.根据权利要求6所述的方法,其特征在于,在所述故障指令包括:框号、槽号、类型和故障编号时,所述方法还包括:8. The method according to claim 6, wherein when the fault instruction includes: frame number, slot number, type and fault number, the method further comprises:根据所述故障编号,判断是否需要对所述框号、槽号和类型对应的FRU进行更换;According to the fault number, it is judged whether it is necessary to replace the FRU corresponding to the frame number, slot number and type;则所述触发锁扣控制器驱动锁扣组件对所述解锁指令或者故障指令中对应的FRU进行解锁,包括:Then the trigger lock controller drives the lock assembly to unlock the corresponding FRU in the unlock command or fault command, including:在确定对所述框号、槽号和类型对应的FRU进行更换时,触发所述框号对应的SES芯片,使得所述SES芯片驱动所述槽号对应的锁扣控制器驱动所述锁扣组件对所述框号、所述槽号和所述类型对应的FRU进行解锁,以使得插入所述框号、所述槽号和所述类型对应的FRU与所述框号对应的硬件框锁分离。When it is determined to replace the FRU corresponding to the frame number, slot number and type, trigger the SES chip corresponding to the frame number, so that the SES chip drives the lock controller corresponding to the slot number to drive the lock The component unlocks the FRU corresponding to the frame number, the slot number, and the type, so that the FRU corresponding to the frame number, the slot number, and the type is inserted into the hardware frame lock corresponding to the frame number separate.9.根据权利要求6所述的方法,其特征在于,还包括:9. The method of claim 6, further comprising:通过所述设备管理器接收器件插入指令,所述器件插入指令包括类型、框号和槽号,并对所述类型、框号和槽号对应的FRU进行检测;receiving a device insertion instruction through the device manager, the device insertion instruction including type, frame number and slot number, and detecting the FRU corresponding to the type, frame number and slot number;在对所述类型、框号和槽号对应的FRU检测通过后,触发框号对应的SES芯片,使得所述SES芯片驱动所述槽号对应的所述锁扣组件对所述类型、框号和槽号对应的FRU进行加锁。After the FRU corresponding to the type, frame number and slot number is detected and passed, the SES chip corresponding to the frame number is triggered, so that the SES chip drives the locking component corresponding to the slot number to the type, frame number The FRU corresponding to the slot number is locked.10.根据权利要求6至9任一所述的方法,其特征在于,触发所述锁扣控制器驱动所述锁扣组件对FRU进行加锁或解锁具体为:10. The method according to any one of claims 6 to 9, wherein triggering the lock controller to drive the lock component to lock or unlock the FRU is specifically:触发所述锁扣控制器对所述锁扣组件中的第一传送轮和/或第二传送轮供电,以使得所述第一传送轮和/或第二传送轮驱动绕设在所述第一传送轮和第二传送轮的传送带上的锁头滑动,实现所述锁头在滑动到对应的FRU的锁槽中以进行加锁,或者所述锁头从对应的FRU锁槽中滑出后以进行解锁;Triggering the lock controller to supply power to the first transmission wheel and/or the second transmission wheel in the lock assembly, so that the first transmission wheel and/or the second transmission wheel drive around the first transmission wheel The lock head on the conveyor belt of the first transmission wheel and the second transmission wheel slides to realize that the lock head slides into the lock groove of the corresponding FRU for locking, or the lock head slides out of the corresponding FRU lock groove to unlock later;其中,所述锁槽设置在FRU的底部,并与所述锁头相匹配。Wherein, the lock groove is arranged at the bottom of the FRU and matches with the lock head.
CN201310567682.XA2013-11-142013-11-14Snap close processes device and methodActiveCN103559462B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310567682.XACN103559462B (en)2013-11-142013-11-14Snap close processes device and method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310567682.XACN103559462B (en)2013-11-142013-11-14Snap close processes device and method

Publications (2)

Publication NumberPublication Date
CN103559462A CN103559462A (en)2014-02-05
CN103559462Btrue CN103559462B (en)2016-06-29

Family

ID=50013706

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310567682.XAActiveCN103559462B (en)2013-11-142013-11-14Snap close processes device and method

Country Status (1)

CountryLink
CN (1)CN103559462B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107046485A (en)*2017-06-012017-08-15郑州云海信息技术有限公司 A method and system for remotely locating the position of abnormal equipment
CN113127083A (en)*2021-04-272021-07-16浪潮软件科技有限公司Intelligent lock application and unsealing method and system based on customs security and data processing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1960261A (en)*2006-08-252007-05-09华为技术有限公司Method and system of obtaining physical slot number of single board, and type of slot
CN1972491A (en)*2006-11-282007-05-30华为技术有限公司Acquisition method, apparatus and system for single-board replacement of information
US7561875B1 (en)*2003-10-162009-07-14Sun Microsystems, Inc.Method and apparatus for wirelessly testing field-replaceable units (FRUs)
CN102265666A (en)*2011-06-092011-11-30华为技术有限公司 Method and device for obtaining equipment replacement information of base station transceiver station

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8953332B2 (en)*2012-04-102015-02-10International Business Machines CorporationPositive pressure-applying compliant latch mechanism

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7561875B1 (en)*2003-10-162009-07-14Sun Microsystems, Inc.Method and apparatus for wirelessly testing field-replaceable units (FRUs)
CN1960261A (en)*2006-08-252007-05-09华为技术有限公司Method and system of obtaining physical slot number of single board, and type of slot
CN1972491A (en)*2006-11-282007-05-30华为技术有限公司Acquisition method, apparatus and system for single-board replacement of information
CN102265666A (en)*2011-06-092011-11-30华为技术有限公司 Method and device for obtaining equipment replacement information of base station transceiver station

Also Published As

Publication numberPublication date
CN103559462A (en)2014-02-05

Similar Documents

PublicationPublication DateTitle
EP3627323B1 (en)Automatic diagnostic mode
CN103955417A (en)Computer hard disc data detecting equipment and method
CN103559462B (en)Snap close processes device and method
CN101017451A (en)Method and system for controlling insertion and extraction of USB on television
CN104734979A (en)Control method for storage device externally connected with router
KR101949115B1 (en) Self-diagnosis and automatic diagnostic data collection of device driver detection errors
US20170046233A1 (en)On demand remote diagnostics for hardware component failure and disk drive data recovery using embedded storage media
WO2020048259A1 (en)Charging module of portable power supply and portable power supply rental apparatus
TWI604296B (en)Device with lock mechanism and non-transitory computer-readable medium
CN111098723B (en)Charging port electronic lock control method and system
US20080209254A1 (en)Method and system for error recovery of a hardware device
US9996134B2 (en)Method to avoid over-rebooting of power supply device
US20160006885A1 (en)Image forming apparatus and method for controlling image forming apparatus
CN101512651B (en) Image recording/reproducing equipment
US20140115317A1 (en)Electronic device and method for switching work mode of the electronic device
CN103955412A (en)Computer hard disc data recovering equipment and method
CN104317674A (en)Disk data backup method and device
CN101859248B (en) The method of ejecting the external optical drive device without warning in Windows operating system
TW201512830A (en)Data storage system and control method thereof
US8001313B2 (en)Insertion and removal of computing cards in server I/O slots
US20140156058A1 (en)Image identifying system and method for identification of finished process by imaging
US20140351620A1 (en)Power supply detecting system and detecting method
US20130219213A1 (en)System and method for recovering data of hard disks of computing device
KR101793263B1 (en) A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal
KR102872210B1 (en)Apparatus and method for diagnosing can network sleep for vehicle

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp