CN106326154B - A kind of control circuit and its control method of hard disk address - Google Patents

A kind of control circuit and its control method of hard disk address Download PDF

Info

Publication number
CN106326154B
CN106326154B CN201610653048.1A CN201610653048A CN106326154B CN 106326154 B CN106326154 B CN 106326154B CN 201610653048 A CN201610653048 A CN 201610653048A CN 106326154 B CN106326154 B CN 106326154B
Authority
CN
China
Prior art keywords
hard disk
connector
address
disk connector
cpld
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
CN201610653048.1A
Other languages
Chinese (zh)
Other versions
CN106326154A (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.)
Hangzhou Sequoia Polytron Technologies Inc
Original Assignee
Hangzhou Sequoia Polytron Technologies Inc
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 Hangzhou Sequoia Polytron Technologies Inc filed Critical Hangzhou Sequoia Polytron Technologies Inc
Priority to CN201610653048.1A priority Critical patent/CN106326154B/en
Publication of CN106326154A publication Critical patent/CN106326154A/en
Application granted granted Critical
Publication of CN106326154B publication Critical patent/CN106326154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides the control circuit and its control method of a kind of hard disk address, and the control circuit includes: active backplane, multiple hard disk connectors, the SATA hard disc being separately connected with the multiple hard disk connector;Wherein: the first serial that each hard disk connector passes through itself is linked into the slot position of active backplane, and different first serials is linked into different slot positions;The active backplane can provide power supply for each hard disk connector;The active backplane includes CPLD;The CPLD obtains the hard disk address of the hard disk connector, by the connecting path between active backplane and the hard disk connector, the hard disk address is written to the hard disk connector for determining the hard disk connector of current hard disk address to be written.According to the technical solution of the present invention, it avoids building complete machine environment, does not need production Serial Port Line, improve work efficiency, reduce the PCB surface product of hard disk connector, reduce LAYOUT risk, improve the performance of product.

Description

