CN107785039B - Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device - Google Patents

Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device Download PDF

Info

Publication number
CN107785039B
CN107785039B CN201610799596.5A CN201610799596A CN107785039B CN 107785039 B CN107785039 B CN 107785039B CN 201610799596 A CN201610799596 A CN 201610799596A CN 107785039 B CN107785039 B CN 107785039B
Authority
CN
China
Prior art keywords
hard disk
slot
state
switch device
place
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
CN201610799596.5A
Other languages
Chinese (zh)
Other versions
CN107785039A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201610799596.5A priority Critical patent/CN107785039B/en
Publication of CN107785039A publication Critical patent/CN107785039A/en
Application granted granted Critical
Publication of CN107785039B publication Critical patent/CN107785039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/12Disposition of constructional parts in the apparatus, e.g. of power supply, of modules
    • G11B33/121Disposition of constructional parts in the apparatus, e.g. of power supply, of modules the apparatus comprising a single recording/reproducing device
    • G11B33/122Arrangements for providing electrical connections, e.g. connectors, cables, switches
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/10Indicating arrangements; Warning arrangements

Abstract

The invention relates to the technical field of data storage, and discloses a hard disk box, a hard disk assembly, a hard disk hot plug control method and a hard disk hot plug control device, which are used for reducing damage of hot plug to a hard disk and data and improving the safety and reliability of hard disk use. This hard disk cartridge includes the hard disk cartridge body, sets up in the switching device of hard disk cartridge body to and set up in this internal hard disk slot of hard disk cartridge and control circuit, wherein: the control circuit is electrically connected with the switch device and the in-place contact of the hard disk slot and is used for controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot.

Description

Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device
Technical Field
The invention relates to the technical field of data storage, in particular to a hard disk box, a hard disk assembly, a hard disk hot plug control method and a hard disk hot plug control device.
Background
With the rapid development of the information society, data storage modes are also updated, and the main data storage mode is a hard disk at present. Therefore, data security and protection of the hard disk are increasingly important, and hot plugging of the hard disk when the hard disk performs read/write operations may cause damage to the hard disk and may also cause data loss.
Disclosure of Invention
The embodiment of the invention provides a hard disk box, a hard disk assembly, a hard disk hot plug control method and a hard disk hot plug control device, which are used for reducing the damage of hot plug to a hard disk and data.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a hard disk cartridge comprising: hard disk cartridge body, set up in the switching device of hard disk cartridge body to and set up hard disk slot and the control circuit in hard disk cartridge body, wherein: the control circuit is electrically connected with the switch device and the in-place contact of the hard disk slot and is used for controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot.
Optionally, the switch device includes a trigger switch and a switch door having a contact inside, and the control circuit is electrically connected to the trigger switch;
when the switch door is closed, the contact is abutted to the trigger switch, and the switch device is in a closed state;
when the switch door is opened, the contact is separated from the trigger switch, and the switch device is in a disconnected state.
Optionally, the control circuit is configured to control the hard disk slot to supply power to the hard disk when the switch device is in a closed state and the hard disk of the hard disk slot is in place; and
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power; and
when the switch device is in an off state and the hard disk of the hard disk slot is in place, controlling the hard disk slot not to supply power; and
and when the switch device is in an off state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power.
Optionally, the control circuit is further configured to control the hard disk to store current read-write data information and stop the read-write operation when the switch device is turned off when the hard disk slot is in a power supply state; and controlling the hard disk slot to be powered off after the steps are completed.
The embodiment of the invention is characterized in that the hard disk cartridge body is provided with the switch device, and the hard disk cartridge body is internally provided with the control circuit which is electrically connected with the switch device and the contact of the hard disk slot. The control circuit controls the power supply state of the hard disk slot according to the on-off state of the switch device and the in-place state of the hard disk in the hard disk slot. The hard disk cartridge reduces the damage of hot plug to the hard disk and data, thereby improving the safety and reliability of the hard disk.
The embodiment of the invention also provides a hard disk assembly which comprises a hard disk and the hard disk box, wherein the hard disk is arranged in the hard disk slot of the hard disk box.
The hard disk assembly reduces the damage of hot plug to the hard disk and data, thereby improving the safety and reliability of the hard disk.
The embodiment of the invention also provides a hard disk hot plug control method, which comprises the following steps:
receiving the opening and closing state of the switch device and the hard disk in-place state of the hard disk slot;
and controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot.
Optionally, the controlling the power supply state of the hard disk slot according to the open/close state of the switch device and the hard disk on-site state of the hard disk slot includes:
when the switch device is in a closed state and the hard disk of the hard disk slot is in place, controlling the hard disk slot to supply power to the hard disk;
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power;
when the switch device is in an off state and the hard disk of the hard disk slot is in place, controlling the hard disk slot not to supply power;
and when the switch device is in an off state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power.
Optionally, the hard disk hot plug control method further includes:
when the switch device is disconnected when the hard disk slot is in a power supply state, controlling the hard disk to store current read-write data information and stopping read-write operation; and controlling the hard disk slot to be powered off after the steps are completed.
The hard disk hot plug control method is applied to the hard disk cartridge and the hard disk assembly, and can effectively reduce the damage of the hot plug to the hard disk and the data.
A hard disk hot plug control device comprises:
the receiving module is used for receiving the opening and closing state of the switch device and the hard disk in-place state of the hard disk slot;
and the first control processing module is used for controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot.
Optionally, the first control processing module is specifically configured to control the hard disk slot to supply power to the hard disk when the switch device is in a closed state and the hard disk of the hard disk slot is in place; and
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power; and
when the switch device is in an off state and the hard disk of the hard disk slot is in place, controlling the hard disk slot not to supply power; and
and when the switch device is in an off state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power.
Optionally, the first control processing module is further configured to control the hard disk to store current read-write data information and stop the read-write operation when the switch device is turned off when the hard disk slot is in a power supply state; and controlling the hard disk slot to be powered off after the steps are completed.
Preferably, the hard disk hot plug control device further comprises a second control processing module, which is used for lighting the first signal lamp and the second signal lamp when the switch device is in a closed state and the hard disk of the hard disk slot is in place; and
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, a first signal lamp is lightened; and
when the switch device is in a non-closed state and the hard disk of the hard disk slot is in place, the second signal lamp is lightened to be extinguished after a set time period; and
when the switch device is in the non-closed state and the hard disk of the hard disk slot is not in place, the first signal lamp and the second signal lamp are kept in the off state.
Preferably, the second control processing module is further configured to control to turn off the second signal lamp after the hard disk slot is powered off for a second set time period.
The hard disk control device is applied to the hard disk box and the hard disk assembly, has a hot plug protection effect, and can reduce the damage of the hot plug to the hard disk and data.
Drawings
FIG. 1 is a schematic structural diagram of a hard disk cartridge according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a hard disk cartridge according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for controlling hot plug of a hard disk cartridge according to an embodiment of the present invention;
FIG. 4 is a power-on flow chart of a hard disk cartridge hot plug control method according to an embodiment of the present invention;
FIG. 5 is a power-on flow chart of a hard disk cartridge hot plug control method according to another embodiment of the present invention;
FIG. 6 is a power-off flow chart of a hard disk cartridge hot plug control method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hard disk cartridge hot plug control apparatus according to an embodiment of the present invention.
Reference numerals:
1-hard disk cartridge body
2-switching device
21-opening and closing door
22-trigger switch
23-contact
3-hard disk slot
4-control circuit
5-first signal lamp
6-second signal lamp
7-receiving module
8-first control processing module
9-second control processing module
Detailed Description
In order to reduce damage of hot plug to a hard disk and data, the embodiment of the invention provides a hard disk cartridge, a hard disk assembly, a hard disk hot plug control method and a hard disk hot plug control device. In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail by referring to the following examples.
Referring to fig. 1, a hard disk cartridge according to an embodiment of the present invention includes: hard disk cartridge body 1, set up in hard disk cartridge body 1's switching device 2 to and set up hard disk slot 3 and control circuit 4 in hard disk cartridge body 1, wherein: the control circuit 4 is electrically connected with the switch device 2 and the in-place contact of the hard disk slot 3, and is used for controlling the power supply state of the hard disk slot 3 according to the opening and closing state of the switch device 2 and the in-place state of the hard disk slot 3.
The hard disk in-place state of the hard disk slot 3 specifically comprises the hard disk in-place state and the hard disk out-of-place state, wherein the hard disk out-of-place state is divided into the hard disk not-in-place state and the hard disk damage, and the hard disk not-in-place state is the hard disk not-in-place state, namely the hard disk does not abut against the in-place contact of the. When the switch device 2 is in a closed state and the hard disk of the hard disk slot is in place, the control circuit 4 controls the hard disk slot 3 to supply power to the hard disk; when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is not in place, controlling the hard disk slot 3 not to supply power; when the switch device 2 is in an off state and the hard disk of the hard disk slot 3 is in place, controlling the hard disk slot 3 not to supply power; and when the switch device 2 is in an off state and the hard disk of the hard disk slot 3 is not in place, controlling the hard disk slot 3 not to supply power. The control circuit 4 is also used for controlling the hard disk to store the current read-write data information and stop the read-write operation when the switch device 2 is disconnected when the hard disk slot 3 is in a power supply state; and controlling the hard disk slot 3 to be powered off after the steps are completed.
In the technical scheme of the embodiment of the invention, the switch device 2 is arranged on the hard disk cartridge body 1, and the control circuit 4 electrically connected with the switch device 2 and the contact of the hard disk slot 3 is arranged in the hard disk cartridge body 1. The control circuit 4 controls the power supply state of the hard disk slot 3 according to the on-off state of the switch device 2 and the in-place state of the hard disk in the hard disk slot 3. Therefore, the damage of the hot plug to the hard disk and data is reduced, and the use safety and reliability of the hard disk are improved.
In another embodiment of the invention, as shown in fig. 2, the switching device 2 comprises a trigger switch 22 and a switching door 21 having a contact 23 inside, the control circuit 4 being electrically connected to the trigger switch 22; when the switch door 21 is closed, the contact 23 abuts against the trigger switch 22, and the switch device 2 is in a closed state; when the switch door 21 is opened, the contact 23 is separated from the trigger switch 22, and the switching device 2 is in an off state. The structure of the switchgear 2 in the embodiment of the present invention is merely preferable, and the switchgear 2 of the present invention should not be construed as being limited thereto. The position of the trigger switch 22 is not limited, and may be provided at the edge of the switch door 21, the surface of the cartridge body 1, or the inside of the cartridge, so that the contact 23 can be brought into contact with the trigger switch 22.
In a preferred embodiment of the present invention, the control circuit 4 is further configured to control the hard disk to store the current read-write data information and stop the read-write operation when the switch device 2 is turned off when the hard disk slot 3 is in the power supply state; and controlling the hard disk slot 3 to be powered off after the steps are completed. This step is a power-off operation of the hard disk cartridge by the control circuit 4.
Further, the hard disk cartridge in the preferred embodiment further comprises a first signal lamp 5 and a second signal lamp 6 which are arranged on the surface of the hard disk cartridge body 1, and the control circuit 4 is electrically connected with the first signal lamp 5 and the second signal lamp 6 and is used for controlling the first signal lamp 5 and the second signal lamp 6 to be lighted when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is in place; when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is not in place, the first signal lamp 5 is lightened; when the switch device 2 is in a non-closed state and the hard disk of the hard disk slot 3 is in place, the second signal lamp 6 is lightened for a first set time period and then is extinguished; and when the switch device 2 is in the non-closed state and the hard disk of the hard disk slot 3 is not in place, keeping the first signal lamp 5 and the second signal lamp 6 in the off state. The first set time is specifically a short time set by the operator according to the specification or the requirement, for example, the first set time is five seconds, that is, the second signal lamp 6 is turned on and then turned off after five seconds. The arrangement of the first signal lamp 5 and the second signal lamp 6 helps to prompt the user of the open/close state of the switch device 2 and the hard disk on-position state of the hard disk slot 3 when using the hard disk cartridge of the present invention. The user judges whether the opening and closing of the switching means 2 and the hard disk slot 3 are in place or not according to the lighting and extinguishing combination of the first signal lamp 5 and the second signal lamp 6, thereby improving the use efficiency of the hard disk cartridge and reducing the risk of wrong use.
Further preferably, the control circuit 4 in the preferred embodiment of the present invention is further configured to control to turn off the second signal light after the hard disk slot 3 is powered off for a second set time period. I.e. the second signal lamp 6 is turned off after the control circuit 4 powers off the hard disk cartridge to indicate that the hard disk cartridge has powered off.
The embodiment of the invention also provides an assembly, which comprises a hard disk and the hard disk box, wherein the hard disk is arranged in the hard disk slot 3 of the hard disk box. The hard disk assembly reduces the damage of hot plug to the hard disk and data, thereby improving the safety and reliability of the hard disk.
As shown in fig. 3, an embodiment of the present invention further provides a hard disk hot plug control method, including the following steps:
step S1, receiving the open/close state of the switch device 3 and the hard disk on-position state of the hard disk slot 3;
in step S2, the power supply state of the hard disk slot 3 is controlled according to the open/close state of the switch device 2 and the hard disk on-position state of the hard disk slot 3.
Further, as shown in fig. 2 and 4, step S2 specifically includes:
step S211: judging whether the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is in place; if so (i.e. when the switch device 2 is in the closed state and the hard disk of the hard disk slot 3 is in place, the same applies to the following), executing step S212, and controlling the hard disk slot 3 to supply power to the hard disk; otherwise, executing the next step;
step S221, judging whether the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is not in place; if yes, executing step S222, controlling the hard disk slot 3 not to supply power; otherwise, executing the next step;
step S231, determining whether the switch device 2 is in the off state and the hard disk of the hard disk slot 3 is in place; if yes, step S232 is executed, and the hard disk slot 3 is controlled not to supply power; otherwise, executing the next step;
step S241, determining whether the switch device 2 is in the off state and the hard disk of the hard disk slot 3 is not in place; if yes, go to step S242, control hard disk slot 3 not to supply power.
The above-mentioned determining steps S211, S221, S231 and S241 are only one implementation manner of the present invention, and should not be construed as limiting the present invention, for example, the determining order of the determining steps S211, S221, S231 and S241 may be changed, or may be integrated into one determining to separate out a plurality of different execution results.
Preferably, as shown in fig. 5, the hard disk hot plug control method provided in the embodiment of the present invention further includes:
step S2102 of lighting the first signal lamp 5 and the second signal lamp 6 when the switch device 2 is in the closed state and the hard disk of the hard disk slot 3 is in place;
step S2202, when the switch device 2 is in the closed state and the hard disk of the hard disk slot 3 is not in place, of lighting the first signal lamp 5;
step S2302, when the switch device 2 is not closed and the hard disk of the hard disk slot 3 is in place, the second signal lamp 6 is turned on for a set time period and then turned off;
in step S2402, when the switch device 2 is not in the closed state and the hard disk of the hard disk slot 3 is not in place, the first signal lamp 5 and the second signal lamp 6 are kept in the off state.
The user judges whether the opening and closing of the switch device 2 and the hard disk slot 3 are in place or not according to the lighting and extinguishing combination of the first signal lamp 5 and the second signal lamp 6, thereby improving the use efficiency of the hard disk cartridge adopting the control method of the invention and reducing the risk of wrong use.
In a preferred embodiment of the present invention, as shown in fig. 2 and fig. 6, the hard disk hot plug control method of the present invention further includes the following steps:
step S1, receiving the open/close state of the switch device 2 and the hard disk on-position state of the hard disk slot 3;
step S201, judging whether the switch device 2 is disconnected when the hard disk slot 3 is in a power supply state; if yes, executing step S202, controlling the hard disk to store the current read-write data information and stopping the read-write operation; and executing step S203 after the above steps are completed, controlling the hard disk slot to be powered off, otherwise executing step S2010, and not changing the power supply state of the hard disk slot 3 by the control circuit 4.
The hard disk slot 3 is in a power supply state, that is, when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is in place. Further, step S204 is performed after step S203 is completed, and after the hard disk slot 3 is powered off for the second set time period, the second signal lamp 6 is controlled to be turned off. The second set time is specifically a short time set by the operator according to the specification or the requirement, for example, the second set time is 1 second, that is, after the hard disk slot 3 is powered off for one second, the second signal lamp 6 is controlled to be turned off.
In the hard disk hot plug control method, in the hard disk electrifying process, the opening and closing state of the switch device 2 and the hard disk in-place state of the hard disk slot 3 are firstly obtained, and the hard disk slot 3 is powered on when the switch device 3 is confirmed to be closed and the hard disk is in place; in the power-off process of the hard disk, the control circuit 4 also detects the power supply state of the hard disk, when the switch device 2 is switched off when the hard disk slot 3 is in the power supply state, the hard disk is controlled to store the current read-write data information and stop the read-write operation, and the hard disk slot 3 is controlled to be powered off. The hard disk hot plug control method is applied to the hard disk cartridge and the hard disk assembly, and can effectively reduce the damage of the hot plug to the hard disk and the data.
As shown in fig. 2 and fig. 7, an embodiment of the present invention further provides a hard disk hot plug control device, including:
the receiving module 7 is used for receiving the opening and closing state of the switch device 2 and the hard disk in-place state of the hard disk slot 3;
and the first control processing module 8 is used for controlling the power supply state of the hard disk slot 3 according to the opening and closing state of the switch device 2 and the in-place state of the hard disk slot 3.
Further, the first control processing module 8 is specifically configured to: when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is in place, controlling the hard disk slot 3 to supply power to the hard disk; when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is not in place, controlling the hard disk slot 3 not to supply power; when the switch device 2 is in an off state and the hard disk of the hard disk slot 3 is in place, controlling the hard disk slot 3 not to supply power; and when the switch device 2 is in an off state and the hard disk of the hard disk slot 3 is not in place, controlling the hard disk slot 3 not to supply power.
Correspondingly, the present invention does not specifically limit the specific judgment and control processing flow of the first control processing module 8 in the previous paragraph, and the above four judgment and processing flows can be regarded as four judgment execution units with execution sequences that can be arbitrarily exchanged, or can be regarded as one judgment unit that judges various conditions, and then the four execution units execute according to different conditions (i.e. determine whether to control the hard disk slot 3 to supply power to the hard disk).
Preferably, the hard disk hot plug control device provided in the embodiment of the present invention further includes a second control processing module 9, configured to light the first signal lamp and the second signal lamp when the switch device is in a closed state and the hard disk of the hard disk slot is in place; the method is specifically used for:
when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is in place, the first signal lamp 5 and the second signal lamp 6 are lightened; and
when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is not in place, the first signal lamp 5 is lightened; and
when the switch device 2 is in a non-closed state and the hard disk of the hard disk slot 3 is in place, the second signal lamp 6 is lightened to be turned off after a set time period; and
when the switch device 2 is in the non-closed state and the hard disk of the hard disk slot 3 is not in place, the first signal lamp 5 and the second signal lamp 6 are kept in the off state.
The user can judge whether the opening and closing of the switch device 2 and the hard disk slot 3 are in place or not according to the lighting and extinguishing combination of the first signal lamp 5 and the second signal lamp 6, and then adjust the switch device 2 and the hard disk box slot 4 of the hard disk box, so that the use efficiency of the hard disk box adopting the control method of the invention is improved, and the risk of error use is reduced.
In a preferred embodiment of the present invention, the first control processing module 8 of the hard disk hot plug control device of the present invention is further configured to control the hard disk to store the current read-write data information and stop the read-write operation when the switch device 2 is turned off when the hard disk slot 3 is in the power supply state; and controlling the hard disk slot 3 to be powered off after the steps are completed.
The hard disk slot 3 is in a power supply state, that is, when the switch device 2 is in a closed state and the hard disk of the hard disk slot 3 is in place. Furthermore, the second control processing module 9 is further configured to control to turn off the second signal lamp 6 after the hard disk slot is powered off for a second set time period.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A hard disk cartridge, comprising: hard disk cartridge body, set up in the switching device of hard disk cartridge body to and set up hard disk slot and the control circuit in hard disk cartridge body, wherein: the control circuit is electrically connected with the switch device and the in-place contact of the hard disk slot and is used for controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot;
the control circuit is used for controlling the hard disk slot to supply power to the hard disk when the switch device is in a closed state and the hard disk of the hard disk slot is in place; and
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power; and
when the switch device is in an off state and the hard disk of the hard disk slot is in place, controlling the hard disk slot not to supply power; and
when the switch device is in an off state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power;
the control circuit is also used for controlling the hard disk to store the current read-write data information and stop the read-write operation when the switch device is disconnected when the hard disk slot is in a power supply state; and controlling the hard disk slot to be powered off after the steps are completed.
2. The hard disk cartridge of claim 1, wherein the switching means comprises a trigger switch and a switching door having a contact inside, the control circuit being electrically connected to the trigger switch;
when the switch door is closed, the contact is abutted to the trigger switch, and the switch device is in a closed state;
when the switch door is opened, the contact is separated from the trigger switch, and the switch device is in a disconnected state.
3. The hard disk cartridge as claimed in claim 1, further comprising a first signal lamp and a second signal lamp provided on the surface of the hard disk cartridge body, the control circuit being electrically connected to the first signal lamp and the second signal lamp for lighting the first signal lamp and the second signal lamp when the switching means is in a closed state and the hard disk of the hard disk slot is in place; and
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, a first signal lamp is lightened; and
when the switch device is in a non-closed state and the hard disk of the hard disk slot is in place, the second signal lamp is turned off after being turned on for a first set time period; and
when the switch device is in the non-closed state and the hard disk of the hard disk slot is not in place, the first signal lamp and the second signal lamp are kept in the off state.
4. The hard disk cartridge of claim 3, wherein the control circuit is further configured to turn off the second signal light after the hard disk slot is powered off for a second set period of time.
5. A hard disk assembly comprising a hard disk and a hard disk cartridge as claimed in any one of claims 1 to 4, wherein the hard disk is mounted in the hard disk slot of the hard disk cartridge.
6. A hard disk hot plug control method is characterized by comprising the following steps:
receiving the opening and closing state of the switch device and the hard disk in-place state of the hard disk slot;
controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot;
the power supply state of the hard disk slot is controlled according to the opening and closing state of the switch device and the in-place state of the hard disk slot, and the method comprises the following steps:
when the switch device is in a closed state and the hard disk of the hard disk slot is in place, controlling the hard disk slot to supply power to the hard disk;
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power;
when the switch device is in an off state and the hard disk of the hard disk slot is in place, controlling the hard disk slot not to supply power;
when the switch device is in an off state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power;
the hard disk hot plug control method further comprises the following steps:
when the switch device is disconnected when the hard disk slot is in a power supply state, controlling the hard disk to store current read-write data information and stopping read-write operation;
and controlling the hard disk slot to be powered off after the steps are completed.
7. The hard disk hot plug control device is characterized by comprising:
the receiving module is used for receiving the opening and closing state of the switch device and the hard disk in-place state of the hard disk slot;
the first control processing module is used for controlling the power supply state of the hard disk slot according to the opening and closing state of the switch device and the in-place state of the hard disk slot;
the first control processing module is specifically used for controlling the hard disk slot to supply power to the hard disk when the switch device is in a closed state and the hard disk of the hard disk slot is in place; and
when the switch device is in a closed state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power; and
when the switch device is in an off state and the hard disk of the hard disk slot is in place, controlling the hard disk slot not to supply power; and
when the switch device is in an off state and the hard disk of the hard disk slot is not in place, controlling the hard disk slot not to supply power;
the first control processing module is also used for controlling the hard disk to store the current read-write data information and stop the read-write operation when the switch device is disconnected when the hard disk slot is in a power supply state; and controlling the hard disk slot to be powered off after the steps are completed.
CN201610799596.5A 2016-08-31 2016-08-31 Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device Active CN107785039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610799596.5A CN107785039B (en) 2016-08-31 2016-08-31 Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610799596.5A CN107785039B (en) 2016-08-31 2016-08-31 Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device

Publications (2)

Publication Number Publication Date
CN107785039A CN107785039A (en) 2018-03-09
CN107785039B true CN107785039B (en) 2020-02-14

Family

ID=61451932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610799596.5A Active CN107785039B (en) 2016-08-31 2016-08-31 Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device

Country Status (1)

Country Link
CN (1) CN107785039B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032276A (en) * 2018-07-27 2018-12-18 郑州云海信息技术有限公司 A kind of hot plug device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201159862Y (en) * 2008-03-14 2008-12-03 吴兆红 Computer main unit supporting independent start of multiple hard disks
CN201181582Y (en) * 2008-03-27 2009-01-14 凡达克科技股份有限公司 Plug-and-play hard disk read-write machine
CN201219031Y (en) * 2008-05-16 2009-04-08 信亿科技股份有限公司 Memory apparatus and its hard disk import and export apparatus
CN102375518A (en) * 2010-08-06 2012-03-14 董建飞 Device and method for controlling power supplies of hard disks
CN104423497A (en) * 2013-09-11 2015-03-18 鸿富锦精密电子(天津)有限公司 Storing device for hard disk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201159862Y (en) * 2008-03-14 2008-12-03 吴兆红 Computer main unit supporting independent start of multiple hard disks
CN201181582Y (en) * 2008-03-27 2009-01-14 凡达克科技股份有限公司 Plug-and-play hard disk read-write machine
CN201219031Y (en) * 2008-05-16 2009-04-08 信亿科技股份有限公司 Memory apparatus and its hard disk import and export apparatus
CN102375518A (en) * 2010-08-06 2012-03-14 董建飞 Device and method for controlling power supplies of hard disks
CN104423497A (en) * 2013-09-11 2015-03-18 鸿富锦精密电子(天津)有限公司 Storing device for hard disk

Also Published As

Publication number Publication date
CN107785039A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN104835994A (en) Electric vehicle, heating control method and heating control apparatus of power battery of the electric vehicle
WO2016090761A1 (en) Back-up power source apparatus in indoor unit, controlling method thereof and multi-split air conditioning system
CN107785039B (en) Hard disk cartridge, hard disk assembly, hard disk hot plug control method and device
CN105389525A (en) Management method and system for blade server
CN107332208A (en) A kind of protection circuit, mainboard guard method and terminal
CN205104701U (en) Wireless socket and plug based on RFID
US8856474B2 (en) Nonvolatile memory unit with secure erasing function
CN105703474A (en) Self-discharging reserve power units and related methods
CN101634972A (en) Data protection method and data protection device of movable storage equipment and movable storage equipment
CN105786315A (en) Time display method and device
KR101741643B1 (en) Battery mansgement system with power saving mode circuit
JP2002196629A5 (en)
CN102385897B (en) Storage device and power supply method for storage device
CN209606936U (en) A kind of extracorporeal shock wave device and its protective device
US10013383B2 (en) Method for power control handshaking of hot swappable components using programmable logic devices
CN103399811A (en) Method and system for quickly displaying current time, date and battery power
JP2011131708A (en) Device for controlling power supply of equipment
KR100457091B1 (en) Automatic apparatus for shutting off a power supply for vehicles
CN210309939U (en) Power-off control device and electric automobile with same
CN114069547A (en) Power distribution circuit, vehicle body controller, vehicle and power distribution control method thereof
CN112637417A (en) Infrared proximity sensor control method and device and mobile terminal
JP2004272309A (en) Non-volatile memory data protecting device
CN105671853A (en) Washing machine standby power consumption reduction realization method, and washing machine
TW201317762A (en) Electronic device and activating method thereof
GB2407889A (en) Protected swapping of peripheral components and expansion cards by powering on and off a whole computer system according to the position of a retaining latch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant