[go: up one dir, main page]

CN103556876B - Electric control lock processing means and method - Google Patents

Electric control lock processing means and method Download PDF

Info

Publication number
CN103556876B
CN103556876B CN201310538471.3A CN201310538471A CN103556876B CN 103556876 B CN103556876 B CN 103556876B CN 201310538471 A CN201310538471 A CN 201310538471A CN 103556876 B CN103556876 B CN 103556876B
Authority
CN
China
Prior art keywords
electromagnet
hard disk
slot
iron sheet
handle bar
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
CN201310538471.3A
Other languages
Chinese (zh)
Other versions
CN103556876A (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 Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310538471.3A priority Critical patent/CN103556876B/en
Publication of CN103556876A publication Critical patent/CN103556876A/en
Application granted granted Critical
Publication of CN103556876B publication Critical patent/CN103556876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

本发明实施例提供一种电控锁处理装置及方法。本发明提供的电控锁处理装置,包括:电磁锁组件和电控开关组件;所述电磁锁组件包括铁片和电磁铁;所述铁片,设置在拉手条的前端,所述拉手条的前端为与硬盘框接触的一端;所述电磁铁,设置在槽位内部,用于在所述拉手条插入所述槽位时,与所述拉手条上的铁片贴合;所述电控开关组件,与所述电磁铁相连接,用于对所述电磁铁通电或掉电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;或者所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。本发明实施例解决现有技术中的硬盘锁需要占用一个槽位而造成空间利用率低的问题,并且提高了电磁锁处理装置使用性能,增加了使用时间。

Embodiments of the present invention provide an electronically controlled lock processing device and method. The electronically controlled lock processing device provided by the present invention includes: an electromagnetic lock assembly and an electronically controlled switch assembly; the electromagnetic lock assembly includes an iron sheet and an electromagnet; the iron sheet is arranged at the front end of the handle bar, and the handle bar The front end is the end in contact with the hard disk frame; the electromagnet is arranged inside the slot, and is used to fit the iron sheet on the handle bar when the handle bar is inserted into the slot; the electric control A switch assembly, connected to the electromagnet, is used to energize or de-energize the electromagnet, so that after the electromagnet is energized, it will attract the iron sheet attached to the electromagnet; or the electromagnet After power off, release the iron sheet attached to the electromagnet. The embodiment of the present invention solves the problem that the hard disk lock needs to occupy one slot in the prior art, resulting in low space utilization, improves the performance of the electromagnetic lock processing device, and increases the use time.

Description

电控锁处理装置及方法Electric control lock processing device and method

技术领域technical field

本发明实施例涉及电控锁技术,尤其涉及一种电控锁处理装置及方法。Embodiments of the present invention relate to electric control lock technology, in particular to an electric control lock processing device and method.

背景技术Background technique

硬盘阵列(Redundant Arrays of Inexpensive Disks,简称:RAID)通常为多个硬盘组成的一个容量巨大的硬盘组,其通过利用个别硬盘提供的数据所产生加成效果提升整个硬盘组的系统效率。Hard disk array (Redundant Arrays of Inexpensive Disks, referred to as: RAID) is usually a large-capacity hard disk group composed of multiple hard disks. It improves the system efficiency of the entire hard disk group by using the data provided by individual hard disks to generate bonus effects.

目前,硬盘阵列主要包括:硬盘单元和硬盘框,其中,该硬盘框上设置有多个槽位,该槽位是指对插入的硬盘单元的放置空间;该硬盘单元包括:硬盘和该硬盘的拉手条,该硬盘的拉手条是指装配该硬盘插入硬盘框上的槽位的物理单元。为了防止硬盘被非管理员误插拔,可以在该硬盘框中设置有硬盘锁,其锁扣设计在硬盘框的一个槽位,当用硬盘锁的钥匙将该硬盘框上插入的所有硬盘锁住时,该锁扣弹出,以固定所有硬盘的拉手条,从而控制该硬盘框中的所有硬盘的插拔。At present, the hard disk array mainly includes: a hard disk unit and a hard disk enclosure, wherein the hard disk enclosure is provided with a plurality of slots, and the slots refer to the placement space for the inserted hard disk unit; the hard disk unit includes: a hard disk and a Handle, the handle of the hard disk refers to the physical unit where the hard disk is inserted into the slot on the hard disk enclosure. In order to prevent hard disks from being accidentally plugged and pulled out by non-administrators, a hard disk lock can be installed in the hard disk enclosure. The lock is designed in a slot of the hard disk enclosure. When locked, the lock pops out to fix the handle bars of all hard disks, thereby controlling the insertion and removal of all hard disks in the hard disk enclosure.

但是,由于该硬盘锁需要占用硬盘框上的一个槽位,因此,造成了硬盘阵列的空间利用率低的问题。However, since the hard disk lock needs to occupy a slot on the hard disk enclosure, the space utilization rate of the hard disk array is low.

发明内容Contents of the invention

本发明实施例提供一种电控锁处理装置及方法,以解决现有技术中的硬盘锁需要占用一个槽位而造成空间利用率低的问题。Embodiments of the present invention provide an electronically controlled lock processing device and method to solve the problem of low space utilization rate caused by the hard disk lock occupying one slot in the prior art.

第一方面,本发明实施例提供一种电控锁处理装置,包括:电磁锁组件和电控开关组件;所述电磁锁组件包括铁片和电磁铁;In the first aspect, an embodiment of the present invention provides an electronically controlled lock processing device, including: an electromagnetic lock assembly and an electronically controlled switch assembly; the electromagnetic lock assembly includes an iron sheet and an electromagnet;

所述铁片,设置在拉手条的前端,所述拉手条的前端为与硬盘框接触的一端;The iron sheet is arranged at the front end of the handle bar, and the front end of the handle bar is the end in contact with the hard disk frame;

所述电磁铁,设置在槽位内部,用于在所述拉手条插入所述槽位时,与所述拉手条上的铁片贴合;The electromagnet is arranged inside the slot, and is used to fit the iron sheet on the handle bar when the handle bar is inserted into the slot;

所述电控开关组件,与所述电磁铁相连接,用于对所述电磁铁通电或掉电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;或者所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。The electric control switch assembly is connected to the electromagnet and is used to energize or de-energize the electromagnet, so that after the electromagnet is energized, it will attract the iron sheet attached to the electromagnet; or After the electromagnet is powered off, release the iron sheet attached to the electromagnet.

在第一方面的第一种可能实现方式中,还包括:In the first possible implementation manner of the first aspect, it also includes:

密码键盘,与所述电控开关组件相连接,用于接收用户输入的指令;a password keyboard, connected to the electric control switch assembly, for receiving instructions input by the user;

则所述电控开关组件具体用于在所述拉手条插入所述硬盘框的槽位时,对与所述拉手条贴合的电磁铁通电,以使所述电磁铁通电后吸住与所述电磁铁贴合的铁片;并在所述密码键盘接收到用户输入的指令后,根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。Then, the electric control switch assembly is specifically used to energize the electromagnet attached to the handle bar when the handle bar is inserted into the slot of the hard disk enclosure, so that the electromagnet can attract and connect with the handle bar after being energized. The iron sheet attached to the electromagnet; and after the password keyboard receives the instruction input by the user, according to the instruction, the electromagnet is powered off, so that after the electromagnet is powered off, it releases the contact with the electromagnet. The iron sheet attached to the electromagnet.

根据第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位,则所述装置还包括:According to the first possible implementation of the first aspect, in the second possible implementation, the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, then the device also include:

处理器,与所述密码键盘相连接,用于提取所述指令中的框号和对应的槽号,并判断所述框号对应的槽号对应的硬盘是否为预设RAID组中的硬盘;若是,则判断所述预设RAID组是否处于降级状态,若是,则提示用户输入密码;A processor, connected to the password keyboard, for extracting the frame number and the corresponding slot number in the instruction, and judging whether the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group; If so, it is judged whether the preset RAID group is in a degraded state, and if so, the user is prompted to enter a password;

则所述电控开关组件具体用于在所述密码键盘接收到所述用户输入的密码后,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。Then the electric control switch assembly is specifically used to power off the electromagnet on the slot corresponding to the slot number after the password keyboard receives the password input by the user, so as to release the electromagnet attached to the electromagnet. The combined iron sheet realizes the extraction of the hard disk corresponding to the slot number corresponding to the frame number.

根据第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述装置还包括:According to the second possible implementation manner of the first aspect, in a third possible implementation manner, the device further includes:

所述电控开关组件具体用于在所述处理器判断所述框号对应的槽号对应的硬盘为预设RAID组中的硬盘且所述预设RAID组不处于降级状态,或者所述硬盘不为所述预设RAID组中的硬盘时,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。The electronically controlled switch assembly is specifically used for judging by the processor that the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group and the preset RAID group is not in a degraded state, or the hard disk When it is not a hard disk in the preset RAID group, power off the electromagnet on the slot corresponding to the slot number, so as to release the iron sheet attached to the electromagnet, and realize the hard disk corresponding to the frame number. Pull out the hard disk corresponding to the slot number.

根据第一方面的第一种可能的实现方式,在第四种可能的实现方式中,所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位,则所述装置还包括:According to the first possible implementation of the first aspect, in the fourth possible implementation, the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, then the device also include:

处理器,用于提取所述指令中的框号,并判断所述框号对应的硬盘框中是否存在硬盘;a processor, configured to extract the frame number in the instruction, and determine whether there is a hard disk in the hard disk frame corresponding to the frame number;

则所述电控开关组件具体用于在所述处理器判断出所述框号对应的硬盘框中存在硬盘,则将所述框号对应的硬盘框中的所有槽位上的电磁铁掉电,以放开与所述电磁铁贴合的铁片,实现对所述框号对应的硬盘框中插入的硬盘的拔出。Then the electronic control switch assembly is specifically used to power off the electromagnets on all the slots in the hard disk enclosure corresponding to the frame number when the processor determines that there is a hard disk in the hard disk enclosure corresponding to the frame number. , so as to release the iron sheet attached to the electromagnet to realize the pulling out of the hard disk inserted in the hard disk enclosure corresponding to the enclosure number.

根据第一方面、第一方面的第一种到第四种可能的实现方式中任一种,在第五种可能的实现方式中,所述装置还包括:According to any one of the first aspect and the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation manner, the device further includes:

应急锁,所述应急锁与所述电磁铁相连接,用于对所述电磁铁通电或掉电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;或者所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。An emergency lock, the emergency lock is connected to the electromagnet, and is used to energize or de-energize the electromagnet, so that after the electromagnet is energized, it will attract the iron sheet attached to the electromagnet; or After the electromagnet is powered off, release the iron sheet attached to the electromagnet.

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

当拉手条插入槽位,所述拉手条的前端上的铁片与所述槽位上的电磁铁贴合时,对所述电磁铁上电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;When the handle bar is inserted into the slot, and the iron sheet on the front end of the handle bar fits with the electromagnet on the slot, the electromagnet is powered on so that the electromagnet can hold the The iron sheet attached to the electromagnet;

接收用户输入的指令,并根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出。Receive the instruction input by the user, and according to the instruction, power off the electromagnet, so that after the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar out.

在第二方面的第一种可能实现方式中,当所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位时,所述根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出,包括:In the first possible implementation manner of the second aspect, when the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk enclosure, according to the instruction, the switching of the electromagnet power, so that after the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar, including:

提取所述指令中的框号和对应的槽号,并判断所述框号对应的槽号对应的硬盘是否为预设RAID组中的硬盘;若是,则判断所述预设RAID组是否处于降级状态,若是,则提示用户输入密码;Extract the frame number and the corresponding slot number in the instruction, and judge whether the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group; if so, then judge whether the preset RAID group is degraded state, if so, prompt the user to enter a password;

在接收到所述用户输入的密码后,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。After receiving the password input by the user, power off the electromagnet on the slot corresponding to the slot number to release the iron sheet attached to the electromagnet to realize the slot number corresponding to the frame number The corresponding hard disk is pulled out.

根据第二方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括:According to the first possible implementation of the second aspect, the second possible implementation further includes:

在判断所述框号对应的槽号对应的硬盘为预设RAID组中的硬盘且所述预设RAID组不处于降级状态,或者所述硬盘不为所述预设RAID组中的硬盘时,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。When it is judged that the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group and the preset RAID group is not in a degraded state, or the hard disk is not a hard disk in the preset RAID group, Power off the electromagnet on the slot corresponding to the slot number, so as to release the iron sheet attached to the electromagnet, and realize the extraction of the hard disk corresponding to the slot number corresponding to the frame number.

在第二方面的第三种可能实现方式中,当所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位时,所述根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出,包括:In a third possible implementation manner of the second aspect, when the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk enclosure, according to the instruction, the switching of the electromagnet power, so that after the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar, including:

提取所述指令中的框号,并判断所述框号对应的硬盘框中是否存在硬盘;Extracting the frame number in the instruction, and judging whether there is a hard disk in the hard disk frame corresponding to the frame number;

在判断出所述框号对应的硬盘框中存在硬盘时,则将所述框号对应的硬盘框中的所有槽位上的电磁铁掉电,以放开与所述电磁铁贴合的铁片,实现对所述框号对应的硬盘框中插入的硬盘的拔出。When it is determined that there is a hard disk in the hard disk enclosure corresponding to the frame number, power off the electromagnets on all slots in the hard disk enclosure corresponding to the frame number to release the iron attached to the electromagnet. to remove the hard disk inserted in the hard disk enclosure corresponding to the enclosure number.

根据第二方面、第二方面的第一种到第三种可能的实现方式中任一种,在第四种可能的实现方式中,所述根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出,包括:According to the second aspect, any one of the first to the third possible implementation manners of the second aspect, in a fourth possible implementation manner, powering down the electromagnet according to the instruction, After the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar, including:

对与所述应急锁相连接的电磁铁通电或掉电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;或者所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。The electromagnet connected with the emergency lock is energized or powered off, so that after the electromagnet is energized, it will hold the iron sheet attached to the electromagnet; or after the electromagnet is powered off, release and The iron sheet attached to the electromagnet.

本实施例所提供的电控锁处理装置及方法,通过将电磁锁组件的铁片和电磁铁分别设置于拉手条的前端和槽位内部,可以在该拉手条插入该槽位时,使得电磁锁组件贴合,从而实现电磁锁组件的安装,并通过对电磁铁的通电或掉电,使得该电磁铁吸住铁片或放开铁片,相应地,实现了电磁锁组件的关锁或开锁,从而解决了现有技术中的硬盘锁需要占用一个槽位而造成空间利用率低的问题,相比于现有技术中的硬盘锁来说更易于操作,提高了使用性能,并增加了使用时间。The electronic control lock processing device and method provided in this embodiment, by setting the iron sheet and the electromagnet of the electromagnetic lock assembly on the front end of the handle bar and inside the slot respectively, can make the electromagnetic lock when the handle bar is inserted into the slot. The lock components fit together, so as to realize the installation of the electromagnetic lock component, and through the energization or power-off of the electromagnet, the electromagnet attracts the iron piece or releases the iron piece, and accordingly, the closing or closing of the electromagnetic lock component is realized. Unlocking, thereby solving the problem that the hard disk lock in the prior art needs to occupy a slot and cause low space utilization. Compared with the hard disk lock in the prior art, it is easier to operate, improves the performance, and increases usage time.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or 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 without any creative effort.

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

图2为本发明图1所示电控锁处理装置的主视图;Fig. 2 is the front view of the electric control lock processing device shown in Fig. 1 of the present invention;

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

图4为本发明图3所示装置所提供的一种电磁锁组件的结构示意图;Fig. 4 is a structural schematic diagram of an electromagnetic lock assembly provided by the device shown in Fig. 3 of the present invention;

图5为本发明图3所示装置所提供的一种密码键盘的界面示意图;Fig. 5 is a schematic diagram of the interface of a password keyboard provided by the device shown in Fig. 3 of the present invention;

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

图7为本发明所提供的一种电控锁处理方法的一个实施例的流程图;Fig. 7 is a flow chart of an embodiment of an electronically controlled lock processing method provided by the present invention;

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

图9为本发明所提供的一种电控锁处理方法的又一个实施例的流程图。Fig. 9 is a flow chart of another embodiment of an electronically controlled lock 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为本发明所提供的一种电控锁处理装置的一个实施例的结构示意图,图2为本发明图1所示电控锁处理装置的主视图。请参考图1和图2,本实施例的装置10可以包括:电磁锁组件100和电控开关组件200(图2中未示出);该电磁锁组件100包括铁片101和电磁铁102;该铁片101,设置在拉手条300的前端,该拉手条300的前端为与硬盘框400接触的一端;该电磁铁102,设置在槽位401内部,用于在该拉手条300插入该槽位401时,与该拉手条300上的铁片101贴合;该电控开关组件200,与该电磁铁102相连接,用于对该电磁铁102通电或掉电,以使该电磁铁102通电后,吸住与该电磁铁102贴合的铁片101;或者该电磁铁102掉电后,放开与该电磁铁102贴合的铁片101。Fig. 1 is a schematic structural view of an embodiment of an electronically controlled lock processing device provided by the present invention, and Fig. 2 is a front view of the electronically controlled lock processing device shown in Fig. 1 of the present invention. Please refer to FIG. 1 and FIG. 2 , the device 10 of this embodiment may include: an electromagnetic lock assembly 100 and an electric control switch assembly 200 (not shown in FIG. 2 ); the electromagnetic lock assembly 100 includes an iron sheet 101 and an electromagnet 102 ; The iron piece 101 is arranged on the front end of the handle bar 300, and the front end of the handle bar 300 is the end in contact with the hard disk frame 400; the electromagnet 102 is arranged inside the slot 401 for inserting the handle bar 300 into the slot When the position is 401, it is attached to the iron sheet 101 on the handle bar 300; the electric control switch assembly 200 is connected with the electromagnet 102, and is used to energize or de-energize the electromagnet 102, so that the electromagnet 102 After energizing, the iron sheet 101 attached to the electromagnet 102 is sucked; or after the electromagnet 102 is powered off, the iron sheet 101 attached to the electromagnet 102 is released.

在本实施例中,拉手条300为一器件固定装置,可以在拉手条300内部设置安装于硬盘框400中的器件,例如可以是硬盘,硬盘框400上设置有多个槽位401,硬盘框400中的器件都是通过槽位401插入该硬盘框400中;在具体实现时,将设置于拉手条300中的器件与拉手条一起从硬盘框400的槽位401中插入,在拉手条300完全插入槽位401时,该拉手条300前端的铁片101与槽位401内部的电磁铁102贴合,本实施例的电磁锁组件100在安装后,不需要占用硬盘框400的空间,完全内置于槽位401之中,相比于现有技术中设置在一个槽位内的硬盘锁来说,可以节省硬盘框的空间。In this embodiment, the handle bar 300 is a device fixing device, and the device installed in the hard disk enclosure 400 can be arranged inside the handle bar 300, for example, it can be a hard disk. The hard disk enclosure 400 is provided with a plurality of slots 401. The hard disk enclosure The devices in 400 are all inserted into the hard disk enclosure 400 through slots 401; in specific implementation, the devices and handles arranged in the handle bar 300 are inserted from the slot 401 of the hard disk enclosure 400 together, and the handle bar 300 When fully inserted into the slot 401, the iron sheet 101 at the front end of the handle bar 300 is in close contact with the electromagnet 102 inside the slot 401. After the electromagnetic lock assembly 100 of this embodiment is installed, it does not need to occupy the space of the hard disk enclosure 400. Built into the slot 401, compared with the hard disk lock arranged in one slot in the prior art, the space of the hard disk enclosure can be saved.

进一步地,与电磁铁102相连接的电控开关组件200用于对该电磁铁102通电或掉电,以使该电磁铁在102通电后具有电磁吸引力,可以吸住与该电磁铁102贴合的铁片101,从而使得电磁锁组件100关锁,进而实现拉手条300在槽位401中的固定;或者该电磁铁102掉电后其电磁吸引力消失,放开与该电磁铁102贴合的铁片101,从而使得电磁锁组件100开锁,进而实现拉手条300从槽位401中的拔出。Further, the electric control switch assembly 200 connected with the electromagnet 102 is used to energize or de-energize the electromagnet 102, so that the electromagnet has an electromagnetic attraction force after the electromagnet 102 is energized, and can attract and stick to the electromagnet 102. combined iron sheet 101, so that the electromagnetic lock assembly 100 is locked, and then the handle bar 300 is fixed in the slot 401; The combined iron piece 101 is used to unlock the electromagnetic lock assembly 100 , and then pull out the handle bar 300 from the slot 401 .

本实施例所提供的电控锁处理装置,通过将电磁锁组件的铁片和电磁铁分别设置于拉手条的前端和槽位内部,可以在该拉手条插入该槽位时,使得电磁锁组件贴合,从而实现电磁锁组件的安装,并通过对电磁铁的通电或掉电,使得该电磁铁吸住铁片或放开铁片,相应地,实现了电磁锁组件的关锁或开锁,从而解决了现有技术中的硬盘锁需要占用一个槽位而造成空间利用率低的问题,相比于现有技术中的硬盘锁来说更易于操作,提高了使用性能,并增加了使用时间。The electric control lock processing device provided in this embodiment can make the electromagnetic lock assembly Fitting, so as to realize the installation of the electromagnetic lock assembly, and through the energization or power-off of the electromagnet, the electromagnet will attract the iron sheet or release the iron sheet, and correspondingly, the closing or unlocking of the electromagnetic lock assembly is realized. Thereby solving the problem that the hard disk lock in the prior art needs to occupy a slot and cause low space utilization rate, compared with the hard disk lock in the prior art, it is easier to operate, improves the use performance, and increases the use time .

图3为本发明所提供的一种电控锁处理装置的另一个实施例的结构示意图。如图3所示,本实施例的装置10在上述实施例的基础上,还包括:密码键盘210,与该电控开关组件200相连接,用于接收用户输入的指令;则该电控开关组件200具体用于在该拉手条300插入该硬盘框400的槽位401时,对与该拉手条300贴合的电磁铁102通电,以使该电磁铁102通电后吸住与该电磁铁102贴合的铁片101;并在该密码键盘210接收到用户输入的指令后,根据该指令,对该电磁铁102掉电,以使该电磁铁102掉电后,放开与该电磁铁102贴合的铁片101。Fig. 3 is a schematic structural diagram of another embodiment of an electronically controlled lock processing device provided by the present invention. As shown in Figure 3, the device 10 of the present embodiment, on the basis of the above-mentioned embodiments, further includes: a password keyboard 210, which is connected with the electric control switch assembly 200, and is used to receive instructions input by the user; The component 200 is specifically used to energize the electromagnet 102 attached to the handle bar 300 when the handle bar 300 is inserted into the slot 401 of the hard disk enclosure 400, so that the electromagnet 102 will attract the electromagnet 102 after being energized. The attached iron sheet 101; and after the password keyboard 210 receives the instruction input by the user, according to the instruction, the electromagnet 102 is powered off, so that after the electromagnet 102 is powered off, the electromagnet 102 is released. Laminated iron sheet 101.

在本实施例中,设置有与电控开关组件200相连接的密码键盘210,用户可以通过该密码键盘210向电控开关组件200发送指令,具体地,该指令可以包括加锁指令和解锁指令,在拉手条300已插入该硬盘框400的槽位401,且该拉手条300前端设置的铁片101与槽位401内部的电磁铁102贴合时,用户通过密码键盘210输入加锁指令后,电控开关组件200根据该加锁指令对与拉手条300贴合的电磁铁102通电,通过后的电磁铁102具有电磁吸引力,可以吸住与该电磁铁102贴合的铁片101,从而使得电磁锁组件100关锁,进而实现拉手条300在槽位401中的固定。In this embodiment, a password keyboard 210 connected to the electric control switch assembly 200 is provided, and the user can send instructions to the electric control switch assembly 200 through the password keyboard 210, specifically, the instructions may include a lock instruction and an unlock instruction , when the handle bar 300 has been inserted into the slot 401 of the hard disk enclosure 400, and the iron sheet 101 provided at the front end of the handle bar 300 is attached to the electromagnet 102 inside the slot 401, after the user inputs the lock command through the password keyboard 210 , the electric control switch assembly 200 energizes the electromagnet 102 attached to the handle bar 300 according to the locking instruction, and the electromagnet 102 after passing has electromagnetic attraction force, which can attract the iron sheet 101 attached to the electromagnet 102, Thus, the electromagnetic lock assembly 100 is locked, and the handle strip 300 is fixed in the slot 401 .

类似地,用户通过密码键盘210输入解锁指令后,电控开关组件200根据该解锁指令对与拉手条300贴合的电磁铁102通电,该电磁铁102掉电后其电磁吸引力消失,放开与该电磁铁102贴合的铁片101,从而使得电磁锁组件100开锁,进而实现拉手条300从槽位401中的拔出。Similarly, after the user inputs an unlocking instruction through the password keyboard 210, the electric control switch assembly 200 energizes the electromagnet 102 attached to the handle bar 300 according to the unlocking instruction, and its electromagnetic attraction force disappears after the electromagnet 102 is powered off. The iron sheet 101 attached to the electromagnet 102 unlocks the electromagnetic lock assembly 100 , and then pulls out the handle strip 300 from the slot 401 .

进一步的,在本发明的又一个实施例中,在上述图3所示实施例的基础上,拉手条300上装配的器件可以为硬盘310,且槽位401为硬盘框400上的槽位,则该装置还包括:Further, in another embodiment of the present invention, on the basis of the above-mentioned embodiment shown in FIG. 3 , the device assembled on the handle bar 300 may be a hard disk 310, and the slot 401 is a slot on the hard disk enclosure 400, then the device also includes:

处理器500,与密码键盘210相连接,用于提取用户输入的指令中的框号和对应的槽号,并判断该框号对应的槽号对应的硬盘310是否为预设RAID组中的硬盘;若是,则判断该预设RAID组是否处于降级状态,若是,则提示用户输入密码;则电控开关组件200具体用于在该密码键盘210接收到用户输入的密码后,对槽号401对应的槽位上的电磁铁102掉电,以放开与该电磁铁102贴合的铁片101,实现该框号对应的槽号对应的硬盘310的拔出。The processor 500 is connected with the password keyboard 210, and is used to extract the frame number and the corresponding slot number in the instruction input by the user, and judge whether the hard disk 310 corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group If so, then judge whether the default RAID group is in a degraded state, if so, then prompt the user to input a password; then the electric control switch assembly 200 is specifically used to correspond to the slot number 401 after the password keyboard 210 receives the password input by the user; The electromagnet 102 on the slot position is powered off, so as to release the iron sheet 101 attached to the electromagnet 102, and realize the extraction of the hard disk 310 corresponding to the slot number corresponding to the frame number.

在本实施例中,在拉手条300中具体装配有硬盘310,则将该手拉条300从硬盘框400上的槽位401插入,完成电磁锁组件100安装后,该拉手条300中装配的硬盘310即是该硬盘框400所在设备中硬盘阵列的其中一个硬盘;本实施例提供一种电磁锁组件的具体结构,图4为本发明图3所示装置所提供的一种电磁锁组件的结构示意图,如图4所示,铁片101和电磁铁102的截面例如可以设置为“凹”型,当铁片101设置与拉手条300前端时,拉手条300中装配的硬件310的接口311从铁片101的凹部101a突出,用于与硬盘框400中的硬盘连接器402相连接,相应地,电磁铁102具体设置在硬盘框400中具有硬盘连接器402的一端,该电磁铁102的凹部102a与上述铁片101的凹部101a重叠,以使硬盘310的接口311可以插入硬盘框400的硬盘连接器402中,实现硬盘310的安装。In this embodiment, the handle bar 300 is specifically equipped with a hard disk 310, then the handle bar 300 is inserted from the slot 401 on the hard disk frame 400, and after the electromagnetic lock assembly 100 is installed, the handle bar 300 assembled The hard disk 310 is one of the hard disks in the hard disk array of the device where the hard disk frame 400 is located; this embodiment provides a specific structure of an electromagnetic lock assembly, and Fig. 4 shows the structure of an electromagnetic lock assembly provided by the device shown in Fig. 3 of the present invention Schematic diagram of the structure, as shown in Figure 4, the cross section of the iron sheet 101 and the electromagnet 102 can be set as a "concave" type, for example, when the iron sheet 101 is arranged on the front end of the handle bar 300, the interface 311 of the hardware 310 assembled in the handle bar 300 Protrude from the concave portion 101a of the iron sheet 101, and be used to be connected with the hard disk connector 402 in the hard disk frame 400. Correspondingly, the electromagnet 102 is specifically arranged at one end having the hard disk connector 402 in the hard disk frame 400, and the electromagnet 102 The concave portion 102 a overlaps with the concave portion 101 a of the iron sheet 101 , so that the interface 311 of the hard disk 310 can be inserted into the hard disk connector 402 of the hard disk enclosure 400 to realize the installation of the hard disk 310 .

本实施例以解锁硬盘310为例进行说明,用户在输入针对该硬盘310的指令时,该指令的格式通常可以为指定硬盘310的[框号:槽号],在具体实现时,首先可以通过密码键盘210选择待处理的器件类型,如图5所示,为本发明图3所示装置所提供的一种密码键盘的界面示意图,图5中“:”为槽位分隔符,“Y”为确认键,“D”为硬盘选择键,“E”为硬盘框选择键,“A”为阵列选择键,“←”为退回键;本实施对硬盘进行解锁,即输入“D”,代表输入的待解锁的对象为一硬盘,进而按照预置的指令格式输入指定硬盘310对应的框号对应的槽号,例如[00:01],以使处理器500提取该指令中的框号和对应的槽号;通常地,RAID组为对硬盘阵列中的硬盘组所做的数据处理方式,以提高该RAID组的数据处理速度或提供冗余备份空间,不同的RAID组具可以做不同的数据处理方式,例如,用户预设的RAID组中的硬盘用于提高数据处理速度,则该RAID组中不存在提供冗余空间的硬盘,若待解锁的硬盘310在该RAID组中,则当处理器判断出输入指令中框号对应的槽号对应的硬盘310为预设的RAID组中的硬盘时,且判断出该预设RAID组处于降级状态,说明该硬盘310不属于空闲状态硬盘,则提示用户若对该硬盘310进行强制拔出有可能造成所在RAID组的失效,以使用户通过输入密码以确定对该硬盘310的拔出,输入的密码可以为管理员预置的专用密码,因此,只有在获知该专用密码的情况下才能对处于降级状态的RAID组中的硬盘进行解锁,从而提高解锁操作的安全性。This embodiment takes unlocking the hard disk 310 as an example for illustration. When the user inputs an instruction for the hard disk 310, the format of the instruction can usually be [frame number: slot number] of the designated hard disk 310. PIN pad 210 selects the device type to be processed, as shown in Figure 5, which is a schematic interface diagram of a PIN pad provided by the device shown in Figure 3 of the present invention, ":" in Figure 5 is the slot separator, "Y" "D" is the hard disk selection key, "E" is the hard disk box selection key, "A" is the array selection key, and "←" is the return key; this implementation unlocks the hard disk, that is, input "D" to represent The input object to be unlocked is a hard disk, and then input the slot number corresponding to the frame number corresponding to the specified hard disk 310 according to the preset instruction format, such as [00:01], so that the processor 500 extracts the frame number and The corresponding slot number; usually, a RAID group is a data processing method for the hard disk group in the hard disk array, so as to improve the data processing speed of the RAID group or provide redundant backup space. Different RAID groups can be used in different ways. Data processing method, for example, if the hard disk in the RAID group preset by the user is used to improve the data processing speed, then there is no hard disk providing redundant space in the RAID group, if the hard disk 310 to be unlocked is in the RAID group, then when When the processor determines that the hard disk 310 corresponding to the slot number corresponding to the frame number in the input command is a hard disk in a preset RAID group, and judges that the preset RAID group is in a degraded state, it means that the hard disk 310 does not belong to an idle hard disk, Then remind the user that if this hard disk 310 is pulled out forcibly, it may cause the failure of the RAID group, so that the user can determine the pulling out of this hard disk 310 by inputting a password. The password input can be the special password preset by the administrator. Therefore, the hard disk in the degraded RAID group can be unlocked only when the special password is known, thereby improving the security of the unlocking operation.

需要说明的是,本实施例中的处理器可以包括阵列管理软件以实现阵列管理的相关功能,该阵列管理软件用于对硬盘阵列中的硬盘进行管理,具体包括:对硬盘阵列中的硬盘做不同功能的RAID组,并检测该RAID组以及该RAID组中各硬盘的工作状态,以识别用户需要解锁的硬盘在拔出后是否会影响该RAID组的正常工作。It should be noted that the processor in this embodiment may include array management software to implement related functions of array management. The array management software is used to manage the hard disks in the hard disk array, specifically including: managing the hard disks in the hard disk array RAID groups with different functions, and detect the working status of the RAID group and each hard disk in the RAID group to identify whether the hard disk that the user needs to unlock will affect the normal operation of the RAID group after being pulled out.

在本实施例的另一种情况中,若用户预设的RAID组中的硬盘为备份空间盘,则该硬盘在未使用时,即为空闲状态的硬盘时,可以随时对其进行插拔且不影响所在RAID组的正常使用,因此,当处理器判断出输入指令中框号对应的槽号对应的硬盘310为预设的RAID组中的硬盘时且该预设RAID组不处于降级状态,或者该硬盘310不为该预设RAID组中的硬盘时,对槽号对应的槽位401上的电磁铁102掉电,以放开与该电磁铁102贴合的铁片101,以实现框号对应的槽号对应的硬盘310的拔出。In another case of this embodiment, if the hard disk in the RAID group preset by the user is a backup space disk, then the hard disk can be plugged and unplugged at any time when it is not in use, that is, when it is an idle hard disk. Does not affect the normal use of the RAID group. Therefore, when the processor judges that the hard disk 310 corresponding to the slot number corresponding to the frame number in the input command is a hard disk in a preset RAID group and the preset RAID group is not in a degraded state, Or when the hard disk 310 is not the hard disk in the preset RAID group, power off the electromagnet 102 on the slot 401 corresponding to the slot number, so as to release the iron sheet 101 attached to the electromagnet 102 to realize frame The hard disk 310 corresponding to the slot number corresponding to the number is pulled out.

本实施例在具体实现时,对待解锁硬盘所在的RAID组是否处于降级状态的判断,可以由硬盘阵列中的阵列管理程序实现;具体通过密码键盘的通用输入/输出(General Purpose Input Output,简称:GPIO)通道和阵列管理程序实现对电磁锁组件的控制。When this embodiment is actually implemented, the judgment of whether the RAID group where the hard disk is to be unlocked is in a degraded state can be realized by the array management program in the hard disk array; specifically through the general purpose input/output (General Purpose Input Output, referred to as: GPIO) channel and array management program to realize the control of electromagnetic lock components.

本实施例所提供的电控锁处理装置,通过密码键盘的输入指令对指定硬盘进行解锁,并由处理器判断该指令所指示的硬盘是否为预设的RAID组中的硬盘,以及判断该预设的RAID组是否处于降级状态,在对该指定的硬盘进行解锁前获取其使用状态信息,以提示用户该硬盘的拔取是否会影响其所在RAID组的正常使用,实现对指定硬盘的智能拔取,避免用户对硬盘的误拔插,提高硬盘阵列的安全性能。The electronically controlled lock processing device provided in this embodiment unlocks the specified hard disk through the input command of the password keyboard, and the processor judges whether the hard disk indicated by the command is a hard disk in a preset RAID group, and judges whether the hard disk is preset Whether the set RAID group is in a degraded state, obtain the use status information of the specified hard disk before unlocking it, to remind the user whether the removal of the hard disk will affect the normal use of the RAID group where it is located, and realize the intelligent removal of the specified hard disk. Prevent users from plugging and unplugging the hard disk by mistake, and improve the security performance of the hard disk array.

更进一步地,在本发明的还一个实施例中,在图3所示实施例的基础上,该装置还可以包括:Furthermore, in another embodiment of the present invention, on the basis of the embodiment shown in Figure 3, the device may further include:

处理器500,用于提取输入指令中的框号,并判断该框号对应的硬盘框400中是否存在硬盘;则电控开关组件200具体用于在该处理器500判断出该框号对应的硬盘框400中存在硬盘时,则将该框号对应的硬盘框中的所有槽位上的电磁铁102掉电,以放开与该电磁铁102贴合的铁片101,实现对该框号对应的硬盘框400中插入的硬盘310的拔出。The processor 500 is used to extract the frame number in the input command, and judge whether there is a hard disk in the hard disk frame 400 corresponding to the frame number; When there are hard disks in the hard disk enclosure 400, power off the electromagnets 102 on all slots in the hard disk enclosure corresponding to the enclosure number, so as to release the iron sheet 101 attached to the electromagnet 102, and realize the The hard disk 310 inserted into the corresponding hard disk enclosure 400 is pulled out.

在本实施例中,输入指令的待解锁对象具体为硬盘框,以上述图5提供的密码键盘为例进行说明,本实施对硬盘框进行解锁,则输入“E”,进而输入指定的硬盘框号,以使处理器提取指令中的框号实现对该硬盘框的解锁,对硬盘框的解锁,具体实现了对该硬盘框中所有硬盘的拔出,在实际使用中若需要对硬盘阵列中某个硬盘框中硬盘进行整体更换时,以硬盘框为解锁对象的处理方式更为方便,提高工作效率。In this embodiment, the object to be unlocked by the input command is specifically the hard disk enclosure. The password keyboard provided in Figure 5 above is used as an example for illustration. In this implementation, to unlock the hard disk enclosure, input "E", and then input the specified hard disk enclosure No., so that the processor extracts the frame number in the instruction to unlock the hard disk frame. The unlocking of the hard disk frame specifically realizes the removal of all the hard disks in the hard disk frame. In actual use, if it is necessary to When the hard disks in a hard disk enclosure are replaced as a whole, it is more convenient to use the hard disk enclosure as the unlocking object, which improves work efficiency.

图6为本发明所提供的一种电控锁处理装置的再一个实施例的结构示意图。如图6所示,本实施例提供的装置10以在上述图3提供的装置基础上进行扩展为例,还包括:应急锁220,该应急锁220与电磁铁102相连接,用于对该电磁铁102通电或掉电,以使该电磁铁102通电后,吸住与该电磁铁102贴合的铁片101;或者该电磁铁102掉电后,放开与该电磁铁102贴合的铁片101。Fig. 6 is a schematic structural diagram of another embodiment of an electronically controlled lock processing device provided by the present invention. As shown in Figure 6, the device 10 provided by this embodiment is expanded on the basis of the device provided in Figure 3 as an example, and further includes: an emergency lock 220, which is connected with the electromagnet 102 for The electromagnet 102 is energized or powered off, so that after the electromagnet 102 is energized, it sucks the iron sheet 101 attached to the electromagnet 102; Iron Sheet 101.

在本实施例中,应急锁220与硬盘框400中的所有电磁锁组件100的电磁铁102相连接,当电控锁处理装置10用于硬盘阵列中时,该应急锁220与硬盘阵列中的硬盘框400一一对应,且可以设置在硬盘框400上,用户通过对该应急锁220的操作,实现对该应急锁220对应的硬盘框400中所有电磁锁组件100的解锁,进而实现该硬盘框400中所有硬盘的拔取。本实施中的应急锁220与上述实施例中电控开关组件200的功能类似,不同的是,应急锁220具体实现对硬盘框的解锁,且可以减少密码键盘输入指令和处理器的判断的操作方式,更加方便用户的对硬盘框的解锁。In this embodiment, the emergency lock 220 is connected to the electromagnets 102 of all electromagnetic lock assemblies 100 in the hard disk enclosure 400. When the electronically controlled lock processing device 10 is used in a hard disk array, the emergency lock 220 is connected to The hard disk enclosures 400 are in one-to-one correspondence, and can be installed on the hard disk enclosure 400. By operating the emergency lock 220, the user can unlock all the electromagnetic lock components 100 in the hard disk enclosure 400 corresponding to the emergency lock 220, and then realize the hard disk Selection of all hard disks in box 400 . The function of the emergency lock 220 in this embodiment is similar to that of the electronically controlled switch assembly 200 in the above-mentioned embodiment. The difference is that the emergency lock 220 specifically implements the unlocking of the hard disk enclosure, and can reduce the operation of inputting instructions from the password keyboard and judging by the processor. This method makes it more convenient for users to unlock the hard disk enclosure.

图7为本发明所提供的一种电控锁处理方法的一个实施例的流程图,本实施例提供的方法适用于本发明图1所示装置的操作方式。如图7所示,本实施例的方法可以包括:FIG. 7 is a flow chart of an embodiment of an electric control lock 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 7, the method of this embodiment may include:

S110,当拉手条插入槽位,该拉手条的前端上的铁片与该槽位上的电磁铁贴合时,对该电磁铁上电,以使该电磁铁通电后,吸住与该电磁铁贴合的铁片。S110. When the handle bar is inserted into the slot and the iron sheet on the front end of the handle bar is attached to the electromagnet on the slot, the electromagnet is powered on so that the electromagnet is energized to attract the electromagnet. Iron laminated iron sheet.

S120,接收用户输入的指令,并根据该指令,对该电磁铁掉电,以使该电磁铁掉电后,放开与该电磁铁贴合的铁片,实现该拉手条的拔出。S120, receiving an instruction input by the user, and powering off the electromagnet according to the instruction, so that after the electromagnet is powered off, release the iron sheet attached to the electromagnet to realize pulling out the handle bar.

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

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

S210,当拉手条插入槽位,该拉手条的前端上的铁片与该槽位上的电磁铁贴合时,对该电磁铁上电,以使该电磁铁通电后,吸住与该电磁铁贴合的铁片。S210, when the handle bar is inserted into the slot and the iron sheet on the front end of the handle bar is attached to the electromagnet on the slot, power on the electromagnet, so that after the electromagnet is energized, it will attract the electromagnet and the electromagnet. Iron laminated iron sheet.

在本实施例中,拉手条上装配有硬盘,且该槽位为硬盘框上的槽位,则本实施例的提供的方法还包括:In this embodiment, the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, then the method provided in this embodiment also includes:

S220,接收用户输入的指令,提取该指令中的框号和对应的槽号。S220. Receive an instruction input by the user, and extract the frame number and the corresponding slot number in the instruction.

S230,判断该框号对应的槽号对应的硬盘是否为预设RAID组中的硬盘;若是,则执行S240;若否,则执行S270。S230. Determine whether the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group; if yes, execute S240; if not, execute S270.

S240,判断该预设RAID组是否处于降级状态,若是,则执行S250;若否,则执行S270。S240, judging whether the preset RAID group is in a degraded state, if yes, execute S250; if not, execute S270.

S250,提示用户输入密码。S250, prompting the user to input a password.

S260,在接收到该用户输入的密码后,对该槽号对应的槽位上的电磁铁掉电,以放开与该电磁铁贴合的铁片,实现该框号对应的槽号对应的硬盘的拔出。结束。S260, after receiving the password input by the user, power off the electromagnet on the slot corresponding to the slot number, so as to release the iron sheet attached to the electromagnet, and realize the corresponding slot number corresponding to the frame number. Unplugging the hard drive. Finish.

S270,对该槽号对应的槽位上的电磁铁掉电,以放开与该电磁铁贴合的铁片,实现该框号对应的槽号对应的硬盘的拔出。结束。S270, power off the electromagnet on the slot corresponding to the slot number, so as to release the iron sheet attached to the electromagnet, and realize the pulling out of the hard disk corresponding to the slot number corresponding to the frame number. Finish.

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

S310,当拉手条插入槽位,该拉手条的前端上的铁片与该槽位上的电磁铁贴合时,对该电磁铁上电,以使该电磁铁通电后,吸住与该电磁铁贴合的铁片。S310. When the handle bar is inserted into the slot and the iron sheet on the front end of the handle bar is attached to the electromagnet on the slot, the electromagnet is powered on so that the electromagnet is energized to attract the electromagnet and the electromagnet. Iron laminated iron sheet.

在本实施例中,拉手条上装配有硬盘,且该槽位为硬盘框上的槽位,则本实施例的提供的方法还包括:In this embodiment, the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, then the method provided in this embodiment also includes:

S320,接收用户输入的指令,提取该指令中的框号。S320. Receive an instruction input by the user, and extract the frame number in the instruction.

S330,判断该框号对应的硬盘框中是否存在硬盘;若存在,则执行S340;若不存在,则结束。S330, judging whether there is a hard disk in the hard disk enclosure corresponding to the enclosure number; if yes, execute S340; if not, end.

S340,将该框号对应的硬盘框中的所有槽位上的电磁铁掉电,以放开与该电磁铁贴合的铁片,实现对该框号对应的硬盘框中插入的硬盘的拔出。S340, power off the electromagnets on all slots in the hard disk enclosure corresponding to the enclosure number, so as to release the iron sheet attached to the electromagnet, and realize the removal of the hard disk inserted in the hard disk enclosure corresponding to the enclosure number. out.

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

更进一步地,在本发明的还一个实施例中,在上述图8或图9所示实施例的基础上,该方法还包括:Furthermore, in another embodiment of the present invention, on the basis of the above-mentioned embodiment shown in FIG. 8 or FIG. 9 , the method further includes:

对与该应急锁相连接的电磁铁通电或掉电,以使该电磁铁通电后,吸住与该电磁铁贴合的铁片;或者该电磁铁掉电后,放开与该电磁铁贴合的铁片。Power on or off the electromagnet connected to the emergency lock, so that after the electromagnet is powered on, it will hold the iron sheet attached to the electromagnet; or after the electromagnet is powered off, release the iron sheet attached to the electromagnet. combined iron sheet.

本发明实施例提供的电控锁处理方法为本发明图6所示实施例提供的电控锁处理装置的处理方法,具备相应的方法步骤,其实现原理和技术效果类似,此处不再赘述。The electric control lock processing method provided by the embodiment of the present invention is the processing method of the electric control lock processing device provided by the embodiment shown in FIG. .

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括: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 including 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 (11)

1.一种电控锁处理装置,其特征在于,包括:电磁锁组件和电控开关组件;所述电磁锁组件包括铁片和电磁铁;1. An electronically controlled lock processing device, characterized in that, comprising: an electromagnetic lock assembly and an electronically controlled switch assembly; the electromagnetic lock assembly includes an iron sheet and an electromagnet; 所述铁片,设置在拉手条的前端,所述拉手条的前端为与硬盘框接触的一端;The iron sheet is arranged at the front end of the handle bar, and the front end of the handle bar is the end in contact with the hard disk frame; 所述电磁铁,设置在槽位内部,用于在所述拉手条插入所述槽位时,与所述拉手条上的铁片贴合;The electromagnet is arranged inside the slot, and is used to fit the iron sheet on the handle bar when the handle bar is inserted into the slot; 所述电控开关组件,与所述电磁铁相连接,用于对所述电磁铁通电或掉电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;或者所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。The electric control switch assembly is connected to the electromagnet and is used to energize or de-energize the electromagnet, so that after the electromagnet is energized, it will attract the iron sheet attached to the electromagnet; or After the electromagnet is powered off, release the iron sheet attached to the electromagnet. 2.根据权利要求1所述的装置,其特征在于,还包括:2. The device according to claim 1, further comprising: 密码键盘,与所述电控开关组件相连接,用于接收用户输入的指令;a password keyboard, connected to the electric control switch assembly, for receiving instructions input by the user; 则所述电控开关组件具体用于在所述拉手条插入所述槽位时,对与所述拉手条贴合的电磁铁通电,以使所述电磁铁通电后吸住与所述电磁铁贴合的铁片;并在所述密码键盘接收到用户输入的指令后,根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。Then the electric control switch assembly is specifically used to energize the electromagnet attached to the handle strip when the handle strip is inserted into the slot, so that the electromagnet will attract the electromagnet after being energized. and after the password keyboard receives an instruction input by the user, according to the instruction, the electromagnet is powered off, so that after the electromagnet is powered off, the electromagnet is released. Fitted iron sheet. 3.根据权利要求2所述的装置,其特征在于,所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位,则所述装置还包括:3. The device according to claim 2, wherein the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, then the device further comprises: 处理器,与所述密码键盘相连接,用于提取所述指令中的框号和对应的槽号,并判断所述框号对应的槽号对应的硬盘是否为预设RAID组中的硬盘;若是,则判断所述预设RAID组是否处于降级状态,若是,则提示用户输入密码;A processor, connected to the password keyboard, for extracting the frame number and the corresponding slot number in the instruction, and judging whether the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group; If so, it is judged whether the preset RAID group is in a degraded state, and if so, the user is prompted to enter a password; 则所述电控开关组件具体用于在所述密码键盘接收到所述用户输入的密码后,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述槽号对应的槽位上的电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。Then the electric control switch assembly is specifically used to power off the electromagnet on the slot corresponding to the slot number after the password keyboard receives the password input by the user, so as to release the power corresponding to the slot number. The iron sheet attached to the electromagnet on the slot position realizes the pulling out of the hard disk corresponding to the slot number corresponding to the frame number. 4.根据权利要求3所述的装置,其特征在于,还包括:4. The device according to claim 3, further comprising: 所述电控开关组件具体用于在所述处理器判断所述框号对应的槽号对应的硬盘为预设RAID组中的硬盘且所述预设RAID组不处于降级状态,或者所述硬盘不为所述预设RAID组中的硬盘时,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述槽号对应的槽位上的电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。The electronically controlled switch assembly is specifically used for judging by the processor that the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group and the preset RAID group is not in a degraded state, or the hard disk When it is not a hard disk in the preset RAID group, power off the electromagnet on the slot corresponding to the slot number to release the iron sheet attached to the electromagnet on the slot corresponding to the slot number , realizing the removal of the hard disk corresponding to the slot number corresponding to the frame number. 5.根据权利要求2所述的装置,其特征在于,所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位,则所述装置还包括:5. The device according to claim 2, wherein the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, then the device further comprises: 处理器,用于提取所述指令中的框号,并判断所述框号对应的硬盘框中是否存在硬盘;a processor, configured to extract the frame number in the instruction, and determine whether there is a hard disk in the hard disk frame corresponding to the frame number; 则所述电控开关组件具体用于在所述处理器判断出所述框号对应的硬盘框中存在硬盘,则将所述框号对应的硬盘框中的所有槽位上的电磁铁掉电,以放开与所述框号对应的硬盘框中的所有槽位上的电磁铁贴合的铁片,实现对所述框号对应的硬盘框中插入的硬盘的拔出。Then the electronic control switch assembly is specifically used to power off the electromagnets on all the slots in the hard disk enclosure corresponding to the frame number when the processor determines that there is a hard disk in the hard disk enclosure corresponding to the frame number. , to release the iron sheets attached to the electromagnets on all the slots in the hard disk enclosure corresponding to the enclosure number, so as to pull out the hard disk inserted in the hard disk enclosure corresponding to the enclosure number. 6.根据权利要求1所述的装置,其特征在于,还包括:6. The device according to claim 1, further comprising: 应急锁,所述应急锁与所述电磁铁相连接,用于对所述电磁铁通电或掉电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;或者所述电磁铁掉电后,放开与所述电磁铁贴合的铁片。An emergency lock, the emergency lock is connected to the electromagnet, and is used to energize or de-energize the electromagnet, so that after the electromagnet is energized, it will attract the iron sheet attached to the electromagnet; or After the electromagnet is powered off, release the iron sheet attached to the electromagnet. 7.一种电控锁处理方法,其特征在于,包括:7. A processing method for electronically controlled locks, comprising: 当拉手条插入槽位,所述拉手条的前端上的铁片与所述槽位上的电磁铁贴合时,对所述电磁铁上电,以使所述电磁铁通电后,吸住与所述电磁铁贴合的铁片;When the handle bar is inserted into the slot, and the iron sheet on the front end of the handle bar fits with the electromagnet on the slot, the electromagnet is powered on so that the electromagnet can hold the The iron sheet attached to the electromagnet; 接收用户输入的指令,并根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出。Receive the instruction input by the user, and according to the instruction, power off the electromagnet, so that after the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar out. 8.根据权利要求7所述的方法,其特征在于,当所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位时,根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出,包括:8. The method according to claim 7, characterized in that, when the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, according to the instruction, the electromagnet is switched off. power, so that after the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar, including: 提取所述指令中的框号和对应的槽号,并判断所述框号对应的槽号对应的硬盘是否为预设RAID组中的硬盘;若是,则判断所述预设RAID组是否处于降级状态,若是,则提示用户输入密码;Extract the frame number and the corresponding slot number in the instruction, and judge whether the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group; if so, then judge whether the preset RAID group is degraded state, if so, prompt the user to enter a password; 在接收到所述用户输入的密码后,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述槽号对应的槽位上的电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。After receiving the password input by the user, power off the electromagnet on the slot corresponding to the slot number to release the iron sheet attached to the electromagnet on the slot corresponding to the slot number to realize The hard disk corresponding to the slot number corresponding to the frame number is pulled out. 9.根据权利要求8所述的方法,其特征在于,还包括:9. The method according to claim 8, further comprising: 在判断所述框号对应的槽号对应的硬盘为预设RAID组中的硬盘且所述预设RAID组不处于降级状态,或者所述硬盘不为所述预设RAID组中的硬盘时,对所述槽号对应的槽位上的电磁铁掉电,以放开与所述槽号对应的槽位上的电磁铁贴合的铁片,实现所述框号对应的槽号对应的硬盘的拔出。When it is judged that the hard disk corresponding to the slot number corresponding to the frame number is a hard disk in a preset RAID group and the preset RAID group is not in a degraded state, or the hard disk is not a hard disk in the preset RAID group, Power off the electromagnet on the slot corresponding to the slot number to release the iron sheet attached to the electromagnet on the slot corresponding to the slot number to realize the hard disk corresponding to the slot number corresponding to the frame number unplugged. 10.根据权利要求7所述的方法,其特征在于,当所述拉手条上装配有硬盘,且所述槽位为硬盘框上的槽位时,根据所述指令,对所述电磁铁掉电,以使所述电磁铁掉电后,放开与所述电磁铁贴合的铁片,实现所述拉手条的拔出,包括:10. The method according to claim 7, characterized in that, when the handle bar is equipped with a hard disk, and the slot is a slot on the hard disk frame, according to the instruction, the electromagnet is switched off. power, so that after the electromagnet is powered off, the iron sheet attached to the electromagnet is released to realize the pulling out of the handle bar, including: 提取所述指令中的框号,并判断所述框号对应的硬盘框中是否存在硬盘;Extracting the frame number in the instruction, and judging whether there is a hard disk in the hard disk frame corresponding to the frame number; 在判断出所述框号对应的硬盘框中存在硬盘时,则将所述框号对应的硬盘框中的所有槽位上的电磁铁掉电,以放开与所述框号对应的硬盘框中的所有槽位上的电磁铁贴合的铁片,实现对所述框号对应的硬盘框中插入的硬盘的拔出。When it is determined that there is a hard disk in the hard disk enclosure corresponding to the frame number, power off the electromagnets on all slots in the hard disk enclosure corresponding to the frame number to release the hard disk enclosure corresponding to the frame number The iron sheets attached to the electromagnets on all the slots in the frame can realize the pulling out of the hard disk inserted in the hard disk frame corresponding to the frame number. 11.根据权利要求7所述的方法,其特征在于,所述电磁铁与应急锁相连接,所述方法还包括:11. The method according to claim 7, wherein the electromagnet is connected with the emergency lock, and the method further comprises: 对与所述应急锁相连接的电磁铁通电或掉电,以使与所述应急锁相连接的电磁铁通电后,吸住与与所述应急锁相连接的电磁铁贴合的铁片;或者与所述应急锁相连接的电磁铁掉电后,放开与与所述应急锁相连接的电磁铁贴合的铁片。Power on or power off the electromagnet connected to the emergency lock, so that after the electromagnet connected to the emergency lock is energized, the iron sheet attached to the electromagnet connected to the emergency lock is sucked; Or after the electromagnet connected with the emergency lock is powered off, release the iron sheet attached to the electromagnet connected with the emergency lock.
CN201310538471.3A 2013-11-04 2013-11-04 Electric control lock processing means and method Active CN103556876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310538471.3A CN103556876B (en) 2013-11-04 2013-11-04 Electric control lock processing means and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310538471.3A CN103556876B (en) 2013-11-04 2013-11-04 Electric control lock processing means and method

Publications (2)

Publication Number Publication Date
CN103556876A CN103556876A (en) 2014-02-05
CN103556876B true CN103556876B (en) 2016-08-17

Family

ID=50011212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310538471.3A Active CN103556876B (en) 2013-11-04 2013-11-04 Electric control lock processing means and method

Country Status (1)

Country Link
CN (1) CN103556876B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113260211B (en) * 2021-03-31 2023-03-14 深圳市智微智能科技股份有限公司 Easily-maintained super high-rise server installation frame and maintenance method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108208A (en) * 1991-10-18 1993-04-30 Fujitsu Ltd Expansion unit device
US5483423A (en) * 1993-11-16 1996-01-09 Digital Equipment Corporation EMI shielding for components
US6459571B1 (en) * 2000-06-15 2002-10-01 Bull Hn Information Systems Inc. Packaging system for mass memory units
GB2423644A (en) * 2005-02-28 2006-08-30 David Brooks Personal computer with storage drawers and/or cupboards
CN201616270U (en) * 2010-01-12 2010-10-27 东莞市东方科技有限公司 Hard disk drawing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108208A (en) * 1991-10-18 1993-04-30 Fujitsu Ltd Expansion unit device
US5483423A (en) * 1993-11-16 1996-01-09 Digital Equipment Corporation EMI shielding for components
US6459571B1 (en) * 2000-06-15 2002-10-01 Bull Hn Information Systems Inc. Packaging system for mass memory units
GB2423644A (en) * 2005-02-28 2006-08-30 David Brooks Personal computer with storage drawers and/or cupboards
CN201616270U (en) * 2010-01-12 2010-10-27 东莞市东方科技有限公司 Hard disk drawing device

Also Published As

Publication number Publication date
CN103556876A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
EP2942716B1 (en) Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal
CN103324549B (en) The implementation method of sleep standby and communication terminal
CN101551837B (en) Method for switching user accounts and computer
CN105981337B (en) Network switch configuration for modular components
CN103556876B (en) Electric control lock processing means and method
CN103677920A (en) Critical application program identifying and starting accelerating method and system
CN110768802A (en) A network security automatic disconnection device
JP6425475B2 (en) Information processing apparatus capable of controlling mechanical switch of power supply, control method therefor, and program
CN106383769A (en) Management method and device for hot plug of computer module in touch all-in-one machine
CN103276955B (en) Computer intelligent hole-locking device
CN107092567A (en) Apparatus and method having a locking mechanism and non-transitory computer readable medium
CN100386751C (en) Method and device for automatic initialization of USB equipment
CN111098723B (en) Charging port electronic lock control method and system
CN110703869A (en) Method and system for controlling plug-pull of NVMe hard disk and related components
CN117717238A (en) Two-ticket key management cabinet, management method and system
WO2006083935A2 (en) Secure computer system
WO2017128608A1 (en) Reverse power supply method and system and control equipment
CN104423790A (en) Information processing method and electronic device
CN100454262C (en) Single board and system and method for turning off single board power supply
CN106648252A (en) Method and terminal for interface display
WO2009149637A1 (en) Method, system and single board of supporting hot plug
CN216748626U (en) Monitoring integrated management platform server
CN205103724U (en) Can realize integrated circuit board that reliable hot drawing inserted
CN108965429A (en) Desktop virtualization method based on mobile storage connector
CN110187926A (en) A kind of hard disk locking means, system, device and readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant