CN109815169A - A method of storage equipment and its storage link circuit self-adapting - Google Patents

A method of storage equipment and its storage link circuit self-adapting Download PDF

Info

Publication number
CN109815169A
CN109815169A CN201910039675.XA CN201910039675A CN109815169A CN 109815169 A CN109815169 A CN 109815169A CN 201910039675 A CN201910039675 A CN 201910039675A CN 109815169 A CN109815169 A CN 109815169A
Authority
CN
China
Prior art keywords
module
hard disk
raid
disk expansion
expansion module
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.)
Granted
Application number
CN201910039675.XA
Other languages
Chinese (zh)
Other versions
CN109815169B (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 CN201910039675.XA priority Critical patent/CN109815169B/en
Publication of CN109815169A publication Critical patent/CN109815169A/en
Application granted granted Critical
Publication of CN109815169B publication Critical patent/CN109815169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of storage equipment and its methods for storing link circuit self-adapting, which includes: RAID card detection circuit in place, when for detecting insertion in RAID module/removal RAID card, for sending insertion/removal instruction;Hard disk expansion module configures switching circuit, and the memory module for sending disabling/store using HBA module to hard disk expansion module uses instruction;Hard disk expansion module reset circuit resets instruction for sending to hard disk expansion module;Hard disk expansion module, for being stored according to memory module using instruction control disabling/using HBA module;And reset operation is carried out according to instruction is resetted;The problem of storage system that the present invention effectively solves in the storage system of deep bid position, to be based only upon HBA in the prior art can not support hard RAID demand, be based only upon the storage system higher cost of hard RAID.

Description

A method of storage equipment and its storage link circuit self-adapting
Technical field
The present invention relates to data to store capacity-enlargement technology field, in particular to a kind of storage equipment and its storage link circuit self-adapting Method.
Background technique
In order to improve the performance and speed of storage system, in the storage system of deep bid position, usually SAS (Serial Attached SCSI, i.e. Serial Attached SCSI (SAS))/SATA (Serial ATA) CONTROLLER cascade SAS/SATA EXPANDER Framework, wherein SAS/SATA CONTROLLER can be master controller CPU itself, be also possible to host bus adaptor HBA (Host Bus Adapter) chip or raid-array RAID (Redundant Array Of Independent Disk) chip;But the limited amount of the SAS/SATA interface of universal cpu, usually it is unable to satisfy deep bid position Resource requirement, currently, deep bid position storage system is divided into the storage system for being based only upon HBA and the storage system that is based only upon hard RAID System.
Being based only upon the storage system of HBA, cost is relatively low compared with the storage system for being based only upon hard RAID, generally excellent in the application HBA card and the deep bid position based on HBA framework is first selected to store equipment;But stablize from cost, reduction production process, product is reduced For property angle, all it is not suitable for for HBA module being made into card insert type, but the storage equipment of onboard HBA framework can not upgrade to The equipment for supporting hard RAID, so type can only be replaced when product has upgrade hard RAID demand in use, to make At the waste of human and material resources.
It is based only upon the storage system of hard RAID compared with the storage system higher cost for being based only upon HBA, generally in the application preferentially The storage system based on HBA is selected, but for the storage system based on hard RAID is compared with the storage system based on HBA, hard RAID The independent physical hard disk of muti-piece is combined in different ways and forms a hard disk logic by card, thus expanding hard disk capacity and Hard disc data reliability is improved, and hard RAID module can be made into card insert type.
In conclusion in the storage system of deep bid position, exists and be based only upon the storage system of HBA hard RAID can not be supported to need The problem of asking, being based only upon the storage system higher cost of hard RAID;Overall cost, the factors such as performance, be badly in need of it is a kind of based on HBA and The storage chain-circuit system of RAID card mixing.
Summary of the invention
The present invention provides a kind of method for storing equipment and its storing link circuit self-adapting, to solve in the prior art big In the storage system of disk position, the storage system for being based only upon HBA can not support hard RAID demand, be based only upon the storage system of hard RAID at This higher problem.
In a first aspect, a kind of storage equipment provided in an embodiment of the present invention, the storage equipment include:
RAID card detection circuit in place, when for detecting insertion in RAID module/removal RAID card, to hard disk expanded mode Block configuration switching circuit and hard disk expansion module reset circuit send insertion/removal instruction respectively;
The hard disk expansion module configures switching circuit, for according to from the received insertion of RAID card detection circuit in place/ Instruction is removed, the memory module for sending disabling/store using HBA module to hard disk expansion module uses instruction;
The hard disk expansion module reset circuit, for receiving the received insertion/removal of RAID card detection circuit in place When instruction, is sent to hard disk expansion module and reset instruction;
The hard disk expansion module, the memory module use for configuring switching circuit according to the hard disk expansion module refer to Show control disabling/store using HBA module;And reset behaviour is carried out according to the reset of hard disk expansion module reset circuit instruction Make, to reacquire the port configuration information between the hard disk expansion module and RAID module/HBA module.
Second aspect, a kind of method storing link circuit self-adapting provided in an embodiment of the present invention, this method comprises:
When RAID card detection circuit in place detects insertion in RAID module/removal RAID card, match to hard disk expansion module It sets switching circuit and hard disk expansion module reset circuit sends insertion/removal instruction respectively;
Hard disk expansion module configures switching circuit and indicates according to from the received insertion of RAID card detection circuit in place/removal, The memory module for sending disabling/store using HBA module to hard disk expansion module uses instruction;
When hard disk expansion module reset circuit receives the received insertion of RAID card detection circuit in place/removal instruction, to Hard disk expansion module, which is sent, resets instruction;
Hard disk expansion module is prohibited according to the memory module that the hard disk expansion module configures switching circuit using instruction control With/use HBA module to store;And reset operation is carried out according to the reset of hard disk expansion module reset circuit instruction, with again Obtain the port configuration information between the hard disk expansion module and RAID module/HBA module.
A kind of storage equipment provided by the invention and its method for storing link circuit self-adapting have compared with prior art Below the utility model has the advantages that
1) in method provided by the invention, in the deep bid position of onboard HBA storage equipment, needing to upgrade to hard RAID When storage system, it can directly upgrade to hard RAID by installing RAID card under the premise of being changed without complete machine, being changed without software Storage system, and still can be worked normally based on HBA storage system after RAID card extraction;
2) hard RAID storage system is switched in HBA storage system or hard RAID storage system switches back into HBA storage system Afterwards, it can guarantee the switching that storage link is completed before hard disk expansion module identifies;
3) after accessing hard RAID card, can dynamic DISABLE HBA be cascaded to the port on SAS EXPANDER, prevent SAS EXPANDER docks two SAS/SATA controllers, so that hardware store link is unique.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Figure 1A is a kind of schematic diagram for storing equipment provided in an embodiment of the present invention;
Figure 1B is a kind of schematic diagram for storing equipment provided in an embodiment of the present invention;
Fig. 1 C is the data flow for the data for needing to store when being inserted into RAID card in RAID module provided in an embodiment of the present invention The schematic diagram of trend;
Fig. 1 D is the data flow for the data for needing to store when removing RAID card in RAID module provided in an embodiment of the present invention The schematic diagram of trend;
Fig. 2A is a kind of schematic diagram for storing equipment provided by Embodiment 2 of the present invention;
Fig. 2 B is a specific embodiment schematic diagram of RAID card provided by Embodiment 2 of the present invention detection circuit in place;
Fig. 2 C is the signal for the specific example one that hard disk expansion module provided by Embodiment 2 of the present invention configures switching circuit Figure;
Fig. 2 D is the exemplary schematic diagram of specific implementation of hard disk expansion module reset circuit provided by Embodiment 2 of the present invention;
Fig. 2 E is the exemplary schematic diagram of specific implementation of plug-and-play circuit provided by Embodiment 2 of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The some words occurred in text are explained below:
1, term "and/or" in the embodiment of the present invention describes the incidence relation of affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Character "/" one As indicate forward-backward correlation object be a kind of "or" relationship.
2, term " RAID " is " hard RAID " in the embodiment of the present invention, above-mentioned for by realizing RAID function with hardware Card, such as: various RAID cards, that there are also the integrated RAID that can be done of mainboard is all the hard RAIDD of hard RAI.
The application scenarios of description of the embodiment of the present invention are the technical solutions in order to more clearly illustrate the embodiment of the present invention, The restriction for technical solution provided in an embodiment of the present invention is not constituted, those of ordinary skill in the art are it is found that with newly answering With the appearance of scene, technical solution provided in an embodiment of the present invention is equally applicable for similar technical problem.Wherein, at this In the description of invention, unless otherwise indicated, the meaning of " plurality " is two or more.
In the storage system of deep bid position, being based only upon the storage system of HBA, cost is relatively low, but from reducing cost, reduce life For producing process, product stability angle, all it is not suitable for for HBA module being made into card insert type, but the storage of onboard HBA framework Equipment can not upgrade to the equipment for supporting hard RAID;For storage system based on hard RAID is compared with the storage system based on HBA, firmly The independent physical hard disk of muti-piece is combined in different ways and forms a hard disk logic by RAID card, so that expanding hard disk holds Amount and improve hard disc data reliability, and hard RAID module can be made into card insert type, but the storage system based on hard RAID at This is higher;Overall cost, the factors such as performance are badly in need of a kind of storage chain-circuit system mixed based on HBA and RAID card.
Therefore the embodiment of the present invention provides a kind of method for storing equipment and its storing link circuit self-adapting.In order to make the present invention Purposes, technical schemes and advantages it is clearer, the present invention will be describe below in further detail with reference to the accompanying drawings, it is clear that Described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the implementation in the present invention Example, all other embodiment obtained by those of ordinary skill in the art without making creative efforts belong to The scope of protection of the invention.
For above-mentioned scene, the embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
Embodiment one:
As shown in Figure 1A, the present embodiment provides a kind of storage equipment, which includes:
RAID card detection circuit 101 in place, when for detecting insertion in RAID module 105/removal RAID card, to hard disk Expansion module configuration switching circuit 102 and hard disk expansion module reset circuit 103 send insertion/removal instruction respectively;
Above-mentioned hard disk expansion module configures switching circuit 102, for inserting according to from RAID card detection circuit in place is received Enter/remove instruction, the memory module for sending disabling/store using HBA module to hard disk expansion module 104 uses instruction;
Above-mentioned hard disk expansion module reset circuit 103, for receiving the received insertion/shifting of RAID card detection circuit in place When indicating out, is sent to hard disk expansion module and reset instruction;
Above-mentioned hard disk expansion module 104, the memory module use for configuring switching circuit according to hard disk expansion module refer to Show control disabling/using HBA module 112 store;And it is resetted according to the reset of hard disk expansion module reset circuit instruction Operation, to reacquire the port configuration information between the hard disk expansion module and RAID module/HBA module.
In the storage equipment of above-mentioned offer, when HBA module needs to upgrade to hard RAID storage system, it can be changed without After complete machine under the premise of being changed without software, directly upgrades to hard RAID storage system by installing RAID card, and RAID card is extracted Still it can be worked normally based on HBA storage system, solve and need to change when HBA module needs to upgrade to hard RAID storage system Machine, problem complicated for operation.
In an implementation, as shown in Figure 1B, above-mentioned storage equipment further includes main control module CPU106, above-mentioned main control module with RAID module is connected with HBA module, for providing clock signal to RAID module or HBA module under enabled state, in RAID When being inserted into RAID card in module, above-mentioned main control module provides clock signal to RAID module under enabled state, in RAID module When middle removal RAID card, above-mentioned main control module provides clock signal to HBA module under enabled state;
Plug-and-play circuit 107 is connected with power supply 111, for according to insertion/removal RAID in the RAID module detected The information of card, to RAID module for power off, while enabled/close the clock signal that CPU is provided to RAID module.
As shown in Figure 1B, in an implementation, above-mentioned storage equipment further includes PCIe card link block 109, with RAID module and Plug-and-play circuit connection, for RAID card to be inserted into/is removed in RAID module by the PCIE slot of the PCIe card link block, Plug-and-play circuit is connect with the PCIE slot of PCIe card link block, is inserted into/removes the PCIE of PCIe card link block in RAID card Slot, level can change on corresponding connecting line.Above-mentioned plug-and-play circuit supports RAID card to power on hot plug, realizes that being not necessarily to lower electricity is Achievable RAID card access or the operation for removing RAID module;
Above-mentioned RAID detection circuit in place cannot share the detection function in place of plug-and-play circuit, because any standard When PCIe card accesses, plug-and-play circuit can all receive detection signal in place, and above-mentioned RAID detection circuit in place only accesses Hard disk expansion module configuration switching circuit instruction hard disk expansion module control disabling hard disk expansion module could be notified when RAID card With the Interworking Data storage port of HBA module.
In an implementation, it is disabling HBA mould that above-mentioned hard disk expansion module, which is specifically used for determining above-mentioned memory module using instruction, When block stores, the Interworking Data storage port between above-mentioned hard disk expansion module and HBA module is disabled;Determine above-mentioned memory module It the use of instruction is when storing using HBA module, to enable the Interworking Data storage end between above-mentioned hard disk expansion module and HBA module Mouthful;
As an alternative embodiment, there are two chips to respectively correspond connection HBA mould in above-mentioned hard disk expansion module The storage link access of block and RAID module, above-mentioned hard disk expansion module are specifically used for determining that above-mentioned memory module uses instruction, The Interworking Data storage port between above-mentioned hard disk expansion module and HBA module is disabled/enabled, can be control hard disk expanded mode The selection of block switching chip.
In an implementation, above-mentioned hard disk expansion module configuration switching circuit includes I2C gating device;Above-mentioned I2C gating device It is connect respectively with hard disk expansion module and RAID card detection circuit in place, the insertion sent according to RAID card detection circuit in place/ Removal instruction generation is corresponding to gate/forbids gating signal to the connection of hard disk expansion module.
As shown in Figure 1B, in an implementation, above-mentioned storage equipment further includes wire connection block, be connected to RAID module with Between RAID card detection circuit in place.
Based on the same inventive concept, the present embodiment also provides a kind of method for storing link circuit self-adapting, specific as follows:
When RAID card detection circuit in place detects insertion in RAID module/removal RAID card, match to hard disk expansion module It sets switching circuit and hard disk expansion module reset circuit sends insertion/removal instruction respectively;
Hard disk expansion module configures switching circuit and indicates according to from the received insertion of RAID card detection circuit in place/removal, The memory module for sending disabling/store using HBA module to hard disk expansion module uses instruction;
When hard disk expansion module reset circuit receives the received insertion of RAID card detection circuit in place/removal instruction, to Hard disk expansion module, which is sent, resets instruction;
Hard disk expansion module is prohibited according to the memory module that the hard disk expansion module configures switching circuit using instruction control With/use HBA module to store;And reset operation is carried out according to the reset of hard disk expansion module reset circuit instruction, with again Obtain the port configuration information between the hard disk expansion module and RAID module/HBA module.
In an implementation, the received insertion of above-mentioned RAID card detection circuit in place/removal instruction can be gate control signal, When being inserted into RAID card in RAID module, above-mentioned gate control signal is low level, for the memory module of disabling HBA module storage Use instruction;When removing RAID card in RAID module, the gate control signal is high level, to use HBA module to store Memory module using instruction.
In an implementation, when determining that above-mentioned memory module using instruction is that disabling HBA module stores, the extension of above-mentioned hard disk is disabled The data for needing to store are written above-mentioned RAID module, prevent HBA by the Interworking Data storage port between module and HBA module Module and RAID module access above-mentioned storage equipment simultaneously, so that the link of storage hardware is unique;
Determine above-mentioned memory module using instruction be using HBA module store when, enable above-mentioned hard disk expansion module and HBA Above-mentioned HBA module is written, to make above-mentioned HBA module in the data for needing to store by the Interworking Data storage port between module Continue the storage service of adapter tube storage equipment.
Since the port configuration of hard disk expansion module belongs to firmware, hard disk expansion module can be completed before system software executes Port switching movement, there is no switch to cause not in time last preservation by software mode in system starting process The case where loss of data of RAID module.
When providing insertion in RAID module/removal RAID card individually below, the storage link circuit self-adapting of above-mentioned storage equipment The case where:
(1) when being inserted into RAID card in RAID module:
1) RAID card detection circuit in place, which detects, is inserted into RAID card in RAID module, configure and switch to hard disk expansion module Circuit and hard disk expansion module reset circuit send insertion instruction respectively;
2) it is inserted into the information of RAID card in the RAID module that plug-and-play circuit detects, opens and is opened to what RAID module was powered It closes, works normally RAID module, while the clock signal that enabled CPU is provided to RAID module;
3) hard disk expansion module configuration switching circuit receives the instruction of insertion RAID card, sends and disables to hard disk expansion module The memory module of HBA module storage uses instruction;
4) hard disk expansion module reset circuit receives the instruction of insertion RAID card, sends reset to hard disk expansion module and refers to Show;
5) hard disk expansion module disables pair between hard disk expansion module and HBA module according to memory module using instruction Connect data storage port;Reset operation is carried out according to instruction is resetted, RAID card is made to be inserted into the new configuration life switched after RAID module Effect, to have turned off the Interworking Data storage port between HBA module and hard disk expansion module.
Need the data flow trend of the data of storage as shown in Figure 1 C at this time, the data that need to be stored can be flowed out from HDD array, warp Hard disk expansion module flows to RAID module, can also flow out from RAID module, flow to 113 (disk of HDD array through hard disk expansion module Array).
(2) when removing RAID card in RAID module:
1) RAID card detection circuit in place, which detects, removes RAID card in RAID module, configure and switch to hard disk expansion module Circuit and hard disk expansion module reset circuit send removal instruction respectively;
2) it is inserted into the information of RAID card in the RAID module that plug-and-play circuit detects, closes and is opened to what RAID module was powered It closes, while disabling the clock signal that CPU is provided to RAID module;
3) hard disk expansion module configuration switching circuit receives the instruction for removing RAID card, sends to hard disk expansion module enabled The memory module of HBA module storage uses instruction;
4) hard disk expansion module reset circuit receives the instruction for removing RAID card, sends reset to hard disk expansion module and refers to Show;
5) hard disk expansion module enables pair between hard disk expansion module and HBA module according to memory module using instruction Connect data storage port;Reset operation is carried out according to instruction is resetted, RAID card is made to remove the new configuration life switched after RAID module Effect, to enable the Interworking Data storage port between HBA module and hard disk expansion module.
The data flow of the data of storage is needed to move towards as shown in figure iD at this time, the data that need to be stored can be flowed out from HDD array, warp Hard disk expansion module flows to HBA module, can also flow out from HBA module, flow to HDD array through hard disk expansion module.
In method provided in this embodiment, in the deep bid position of onboard HBA storage equipment, needing to upgrade to hard RAID When storage system, it can directly upgrade to hard RAID by installing RAID card under the premise of being changed without complete machine, being changed without software Storage system, and still can be worked normally based on HBA storage system after RAID card extraction, i.e., it is right when without using RAID card The PCIE slot answered can connect other PCIE devices, will not influence the normal work of HBA system;
After HBA storage system is switched to hard RAID storage system or hard RAID storage system switches back into HBA storage system, It can guarantee the switching that storage link is completed before hard disk expansion module identifies;It, being capable of dynamic after accessing hard RAID card DISABLE HBA is cascaded to the port on SAS EXPANDER, prevents SAS EXPANDER from docking two SAS/SATA controllers, So that hardware store link is unique.
In method provided in this embodiment, since HBA module and hard RAID module are connected to hard disk expansion module simultaneously, Without common hardware link, to not generate additional signal decaying by gating device, it is longer to be suitable for cabling Scene, meanwhile, so that PCB PCB (Printed Circuit Board) printed circuit board layout is more flexible.
Embodiment two:
It is specific as follows the present embodiment provides a kind of storage equipment and the method for storing link circuit self-adapting: as shown in Figure 2 A, should It is (i.e. above-mentioned by CPU module (i.e. above-mentioned main control module CPU), HBA chip (i.e. above-mentioned HBA module), PCIE slot to store equipment PCIe card link block), hard RAID card (i.e. above-mentioned RAID module), (the i.e. above-mentioned hard disk expansion module configuration of MINISAS connector Switching circuit), SASEXPANDER (i.e. above-mentioned hard disk expansion module), HDD array composition;
As shown in Figure 2 A, wherein CPU module is inserted with the uplink port of HBA chip and PCIE respectively by two PCIE interfaces Slot connection, the downlink SAS port of HBA are connect with the SAS interface 1 of SAS EXPANDER, and MINISAS HD 4i connector passes through The connection of the SAS interface 2 of MINISAS HD 4i high-speed cable and SASEXPANDER;
When RAID card accesses storage equipment, the uplink port of RAID card is connect with the PCIE slot of storage equipment, downlink Port is connected with MINISAS HD 4i connector.
As shown in Figure 2 B, a specific embodiment about RAID card detection circuit in place is provided:
RAID card detection circuit in place is made of MINISAS HD 4i connector, MINISAS cable and peripheral circuit, The downlink SAS interface definition of middle RAID card meets SFF8485 specification, coupled MINISAS HD 4i and its peripheral circuit As shown in Figure 2 B, one of pin in the SB1 and SB4 in wherein Side BAND [7:0] is pulled upward to the electricity of storage equipment On the voltage of source, to generate gate control signal;
It is worth noting that be GND in SB1 and SB4 specification definition, in addition to the two GND PIN (grounding pin), There are also other several GND PIN on MINISAS HD 4i connector, and this programme can only select SB1 or SB4, and cannot select Other GND PIN;
When not having RAID card insertion, above-mentioned gate control signal is high level, after RAID card is inserted into storage equipment, on Stating gate control signal is low level, and above-mentioned gating signal and hard disk expansion module configuration switching circuit, hard disk expansion module are multiple Position circuit interconnection configures switching circuit and hard disk expansion module to hard disk expansion module as above-mentioned RAID card detection circuit in place Reset circuit sends insertion/removal instruction respectively.
As shown in Figure 2 C, the specific example one of a hard disk expansion module configuration switching circuit, above-mentioned hard disk extension are provided Module configuration switching circuit can with but be not limited to include following hard disk expansion module configuration switching circuit implementation example one:
It includes hard disk expansion module, twin wire universal serial bus that above-mentioned hard disk expansion module configuration switching circuit, which implements example one, I2C (Inter-Integrated Circuit) gating device and two EEPROM;
The I2C control interface of hard disk expansion module is connected with above-mentioned I2C gating device, and two of above-mentioned I2C gating device The port I2C is interconnected with two EEPROM respectively, and the selected input of I2C is connected with Fig. 2 B gate control signal exported;
When gate control signal exports high level, the I2C control interface of hard disk expansion module and default configuration EEPROM is connected, and default configuration is the SAS port of enabled HBA card and the interconnection of hard disk expansion module, so that HBA card can manage Manage the hard disk array under hard disk expansion module;When gate control signal exports low level, the I2C control of hard disk expansion module is connect Mouth is connected with another EEPROM, is configured to the SAS wide opening for forbidding HBA card and hard disk expansion module to interconnect, so that RAID card can manage the hard disk array under hard disk expansion module.
As shown in Figure 2 D, it is the specific implementation example of hard disk expansion module reset circuit:
Above-mentioned hard disk expansion module reset circuit is an application of logic circuit module in an implementation;
The gate control signal of Fig. 2 B output is connected with application of logic circuit module, when application of logic circuit module detects gating control When level change occurs for signal, logic module output exports the reset signal of a low pulse, and instruction hard disk expansion module resets, So that hard disk expansion module can reacquire port configuration information, by the configuration take-effective in the EEPROM after switching.
In an implementation, above-mentioned application of logic circuit module can with but be not limited to be MCU, CPLD, discreet logic device.
As shown in Figure 2 E, it is the specific implementation example of plug-and-play circuit:
After RAID card insertion, PRSNTR is low level, which is sent to energy supply control module and CPU simultaneously;
After energy supply control module receives above-mentioned PRSNTR low level signal, operating voltage is provided for RAID card;The end CPU After CPUREQ pin receives above-mentioned PRSNTR low level signal, CLK is exported, while re-establishing PCIE link process, so that RAID card works normally.
Specific work process is as follows:
(1) when RAID card insertion storage equipment:
After RAID card is inserted into PCIE slot, plug-and-play circuit shown in Fig. 2 E can be opened to the switch of RAID card power supply to upper It states RAID card to be powered, while the clock signal that enabled CPU is connect with RAID card, re-establishes PCIE link process, make RAID card works normally;
At this point, the detection circuit in place of RAID shown in Fig. 2 B is when RAID card accesses storage equipment, gate control signal is SB1 signal due to be mated with RAID card end be GND, SB1 signal and be pulled low, RAID detection circuit in place is pulled low above-mentioned SB1 signal simultaneously export give hard disk expansion module configure switching circuit, hard disk expansion module reset circuit;
If configuring switching circuit using hard disk expansion module shown in fig. 2 C, which configures switching circuit After detecting the gate control signal SB1 being pulled low, I2C gating device switches EEPROM device --- and handover configurations are disabling HBA card and hard disk expansion module Interworking Data storage port;
Hard disk expansion module reset circuit as shown in Figure 2 D, after detecting the gate control signal after being lower by height, Logic module output exports the reset signal of a low pulse, allows the chip reset of hard disk expansion module, for shown in fig. 2 C Hard disk expansion module configures switching circuit, after can read the switching of I2C gating device after the chip reset of hard disk expansion module EEPROM configuration information, disabling HBA card and hard disk expansion module Interworking Data storage port, to have turned off HBA card and hard disk Hardware connection between expansion module, prevents HBA and RAID card from accessing storage equipment simultaneously, so that storage hardware link is only One.
(2) when RAID card extracts storage equipment:
After RAID card extracts PCIE slot, the power switch that plug-and-play circuit shown in Fig. 2 E can close RAID card makes above-mentioned RAID card power-off, simultaneously closes off the clock signal that CPU is connect with RAID card, at this point, the detection circuit in place of RAID shown in Fig. 2 B After RAID card removes storage equipment, gate control signal, that is, SB1 signal is raised, RAID under the action of pull-up resistor on it Detection circuit in place, which exports the above-mentioned SB1 signal being raised, configures switching circuit, hard disk expansion module to hard disk expansion module Reset circuit;
If configuring switching circuit using hard disk expansion module shown in fig. 2 C, which configures switching circuit After detecting the gate control signal being raised, I2C gating device switches EEPROM device --- enable itself and hard disk expanded mode Block Interworking Data storage port;
Hard disk expansion module reset circuit as shown in Figure 2 D, detect by it is low get higher gate control signal after, logic Output module exports the reset signal of a low pulse, and hard disk expansion module is allowed to reset;For hard disk expanded mode shown in fig. 2 C Block configures switching circuit, and the EEPROM after can read the switching of I2C gating device after the chip reset of hard disk expansion module is with confidence Breath enables HBA card and hard disk expansion module Interworking Data storage port, so that above-mentioned HBA card be made to continue adapter tube storage equipment Storage service.
The application is described above by reference to the equipment, method and/or flow chart shown according to the embodiment of the present application.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of storage equipment, which is characterized in that the storage equipment includes:
RAID card detection circuit in place is matched when for detecting insertion in RAID module/removal RAID card to hard disk expansion module It sets switching circuit and hard disk expansion module reset circuit sends insertion/removal instruction respectively;
The hard disk expansion module configures switching circuit, is used for basis from the received insertion/removal of RAID card detection circuit in place Instruction, the memory module for sending disabling/store using HBA module to hard disk expansion module use instruction;
The hard disk expansion module reset circuit, for receiving the received insertion of RAID card detection circuit in place/removal instruction When, it is sent to hard disk expansion module and resets instruction;
The hard disk expansion module, the memory module for configuring switching circuit according to the hard disk expansion module use instruction control Disabling processed/stored using HBA module;And reset operation is carried out according to the reset of hard disk expansion module reset circuit instruction, with Reacquire the port configuration information between the hard disk expansion module and RAID module/HBA module.
2. storage equipment as described in claim 1, which is characterized in that further include:
Microprocessor CPU, for providing clock signal to RAID module under enabled state;
Plug-and-play circuit, for being supplied to RAID module according to insertion/removal RAID card information in the RAID module detected Power off, while enabled/close the clock signal that CPU is provided to RAID module.
3. storage equipment as described in claim 1, which is characterized in that the hard disk expansion module is specifically used for depositing described in determination Storage module is when disabling HBA module to store, to disable the Interworking Data between the hard disk expansion module and HBA module using instruction Storage port;Determine the memory module using instruction be using HBA module store when, enable the hard disk expansion module with Interworking Data storage port between HBA module.
4. storage equipment as described in claim 1, which is characterized in that the hard disk expansion module configuration switching circuit includes two Wire type universal serial bus I2C gating device;The I2C gating device respectively with hard disk expansion module and RAID card detection circuit in place The insertion of transmission/removal instruction signal wire is connected.
5. storage equipment as described in claim 1, which is characterized in that further include:
Wire connection block is connected between RAID module and RAID card detection circuit in place.
6. storage equipment as described in claim 1, which is characterized in that further include:
PCIe card link block, connect with RAID module, for the PCIE slot by the PCIe card link block by RAID card In insertion/removal RAID module.
7. a kind of method for storing link circuit self-adapting, which is characterized in that this method comprises:
When RAID card detection circuit in place detects insertion in RAID module/removal RAID card, cut to the configuration of hard disk expansion module It changes circuit and hard disk expansion module reset circuit sends insertion/removal instruction respectively;
Hard disk expansion module configures switching circuit according to from the received insertion of RAID card detection circuit in place/removal instruction, to hard The memory module that disk expansion module sends disabling/store using HBA module uses instruction;
When hard disk expansion module reset circuit receives the received insertion of RAID card detection circuit in place/removal instruction, to hard disk Expansion module, which is sent, resets instruction;
Hard disk expansion module is disabled/is made using instruction control according to the memory module that the hard disk expansion module configures switching circuit It is stored with HBA module;And reset operation is carried out according to the reset of hard disk expansion module reset circuit instruction, to reacquire State the port configuration information between hard disk expansion module and RAID module/HBA module.
8. the method for claim 7, which is characterized in that further include:
Microprocessor CPU provides clock signal to RAID module under enabled state;
Plug-and-play circuit powers/breaks to RAID module according to insertion in the RAID module detected/removal RAID card information Electricity, while enabled/close the clock signal that CPU is provided to RAID module.
9. the method for claim 7, which is characterized in that the received insertion/removal of RAID card detection circuit in place It is designated as gate control signal, when being inserted into RAID card in RAID module, the gate control signal is low level, when RAID mould When removing RAID card in block, the gate control signal is high level.
10. the method for claim 7, which is characterized in that hard disk expansion module is configured according to the hard disk expansion module The memory module of switching circuit is stored using instruction control disabling/using HBA module, comprising:
Determine the memory module using instruction be disabling HBA module store when, disable the hard disk expansion module and HBA module Between Interworking Data storage port;
Determine the memory module using instruction be using HBA module store when, enable the hard disk expansion module and HBA module Between Interworking Data storage port.
CN201910039675.XA 2019-01-16 2019-01-16 Storage device and storage link self-adaption method thereof Active CN109815169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910039675.XA CN109815169B (en) 2019-01-16 2019-01-16 Storage device and storage link self-adaption method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910039675.XA CN109815169B (en) 2019-01-16 2019-01-16 Storage device and storage link self-adaption method thereof

Publications (2)

Publication Number Publication Date
CN109815169A true CN109815169A (en) 2019-05-28
CN109815169B CN109815169B (en) 2021-02-02

Family

ID=66604436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910039675.XA Active CN109815169B (en) 2019-01-16 2019-01-16 Storage device and storage link self-adaption method thereof

Country Status (1)

Country Link
CN (1) CN109815169B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688084A (en) * 2021-07-22 2021-11-23 苏州浪潮智能科技有限公司 Circuit, method and storage medium for realizing automatic allocation of PCIE (peripheral component interface express) resources
CN114064530A (en) * 2020-08-05 2022-02-18 钰创科技股份有限公司 Memory system, memory controller and memory chip

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184481A1 (en) * 2001-05-30 2002-12-05 International Business Machines Corporation Method, system and program for initializing a storage device comprising multiple storage units through a storage controller
CN101095116A (en) * 2004-11-05 2007-12-26 数据机器人技术公司 Storage system condition indicator and method
CN101488077A (en) * 2009-02-24 2009-07-22 浪潮电子信息产业股份有限公司 Redundancy magnetic disk control server system
CN102346508A (en) * 2011-09-23 2012-02-08 浪潮电子信息产业股份有限公司 Design method for improving expansion capability of heterogeneous system mainboard
CN102521194A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Method and system capable of realizing high-speed interconnection between devices
CN102999106A (en) * 2012-11-19 2013-03-27 浪潮电子信息产业股份有限公司 Design method for realizing expansion of PCIE (Peripheral Component Interface Express) card or storage equipment on blade server
CN203982354U (en) * 2014-06-19 2014-12-03 天津书生投资有限公司 A kind of redundant storage system
CN106201963A (en) * 2016-07-11 2016-12-07 浪潮(北京)电子信息产业有限公司 A kind of system of PCI E card hot plug in server
CN106997224A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 Hard disk subrack and server
CN109116934A (en) * 2018-06-27 2019-01-01 烽火通信科技股份有限公司 Expansible combined server stores backboard

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184481A1 (en) * 2001-05-30 2002-12-05 International Business Machines Corporation Method, system and program for initializing a storage device comprising multiple storage units through a storage controller
CN101095116A (en) * 2004-11-05 2007-12-26 数据机器人技术公司 Storage system condition indicator and method
CN101488077A (en) * 2009-02-24 2009-07-22 浪潮电子信息产业股份有限公司 Redundancy magnetic disk control server system
CN102346508A (en) * 2011-09-23 2012-02-08 浪潮电子信息产业股份有限公司 Design method for improving expansion capability of heterogeneous system mainboard
CN102521194A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Method and system capable of realizing high-speed interconnection between devices
CN102999106A (en) * 2012-11-19 2013-03-27 浪潮电子信息产业股份有限公司 Design method for realizing expansion of PCIE (Peripheral Component Interface Express) card or storage equipment on blade server
CN203982354U (en) * 2014-06-19 2014-12-03 天津书生投资有限公司 A kind of redundant storage system
CN106997224A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 Hard disk subrack and server
CN106201963A (en) * 2016-07-11 2016-12-07 浪潮(北京)电子信息产业有限公司 A kind of system of PCI E card hot plug in server
CN109116934A (en) * 2018-06-27 2019-01-01 烽火通信科技股份有限公司 Expansible combined server stores backboard

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064530A (en) * 2020-08-05 2022-02-18 钰创科技股份有限公司 Memory system, memory controller and memory chip
CN113688084A (en) * 2021-07-22 2021-11-23 苏州浪潮智能科技有限公司 Circuit, method and storage medium for realizing automatic allocation of PCIE (peripheral component interface express) resources
CN113688084B (en) * 2021-07-22 2023-08-22 苏州浪潮智能科技有限公司 Circuit, method and storage medium for realizing PCIE resource automatic allocation

Also Published As

Publication number Publication date
CN109815169B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
US11232057B2 (en) Terminal device and control method thereof
CN108885601B (en) USB multi-host endpoint reflector hub
KR101327896B1 (en) Methods and apparatus for adding an autonomous controller to an existing architecture
US20140365690A1 (en) Methods and apparatus for reliable detection and enumeration of devices
WO2016003408A1 (en) Runtime drive detection and configuration
CN210006040U (en) expansion cards
CN211427190U (en) Server circuit and mainboard based on Feiteng treater 2000+
CN104657317A (en) Server
CN107092570A (en) The adaptive configuring method and system of a kind of onboard M.2 hard disk of server
CN107844165A (en) Hard disk hot-plug realization device
US20100023669A1 (en) Host controller disposed in multi-function card reader
CN109947682B (en) Server mainboard and server
US20140223064A1 (en) Connecting expansion slots
CN213365380U (en) Server mainboard and server
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN109815169A (en) A method of storage equipment and its storage link circuit self-adapting
JP2012063817A (en) Communication device
CN100489825C (en) Expansion module and expansion method of general serial bus connection port
CN209248436U (en) A kind of expansion board clamping and server
CN112527719B (en) PCIe link-based JBOF (just-in-File) connection method, device and system
CN115858426A (en) Hard disk interface, hard disk and electronic equipment
CN115509985A (en) I/O controller of processor
CN101354634B (en) Memory apparatus system connecting ATA port with multiplex SATA port and control method thereof
CN101303674A (en) USB equipment containing self device driver
CN111124957B (en) USB channel switching device

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