CN104915154A - Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk - Google Patents

Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk Download PDF

Info

Publication number
CN104915154A
CN104915154A CN201510323678.8A CN201510323678A CN104915154A CN 104915154 A CN104915154 A CN 104915154A CN 201510323678 A CN201510323678 A CN 201510323678A CN 104915154 A CN104915154 A CN 104915154A
Authority
CN
China
Prior art keywords
hard disk
hot
plug
cpci
plate
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.)
Pending
Application number
CN201510323678.8A
Other languages
Chinese (zh)
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.)
Shanghai Eccs Technology Co Ltd
Original Assignee
Shanghai Eccs 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 Shanghai Eccs Technology Co Ltd filed Critical Shanghai Eccs Technology Co Ltd
Priority to CN201510323678.8A priority Critical patent/CN104915154A/en
Publication of CN104915154A publication Critical patent/CN104915154A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a hot swapping method of a hard disk and a CPCI (compact peripheral component interconnect) back board with the hard disk. The hot swapping method of the hard disk includes the steps of shifting a hot swapping switch to a corresponding position to output a hot swapping indication signal; turning on a hot swapping indication lamp according to the hot swapping indication signal; loading or unloading a hard disk identifier; turning off the hot swapping indication lamp to finish the hot swapping operation of the hard disk. Compared with the prior art, the CPCI back board has the advantages that the hot swapping switch and the hot swapping indication lamp are arranged additionally, information interaction between the back board and a front board is achieved through the hot swapping switch, the hard disk is enabled to load a hard disk volume after hot swapping or quit from corresponding access programs and unload the hard disk volume before hot swapping is unplugged, normal operation of a system can be guaranteed when the hard disk is subjected to single hot plug, and reliability of the CPCI back board is improved.

Description

The hot-plug method of hard disk and comprise this hard disk CPCI after plate
Technical field
The present invention relates to a kind of industrial computer device, particularly relate to the hard disk hot-plug method of plate after a kind of CPCI of this industrial computer device.
Background technology
CPCI (Compact PCI, be called compact PCI) the bus High performance industrial computer bus standard that to be international PCI industrial computer manufacture tissue (PICMG, PCI Industrial Computer Manufacturer's Group) proposed in 1994.In electrical specification, cpci bus, based on PCI electrical code, solves VME bussing technique and the incompatible problem of pci bus, the technology such as x86 framework, hard-disc storage of Based PC can be used at industrial circle.If cpci bus Interface integration is on rear plate, then this rear plate just can be described as plate after CPCI.
In general, after CPCI, plate has hot-swappable (Hot Swap), high open and high reliability.In the prior art, after CPCI, the storage area of plate can both support hard-disc storage, and the hot plug of plate after whole CPCI can be realized.But after CPCI, the hot plug of plate is often comparatively large on the impact of system, and easily causes the bad situations such as the machine of delaying.In addition, because of physical size restriction, after existing CPCI, plate cannot support the independent hot plug of hard disk.
In view of this, how designing the solution of the independent hot plug of hard disk after a kind of CPCI in plate, is the problem that person skilled is urgently to be resolved hurrily in the industry.
Summary of the invention
This defect of the independent hot plug of hard disk cannot be realized for plate after CPCI of the prior art, the invention provides a kind of novelty, hard disk hot-plug method and comprise this hard disk CPCI after plate.
According to one aspect of the present invention, provide a kind of hot-plug method of hard disk, described hard disk is installed on plate after CPCI, and the hot-plug method of this hard disk comprises:
By hot plug switching toggle to relevant position, thus export a plug indicator signal;
According to described plug indicator signal, light Hot swap LED;
The identifier of hard disk described in load or unload; And
Close described Hot swap LED, thus complete the hot plug operations of described hard disk.
An embodiment wherein, when inserting described hard disk, described hot plug switching toggle is to hard disk position in place, and header board operating system loads the identifier of described hard disk according to described plug indicator signal.
An embodiment wherein, when extracting described hard disk, described hot plug switching toggle is to hard disk position not in place, and header board operating system, according to described plug indicator signal, exits the access process that is associated with described hard disk and unloads the identifier of described hard disk.
An embodiment wherein, described hot plug switch is the toggle switch of dip.
An embodiment wherein, after described CPCI, plate is applicable to the video monitoring system of public safety platform.
According to another aspect of the present invention, provide and a kind of there is plate after the CPCI of hard disk hot-plug function, comprising:
At least one hard disk, is installed on plate after described CPCI;
Hot plug switch, with described hard disk one_to_one corresponding, the heat for controlling described hard disk inserts or hot drawing goes out; And
Hot swap LED, with described hard disk one_to_one corresponding, is used to indicate the state of described hard disk in heat insertion or hot withdrawal process,
Wherein, after described CPCI, buttress is according to the state of described hot plug switch, first lights described Hot swap LED, to be loaded or unload described hard disk identifier after, close described Hot swap LED thus complete the hot plug operations of described hard disk.
An embodiment wherein, described hot plug switch is the toggle switch of dip.
An embodiment wherein, after described CPCI, plate also comprises mechanical carriage, for supporting described hard disk and inserting along with heat or the hard disk that goes out of hot drawing moves together.
An embodiment wherein, described mechanical carriage also comprises plug handle, for pushing or pull out the described hard disk needing hot plug.
An embodiment wherein, described Hot swap LED is dual-colored LED, and when described hard disk heat is inserted, described Hot swap LED is shown in green; When described hard disk hot drawing goes out, described Hot swap LED is shown in red.
Plate after the CPCI adopting hard disk hot-plug method of the present invention and comprise this hard disk, first by hot plug switching toggle to hard disk position in place or position not in place, and export a plug indicator signal, then Hot swap LED is lighted according to plug indicator signal, then complete the operation of load or unload hard disk identifier, finally close Hot swap LED with the hot plug operations of hard disk.Compared to prior art, after CPCI of the present invention, plate sets up hot plug switch and Hot swap LED, the information interaction between rear plate and header board is realized by hot plug switch, make hard disk after heat is inserted, load hard disk volume in time or the corresponding access program of hard disk can be exited and unload hard disk volume before hot drawing goes out, thus the normal operation of guarantee system can be given when the independent hot plug of hard disk, the reliability of plate after raising CPCI.In addition, when plate is applied to the video monitoring system of public safety platform after CPCI of the present invention, the demand of client to hard disk hot-plug can be met, avoid simultaneously and use expensive memory device, saved monitoring cost.
Accompanying drawing explanation
Reader, after having read the specific embodiment of the present invention with reference to accompanying drawing, will become apparent various aspects of the present invention.Wherein,
Fig. 1 illustrates the embodiment according to the application, has the structural representation of plate after the CPCI of hot-pluggable hard disk;
Fig. 2 illustrates in a specific embodiment of plate after the CPCI of the application, the distribution schematic diagram of multiple hard disk and corresponding Hot swap LED and hot plug switch;
Fig. 3 illustrates another embodiment according to the application, and the hard disk after CPCI in plate carries out separately the method flow block diagram of hot plug operations;
Fig. 4 illustrates the FB(flow block) adopting the hot plug operations method of Fig. 3 to carry out the insertion of hard disk heat; And
Fig. 5 illustrates the FB(flow block) adopting the hot plug operations method of Fig. 3 to carry out hard disk hot drawing to go out.
Embodiment
The technology contents disclosed to make the application is more detailed and complete, and can refer to accompanying drawing and following various specific embodiment of the present invention, mark identical in accompanying drawing represents same or analogous assembly.But those of ordinary skill in the art should be appreciated that hereinafter provided embodiment is not used for limiting the scope that contains of the present invention.In addition, accompanying drawing, only for being schematically illustrated, is not drawn according to its life size.
With reference to the accompanying drawings, the embodiment of various aspects of the present invention is described in further detail.
Fig. 1 illustrates the embodiment according to the application, has the structural representation of plate after the CPCI of hot-pluggable hard disk.With reference to Fig. 1, in this embodiment, of the present invention there is the CPCI of hard disk hot-plug function after plate comprise at least one hard disk 10, hot plug switch 20, Hot swap LED (not shown).In one embodiment, hot plug switch 20 can be the toggle switch of dip (DIP).
Specifically, hard disk 10 is installed on plate after CPCI, such as, can arrange two or more hard disk 10 and be thrown into after CPCI on plate side by side, as shown in Figure 1.Hot plug switch 20 and hard disk 10 one_to_one corresponding, the heat for controlling hard disk inserts or hot drawing goes out.Hot plug switch 20 comprises two states, and one is hard disk (" ON ") in place position, corresponding to the hot update of hard disk; Another kind is hard disk (" OFF ") not in place position, goes out operation corresponding to hard disk hot drawing.In addition, hot plug switch 20 can be arranged near corresponding hard disk 10, combines with Hot swap LED the independent hot plug controlling hard disk 10.Hot swap LED also with hard disk one_to_one corresponding, be used to indicate hard disk 10 heat insert or hot withdrawal process in state.After CPCI, buttress is according to the state of hot plug switch 20, first light Hot swap LED, (that is, hard disk heat insert) to be loaded or unloading are (namely, hard disk hot drawing goes out) after the identifier of hard disk, close Hot swap LED thus complete the hot plug operations of hard disk.
In one embodiment, after CPCI, plate also comprises mechanical carriage 40, for supporting hard disk 10, and to insert along with heat or the hard disk 10 that goes out of hot drawing moves together.Further, this mechanical carriage 40 also comprises plug handle 30, and this plug handle 30 is fixed on the side of mechanical carriage 40 away from plate after CPCI, for pushing or pull out the hard disk 10 needing hot plug.Such as, this plug handle 30 is formed in one with mechanical carriage 40.And for example, this plug handle 30 can pass through the side that screw lock invests mechanical carriage 40.
In one embodiment, Hot swap LED is dual-colored LED, and when hard disk 10 heat inserts rear plate, this Hot swap LED is shown in green; When hard disk 10 goes out from rear plate hot drawing, this Hot swap LED is shown in red.Thus, when operating personnel observe green LED pilot lamp, just can know the hot update that it uniquely corresponds to hard disk; When observing red LED pilot lamp, its hot drawing uniquely corresponding to hard disk goes out operation.
From the above, after after CPCI of the present invention, plate has set up hot plug switch and Hot swap LED, the information interaction between rear plate and header board is realized by hot plug switch, header board operating system is made to identify new hard disk in real time according to plug indicator signal or to carry out the necessary preparation before unloading hard disk, and then allow hard disk heat insert after load in time hard disk volume, can exit before hot drawing goes out hard disk corresponding access program and unload hard disk volume, thus the normal operation of guarantee system can be given when the independent hot plug of hard disk, the reliability of plate after raising CPCI.
Fig. 2 illustrates in a specific embodiment of plate after the CPCI of the application, the distribution schematic diagram of multiple hard disk and corresponding Hot swap LED and hot plug switch.
As shown in Figure 2, after this CPCI, plate comprises multiple hard disk drive (Hard Disk Driver, HDD), such as, the HDD being numbered 1 corresponds to hot plug interrupteur SW 1, Hot swap LED LED1 and RJ45 connector, the HDD being numbered 2 corresponds to hot plug interrupteur SW 2, Hot swap LED LED2 and RJ45 connector, until the HDD being numbered 8 corresponds to hot plug interrupteur SW 8, Hot swap LED LED8 and RJ45 connector.
Example is inserted as with the heat of the 5th HDD, when heat inserts this HDD, hot plug interrupteur SW 5 dialed to hard disk position in place thus export a plug indicator signal, Hot swap LED LED5 lights according to exported plug indicator signal, then header board operating system loads the hard disk volume of this HDD, to be loaded complete after, Hot swap LED LED5 extinguishes.
Go out for the hot drawing of the 7th HDD, first hot plug interrupteur SW 7 dialed to hard disk position not in place thus export a plug indicator signal, Hot swap LED LED7 lights according to exported plug indicator signal, then header board operating system is according to this plug indicator signal, exit the access process that is associated with hard disk and unload hard disk and roll up, to be unloaded complete after, Hot swap LED LED7 extinguishes, and is extracted by the 7th HDD from rear plate.
In fig. 2, hot plug switch can adopt the DIP switch of 90 degree, when being in " ON " state, represents that hard disk is in place; When being in " OFF ", representing that hard disk is not in place or preparing to extract.
Fig. 3 illustrates another embodiment according to the application, and the hard disk after CPCI in plate carries out separately the method flow block diagram of hot plug operations.
As shown in Figure 3, in the hot-plug method of this hard disk, first perform step S1, by hot plug switching toggle to relevant position, thus export a plug indicator signal.Then in step s3, according to exported plug indicator signal, Hot swap LED is lighted.Then, in step s 5, the identifier of load or unload hard disk.Finally perform step S7, close Hot swap LED, thus complete the hot plug operations of hard disk.
" hot plug operations " that it will be understood by those of skill in the art that here had both comprised hard disk and has carried out hot drawing from rear plate and go out, comprise again new hard disk insert after plate.In this embodiment, no matter be that heat is inserted or hot drawing goes out, all need the binding operation of hot plug switch and Hot swap LED to realize final hot plug operations.Such as, in the process that hot drawing goes out, if the action of unloading hard disk volume not yet completes, then Hot swap LED may continue to light, now directly should not extract hard disk, only can perform pull action after Hot swap LED extinguishes, this measure can ensure the normal operation of system when the independent hot plug of hard disk, the reliability of plate after raising CPCI.
Fig. 4 illustrates the FB(flow block) adopting the hot plug operations method of Fig. 3 to carry out the insertion of hard disk heat.
As shown in Figure 4, in the hot insertion method of this hard disk, first perform step S11, after CPCI, plate inserts hard disk.Then in step s 13, by hot plug switching toggle to hard disk position in place, to export a plug indicator signal.Then in step S15, light Hot swap LED according to this plug indicator signal, and header board operating system performs the action loading hard disk volume according to this plug indicator signal.Finally perform step S17, close Hot swap LED.
Fig. 5 illustrates the FB(flow block) adopting the hot plug operations method of Fig. 3 to carry out hard disk hot drawing to go out.
As shown in Figure 5, in the hot method for pulling out of this hard disk, first perform step S21, by hot plug switching toggle to hard disk position not in place, and export plug indicator signal.Then, in step S23, Hot swap LED is lighted according to this plug indicator signal.Then in step s 25, according to this plug indicator signal, header board operating system exits the access process relevant to hard disk and unloads hard disk volume.Finally perform step S27, close Hot swap LED and extract hard disk.
Plate after the CPCI adopting hard disk hot-plug method of the present invention and comprise this hard disk, first by hot plug switching toggle to hard disk position in place or position not in place, and export a plug indicator signal, then Hot swap LED is lighted according to plug indicator signal, then complete the operation of load or unload hard disk identifier, finally close Hot swap LED with the hot plug operations of hard disk.Compared to prior art, after CPCI of the present invention, plate sets up hot plug switch and Hot swap LED, the information interaction between rear plate and header board is realized by hot plug switch, make hard disk after heat is inserted, load hard disk volume in time or the corresponding access program of hard disk can be exited and unload hard disk volume before hot drawing goes out, thus the normal operation of guarantee system can be given when the independent hot plug of hard disk, the reliability of plate after raising CPCI.In addition, when plate is applied to the video monitoring system of public safety platform after CPCI of the present invention, the demand of client to hard disk hot-plug can be met, avoid simultaneously and use expensive memory device, saved monitoring cost.
Above, the specific embodiment of the present invention is described with reference to the accompanying drawings.But those skilled in the art can understand, when without departing from the spirit and scope of the present invention, various change and replacement can also be done to the specific embodiment of the present invention.These change and replace and all drop in claims of the present invention limited range.

Claims (10)

1. a hot-plug method for hard disk, described hard disk is installed on plate after CPCI, and it is characterized in that, the hot-plug method of described hard disk comprises:
By hot plug switching toggle to relevant position, thus export a plug indicator signal;
According to described plug indicator signal, light Hot swap LED;
The identifier of hard disk described in load or unload; And
Close described Hot swap LED, thus complete the hot plug operations of described hard disk.
2. the hot-plug method of hard disk according to claim 1, is characterized in that, when inserting described hard disk, described hot plug switching toggle is to hard disk position in place, and header board operating system loads the identifier of described hard disk according to described plug indicator signal.
3. the hot-plug method of hard disk according to claim 1, it is characterized in that, when extracting described hard disk, described hot plug switching toggle is to hard disk position not in place, header board operating system, according to described plug indicator signal, exits the access process that is associated with described hard disk and unloads the identifier of described hard disk.
4. the hot-plug method of hard disk according to claim 1, is characterized in that, described hot plug switch is the toggle switch of dip.
5. the hot-plug method of hard disk according to claim 1, is characterized in that, after described CPCI, plate is applicable to the video monitoring system of public safety platform.
6. have a plate after the CPCI of hard disk hot-plug function, it is characterized in that, after described CPCI, plate comprises:
At least one hard disk, is installed on plate after described CPCI;
Hot plug switch, with described hard disk one_to_one corresponding, the heat for controlling described hard disk inserts or hot drawing goes out; And
Hot swap LED, with described hard disk one_to_one corresponding, is used to indicate the state of described hard disk in heat insertion or hot withdrawal process,
Wherein, after described CPCI, buttress is according to the state of described hot plug switch, first lights described Hot swap LED, to be loaded or unload described hard disk identifier after, close described Hot swap LED thus complete the hot plug operations of described hard disk.
7. plate after CPCI according to claim 6, is characterized in that, described hot plug switch is the toggle switch of dip.
8. plate after CPCI according to claim 6, is characterized in that, after described CPCI, plate also comprises mechanical carriage, for supporting described hard disk and inserting along with heat or the hard disk that goes out of hot drawing moves together.
9. plate after CPCI according to claim 8, is characterized in that, described mechanical carriage also comprises plug handle, for pushing or pull out the described hard disk needing hot plug.
10. plate after CPCI according to claim 6, is characterized in that, described Hot swap LED is dual-colored LED, and when described hard disk heat is inserted, described Hot swap LED is shown in green; When described hard disk hot drawing goes out, described Hot swap LED is shown in red.
CN201510323678.8A 2015-06-12 2015-06-12 Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk Pending CN104915154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510323678.8A CN104915154A (en) 2015-06-12 2015-06-12 Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510323678.8A CN104915154A (en) 2015-06-12 2015-06-12 Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk

Publications (1)

Publication Number Publication Date
CN104915154A true CN104915154A (en) 2015-09-16

Family

ID=54084250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510323678.8A Pending CN104915154A (en) 2015-06-12 2015-06-12 Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk

Country Status (1)

Country Link
CN (1) CN104915154A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7222267B2 (en) * 2002-10-17 2007-05-22 Samsung Electronics Co., Ltd. Method of providing information on errors of hard disk drive, hard disk drive therefor and information processing apparatus therefor
CN201215639Y (en) * 2008-07-25 2009-04-01 山东超越数控电子有限公司 Reinforced computer based on CPCI bus
CN101625624A (en) * 2008-07-09 2010-01-13 中兴通讯股份有限公司 Method for managing SATA hard disk based on embedded system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7222267B2 (en) * 2002-10-17 2007-05-22 Samsung Electronics Co., Ltd. Method of providing information on errors of hard disk drive, hard disk drive therefor and information processing apparatus therefor
CN101625624A (en) * 2008-07-09 2010-01-13 中兴通讯股份有限公司 Method for managing SATA hard disk based on embedded system
CN201215639Y (en) * 2008-07-25 2009-04-01 山东超越数控电子有限公司 Reinforced computer based on CPCI bus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何礼等: "基于CPCI平台的热插拔技术及实现", 《工业控制计算机》 *

Similar Documents

Publication Publication Date Title
CN101615104B (en) System for switching hard disks and switching method
CN103941824B (en) High density data storage system with improvement storage storage device opening
CN103616937B (en) A kind of mainboard, PCIE network interface card and server system
US20160097801A1 (en) Systems and methods for connectors with insertion counters
CN103955417A (en) Computer hard disc data detecting equipment and method
CN101930411A (en) Messaging device and control method thereof
CN101533351A (en) Method and system for identifying information of single plate hardware version
CN106528237A (en) Micro control unit (MCU) start mode selection circuit and MCU code upgrading method based on same
CN106843989A (en) It is a kind of to realize the system and method that program updates
CN104915154A (en) Hot swapping method of hard disk and CPCI (compact peripheral component interconnect) back board with hard disk
CN103809051B (en) The detection method of switch matrix, Auto-Test System and switch matrix therein
CN102288841A (en) Plug-in unit identification system and method of common testing interface
CN203275729U (en) Optical-fiber distribution frame
CN103577305B (en) Inverter device
WO2014168295A1 (en) Power loss test device and method for nonvolatile memory device
CN101169464A (en) Chip repairing auxiliary device
US9117392B2 (en) Direct interfacing of an external graphics card to a data processing device at a motherboard-level
CN104615529A (en) Server light path diagnosis device and method
CN206195344U (en) Protective circuit
CN104991186B (en) A kind of automatic recognition system of vehicle switch on-off function and recognition methods
CN106128491A (en) Visual hard disk
CN104506782A (en) Method for intelligently generating serial display IDs (Identities)
CN108198638A (en) Shutdown breaker routine test system and method based on soft logic
CN104423790A (en) Information processing method and electronic device
CN101778010B (en) Method for judging local area network (LAN) fault state in LAN-based extensions for instrumentation (LXI) device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150916