A kind of control circuit and its control method of hard disk address
Technical field
The present invention relates to field of circuit technology, the especially a kind of control circuit and its control method of hard disk address.
Background technique
Currently, on a storage device, when classifying according to interface to hard disk, including SAS (Serial Attached SCSI (Small Computer System Interface), serial connecting small computer system interface) hard disk and SATA (Serial ATA, serial ATA, ATA (AT Attachment) indicate the optional equipment of AT computer) (i.e. serial ports is hard for hard disk Disk).In order to improve reliability, it will usually (Central Processing Unit, the center two CPU of deployment in storage equipment Processor), the two CPU are circumscribed with SAS controller, and two CPU pass through respective SAS controller and shared nothing respectively Source backboard accesses the plug-in hard disk of the backboard, i.e., accesses the plug-in hard disk of the backboard by two SAS controllers.
As shown in Figure 1, being the schematic diagram of the plug-in SAS hard disk of backboard, for SAS hard disk, two ends are generally included Mouthful, a port is accessed by SAS controller 1, another port is accessed by SAS controller 2.As shown in Fig. 2, plug-in for backboard The schematic diagram of SATA hard disc usually only includes a port for SATA hard disc, and SAS controller 1 and SAS are controlled The accessible port of device 2.It as depicted in figs. 1 and 2, can also include one between backboard and SAS hard disk/SATA hard disc A hard disk connector, and realized by the hard disk connector to SAS hard disk/SATA hard disc function of supplying power.As shown in Fig. 2, also The conversion chip that a SAS turns SATA protocol can be affixed one's name in hard disk adapting intralamellar part, so that SAS controller 1 and SAS controller 2 The port of the SATA hard disc is accessed by conversion chip.
Summary of the invention
The present invention provides a kind of control circuit of hard disk address, and the control circuit includes: active backplane, multiple hard disks turn Fishplate bar, the SATA hard disc being separately connected with the multiple hard disk connector;Wherein:
The first serial that each hard disk connector passes through itself is linked into the slot position of active backplane, and the first different strings Mouth is linked into different slot positions;The active backplane can provide power supply for each hard disk connector;
The active backplane includes complex programmable logic device (CPLD);The CPLD is current to be written hard for determining The hard disk connector of disk address obtains the hard disk address of the hard disk connector, passes through active backplane and the hard disk connector Between connecting path, the hard disk address is written to the hard disk connector.
The slot position that the first serial that each hard disk connector passes through itself is linked into the active backplane refers to: being directed to Two signal wires of each hard disk connector, the first serial of the hard disk connector are linked into SAS connector, and described SAS connector is inserted into the slot position of the active backplane.
It is current to be written hard by active backplane after the hard disk connector that CPLD determines current hard disk address to be written The hard disk connector of disk address provides power supply, and refuses to provide power supply for other hard disk connectors.
The CPLD, specifically for during determining the hard disk connector of current hard disk address to be written, detection is pressed The number that key button is pressed, and the mapping relations based on preconfigured number and hard disk connector, the number is corresponding Hard disk connector be determined as the hard disk connector of current hard disk address to be written.
The active backplane is also circumscribed with PC, and the PC is connected to the active backplane by the second serial of itself; The active backplane further includes serial port level conversion module;The serial port level conversion module, for receiving from the PC's Hard disk address, and the hard disk address is exported to the CPLD, the hard disk address is received by the CPLD;Wherein, described Hard disk address is the hard disk address of the hard disk connector.
The serial port level conversion module, specifically for receiving the hard disk address from the PC, and by the hard disk During address is exported to the CPLD, the first level from the PC is received, and is the by first level conversion Two level, and the second electrical level is exported to the CPLD;
The CPLD is specifically used for during receiving the hard disk address, receives and comes from the serial port level conversion The second electrical level of module, and determine using the second electrical level hard disk address of the hard disk connector;
Wherein, first level and the second electrical level indicate the hard disk address mark of the hard disk connector.
The serial port level conversion module, is also used to receive the third level from the PC, and by the third level The 4th level is converted to, and the 4th level is exported to the CPLD;
The CPLD is also used to receive the 4th level from the serial port level conversion module, and described in utilization 4th level determines the hard disk connector of current hard disk address to be written;
Wherein, the third level and the 4th level indicate the slot position mark of hard disk connector.
The CPLD is also used to after detecting the number that button is pressed, in Light-emitting diode LED charactron The corresponding mark of number that the upper display button is pressed.
The hard disk address is specially the address SAS;
In the EEPROM for the conversion chip that the hard disk address is written to the hard disk connector;
The SATA hard disc connecting with the hard disk connector can be shown as SAS hard disk by SAS controller.
The present invention provides a kind of control method of hard disk address, and the control method is applied in control circuit, the control Circuit processed includes: active backplane, multiple hard disk connectors, the SATA hard disc being separately connected with the multiple hard disk connector;Its In: the first serial that each hard disk connector passes through itself is linked into the slot position of active backplane, different first serial accesses Onto different slot positions;The active backplane can provide power supply for each hard disk connector;The active backplane includes that complexity can be compiled Journey logic device (CPLD);
The CPLD determines the hard disk connector of current hard disk address to be written;The CPLD obtains the hard disk connector Hard disk address;The CPLD is by the connecting path between active backplane and the hard disk connector, by the hard disk address It is written to the hard disk connector.
Based on the above-mentioned technical proposal, it in the embodiment of the present invention, avoids building complete machine environment, does not need production Serial Port Line, mention High working efficiency, reduces the PCB surface product of hard disk connector, reduces LAYOUT risk, improve the performance of product.Specifically , since backboard is active backplane, hard disk connector directly can take electricity from active backplane, thus avoid building complete machine environment, The processing time is saved, is improved work efficiency.Moreover, by the way that hard disk connector is linked into the slot position of active backplane, with Connecting path is formed between active backplane and hard disk connector, does not need the Serial Port Line of production 3pin, saves the processing time, is improved Working efficiency.Due to deleting the devices such as level conversion device and serial ports contact pin on hard disk connector, to reduce PCB (Printed Circuit Board, printed circuit board) area, reduces costs, and reduces LAYOUT (layout) risk, extends The service life of hard disk connector, improves the performance of product.
Detailed description of the invention
It, below will be to the present invention in order to clearly illustrate the embodiment of the present invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, it is disclosed below in Attached drawing be only that some embodiments for recording for those of ordinary skill in the art can also be according to this in the present invention A little attached drawings obtain other attached drawings, without limitation.
Fig. 1 is the schematic diagram of the plug-in SAS hard disk of backboard in the prior art;
Fig. 2 is the schematic diagram of the plug-in SATA hard disc of backboard in the prior art;
Fig. 3 is the structure chart of the control circuit of the hard disk address in one embodiment of the present invention;
Fig. 4 is the flow chart of the control method of the hard disk address in one embodiment of the present invention.
Specific embodiment
In terminology used in the present invention merely for the sake of for the purpose of describing particular embodiments, it is not intended to limit the present invention.This hair The "an" of singular used in bright and claims, " described " and "the" are also intended to including most forms, unless Context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one or more Associated any or all of project listed may combine.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, in addition, used word " if " can be construed to " ... when " or " when ... " Or " in response to determination ".
On a storage device, it in order to make SAS controller be able to access that SAS hard disk/SATA hard disc, then needs with obtaining hard disk Location.As shown in Figure 1, the case where SAS hard disk plug-in for backboard, can usually write direct hard disk address in SAS hard disk, because This, the hard disk address being written in SAS hard disk can be read directly in SAS controller.As shown in Fig. 2, SATA plug-in for backboard is hard The case where disk, in one case, SAS controller, can show the plug-in SATA hard disc of backboard, due in the SATA hard disc will not Hard disk address is written, therefore, storage equipment can distribute hard disk address automatically for SATA hard disc, so that SAS controller can obtain Get hard disk address.In another case, SAS controller can show the plug-in SAS hard disk of backboard (practical upper backboard is plug-in SATA hard disc), since hard disk address can be written in SAS hard disk, when storing equipment and thinking the plug-in SAS hard disk of backboard, Hard disk address will not be distributed for SATA hard disc automatically, but in fact, backboard it is plug-in be SATA hard disc, and do not have in SATA hard disc There is write-in hard disk address.
In conclusion be directed to the plug-in SATA hard disc of backboard, and the case where SAS controller shows backboard plug-in SAS hard disk, then It needs to distribute hard disk address for SATA hard disc, and the hard disk address is written to the EEPROM of the conversion chip of hard disk connector (Electrically Erasable Programmable Read Only Memory, the read-only storage of electrically erasable Device) in, so that SAS controller can get hard disk address out of conversion chip.In the subsequent process of the embodiment of the present invention, It is treatment process in response to this.
In one example, in order to distribute hard disk address to SATA hard disc, and the hard disk address is written to hard disk adapting In the EEPROM of the conversion chip of plate, since passive backplane can not power to hard disk connector, also hard disk address can not just be write Enter into the EEPROM of the conversion chip of hard disk connector, therefore, it is necessary to build complete machine environment, and starts under complete machine environment and deposit Equipment is stored up, to power for hard disk connector, so as to which hard disk address to be written to the conversion chip of hard disk connector In EEPROM.Since the area of hard disk connector is smaller, the serial ports contact pin and a serial ports that can only dispose a 3pin are converted Chip (such as MAX3232 chip), and the RS232 serial ports of PC (Personal Computer, personal computer) is DB9 contact pin, nothing RS232 serial ports is linked on the serial ports contact pin of hard disk connector by method.Therefore the Serial Port Line that a 3pin is made for PC is being the When one hard disk connector write-in hard disk address, the serial ports for being inserted into first hard disk connector from the Serial Port Line of production is inserted Hard disk address is written to the conversion of first hard disk connector to connecting first hard disk connector with PC by needle In the EEPROM of chip.When hard disk address is written for second hard disk connector, the Serial Port Line from production is extracted, will be made certainly Serial Port Line be inserted into the serial ports contact pin of second hard disk connector, so that second hard disk connector be connected with PC, And so on.
Under aforesaid way, builds complete machine environment and make the Serial Port Line of 3pin, be the operation wasted time, and And need successively to be inserted into the serial ports contact pin of each hard disk connector from the Serial Port Line of production.
For above-mentioned discovery, as shown in figure 3, the embodiment of the present invention proposes a kind of control circuit of hard disk address, the control Circuit can be applied in storage equipment.The control circuit may include: active backplane, multiple hard disk connectors, with it is multiple hard The SATA hard disc that disk pinboard is separately connected.The first serial that each hard disk connector passes through itself is linked into the slot of active backplane On position, and different first serials is linked into different slot positions.Active backplane can provide power supply for each hard disk connector, and have Source backboard may include CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices).It should CPLD for determining the hard disk connector of current hard disk address to be written, and obtains the hard disk address of the hard disk connector, and lead to The connecting path between active backplane and the hard disk connector is crossed, which is written to the hard disk connector.
In one example, active backplane, which can be, refers to directly provide the backboard of power supply for each hard disk connector, no Need to build complete machine environment, hard disk connector directly can get power supply from active backplane.
In one example, hard disk address is specifically as follows the address SAS.Hard disk address is written to the hard disk connector In the EEPROM of conversion chip.The SATA hard disc connecting with hard disk connector can be shown as SAS hard disk by SAS controller.Wherein, The SAS controller is similar to a CPU (Central Processing Unit, central processing unit), and the SAS controller is located at On mainboard, multiple SATA hard discs, SAS hard disk can be managed, the function of this SAS controller is not limited in the embodiment of the present invention System.
In one example, above-mentioned hard disk connector be not comprising 3pin serial ports contact pin and serial ports conversion chip (such as MAX3232 chip) hard disk connector, may include a conversion chip, and can store in the EEPROM of the conversion chip Hard disk address.Due to not disposing serial ports contact pin and serial ports conversion chip, the usable area of hard disk connector increases, reduces The PCB layer number of wiring reserves more allowances for other signals cabling.
In one example, " slot position that the first serial that each hard disk connector passes through itself is linked into active backplane " is Referring to: being directed to each hard disk connector, two signal wires of the first serial of the hard disk connector are linked into SAS connector, And the SAS connector is inserted into the slot position of active backplane, is such as located in the slot position of the CPLD of active backplane, by above-mentioned place Reason, two signal wires of first serial can be bundled on the pin foot of CPLD.Therefore, each hard disk connector passes through itself The first serial CPLD that is linked into active backplane slot position on, there are connecting paths between CPLD and each hard disk connector.
For example, active backplane (or CPLD of active backplane) may include 25 slot positions, the first string of hard disk connector 1 Two signal wires of mouth can be linked into the slot position 1 of active backplane, two signal wires of the first serial of hard disk connector 2 It can be linked into the slot position 2 of active backplane, and so on.Wherein, two signal wires of the first serial can be transmission Signal wire (i.e. TX signal wire) and reception signal wire (i.e. RX signal wire), in addition, the first serial can also include a ground wire, This is no longer repeated in detail.
In one example, although active backplane can provide power supply for each hard disk connector, active backplane is not Be provide power supply in real time for each hard disk connector, but CPLD determine current hard disk address to be written hard disk connector it Afterwards, power supply is provided for the hard disk connector of the current hard disk address to be written by the active backplane, but it is other hard for refusing Disk pinboard provides power supply.Therefore in synchronization, active backplane only provides power supply for a hard disk connector, without being multiple Hard disk connector provides power supply.
In one example, as shown in figure 3, active backplane is also circumscribed with a PC, and the second serial that PC passes through itself It is connected to active backplane.In Fig. 3, COM1 and COM2 are second serials.In one example, active backplane can also include Serial port level conversion module, and PC is connected to serial port level conversion module, and serial port level conversion by the second serial of itself Module is connect with CPLD.
In one example, for the process of " hard disk connector that CPLD determines current hard disk address to be written ", specifically It can include but is not limited to such as under type: the number that mode one, CPLD detection button are pressed, and based on preconfigured The corresponding hard disk connector of the number is determined as current hard disk address to be written by the mapping relations of number and hard disk connector Hard disk connector.Mode two, serial port level conversion module receive the mark data from PC, and by the mark data export to CPLD;Wherein, each mark data corresponds to unique hard disk connector;CPLD receives the mark from serial port level conversion module Data, and the corresponding hard disk connector of the mark data is determined as to the hard disk connector of current hard disk address to be written.
It is configured with button (BTN) for mode one, on active backplane, when needing that hard disk connector 1 is written firmly When disk address, BTN can be pressed 1 time, when needing that hard disk address is written to hard disk connector 2, BTN can be pressed 2 times, And so on.Based on this, CPLD can detecte the number that BTN is pressed, and the number is stored to UARTSEL register.? During the hard disk connector for determining current hard disk address to be written, the number is parsed from UARTSEL register, is based on Mapping relations (such as number 1 and hard disk connector 1, number 2 and the hard disk connector 2 of preconfigured number and hard disk connector Deng), the corresponding hard disk connector of the number is determined as to the hard disk connector of current hard disk address to be written, it is such as that number 2 is right The hard disk connector 2 answered is determined as the hard disk connector of current hard disk address to be written.
In one example, can be configured on active backplane LED (Light Emitting Diode, shine two Pole pipe) charactron.Based on this, CPLD can also be after detecting the number that button is pressed, in the LED charactrons Show the corresponding mark of number that the button is pressed.Wherein, CPLD can also be by the secondary numerical value in UARTSEL register (such as 2) are transmitted to LED charactrons, and LED charactrons carry out transcoding according to the coding mode of 8 segment numeral pipes, are sent to 8 sections of two panels later Charactron is shown up, for example, two charactrons can show 02, to intuitively show very much the letter of hard disk connector Breath.
For mode two, the hard disk connector of current hard disk address to be written can be determined by PC, for example, working as needs to hard When hard disk address is written in disk pinboard 1, the mark data that PC is generated can be 1, when needing that hard disk is written to hard disk connector 2 When location, the mark data that PC is generated can be 2, and so on.Mark data can be sent to by PC by second serial COM1 The mark data received is exported the mark that will be received to CPLD, CPLD by serial port level conversion module, serial port level conversion module Data are stored into UARTSEL register.During determining the hard disk connector of current hard disk address to be written, from The mark data is parsed in UARTSEL register, and is closed based on the mapping of preconfigured mark data and hard disk connector System's (such as mark data 1 and hard disk connector 1, mark data 2 and hard disk connector 2), by the corresponding hard disk of the mark data Pinboard is determined as the hard disk connector of current hard disk address to be written.
In one example, for " serial port level conversion module receives the mark data from PC, and by the mark data It exports to the process of CPLD ", serial port level conversion module receives the third level from PC, and is the 4th by third level conversion Level, and the 4th level is exported to CPLD.For " CPLD receives the mark data from serial port level conversion module, and will The corresponding hard disk connector of the mark data is determined as the hard disk connector of current hard disk address to be written " process, CPLD connects The 4th level from serial port level conversion module is received, and determines that the hard disk of current hard disk address to be written turns using the 4th level Fishplate bar.Wherein, third level and the 4th level can indicate the slot position mark of the hard disk connector of current hard disk address to be written.
For the process of " the hard disk address that CPLD obtains the hard disk connector ", serial port level conversion module, which can receive, to be come It exports from the hard disk address of PC, and by the hard disk address to CPLD, which is received by CPLD;Wherein, the hard disk address It is exactly the hard disk address of the hard disk connector.Further, serial port level conversion module is receiving the hard disk address from PC, and During the hard disk address is exported to CPLD, the first level from PC can receive, and be by first level conversion Second electrical level, and the second electrical level is exported to CPLD.CPLD can receive during receiving hard disk address from serial ports The second electrical level of level switch module, and determine using the second electrical level hard disk address of hard disk connector.Wherein, described first Level and the second electrical level indicate the hard disk address mark of the hard disk connector.In one example, PC can pass through Hard disk address is exported and gives serial port level conversion module by second serial COM2.
In one example, second serial COM1 and second serial COM2 all can be RS232 serial ports, second serial COM1 It is used for transmission the slot position mark level of hard disk connector, second serial COM2 is used for transmission the address mark electricity of hard disk connector It is flat.Wherein, which is the RS232 level of standard, i.e., logic state, negative logic level-are indicated using generating positive and negative voltage 3~-15V is high level, and 3~15V of positive logic level is low level.In addition, the level of CPLD is to indicate logic with low and high level State, it is high level that input voltage, which is greater than 2V, and it is low level that input voltage, which is less than 0.8V, and it is high electricity that output voltage, which is greater than 2.4V, Flat, it is low level that output voltage, which is less than 0.4V,.Therefore, the level and CPLD that second serial COM1, second serial COM2 are used make Level is different, in order to realize interface inter-link, then needs using a serial port level conversion module (such as MAX3232 chip), The first level from PC is received by the serial port level conversion module, is second electrical level by the first level conversion, and electric by second To CPLD, specific conversion regime is repeated no more for flat output.In addition, receiving the third electricity from PC by the serial port level conversion module It is flat, it is the 4th level by third level conversion, and the 4th level is exported to CPLD, specific conversion regime repeats no more.
For " the hard disk address is written to by CPLD by the connecting path between active backplane and the hard disk connector The process of the hard disk connector ", since active backplane provides power supply, and the of the hard disk connector for the hard disk connector Two signal wires of one serial ports are linked into SAS connector, and the SAS connector is inserted into the slot position of active backplane, Therefore, there is connecting path between active backplane and the hard disk connector, and CPLD can should by the connecting path Hard disk address is written to the hard disk connector.Further, it is also possible to drag down the power on signal PWR_EN_N signal of the hard disk connector (0 be lower electricity for powering on 1), and light the green light of hard disk connector, indicates that hard disk connector has already powered on, chip normal work Make.
In one example, the hard disk connector of current hard disk address to be written is determined for PC, and in hard disk connector The process of middle write-in hard disk address (can be such as the upper computer software write based on labview, to control integrated automation burning Process), it can include but is not limited to following steps:
Mark data 1 is written in second serial COM1 in step 1, PC, to choose No. 1 hard disk connector.
Step 2, PC read the current hard disk address of No. 1 hard disk connector by second serial COM2.
If No. 1 hard disk connector has hard disk address at present, 3 are thened follow the steps;
If No. 1 hard disk connector thens follow the steps 4 currently without hard disk address.
Step 3, PC judge whether the current hard disk address of hard disk connector is factory address.
If not factory address, then PC does not need that new address is written, and terminates the processing of No. 1 hard disk connector, and the Mark data 2 is written in two serial ports COM1, to choose No. 2 hard disk connectors, the processing phase of subsequent processing and No. 1 hard disk connector Together, details are not described herein, until all hard disk connectors handle completion.
If it is factory address, then PC needs to be written new address, executes step 4.
Step 4, PC take a new hard disk address from the file comprising multiple hard disk addresses, and pass through second serial The hard disk address is written to No. 1 hard disk connector by COM2, and executes step 5.
Step 5, PC read the current hard disk address of No. 1 hard disk connector by second serial COM2, and compare hard disk and turn The hard disk address of No. 1 hard disk connector is written in the current hard disk address of fishplate bar and step 4.
If the current hard disk address of No. 1 hard disk connector and the hard disk address phase for being written to No. 1 hard disk connector in step 4 Together, then illustrate that the processing for successfully terminating No. 1 hard disk connector is written, and mark data 2 is written in second serial COM1, with choosing In No. 2 hard disk connectors, subsequent processing is identical as the processing of No. 1 hard disk connector, and details are not described herein, until all hard Disk pinboard handles completion.
If being written to the hard disk address of No. 1 hard disk connector not in the current hard disk address of No. 1 hard disk connector and step 4 Together, then illustrating write-in failure, return step 4 takes a new hard disk address again from the file comprising multiple hard disk addresses, And the hard disk address is written to No. 1 hard disk connector, and so on.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, since backboard is active backplane, hard disk connector can be direct Electricity is taken from active backplane, to avoid building complete machine environment, the processing time is saved, improves work efficiency.Moreover, by will be hard Disk pinboard is linked into the slot position of active backplane, to form connecting path between active backplane and hard disk connector, is not required to The Serial Port Line of 3pin is made, the processing time is saved, improves work efficiency.Due to deleting level conversion on hard disk connector The devices such as device and serial ports contact pin reduce to reduce PCB (Printed Circuit Board, printed circuit board) area Cost, reduces LAYOUT (layout) risk, extends the service life of hard disk connector, improve the performance of product.
Based on communication is similarly invented with above-mentioned control circuit, a kind of control of hard disk address is also proposed in the embodiment of the present invention Method processed, the control method be applied to control circuit on, the control circuit include: active backplane, multiple hard disk connectors, The SATA hard disc being separately connected with the multiple hard disk connector;Wherein: each hard disk connector passes through the first serial of itself It is linked into the slot position of active backplane, different first serials is linked into different slot positions;The active backplane can be each hard Disk pinboard provides power supply;The active backplane includes complex programmable logic device (CPLD);It is shown in Figure 4, this method packet Include following steps:
Step 401, the CPLD determines the hard disk connector of current hard disk address to be written.
Step 402, the CPLD obtains the hard disk address of the hard disk connector.
Step 403, the CPLD is by the connecting path between active backplane and the hard disk connector, by the hard disk Address is written to the hard disk connector.
Disclosed above is only several specific embodiments of the invention, and still, the present invention is not limited to this, any ability What the technical staff in domain can think variation should all fall into protection scope of the present invention.

Claims (10)

1. a kind of control circuit of hard disk address, which is characterized in that the control circuit includes: active backplane, multiple hard disks turn Fishplate bar, the SATA hard disc being separately connected with the multiple hard disk connector;Wherein:
The first serial that each hard disk connector passes through itself is linked into the slot position of active backplane, and different first serials connects Enter onto different slot positions;The active backplane can provide power supply for each hard disk connector;
The active backplane includes complex programmable logic device (CPLD);The CPLD, for determining current hard disk to be written The hard disk connector of location obtains the hard disk address of the hard disk connector, by between active backplane and the hard disk connector Connecting path, the hard disk address is written to the hard disk connector;
The active backplane further includes serial port level conversion module;The serial port level conversion module, for receiving hard disk address, And the hard disk address is exported to the CPLD, wherein the hard disk address is the hard disk address of the hard disk connector.
2. control circuit according to claim 1, which is characterized in that
The slot position that the first serial that each hard disk connector passes through itself is linked into the active backplane refers to: for each Two signal wires of hard disk connector, the first serial of the hard disk connector are linked into SAS connector, and the SAS Connector is inserted into the slot position of the active backplane.
3. control circuit according to claim 1, which is characterized in that determine current hard disk address to be written in the CPLD Hard disk connector after, the hard disk connector by the active backplane for the current hard disk address to be written provides electricity Source, and refuse to provide power supply for other hard disk connectors.
4. control circuit according to claim 1, which is characterized in that
The CPLD, specifically for during determining the hard disk connector of current hard disk address to be written, detection key is pressed The number that button is pressed, and the mapping relations based on preconfigured number and hard disk connector are corresponding hard by the number Disk pinboard is determined as the hard disk connector of current hard disk address to be written.
5. control circuit according to claim 1, which is characterized in that the active backplane is also circumscribed with personal computer PC, and the PC is connected to the active backplane by the second serial of itself;The serial port level conversion module reception comes from The hard disk address of the PC.
6. control circuit according to claim 5, which is characterized in that
The serial port level conversion module, specifically for receiving the hard disk address from the PC, and by the hard disk address During exporting to the CPLD, the first level from the PC is received, and is the second electricity by first level conversion It is flat, and the second electrical level is exported to the CPLD;
The CPLD is specifically used for during receiving the hard disk address, receives and comes from the serial port level conversion module Second electrical level, and determine using the second electrical level hard disk address of the hard disk connector;
Wherein, first level and the second electrical level indicate the hard disk address mark of the hard disk connector.
7. control circuit according to claim 5, which is characterized in that
The serial port level conversion module, is also used to receive the third level from the PC, and by the third level conversion For the 4th level, and the 4th level is exported to the CPLD;
The CPLD is also used to receive the 4th level from the serial port level conversion module, and utilizes the described 4th Level determines the hard disk connector of current hard disk address to be written;
Wherein, the third level and the 4th level indicate the slot position mark of hard disk connector.
8. control circuit according to claim 4, which is characterized in that
The CPLD is also used to after detecting the number that button is pressed, and is shown on Light-emitting diode LED charactron Show the corresponding mark of number that the button is pressed.
9. control circuit according to claim 1-8, which is characterized in that
The hard disk address is specially the address SAS;The hard disk address is written to the conversion chip of the hard disk connector In electrically erasable programmable read-only memory EEPROM;
The SATA hard disc connecting with the hard disk connector can be shown as SAS hard disk by SAS controller.
10. a kind of control method of hard disk address, which is characterized in that the control method is applied in control circuit, the control Circuit processed includes: active backplane, multiple hard disk connectors, the SATA hard disc being separately connected with the multiple hard disk connector;Its In: the first serial that each hard disk connector passes through itself is linked into the slot position of active backplane, different first serial accesses Onto different slot positions;The active backplane can provide power supply for each hard disk connector;The active backplane includes that complexity can be compiled Journey logic device (CPLD);
The CPLD determines the hard disk connector of current hard disk address to be written;
The CPLD obtains the hard disk address of the hard disk connector;
The hard disk address is written to institute by the connecting path between active backplane and the hard disk connector by the CPLD State hard disk connector.
CN201610653048.1A 2016-08-09 2016-08-09 A kind of control circuit and its control method of hard disk address Active CN106326154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610653048.1A CN106326154B (en) 2016-08-09 2016-08-09 A kind of control circuit and its control method of hard disk address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610653048.1A CN106326154B (en) 2016-08-09 2016-08-09 A kind of control circuit and its control method of hard disk address

Publications (2)

Publication Number Publication Date
CN106326154A CN106326154A (en) 2017-01-11
CN106326154B true CN106326154B (en) 2019-04-16

Family

ID=57740024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610653048.1A Active CN106326154B (en) 2016-08-09 2016-08-09 A kind of control circuit and its control method of hard disk address

Country Status (1)

Country Link
CN (1) CN106326154B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608917B (en) * 2017-08-10 2020-01-10 苏州浪潮智能科技有限公司 Device for controller to mix and compile hard disk control signal
CN107817953B (en) * 2017-11-20 2020-07-28 杭州宏杉科技股份有限公司 Method and device for accessing hard disk by double-control storage equipment
CN109039955A (en) * 2018-06-28 2018-12-18 郑州云海信息技术有限公司 A kind of storage system based on optical-fibre channel
CN109542708B (en) * 2018-12-04 2022-08-02 浪潮电子信息产业股份有限公司 Method and assembly for recording corresponding relation between physical slot position of backboard and system drive letter
CN109976817B (en) * 2019-03-27 2022-02-18 郑州云海信息技术有限公司 Hard disk backboard, hard disk control method and server
CN111651395A (en) * 2020-03-25 2020-09-11 新华三信息技术有限公司 Address configuration method, device, equipment and machine-readable storage medium
CN113741232A (en) * 2021-06-01 2021-12-03 上海工程技术大学 Data acquisition and control system and method for aviation simulation circuit breaker
CN113868054B (en) * 2021-09-27 2023-07-14 苏州浪潮智能科技有限公司 Hard disk slot position positioning method, system, equipment and medium of hard disk backboard

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505067B (en) * 2009-03-11 2011-01-05 成都市华为赛门铁克科技有限公司 Hard disk power supply system, hard disk switching board and a method for hard disk power supply
CN202494978U (en) * 2012-03-29 2012-10-17 浪潮电子信息产业股份有限公司 Hard disk adapter plate based on peripheral component interface express (PCIE) slot
CN203552155U (en) * 2013-11-22 2014-04-16 浪潮电子信息产业股份有限公司 Hard disc plug device based on PCIE slots

Also Published As

Publication number Publication date
CN106326154A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106326154B (en) A kind of control circuit and its control method of hard disk address
CN101354632A (en) Storage controller and method for controlling the same
CN103138971A (en) Server cabinet system
US20150149684A1 (en) Handling two ses sidebands using one smbus controller on a backplane controller
CN107092570A (en) The adaptive configuring method and system of a kind of onboard M.2 hard disk of server
CN107368401A (en) management system and management method
CN109409445A (en) Carrier management method, management terminal, equipment and system in Optical Distribution Network
CN106786960A (en) Charge control method, device and terminal
US9507744B2 (en) Handling two SGPIO channels using single SGPIO decoder on a backplane controller
CN101339515A (en) Sensor process management methods and systems
CN110619914A (en) Mass production method for solid state disk with PCIe interface mass production device
US8005993B2 (en) System and method of a storage expansion unit for a network attached storage device
CN106950875A (en) A kind of embedded programming device and its fixture system
WO2020125385A1 (en) Programming building block
CN209103120U (en) A kind of open port automatic recognition system
CN207460209U (en) A kind of network interface switching circuit and network switching card
CN103824595A (en) Writer
CN110471811A (en) One is applied to the control system of input/output interface configuration
CN104090833B (en) Server and signal resolver thereof
CN104246861A (en) Led block display apparatus for providing educational function and control method thereof
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN208954104U (en) Multichannel SIM card read-write equipment
CN209199608U (en) Read and write the switching strobe unit of more optical module EEPROM
CN205176901U (en) Electronic tags reads and writes equipment
CN106502911A (en) Multiple terminals access device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Hangzhou City, Zhejiang Province, Binjiang District West Street 310053 Qianmo Road No. 482 building eleventh layer to the twelfth layer A

Applicant after: Hangzhou Sequoia Polytron Technologies Inc

Address before: Hangzhou City, Zhejiang Province, Binjiang District West Street 310053 Qianmo Road No. 482 building eleventh layer to the twelfth layer A

Applicant before: Hangzhou MacroSAN Technologies Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant