WO2024108938A1 - Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server - Google Patents
Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server Download PDFInfo
- Publication number
- WO2024108938A1 WO2024108938A1 PCT/CN2023/095609 CN2023095609W WO2024108938A1 WO 2024108938 A1 WO2024108938 A1 WO 2024108938A1 CN 2023095609 W CN2023095609 W CN 2023095609W WO 2024108938 A1 WO2024108938 A1 WO 2024108938A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- hard disk
- connector
- expansion
- server
- control
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000001514 detection method Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 19
- 238000013461 design Methods 0.000 abstract description 6
- 238000012423 maintenance Methods 0.000 abstract description 6
- 230000000694 effects Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000011144 upstream manufacturing Methods 0.000 description 5
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present application relates to the field of computer technology, and in particular to a hard disk control device, method, equipment, non-volatile readable storage medium and server.
- the expansion card used to expand the hard disk in the server is inside the server chassis, and it connects the server motherboard and the hard disks outside the chassis through corresponding cables. In this way, the expansion card itself and the corresponding cables will occupy the limited chassis space. In addition, the expansion card is a fragile device. Every time the expansion card is replaced, the server power needs to be turned off and the chassis cover needs to be removed, which makes maintenance inconvenient.
- the purpose of this application is to provide a hard disk control device, method, equipment, non-volatile readable storage medium and server to provide an easy-to-maintain hard disk expansion solution.
- the specific solution is as follows:
- the present application provides a hard disk control device, comprising: a plurality of hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk;
- the expansion connector is connected to the server via a cable
- the expansion connector is used to receive hard disk control signals sent by the server through the cable;
- the expansion card is used to expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working status of the hard disk plugged on each hard disk connector.
- the device further comprises:
- a detection circuit connected to each hard disk connector and expansion connector
- the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
- the device further comprises:
- a power module connected to each hard disk connector and expansion connector
- the power module is used to supply power to each hard disk connector and expansion connector.
- the expansion connector and the power module are connected via a first enabling control module
- the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
- the expansion connector and the power module are connected via a physical switch
- the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- any hard disk connector and the power module are connected via a second enabling control module
- the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- the expansion chip in the expansion card is an expander chip, a SAS chip, or a RAID chip.
- the expansion connector is connected to a SAS card or a RAID card in the server through a cable.
- each hard disk connector and expansion connector is provided with a device status indicator light.
- the devices in the apparatus are connected via a backplane.
- the present application provides a hard disk control method, which is applied to any hard disk control device as described above, the device comprising: a plurality of hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk; wherein the expansion connector is connected to a server via a cable;
- the method includes: when the expansion connector receives a hard disk control signal sent by the server through a cable, the expansion card expands the hard disk control signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
- the hard disk control signal includes: a read/write signal, a configuration signal and/or an alarm signal.
- the expansion connector when the expansion connector receives the read/write signal sent by the server through a cable, the expansion card expands the read/write signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the read/write operations of the hard disks plugged into each hard disk connector.
- the expansion connector when the expansion connector receives the configuration signal sent by the server through a cable, the expansion card expands the configuration signal into multiple signals and sends the expanded multiple signals to each hard disk connector to configure the hard disks plugged into each hard disk connector.
- the expansion connector when the expansion connector receives the alarm signal sent by the server through a cable, the expansion card expands the alarm signal into multiple signals and sends the expanded multiple signals to each hard disk connector to alarm the hard disks plugged into each hard disk connector.
- the device further includes: a power module connected to each hard disk connector and the expansion connector; the power module is used to supply power to each hard disk connector and the expansion connector.
- the device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
- the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
- the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- the expansion chip in the expansion card is an expander chip, a SAS chip, or a RAID chip.
- the expansion connector is connected to a SAS card or a RAID card in the server through a cable.
- each hard disk connector and expansion connector is provided with a device status indicator light.
- the devices in the apparatus are connected via a backplane.
- the expansion card has a tamper-resistant housing.
- the present application provides an electronic device, including:
- the processor is used to execute a computer program to implement the hard disk control method disclosed above.
- the present application provides a non-volatile readable storage medium for storing a computer program, wherein the computer program implements the aforementioned disclosed hard disk control method when executed by a processor.
- the present application provides a server, comprising: a hard disk control device according to any one of the above items, wherein the device is arranged on an outer side wall of a chassis of the server.
- the device includes: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk; wherein the expansion connector is connected to the server via a cable; the expansion connector receives a hard disk control signal sent by the server via the cable, so that the expansion card expands the hard disk control signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
- the device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
- the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
- the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- the expansion chip in the expansion card is an expander chip, a SAS chip, or a RAID chip.
- the expansion connector is connected to a SAS card or a RAID card in the server through a cable.
- each hard disk connector and expansion connector is provided with a device status indicator light.
- the devices in the apparatus are connected via a backplane.
- the present application provides a hard disk control device, including: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, and the appearance of the expansion card is consistent with the hard disk; wherein the expansion connector is connected to the server via a cable; the expansion connector is used to receive the hard disk control signal sent by the server via the cable; the expansion card is used to expand the hard disk control signal into multiple signals, and send the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
- the hard disk control device in the present application provides an expansion card with a hard disk form, which can be plugged into the expansion connector like a hard disk. In this way, when the expansion card needs to be replaced, the expansion card can be directly unplugged from the expansion connector without removing the server chassis cover, which is easy to repair. It can be seen that the present application provides an easy-to-maintain hard disk expansion solution.
- the hard disk control device includes multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector and consistent with the appearance of the hard disk; and the expansion connector is connected to the server through a cable; the expansion connector can receive the hard disk control signal sent by the server through the cable; the expansion card can expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working state of the hard disk plugged in each hard disk connector.
- the present application enables the expansion card to be moved from the server chassis to the area where the hard disk is located, which can not only realize the control and expansion of the server hard disk, but also reduce the complexity of the cables in the chassis, save the server chassis space, and provide more possibilities for the design of high-density storage solutions.
- the present application makes the expansion card consistent with the hard disk shape, the expansion card can be flexibly replaced without opening the chassis cover, and the thermal maintenance of the expansion card is easier to achieve.
- a hard disk control method, device, non-volatile readable storage medium and a server provided by the present application also have the above-mentioned technical effects.
- FIG1 is a schematic diagram of a hard disk control device in some embodiments of the present application.
- FIG2 is a schematic diagram of another hard disk control device in some embodiments of the present application.
- FIG3 is a schematic diagram of pin definition of an expansion connector in some embodiments of the present application.
- FIG4 is a schematic diagram of the working principle of an extension chip in some embodiments of the present application.
- FIG5 is a schematic diagram of the connection between an expansion connector and a hard disk connector on a backplane in some embodiments of the present application;
- FIG6 is a schematic diagram of a connection relationship between an expansion chip and an expansion connector in some embodiments of the present application.
- FIG7 is a schematic diagram of another hard disk control device in some embodiments of the present application.
- FIG. 8 is a schematic diagram of the appearance of an expansion card in some embodiments of the present application.
- the expansion card used to expand the hard disk in the server is inside the chassis of the server, and it connects the server motherboard and each hard disk outside the chassis through corresponding cables. In this way, the expansion card itself and the corresponding cables will occupy limited chassis space. In addition, the expansion card is a fragile device. Every time the expansion card is replaced, the server power needs to be turned off and the chassis cover needs to be removed, which makes maintenance inconvenient. To this end, the present application provides a hard disk control solution that can realize server hard disk control and expansion, and can also reduce the complexity of cables in the chassis, save server chassis space, and provide more possibilities for the design of high-density storage solutions.
- an embodiment of the present application discloses a hard disk control device, including: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card in the form of a hard disk plugged into the expansion connector; and a power module connected to each hard disk connector and the expansion connector.
- the expansion connector is connected to the server through a cable.
- the power module is used to supply power to each hard disk connector and the expansion connector; the expansion connector is used to receive the hard disk control signal sent by the server through the cable; the expansion card is used to expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
- the expansion card in the form of a hard disk means that the appearance of the expansion card is consistent with the appearance of the hard disk, so it can be hot-swapped like a hard disk.
- the expansion card has an anti-interference shell, which can prevent static electricity and radiation, and is convenient for manually plugging and unplugging the expansion card.
- the size of the anti-interference shell can be designed with reference to the size of the hard disk, such as: the size of the anti-interference shell includes but is not limited to 2.5 inches and 3.5 inches.
- the appearance of the anti-interference shell of the expansion card is generally a rectangular parallelepiped, such as: the length, width and height of the 3.5-inch anti-interference shell are: 147 mm, 101.6 mm, 26.1 mm; the length, width and height of the 2.5-inch anti-interference shell are: 100.2 mm, 69.85 mm, 14.8 mm.
- the appearance of the anti-interference shell is the appearance of the expansion card.
- the power module in the hard disk control device can supply power to each hard disk connector and the expansion connector; the expansion connector can receive the hard disk control signal sent by the server through the cable; the expansion card can expand the hard disk control signal into multiple signals, and send the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged in each hard disk connector.
- the hard disk control signal includes: read and write signals, configuration signals and/or alarm signals. Therefore, the server can perform read and write control, information configuration and/or alarm errors on multiple hard disks through the hard disk control device.
- Information configuration includes: hard disk upgrade, partition and other operations.
- each hard disk connector and expansion connector can be collectively referred to as a connector, and the hard disk and expansion card plugged thereon can be collectively referred to as a device.
- the hard disk control device also includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the device plugged into each connector to which it is connected, such as: detecting the in-place signal of the device plugged into each connector.
- the detection circuit is also used to control the on and off or color of the device status indicator light according to the signal reaching the corresponding connector when each connector corresponds to a device status indicator light.
- the detection circuit controls the device status indicator light corresponding to the connector to be always green.
- the detection circuit controls the device status indicator light corresponding to the connector to flash red.
- a strategy table can be preset so that the detection circuit controls the on and off and color of the device status indicator light according to the strategy table.
- each hard disk connector and expansion connector is provided with a device status indicator light.
- the detection circuit can be based on CPLD (Complex Programmable Logic Device, Complex Programmable Logic Device Devices), FPGA (Field-Programmable Gate Array) and other logic circuits.
- the expansion connector and the power module are connected through the first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
- the hot plugging of the expansion card can be realized.
- This hot plugging function can be specifically implemented with reference to the hot plugging function of the hard disk.
- the expansion connector and the power module can also be connected through a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- This method is easier to implement than hot plugging, and no more software changes are required, but the user needs to manually control the expansion card to be powered off or powered on.
- the user When the user operates the physical switch to power off the expansion connector and the expansion card, the user can unplug the expansion card from the expansion connector, or plug the expansion card into the expansion connector; after plugging the expansion card into the expansion connector, the user operates the physical switch to power on the expansion connector.
- any hard disk connector and the power module are connected via the second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- This is the hot-swap function of the hard disk, and the details can be referred to the existing related technology, and this embodiment will not be repeated here.
- the expansion chip in the expansion card is an expander chip, a SAS (Serial Attached SCSI) chip, or a RAID (Redundant Arrays of Independent Disks) chip.
- a SAS chip or a RAID chip can also be provided in the expansion card. That is, the expansion chip in the expansion card can also be: an expander chip + a SAS chip, or an expander chip + a RAID chip.
- the expansion connector can be connected to a SAS card or a RAID card in the server through a cable.
- expansion connectors there are multiple expansion connectors.
- these expansion connectors can be respectively connected to some of the hard disk connectors in the device, so that any hard disk connector can be connected to at least one expansion connector.
- a hard disk control device has 2 expansion connectors A and expansion connector B, and 8 hard disk connectors: hard disk connector 1 to hard disk connector 8, then expansion connector A is connected to hard disk connector 1 to hard disk connector 4, and expansion connector B is connected to hard disk connector 5 to hard disk connector 8.
- expansion connector A and expansion connector B is connected to hard disk connector 5 to hard disk connector 8.
- expansion connector A and expansion connector B can serve as backup for each other.
- expansion card selection logic needs to be designed to determine which expansion card controls the hard disk on which hard disk connector.
- the expansion card selection logic can be implemented in the expansion chip as a software program, or can be implemented using a selection circuit in the detection circuit.
- the components in the hard disk control device are connected via a backplane, thereby simplifying the circuit connection relationship and making the hard disk control device easier to implement.
- the hard disk control device in this embodiment provides an expansion card in the form of a hard disk, which can be plugged in like a hard disk.
- the expansion card needs to be replaced, the expansion card is directly unplugged from the expansion connector without removing the server chassis cover. Therefore, this embodiment provides an easy-to-maintain hard disk expansion solution, which can not only realize server hard disk control and expansion, but also reduce the complexity of cables in the chassis, save server chassis space, and provide more possibilities for the design of high-density storage solutions.
- a hard disk control method provided in an embodiment of the present application is introduced below.
- the hard disk control method described below and the hard disk control method described above can be referenced to each other.
- the hard disk control method disclosed in the embodiment of the present application is applied to the hard disk control device of the above embodiment, which includes: multiple hard disk connectors; expansion connectors connected to each hard disk connector; expansion cards in the form of hard disks plugged into the expansion connectors; and power modules connected to each hard disk connector and the expansion connectors; wherein the expansion connectors are connected to the server via cables. It can be seen that the appearance of the expansion card is consistent with that of the hard disk.
- the hard disk control method disclosed in the embodiment of the present application includes: when the power module supplies power to each hard disk connector and the expansion connector, the expansion connector receives the hard disk control signal sent by the server through the cable, so that the expansion card expands the hard disk control signal into multiple signals, and sends the multiple signals obtained by the expansion to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
- the hard disk control signal includes: a read/write signal, a configuration signal and/or an alarm signal.
- the hard disk control method specifically includes: the expansion connector receives the hard disk read/write signal sent by the server through the cable, so that the expansion card expands the hard disk read/write signal into multiple signals, and sends the multiple signals obtained by the expansion to each hard disk connector to control the read/write operation of the hard disk plugged into each hard disk connector.
- the hard disk control method specifically includes: the expansion connector receives the hard disk configuration signal sent by the server through a cable, so that the expansion card expands the hard disk configuration signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the upgrade, partition and other configuration operations of the hard disk plugged in each hard disk connector.
- the hard disk control method specifically includes: the expansion connector receives the hard disk alarm signal sent by the server through a cable, so that the expansion card expands the hard disk alarm signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to alarm the hard disk plugged in each hard disk connector.
- the hard disk control device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
- the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is removed from the expansion connector; and to control the expansion connector to be powered on when the expansion card is inserted into the expansion connector.
- the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- the expansion chip in the expansion card is an expander chip, a SAS chip or a RAID chip. If the expansion chip is an expander chip, the expansion connector is connected to the SAS card or the RAID card in the server through a cable.
- each hard disk connector and expansion connector is provided with a device status indicator light.
- each device in the hard disk control device is connected via a backplane.
- the present embodiment provides a hard disk control method, based on which operations such as read and write control and alarm can be conveniently performed on each hard disk in the server.
- the hard disk control device used therein provides an expansion card in the form of a hard disk, which can be plugged in like a hard disk. When the expansion card needs to be replaced, the expansion card is directly unplugged from the expansion connector without removing the server chassis cover. Therefore, the present embodiment provides an easy-to-maintain hard disk expansion solution, which can not only realize server hard disk control and expansion, but also reduce the complexity of cables in the chassis, save server chassis space, and provide more possibilities for the design of high-density storage solutions.
- each pin in the expansion connector can be Refer to Figure 3.
- the expansion connector is defined with power pins, ground pins, pins connected to the upstream signal and isolated ground, pins connected to the downstream signal and isolated ground, and pins connected to the sideband control signal.
- the upstream signal is the signal sent by the server
- the downstream signal is the signal sent to each hard disk connector. The more pins used to connect the downstream signal, the more hard disks can be expanded.
- the power pin can supply power to the expansion chip and peripheral circuits on the expansion card.
- the expansion chip can be a SAS chip, expander chip, etc. as needed.
- the expansion chip can expand a small amount of upstream signals into more downstream signals to be sent to each hard disk connector to achieve the purpose of hard disk expansion. As shown in Figure 4, one upstream signal can be converted into 4 downstream signals through the expansion chip.
- the hard disk connector, the expansion connector and other devices can be arranged on the backplane, and the circuit connection can be realized with the help of the backplane.
- a backplane is provided with a plurality of hard disk connectors and an expansion connector, each hard disk connector is plugged into an HDD (Hard Disk Drive) disk, and the expansion connector is plugged into the expansion card, and all hard disk connectors are connected to the expansion connector circuit.
- HDD Hard Disk Drive
- the expansion card can be plugged into the backplane like a hard disk, so the present application claims that the expansion card is in the form of a hard disk.
- the expansion card can have the advantage of being easy to maintain like the hard disk, and the expansion card can be replaced without removing the chassis cover.
- the hot-swap function of the hard disk the hot-swap of the expansion card can be realized, thereby realizing the hot maintenance of the expansion card. Since the expansion card is on the backplane, there is plenty of space in the chassis, which is more convenient for the cable routing in the chassis, so that a high storage density solution can be designed. It can be seen that the appearance of the expansion card is consistent with the appearance of the hard disk.
- FIG6 selects LSISAS35x24R as the expansion chip, and the expansion connector introduces SAS_TX/RX_HDD ⁇ 0..3> 4i SAS signals to the expansion chip.
- EXP_TX/RX_HDD ⁇ 0..14> 15i SAS signals are obtained. This 15i SAS signal is sent to each hard disk connector via the expansion connector.
- the normal operation of the expansion chip also requires the support of other signals, such as 12C and POR_RESET_N shown in FIG6.
- other signals such as 12C and POR_RESET_N shown in FIG6.
- 16 connectors can be designed on a backplane, of which 0-7 and 9-15 are hard disk connectors, and each hard disk connector is plugged into an HDD disk. 8 is an expansion connector.
- a slimSAS x4 connector connected to the upstream cable can be set on the backplane. This connector obtains the 4i SAS signal and transmits it to the hard disk expansion card through the backplane. After the expansion of the expansion chip of the expansion card, 15 signals are obtained. Then, these 15 signals are sent to the hard disk connectors 0-7 and 9-15 through connector 8 and the PCB traces on the backplane.
- a power connector connected to the power supply can also be set on the backplane.
- EFUSE is the enabling controller
- CPLD is the detection circuit.
- CPLD can detect the hard disk or expansion card presence signal, control the corresponding indicator light, etc. It can be seen that the uplink only has x4 high-speed signals, and the high-speed routing also has only one x4 line. After the expansion of the expansion card, 15 downlink signals can be obtained, thereby realizing hard disk expansion.
- the ground pin of the expansion connector can be designed as a long pin, so that the CPLD is convenient to control EFUSE, thereby realizing the hot-swap function of the expansion card.
- the expansion card has an anti-interference shell, which can prevent static electricity and radiation, and is convenient for manually plugging and unplugging the expansion card.
- the size of the anti-interference shell can be designed with reference to the size of the hard disk, such as: the size of the anti-interference shell includes but is not limited to 2.5 inches and 3.5 inches.
- the appearance of the anti-interference shell of the expansion card is generally a rectangular parallelepiped, such as: the length, width and height of the 3.5-inch anti-interference shell are: 147 mm, 101.6 mm, and 26.1 mm.
- the appearance of the anti-interference shell is the appearance of the expansion card.
- the 3.5-inch expansion card can refer to Figure 8, and the plug interface in Figure 8 is provided with metal pins for connecting the expansion connector.
- the appearance of the anti-interference shell of the expansion card can also be other similar hard disk-like shapes.
- this application can reduce the number of cables in the chassis, expand the number of hard disks, and provide more possibilities for the design of high-density storage solutions.
- the expansion card is in the form of a hard disk, and the expansion card can be maintained without opening the chassis cover, and it is easier to implement hot maintenance. After unifying the form and pin definition of the hard disk expansion card, the expansion card can be replaced more flexibly to support different applications. Of course, more expansion connectors can also be set on the backplane as needed to achieve a higher-density storage solution.
- a higher density storage solution is to increase the hard disk density by plugging more hard disks into a server.
- 60, 72 or 100 hard disks can be configured to achieve different storage densities.
- the increase in hard disk density will inevitably lead to an increase in cable density, and the server chassis space is limited. Therefore, with the help of this application, the number of cables in the chassis is reduced, making it easy to complete large-capacity storage in a small space.
- An electronic device provided in an embodiment of the present application is introduced below.
- the electronic device described below and the hard disk control method and device described above can be referenced to each other.
- the present application discloses an electronic device, including:
- Memory used to store computer programs
- a processor is used to execute a computer program to implement the method disclosed in any of the above embodiments.
- a non-volatile readable storage medium provided in an embodiment of the present application is introduced below.
- the non-volatile readable storage medium described below and the hard disk control method, device and apparatus described above can be referenced to each other.
- a non-volatile readable storage medium is used to store a computer program, wherein the computer program implements the hard disk control method disclosed in the above embodiment when executed by a processor.
- a server provided in an embodiment of the present application is introduced below.
- the server described below and the hard disk control method and device described above can be referenced to each other.
- An embodiment of the present application discloses a server, comprising: a hard disk control device of any of the above embodiments, the device being arranged on an outer side wall of a chassis of the server to implement hot plugging of an expansion card and a hard disk.
- the device includes: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card in the form of a hard disk plugged into the expansion connector; and a power module connected to each hard disk connector and the expansion connector; wherein the expansion connector is connected to the server via a cable; when the power module supplies power to each hard disk connector and the expansion connector, the expansion connector receives a hard disk control signal sent by the server via the cable, so that the expansion card expands the hard disk control signal into multiple signals, and sends the multiple signals obtained by the expansion to each hard disk connector to control the working state of the hard disk plugged into each hard disk connector. It can be seen that the appearance of the expansion card is consistent with the appearance of the hard disk.
- the device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
- the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
- the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- the expansion chip in the expansion card is an expander chip, a SAS chip or a RAID chip. If the expansion chip is an expander chip, the expansion connector is connected to the SAS card or the RAID card in the server through a cable.
- each hard disk connector and expansion connector is provided with a device status indicator light.
- the devices in the apparatus are connected via a backplane.
- the server provided in the embodiment of the present application may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input/output interface, and a communication bus.
- the memory is used to store a computer program, and the computer program is loaded and executed by the processor.
- the power supply is used to provide working voltage for each hardware device on the server;
- the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here;
- the input and output interface is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
- the memory as a carrier for resource storage can be a read-only memory, random access memory, disk or CD, etc.
- the resources stored thereon include operating system, computer programs and data, etc.
- the storage method can be temporary storage or permanent storage.
- the operating system is used to manage and control the hardware devices and computer programs on the server to realize the operation and processing of the data in the memory by the processor. It can be Windows Server, Netware, Unix, Linux, etc.
- the computer program can be a computer program that can be used to complete other specific tasks.
- data can also include data such as the developer information of the virtual machine.
- the server provided in the embodiment of the present application can communicate with a terminal.
- the terminal may specifically include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.
- a terminal may include: a processor and a memory.
- the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
- the processor can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array).
- the processor may also include a main processor and a coprocessor.
- the main processor is a processor for processing data in the awake state, also known as CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.
- the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that needs to be displayed on the display screen.
- the processor may also include an AI (Artificial Intelligence) processor, which is used to process Process computational operations related to machine learning.
- AI Artificial Intelligence
- the memory may include one or more computer non-volatile readable storage media, which may be non-transitory.
- the memory may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices.
- the memory is at least used to store computer programs.
- the resources stored in the memory may also include operating systems and data, etc., and the storage method may be temporary storage or permanent storage.
- the operating system may include Windows, Unix, Linux, etc.
- the data may include but is not limited to update information of the application.
- the terminal may also include a display screen, an input and output interface, a communication interface, a sensor, a power supply, and a communication bus.
- the steps of the methods or algorithms described in the embodiments disclosed herein may be implemented directly using hardware, software modules executed by a processor, or a combination of the two.
- the software modules may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable Program ROM, registers, hard disk, removable disk, CD-ROM, or any other form of non-volatile readable storage medium known in the technical field.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Power Sources (AREA)
Abstract
The present application discloses a hard drive control apparatus and method, a device, a nonvolatile readable storage medium, and a server in the technical field of computers. According to the hard drive control apparatus in the present application, an expansion card in the form of a hard drive is provided, and the expansion card can be inserted like a hard drive. When the expansion card needs to be replaced, the expansion card is directly pulled out from an expansion connector without the need to remove a server chassis cover. Thus, the present application provides a hard drive expansion solution facilitating maintenance, can achieve server hard drive control and expansion, and can also reduce the cable complexity in the chassis, save server chassis space, and provide more possibilities for design of high-density storage solutions. Correspondingly, the hard drive control method, the device, the nonvolatile readable storage medium, and the server provided by the present application also have the above technical effects.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2022年11月24日提交中国专利局,申请号为202211482036.9,申请名称为“一种硬盘控制装置、方法、设备、可读存储介质及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the China Patent Office on November 24, 2022, with application number 202211482036.9 and application name “A Hard Disk Control Device, Method, Equipment, Readable Storage Medium and Server”, all contents of which are incorporated by reference in this application.
本申请涉及计算机技术领域,特别涉及一种硬盘控制装置、方法、设备、非易失性可读存储介质及服务器。The present application relates to the field of computer technology, and in particular to a hard disk control device, method, equipment, non-volatile readable storage medium and server.
目前,服务器中用于扩展硬盘的扩展卡在服务器的机箱内部,其通过相应线缆连接服务器主板和机箱外的各硬盘。在此方式下,扩展卡本身和相应线缆会占用有限的机箱空间。并且,扩展卡是易坏器件,每次更换扩展卡时,都需要关闭服务器电源并拆开机箱盖,导致维修不方便。At present, the expansion card used to expand the hard disk in the server is inside the server chassis, and it connects the server motherboard and the hard disks outside the chassis through corresponding cables. In this way, the expansion card itself and the corresponding cables will occupy the limited chassis space. In addition, the expansion card is a fragile device. Every time the expansion card is replaced, the server power needs to be turned off and the chassis cover needs to be removed, which makes maintenance inconvenient.
因此,如何提供一种易于维护的硬盘扩展方案,是本领域技术人员需要解决的问题。Therefore, how to provide a hard disk expansion solution that is easy to maintain is a problem that those skilled in the art need to solve.
发明内容Summary of the invention
有鉴于此,本申请的目的在于提供一种硬盘控制装置、方法、设备、非易失性可读存储介质及服务器,以提供一种易于维护的硬盘扩展方案。其具体方案如下:In view of this, the purpose of this application is to provide a hard disk control device, method, equipment, non-volatile readable storage medium and server to provide an easy-to-maintain hard disk expansion solution. The specific solution is as follows:
第一方面,本申请提供了一种硬盘控制装置,包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的扩展卡,扩展卡的外观形态与硬盘一致;In a first aspect, the present application provides a hard disk control device, comprising: a plurality of hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk;
其中,扩展连接器通过线缆连接服务器;Wherein, the expansion connector is connected to the server via a cable;
扩展连接器用于接收服务器通过线缆发送的硬盘控制信号;The expansion connector is used to receive hard disk control signals sent by the server through the cable;
扩展卡用于将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。
The expansion card is used to expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working status of the hard disk plugged on each hard disk connector.
在一些实施方式中,该装置还包括:In some embodiments, the device further comprises:
与各硬盘连接器和扩展连接器连接的检测电路;A detection circuit connected to each hard disk connector and expansion connector;
相应地,检测电路用于检测自身所连接的各连接器上插接的设备的工作状态。Correspondingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
在一些实施方式中,该装置还包括:In some embodiments, the device further comprises:
与各硬盘连接器和扩展连接器连接的电源模块;A power module connected to each hard disk connector and expansion connector;
电源模块用于为各硬盘连接器和扩展连接器供电。The power module is used to supply power to each hard disk connector and expansion connector.
在一些实施方式中,扩展连接器和电源模块通过第一使能控制模块连接;In some embodiments, the expansion connector and the power module are connected via a first enabling control module;
相应地,第一使能控制模块用于在扩展卡从扩展连接器上拔除时,控制扩展连接器断电;在扩展卡插接于扩展连接器时,控制扩展连接器通电。Correspondingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
在一些实施方式中,扩展连接器和电源模块通过物理开关连接;In some embodiments, the expansion connector and the power module are connected via a physical switch;
相应地,物理开关用于在用户操作下,控制扩展连接器断电或通电。Accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
在一些实施方式中,任意硬盘连接器和电源模块通过第二使能控制模块连接;In some embodiments, any hard disk connector and the power module are connected via a second enabling control module;
相应地,第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。Correspondingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
在一些实施方式中,扩展卡内的扩展芯片为expander芯片、SAS芯片或RAID芯片。In some implementations, the expansion chip in the expansion card is an expander chip, a SAS chip, or a RAID chip.
在一些实施方式中,若扩展芯片为expander芯片,则扩展连接器通过线缆连接服务器中的SAS卡或RAID卡。In some implementations, if the expansion chip is an expander chip, the expansion connector is connected to a SAS card or a RAID card in the server through a cable.
在一些实施方式中,各硬盘连接器和扩展连接器均设有设备状态指示灯。In some implementations, each hard disk connector and expansion connector is provided with a device status indicator light.
在一些实施方式中,扩展连接器为多个。In some implementations, there are multiple expansion connectors.
在一些实施方式中,该装置中的各器件通过背板连接。In some embodiments, the devices in the apparatus are connected via a backplane.
第二方面,本申请提供了一种硬盘控制方法,应用于如上述任一项的硬盘控制装置,该装置包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的扩展卡,扩展卡的外观形态与硬盘一致;其中,扩展连接器通过线缆连接服务器;In a second aspect, the present application provides a hard disk control method, which is applied to any hard disk control device as described above, the device comprising: a plurality of hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk; wherein the expansion connector is connected to a server via a cable;
该方法包括:在扩展连接器接收到服务器通过线缆发送的硬盘控制信号时,扩展卡将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。
The method includes: when the expansion connector receives a hard disk control signal sent by the server through a cable, the expansion card expands the hard disk control signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
在一些实施方式中,硬盘控制信号包括:读写信号、配置信号和/或告警信号。In some implementations, the hard disk control signal includes: a read/write signal, a configuration signal and/or an alarm signal.
在一些实施方式中,若硬盘控制信号为:读写信号,则在扩展连接器接收到服务器通过线缆发送的读写信号时,扩展卡将读写信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的读写操作。In some embodiments, if the hard disk control signal is a read/write signal, when the expansion connector receives the read/write signal sent by the server through a cable, the expansion card expands the read/write signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the read/write operations of the hard disks plugged into each hard disk connector.
在一些实施方式中,若硬盘控制信号为:配置信号,则在扩展连接器接收到服务器通过线缆发送的配置信号时,扩展卡将配置信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以对各硬盘连接器上插接的硬盘进行配置。In some embodiments, if the hard disk control signal is a configuration signal, when the expansion connector receives the configuration signal sent by the server through a cable, the expansion card expands the configuration signal into multiple signals and sends the expanded multiple signals to each hard disk connector to configure the hard disks plugged into each hard disk connector.
在一些实施方式中,若硬盘控制信号为:告警信号,则在扩展连接器接收到服务器通过线缆发送的告警信号时,扩展卡将告警信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以对各硬盘连接器上插接的硬盘进行告警。In some embodiments, if the hard disk control signal is an alarm signal, when the expansion connector receives the alarm signal sent by the server through a cable, the expansion card expands the alarm signal into multiple signals and sends the expanded multiple signals to each hard disk connector to alarm the hard disks plugged into each hard disk connector.
在一些实施方式中,该装置还包括:与各硬盘连接器和扩展连接器连接的电源模块;电源模块用于为各硬盘连接器和扩展连接器供电。In some embodiments, the device further includes: a power module connected to each hard disk connector and the expansion connector; the power module is used to supply power to each hard disk connector and the expansion connector.
在一些实施方式中,该装置还包括:与各硬盘连接器、扩展连接器和电源模块连接的检测电路;相应地,检测电路用于检测自身所连接的各连接器上插接的设备的工作状态。In some embodiments, the device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
在一些实施方式中,扩展连接器和电源模块通过第一使能控制模块连接;相应地,第一使能控制模块用于在扩展卡从扩展连接器上拔除时,控制扩展连接器断电;在扩展卡插接于扩展连接器时,控制扩展连接器通电。In some embodiments, the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
在一些实施方式中,扩展连接器和电源模块通过物理开关连接;相应地,物理开关用于在用户操作下,控制扩展连接器断电或通电。In some implementations, the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
在一些实施方式中,任意硬盘连接器和电源模块通过第二使能控制模块连接;相应地,第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。In some embodiments, any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
在一些实施方式中,扩展卡内的扩展芯片为expander芯片、SAS芯片或RAID芯片。
In some implementations, the expansion chip in the expansion card is an expander chip, a SAS chip, or a RAID chip.
在一些实施方式中,若扩展芯片为expander芯片,则扩展连接器通过线缆连接服务器中的SAS卡或RAID卡。In some implementations, if the expansion chip is an expander chip, the expansion connector is connected to a SAS card or a RAID card in the server through a cable.
在一些实施方式中,各硬盘连接器和扩展连接器均设有设备状态指示灯。In some implementations, each hard disk connector and expansion connector is provided with a device status indicator light.
在一些实施方式中,扩展连接器为多个。In some implementations, there are multiple expansion connectors.
在一些实施方式中,该装置中的各器件通过背板连接。In some embodiments, the devices in the apparatus are connected via a backplane.
在一些实施方式中,扩展卡具有防干扰外壳。In some implementations, the expansion card has a tamper-resistant housing.
第三方面,本申请提供了一种电子设备,包括:In a third aspect, the present application provides an electronic device, including:
存储器,用于存储计算机程序;Memory for storing computer programs;
处理器,用于执行计算机程序,以实现前述公开的硬盘控制方法。The processor is used to execute a computer program to implement the hard disk control method disclosed above.
第四方面,本申请提供了一种非易失性可读存储介质,用于保存计算机程序,其中,计算机程序被处理器执行时实现前述公开的硬盘控制方法。In a fourth aspect, the present application provides a non-volatile readable storage medium for storing a computer program, wherein the computer program implements the aforementioned disclosed hard disk control method when executed by a processor.
第五方面,本申请提供了一种服务器,包括:上述任一项的硬盘控制装置,该装置设置于服务器的机箱外侧壁。In a fifth aspect, the present application provides a server, comprising: a hard disk control device according to any one of the above items, wherein the device is arranged on an outer side wall of a chassis of the server.
在一些实施方式中,该装置包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的扩展卡,扩展卡的外观形态与硬盘一致;其中,扩展连接器通过线缆连接服务器;扩展连接器接收服务器通过线缆发送的硬盘控制信号,以使扩展卡将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。In some embodiments, the device includes: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk; wherein the expansion connector is connected to the server via a cable; the expansion connector receives a hard disk control signal sent by the server via the cable, so that the expansion card expands the hard disk control signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
在一些实施方式中,该装置还包括:与各硬盘连接器、扩展连接器和电源模块连接的检测电路;相应地,检测电路用于检测自身所连接的各连接器上插接的设备的工作状态。In some embodiments, the device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
在一些实施方式中,扩展连接器和电源模块通过第一使能控制模块连接;相应地,第一使能控制模块用于在扩展卡从扩展连接器上拔除时,控制扩展连接器断电;在扩展卡插接于扩展连接器时,控制扩展连接器通电。In some embodiments, the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
在一些实施方式中,扩展连接器和电源模块通过物理开关连接;相应地,物理开关用于在用户操作下,控制扩展连接器断电或通电。In some implementations, the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
在一些实施方式中,任意硬盘连接器和电源模块通过第二使能控制模块连接;相应地,第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。
In some embodiments, any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
在一些实施方式中,扩展卡内的扩展芯片为expander芯片、SAS芯片或RAID芯片。In some implementations, the expansion chip in the expansion card is an expander chip, a SAS chip, or a RAID chip.
在一些实施方式中,若扩展芯片为expander芯片,则扩展连接器通过线缆连接服务器中的SAS卡或RAID卡。In some implementations, if the expansion chip is an expander chip, the expansion connector is connected to a SAS card or a RAID card in the server through a cable.
在一些实施方式中,各硬盘连接器和扩展连接器均设有设备状态指示灯。In some implementations, each hard disk connector and expansion connector is provided with a device status indicator light.
在一些实施方式中,扩展连接器为多个。In some implementations, there are multiple expansion connectors.
在一些实施方式中,该装置中的各器件通过背板连接。In some embodiments, the devices in the apparatus are connected via a backplane.
通过以上方案可知,本申请提供了一种硬盘控制装置,包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的扩展卡,扩展卡的外观形态与硬盘一致;其中,扩展连接器通过线缆连接服务器;扩展连接器用于接收服务器通过线缆发送的硬盘控制信号;扩展卡用于将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。It can be seen from the above scheme that the present application provides a hard disk control device, including: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, and the appearance of the expansion card is consistent with the hard disk; wherein the expansion connector is connected to the server via a cable; the expansion connector is used to receive the hard disk control signal sent by the server via the cable; the expansion card is used to expand the hard disk control signal into multiple signals, and send the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
可见,本申请中的硬盘控制装置提供了一种具备硬盘形态的扩展卡,该扩展卡可以像硬盘一样,与扩展连接器插接。如此一来,在需要更换扩展卡时,可以直接从扩展连接器上拔除扩展卡,而无需拆开服务器机箱盖,易于维修,可见本申请提供一种易于维护的硬盘扩展方案。在本申请提供的硬盘控制装置中,包括多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的、与硬盘外观形态一致的扩展卡;并且,扩展连接器通过线缆连接服务器;扩展连接器能够接收服务器通过线缆发送的硬盘控制信号;扩展卡能够将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。可见,本申请使扩展卡从服务器机箱内搬移至硬盘所在区域,不仅可实现服务器硬盘控制与扩展,还能够降低机箱内的线缆复杂度,节省服务器机箱空间,为高密度存储方案的设计提供了更多可能。同时,本申请使扩展卡与硬盘形态一致,可以在不开机箱盖的情况下灵活更换扩展卡,且更易于实现扩展卡的热维护。It can be seen that the hard disk control device in the present application provides an expansion card with a hard disk form, which can be plugged into the expansion connector like a hard disk. In this way, when the expansion card needs to be replaced, the expansion card can be directly unplugged from the expansion connector without removing the server chassis cover, which is easy to repair. It can be seen that the present application provides an easy-to-maintain hard disk expansion solution. In the hard disk control device provided in the present application, it includes multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector and consistent with the appearance of the hard disk; and the expansion connector is connected to the server through a cable; the expansion connector can receive the hard disk control signal sent by the server through the cable; the expansion card can expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working state of the hard disk plugged in each hard disk connector. It can be seen that the present application enables the expansion card to be moved from the server chassis to the area where the hard disk is located, which can not only realize the control and expansion of the server hard disk, but also reduce the complexity of the cables in the chassis, save the server chassis space, and provide more possibilities for the design of high-density storage solutions. At the same time, the present application makes the expansion card consistent with the hard disk shape, the expansion card can be flexibly replaced without opening the chassis cover, and the thermal maintenance of the expansion card is easier to achieve.
相应地,本申请提供的一种硬盘控制方法、设备及非易失性可读存储介质和一种服务器,也同样具有上述技术效果。Correspondingly, a hard disk control method, device, non-volatile readable storage medium and a server provided by the present application also have the above-mentioned technical effects.
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
图1为本申请一些实施例中的一种硬盘控制装置示意图;FIG1 is a schematic diagram of a hard disk control device in some embodiments of the present application;
图2为本申请一些实施例中的另一种硬盘控制装置示意图;FIG2 is a schematic diagram of another hard disk control device in some embodiments of the present application;
图3为本申请一些实施例中的一种扩展连接器的引脚定义示意图;FIG3 is a schematic diagram of pin definition of an expansion connector in some embodiments of the present application;
图4为本申请一些实施例中的一种扩展芯片的工作原理示意图;FIG4 is a schematic diagram of the working principle of an extension chip in some embodiments of the present application;
图5为本申请一些实施例中的一种扩展连接器和硬盘连接器在背板上的连接示意图;FIG5 is a schematic diagram of the connection between an expansion connector and a hard disk connector on a backplane in some embodiments of the present application;
图6为本申请一些实施例中的一种扩展芯片与扩展连接器连接关系示意图;FIG6 is a schematic diagram of a connection relationship between an expansion chip and an expansion connector in some embodiments of the present application;
图7为本申请一些实施例中的又一种硬盘控制装置示意图;FIG7 is a schematic diagram of another hard disk control device in some embodiments of the present application;
图8为本申请一些实施例中的一种扩展卡的外观形态示意图。FIG. 8 is a schematic diagram of the appearance of an expansion card in some embodiments of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
目前,服务器中用于扩展硬盘的扩展卡在服务器的机箱内部,其通过相应线缆连接服务器主板和机箱外的各硬盘。在此方式下,扩展卡本身和相应线缆会占用有限的机箱空间。并且,扩展卡是易坏器件,每次更换扩展卡时,都需要关闭服务器电源并拆开机箱盖,导致维修不方便。为此,本申请提供了一种硬盘控制方案,能够实现服务器硬盘控制与扩展,还能够降低机箱内的线缆复杂度,节省服务器机箱空间,为高密度存储方案的设计提供了更多可能。At present, the expansion card used to expand the hard disk in the server is inside the chassis of the server, and it connects the server motherboard and each hard disk outside the chassis through corresponding cables. In this way, the expansion card itself and the corresponding cables will occupy limited chassis space. In addition, the expansion card is a fragile device. Every time the expansion card is replaced, the server power needs to be turned off and the chassis cover needs to be removed, which makes maintenance inconvenient. To this end, the present application provides a hard disk control solution that can realize server hard disk control and expansion, and can also reduce the complexity of cables in the chassis, save server chassis space, and provide more possibilities for the design of high-density storage solutions.
参见图1所示,本申请实施例公开了一种硬盘控制装置,包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的硬盘形态的扩展卡;以及与各硬盘连接器和扩展连接器连接的电源模块。
As shown in Figure 1, an embodiment of the present application discloses a hard disk control device, including: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card in the form of a hard disk plugged into the expansion connector; and a power module connected to each hard disk connector and the expansion connector.
其中,扩展连接器通过线缆连接服务器。电源模块用于为各硬盘连接器和扩展连接器供电;扩展连接器用于接收服务器通过线缆发送的硬盘控制信号;扩展卡用于将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。The expansion connector is connected to the server through a cable. The power module is used to supply power to each hard disk connector and the expansion connector; the expansion connector is used to receive the hard disk control signal sent by the server through the cable; the expansion card is used to expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
在本实施例中,硬盘形态的扩展卡也就是,扩展卡的外观形态与硬盘的外观形态保持一致,因此能够像硬盘一样进行热插拔。并且,扩展卡具有防干扰外壳,该防干扰外壳能够防静电、防辐射,便于手动对扩展卡进行插拔。该防干扰外壳的尺寸可参照硬盘尺寸进行设计,如:防干扰外壳的尺寸包括但不限于2.5寸、3.5寸。其中,扩展卡的防干扰外壳的外观形态一般为长方体,如:3.5寸防干扰外壳的长宽高为:147毫米、101.6毫米、26.1毫米;2.5寸防干扰外壳的长宽高为:100.2毫米、69.85毫米、14.8毫米。防干扰外壳的外观形态即为扩展卡的外观形态。In this embodiment, the expansion card in the form of a hard disk means that the appearance of the expansion card is consistent with the appearance of the hard disk, so it can be hot-swapped like a hard disk. In addition, the expansion card has an anti-interference shell, which can prevent static electricity and radiation, and is convenient for manually plugging and unplugging the expansion card. The size of the anti-interference shell can be designed with reference to the size of the hard disk, such as: the size of the anti-interference shell includes but is not limited to 2.5 inches and 3.5 inches. Among them, the appearance of the anti-interference shell of the expansion card is generally a rectangular parallelepiped, such as: the length, width and height of the 3.5-inch anti-interference shell are: 147 mm, 101.6 mm, 26.1 mm; the length, width and height of the 2.5-inch anti-interference shell are: 100.2 mm, 69.85 mm, 14.8 mm. The appearance of the anti-interference shell is the appearance of the expansion card.
可见,硬盘控制装置中的电源模块能够为各硬盘连接器和扩展连接器供电;扩展连接器能够接收服务器通过线缆发送的硬盘控制信号;扩展卡能够将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。其中,硬盘控制信号包括:读写信号、配置信号和/或告警信号。因此服务器可以通过该硬盘控制装置对多个硬盘进行读写控制、信息配置和/或告警报错。信息配置包括:硬盘升级、分区等操作。It can be seen that the power module in the hard disk control device can supply power to each hard disk connector and the expansion connector; the expansion connector can receive the hard disk control signal sent by the server through the cable; the expansion card can expand the hard disk control signal into multiple signals, and send the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged in each hard disk connector. Among them, the hard disk control signal includes: read and write signals, configuration signals and/or alarm signals. Therefore, the server can perform read and write control, information configuration and/or alarm errors on multiple hard disks through the hard disk control device. Information configuration includes: hard disk upgrade, partition and other operations.
其中,各硬盘连接器和扩展连接器可以统称为连接器,而其上插接的硬盘和扩展卡可以统称为设备。请参见图2,该硬盘控制装置还包括:与各硬盘连接器、扩展连接器和电源模块连接的检测电路;相应地,检测电路用于检测自身所连接的各连接器上插接的设备的工作状态,如:检测各连接器上插接的设备的在位信号。该检测电路还用于在各连接器对应有设备状态指示灯时,根据到达相应连接器的信号,控制设备状态指示灯的亮灭或颜色。例如:当某一连接器上插接有一个正常运行的设备时,检测电路控制该连接器对应的设备状态指示灯绿色常亮。当某一连接器上插接有一个故障设备时,检测电路控制该连接器对应的设备状态指示灯红色闪烁。当然,可以预置一个策略表,使检测电路按照该策略表控制设备状态指示灯的亮灭和颜色。在一种具体实施方式中,各硬盘连接器和扩展连接器均设有设备状态指示灯。检测电路可以基于CPLD(Complex Programmable Logic Device,复杂可编程逻辑
器件)、FPGA(Field-Programmable Gate Array,即现场可编程门阵列)等逻辑电路实现。Among them, each hard disk connector and expansion connector can be collectively referred to as a connector, and the hard disk and expansion card plugged thereon can be collectively referred to as a device. Referring to FIG2 , the hard disk control device also includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the device plugged into each connector to which it is connected, such as: detecting the in-place signal of the device plugged into each connector. The detection circuit is also used to control the on and off or color of the device status indicator light according to the signal reaching the corresponding connector when each connector corresponds to a device status indicator light. For example: when a normal operating device is plugged into a certain connector, the detection circuit controls the device status indicator light corresponding to the connector to be always green. When a faulty device is plugged into a certain connector, the detection circuit controls the device status indicator light corresponding to the connector to flash red. Of course, a strategy table can be preset so that the detection circuit controls the on and off and color of the device status indicator light according to the strategy table. In a specific embodiment, each hard disk connector and expansion connector is provided with a device status indicator light. The detection circuit can be based on CPLD (Complex Programmable Logic Device, Complex Programmable Logic Device Devices), FPGA (Field-Programmable Gate Array) and other logic circuits.
请参见图2,扩展连接器和电源模块通过第一使能控制模块连接;相应地,第一使能控制模块用于在扩展卡从扩展连接器上拔除时,控制扩展连接器断电;在扩展卡插接于扩展连接器时,控制扩展连接器通电。如此即可实现扩展卡的热插拔,此热插拔功能可参照硬盘的热插拔功能进行具体实现。当然,还可以使扩展连接器和电源模块通过物理开关连接;相应地,物理开关用于在用户操作下,控制扩展连接器断电或通电。此方式相比于热插拔更易于实现,无需进行更多的软件改动,但需要用户手动控制扩展卡断电或通电。在用户操作物理开关使扩展连接器和扩展卡断电时,用户可以从扩展连接器拔除扩展卡,或将扩展卡插接于扩展连接器;在将扩展卡插接于扩展连接器之后,用户再操作物理开关使扩展连接器通电。Please refer to Figure 2. The expansion connector and the power module are connected through the first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector. In this way, the hot plugging of the expansion card can be realized. This hot plugging function can be specifically implemented with reference to the hot plugging function of the hard disk. Of course, the expansion connector and the power module can also be connected through a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation. This method is easier to implement than hot plugging, and no more software changes are required, but the user needs to manually control the expansion card to be powered off or powered on. When the user operates the physical switch to power off the expansion connector and the expansion card, the user can unplug the expansion card from the expansion connector, or plug the expansion card into the expansion connector; after plugging the expansion card into the expansion connector, the user operates the physical switch to power on the expansion connector.
请参见图2,任意硬盘连接器和电源模块通过第二使能控制模块连接;相应地,第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。此即为硬盘的热插拔功能,具体可以参照现有相关技术,本实施例在此不再赘述。Please refer to FIG2 , any hard disk connector and the power module are connected via the second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector. This is the hot-swap function of the hard disk, and the details can be referred to the existing related technology, and this embodiment will not be repeated here.
在一种具体实施方式中,扩展卡内的扩展芯片为expander芯片、SAS(Serial Attached SCSI)芯片或RAID(Redundant Arrays of Independent Disks,磁盘阵列)芯片。当扩展卡内的扩展芯片为单独的expander芯片时,还可以在扩展卡内设置SAS芯片或RAID芯片。也即:扩展卡内的扩展芯片也可以为:expander芯片+SAS芯片、或expander芯片+RAID芯片。In a specific implementation, the expansion chip in the expansion card is an expander chip, a SAS (Serial Attached SCSI) chip, or a RAID (Redundant Arrays of Independent Disks) chip. When the expansion chip in the expansion card is a separate expander chip, a SAS chip or a RAID chip can also be provided in the expansion card. That is, the expansion chip in the expansion card can also be: an expander chip + a SAS chip, or an expander chip + a RAID chip.
在一种具体实施方式中,若扩展芯片为expander芯片,则扩展连接器可以通过线缆连接服务器中的SAS卡或RAID卡。In a specific implementation, if the expansion chip is an expander chip, the expansion connector can be connected to a SAS card or a RAID card in the server through a cable.
在一种具体实施方式中,扩展连接器为多个。当一个硬盘控制装置中有多个扩展连接器时,这些扩展连接器可以分别连接该装置中的部分硬盘连接器,使任一个硬盘连接器都能与至少一个扩展连接器连接。例如:若一个硬盘控制装置中有2个扩展连接器A和扩展连接器B、以及8个硬盘连接器:硬盘连接器1~硬盘连接器8,那么扩展连接器A与硬盘连接器1~硬盘连接器4连接,而扩展连接器B与硬盘连接器5~硬盘连接器8连接。当然,还可以使扩展连接器A和扩展连接器B同时连接8个硬盘连接器,那么扩展连接器
A和扩展连接器B上插接的扩展卡可以互为备用,此时需要设计扩展卡选择逻辑,以确定哪个扩展卡控制哪个硬盘连接器上的硬盘。其中,该扩展卡选择逻辑可以在扩展芯片中以软件程序实现,也可以在检测电路中利用选择电路实现。In a specific implementation, there are multiple expansion connectors. When there are multiple expansion connectors in a hard disk control device, these expansion connectors can be respectively connected to some of the hard disk connectors in the device, so that any hard disk connector can be connected to at least one expansion connector. For example: If a hard disk control device has 2 expansion connectors A and expansion connector B, and 8 hard disk connectors: hard disk connector 1 to hard disk connector 8, then expansion connector A is connected to hard disk connector 1 to hard disk connector 4, and expansion connector B is connected to hard disk connector 5 to hard disk connector 8. Of course, it is also possible to connect expansion connector A and expansion connector B to 8 hard disk connectors at the same time, then the expansion connector The expansion cards plugged into expansion connector A and expansion connector B can serve as backup for each other. In this case, expansion card selection logic needs to be designed to determine which expansion card controls the hard disk on which hard disk connector. The expansion card selection logic can be implemented in the expansion chip as a software program, or can be implemented using a selection circuit in the detection circuit.
在一种具体实施方式中,该硬盘控制装置中的各器件通过背板连接,由此可以简化电路连接关系,使该硬盘控制装置更易于实现。In a specific implementation, the components in the hard disk control device are connected via a backplane, thereby simplifying the circuit connection relationship and making the hard disk control device easier to implement.
可见,本实施例中的硬盘控制装置提供了一种具备硬盘形态的扩展卡,该扩展卡可以像硬盘一样插接。在需要更换扩展卡时,直接从扩展连接器上拔除扩展卡,而无需拆开服务器机箱盖,因此本实施例提供一种易于维护的硬盘扩展方案,不仅可实现服务器硬盘控制与扩展,还能够降低机箱内的线缆复杂度,节省服务器机箱空间,为高密度存储方案的设计提供了更多可能。It can be seen that the hard disk control device in this embodiment provides an expansion card in the form of a hard disk, which can be plugged in like a hard disk. When the expansion card needs to be replaced, the expansion card is directly unplugged from the expansion connector without removing the server chassis cover. Therefore, this embodiment provides an easy-to-maintain hard disk expansion solution, which can not only realize server hard disk control and expansion, but also reduce the complexity of cables in the chassis, save server chassis space, and provide more possibilities for the design of high-density storage solutions.
下面对本申请实施例提供的一种硬盘控制方法进行介绍,下文描述的一种硬盘控制方法与上文描述的一种硬盘控制方法可以相互参照。A hard disk control method provided in an embodiment of the present application is introduced below. The hard disk control method described below and the hard disk control method described above can be referenced to each other.
本申请实施例公开的硬盘控制方法应用于上述实施例的硬盘控制装置,该装置包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的硬盘形态的扩展卡;以及与各硬盘连接器和扩展连接器连接的电源模块;其中,扩展连接器通过线缆连接服务器。可见,扩展卡的外观形态与硬盘的外观形态保持一致。The hard disk control method disclosed in the embodiment of the present application is applied to the hard disk control device of the above embodiment, which includes: multiple hard disk connectors; expansion connectors connected to each hard disk connector; expansion cards in the form of hard disks plugged into the expansion connectors; and power modules connected to each hard disk connector and the expansion connectors; wherein the expansion connectors are connected to the server via cables. It can be seen that the appearance of the expansion card is consistent with that of the hard disk.
本申请实施例公开的硬盘控制方法包括:在电源模块为各硬盘连接器和扩展连接器供电的情况下,扩展连接器接收服务器通过线缆发送的硬盘控制信号,以使扩展卡将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。The hard disk control method disclosed in the embodiment of the present application includes: when the power module supplies power to each hard disk connector and the expansion connector, the expansion connector receives the hard disk control signal sent by the server through the cable, so that the expansion card expands the hard disk control signal into multiple signals, and sends the multiple signals obtained by the expansion to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
在一种具体实施方式中,硬盘控制信号包括:读写信号、配置信号和/或告警信号。在一种示例中,硬盘控制方法具体包括:扩展连接器接收服务器通过线缆发送的硬盘读写信号,以使扩展卡将硬盘读写信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的读写操作。In a specific implementation, the hard disk control signal includes: a read/write signal, a configuration signal and/or an alarm signal. In an example, the hard disk control method specifically includes: the expansion connector receives the hard disk read/write signal sent by the server through the cable, so that the expansion card expands the hard disk read/write signal into multiple signals, and sends the multiple signals obtained by the expansion to each hard disk connector to control the read/write operation of the hard disk plugged into each hard disk connector.
在一种示例中,硬盘控制方法具体包括:扩展连接器接收服务器通过线缆发送的硬盘配置信号,以使扩展卡将硬盘配置信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的升级、分区等配置操作。
In one example, the hard disk control method specifically includes: the expansion connector receives the hard disk configuration signal sent by the server through a cable, so that the expansion card expands the hard disk configuration signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the upgrade, partition and other configuration operations of the hard disk plugged in each hard disk connector.
在一种示例中,硬盘控制方法具体包括:扩展连接器接收服务器通过线缆发送的硬盘告警信号,以使扩展卡将硬盘告警信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以对各硬盘连接器上插接的硬盘进行告警报错。In one example, the hard disk control method specifically includes: the expansion connector receives the hard disk alarm signal sent by the server through a cable, so that the expansion card expands the hard disk alarm signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to alarm the hard disk plugged in each hard disk connector.
在本实施例中,硬盘控制装置还包括:与各硬盘连接器、扩展连接器和电源模块连接的检测电路;相应地,检测电路用于检测自身所连接的各连接器上插接的设备的工作状态。In this embodiment, the hard disk control device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
在本实施例中,扩展连接器和电源模块通过第一使能控制模块连接;相应地,第一使能控制模块用于在扩展卡从扩展连接器上拔除时,控制扩展连接器断电;在扩展卡插接于扩展连接器时,控制扩展连接器通电。In this embodiment, the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is removed from the expansion connector; and to control the expansion connector to be powered on when the expansion card is inserted into the expansion connector.
在本实施例中,扩展连接器和电源模块通过物理开关连接;相应地,物理开关用于在用户操作下,控制扩展连接器断电或通电。In this embodiment, the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
在本实施例中,任意硬盘连接器和电源模块通过第二使能控制模块连接;相应地,第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。In this embodiment, any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
在本实施例中,扩展卡内的扩展芯片为expander芯片、SAS芯片或RAID芯片。其中,若扩展芯片为expander芯片,则扩展连接器通过线缆连接服务器中的SAS卡或RAID卡。In this embodiment, the expansion chip in the expansion card is an expander chip, a SAS chip or a RAID chip. If the expansion chip is an expander chip, the expansion connector is connected to the SAS card or the RAID card in the server through a cable.
在本实施例中,各硬盘连接器和扩展连接器均设有设备状态指示灯。在一种具体实施方式中,扩展连接器为多个。在一种具体实施方式中,硬盘控制装置中的各器件通过背板连接。In this embodiment, each hard disk connector and expansion connector is provided with a device status indicator light. In a specific implementation, there are multiple expansion connectors. In a specific implementation, each device in the hard disk control device is connected via a backplane.
可见,本实施例提供了一种硬盘控制方法,基于该方案可以方便对服务器中的各个硬盘进行读写控制、告警等操作。其中使用的硬盘控制装置提供了一种具备硬盘形态的扩展卡,该扩展卡可以像硬盘一样插接。在需要更换扩展卡时,直接从扩展连接器上拔除扩展卡,而无需拆开服务器机箱盖,因此本实施例提供一种易于维护的硬盘扩展方案,不仅可实现服务器硬盘控制与扩展,还能够降低机箱内的线缆复杂度,节省服务器机箱空间,为高密度存储方案的设计提供了更多可能。It can be seen that the present embodiment provides a hard disk control method, based on which operations such as read and write control and alarm can be conveniently performed on each hard disk in the server. The hard disk control device used therein provides an expansion card in the form of a hard disk, which can be plugged in like a hard disk. When the expansion card needs to be replaced, the expansion card is directly unplugged from the expansion connector without removing the server chassis cover. Therefore, the present embodiment provides an easy-to-maintain hard disk expansion solution, which can not only realize server hard disk control and expansion, but also reduce the complexity of cables in the chassis, save server chassis space, and provide more possibilities for the design of high-density storage solutions.
基于上述实施例,需要说明的是,为了最大限度的扩展硬盘数量,可以选择pin密度更高的连接器作为扩展连接器。扩展连接器中的各引脚的定义可
以参照图3。如图3所示,扩展连接器定义有电源引脚、接地引脚、连接上行信号的引脚及隔离地、连接下行信号的引脚及隔离地、连接边带控制信号的引脚。其中,上行信号即服务器发出的信号,下行信号即发往各硬盘连接器的信号,用于连接下行信号的引脚越多,可扩展的硬盘数量就越多。Based on the above embodiment, it should be noted that in order to maximize the number of expansion hard disks, a connector with a higher pin density can be selected as an expansion connector. The definition of each pin in the expansion connector can be Refer to Figure 3. As shown in Figure 3, the expansion connector is defined with power pins, ground pins, pins connected to the upstream signal and isolated ground, pins connected to the downstream signal and isolated ground, and pins connected to the sideband control signal. Among them, the upstream signal is the signal sent by the server, and the downstream signal is the signal sent to each hard disk connector. The more pins used to connect the downstream signal, the more hard disks can be expanded.
电源引脚可以为扩展卡上的扩展芯片及外围电路供电。扩展芯片可以根据需要选用SAS芯片、expander芯片等,扩展芯片可以将少量的上行信号扩展为更多的下行信号,以送入各硬盘连接器,达到硬盘扩展的目的。如图4所示,一路上行信号经由扩展芯片,可变成4路下行信号。The power pin can supply power to the expansion chip and peripheral circuits on the expansion card. The expansion chip can be a SAS chip, expander chip, etc. as needed. The expansion chip can expand a small amount of upstream signals into more downstream signals to be sent to each hard disk connector to achieve the purpose of hard disk expansion. As shown in Figure 4, one upstream signal can be converted into 4 downstream signals through the expansion chip.
为简化硬盘控制装置中的电路关系,可以将硬盘连接器、扩展连接器等器件布局于背板,借助背板实现电路连接。如图5所示,一个背板上设有众多硬盘连接器和一个扩展连接器,每个硬盘连接器插接一个HDD(Hard Disk Drive)盘,而扩展连接器上插接扩展卡,同时所有硬盘连接器与扩展连接器电路连接。可见,扩展卡可以像硬盘一样插接于背板上,因此本申请声称扩展卡是硬盘形态的。由此扩展卡可以和硬盘一样具有便于维护的优点,可以在不拆机箱盖的情况下进行扩展卡更换。当然,参照硬盘的热插拔功能,可实现扩展卡的热插拔从而实现扩展卡的热维护。而由于扩展卡在背板上,那么机箱内的空间就有了富裕,更便于机箱内线缆走线,由此可进行高存储密度的方案设计。可见,扩展卡的外观形态与硬盘的外观形态保持一致。In order to simplify the circuit relationship in the hard disk control device, the hard disk connector, the expansion connector and other devices can be arranged on the backplane, and the circuit connection can be realized with the help of the backplane. As shown in FIG5 , a backplane is provided with a plurality of hard disk connectors and an expansion connector, each hard disk connector is plugged into an HDD (Hard Disk Drive) disk, and the expansion connector is plugged into the expansion card, and all hard disk connectors are connected to the expansion connector circuit. It can be seen that the expansion card can be plugged into the backplane like a hard disk, so the present application claims that the expansion card is in the form of a hard disk. Thus, the expansion card can have the advantage of being easy to maintain like the hard disk, and the expansion card can be replaced without removing the chassis cover. Of course, referring to the hot-swap function of the hard disk, the hot-swap of the expansion card can be realized, thereby realizing the hot maintenance of the expansion card. Since the expansion card is on the backplane, there is plenty of space in the chassis, which is more convenient for the cable routing in the chassis, so that a high storage density solution can be designed. It can be seen that the appearance of the expansion card is consistent with the appearance of the hard disk.
在一种示例中,一个扩展芯片与扩展连接器具体连接关系可参照图6。图6选用LSISAS35x24R为扩展芯片,由扩展连接器向该扩展芯片引入了SAS_TX/RX_HDD<0..3>共4i的SAS信号,经过LSISAS35x24R扩展后,得到EXP_TX/RX_HDD<0..14>共15i的SAS信号。这15i的SAS信号经由扩展连接器送往各个硬盘连接器。扩展芯片的正常工作还需要其他信号的支持,如图6所示的12C、POR_RESET_N等,具体可参照LSISAS35x24R的使用手册。In one example, the specific connection relationship between an expansion chip and an expansion connector can be referred to FIG6. FIG6 selects LSISAS35x24R as the expansion chip, and the expansion connector introduces SAS_TX/RX_HDD<0..3> 4i SAS signals to the expansion chip. After expansion by LSISAS35x24R, EXP_TX/RX_HDD<0..14> 15i SAS signals are obtained. This 15i SAS signal is sent to each hard disk connector via the expansion connector. The normal operation of the expansion chip also requires the support of other signals, such as 12C and POR_RESET_N shown in FIG6. For details, please refer to the user manual of LSISAS35x24R.
在一种示例中,请参照图7,一个背板上可设计16个连接器,其中0-7、9-15为硬盘连接器,每个硬盘连接器插接HDD盘。8为扩展连接器。同时,背板上可设置接入上行线缆的slimSAS x4连接器,该连接器获取4i的SAS信号,并通过背板使其传递到硬盘扩展卡上,经过扩展卡的扩展芯片的扩展,得到15路信号,然后这15路信号经过连接器8、背板上的PCB走线,被送达硬盘连接器0-7和9-15。背板上还可设置接入电源的电源连接器。图7中
的EFUSE为使能控制器,CPLD为检测电路。CPLD可检测硬盘或扩展卡的在位信号、控制相应指示灯亮灭等。可见,上行链路只有x4的高速信号,高速走线也只有一个x4线,而经过扩展卡的扩展,可得到15路下行信号,由此可实现硬盘扩展。In one example, please refer to Figure 7. 16 connectors can be designed on a backplane, of which 0-7 and 9-15 are hard disk connectors, and each hard disk connector is plugged into an HDD disk. 8 is an expansion connector. At the same time, a slimSAS x4 connector connected to the upstream cable can be set on the backplane. This connector obtains the 4i SAS signal and transmits it to the hard disk expansion card through the backplane. After the expansion of the expansion chip of the expansion card, 15 signals are obtained. Then, these 15 signals are sent to the hard disk connectors 0-7 and 9-15 through connector 8 and the PCB traces on the backplane. A power connector connected to the power supply can also be set on the backplane. In Figure 7 EFUSE is the enabling controller, and CPLD is the detection circuit. CPLD can detect the hard disk or expansion card presence signal, control the corresponding indicator light, etc. It can be seen that the uplink only has x4 high-speed signals, and the high-speed routing also has only one x4 line. After the expansion of the expansion card, 15 downlink signals can be obtained, thereby realizing hard disk expansion.
其中,扩展连接器的接地引脚可设计为长pin,这样CPLD便于控制EFUSE,从而实现扩展卡的热插拔功能。并且,扩展卡具有防干扰外壳,该防干扰外壳能够防静电、防辐射,便于手动对扩展卡进行插拔。该防干扰外壳的尺寸可参照硬盘尺寸进行设计,如:防干扰外壳的尺寸包括但不限于2.5寸、3.5寸。其中,扩展卡的防干扰外壳的外观形态一般为长方体,如:3.5寸防干扰外壳的长宽高为:147毫米、101.6毫米、26.1毫米。防干扰外壳的外观形态即为扩展卡的外观形态。3.5寸扩展卡可参照图8,图8中的插接口中设有金属引脚,用于连接扩展连接器。当然,扩展卡的防干扰外壳的外观形态也可以是其他类似的类似硬盘的形态。Among them, the ground pin of the expansion connector can be designed as a long pin, so that the CPLD is convenient to control EFUSE, thereby realizing the hot-swap function of the expansion card. In addition, the expansion card has an anti-interference shell, which can prevent static electricity and radiation, and is convenient for manually plugging and unplugging the expansion card. The size of the anti-interference shell can be designed with reference to the size of the hard disk, such as: the size of the anti-interference shell includes but is not limited to 2.5 inches and 3.5 inches. Among them, the appearance of the anti-interference shell of the expansion card is generally a rectangular parallelepiped, such as: the length, width and height of the 3.5-inch anti-interference shell are: 147 mm, 101.6 mm, and 26.1 mm. The appearance of the anti-interference shell is the appearance of the expansion card. The 3.5-inch expansion card can refer to Figure 8, and the plug interface in Figure 8 is provided with metal pins for connecting the expansion connector. Of course, the appearance of the anti-interference shell of the expansion card can also be other similar hard disk-like shapes.
综上,本申请能够减少机箱内线缆数量,实现硬盘数量的扩展,为高密存储方案的设计提供了更多可能。并且,扩展卡为硬盘形态,可以在不开机箱盖的情况下维护扩展卡,且更易于实现热维护。在统一硬盘扩展卡的形态及pin定义后,可以更灵活的更换扩展卡,以便支持不同的应用。当然,也可以按照需求,在背板上设置更多扩展连接器,以便实现更高密度的存储方案。In summary, this application can reduce the number of cables in the chassis, expand the number of hard disks, and provide more possibilities for the design of high-density storage solutions. In addition, the expansion card is in the form of a hard disk, and the expansion card can be maintained without opening the chassis cover, and it is easier to implement hot maintenance. After unifying the form and pin definition of the hard disk expansion card, the expansion card can be replaced more flexibly to support different applications. Of course, more expansion connectors can also be set on the backplane as needed to achieve a higher-density storage solution.
其中,更高密度的存储方案即:让一个服务器插接更多硬盘来增加硬盘密度。例如:4U的服务器高度空间下,可以配置60个、72个或100个硬盘,从而达到不同的存储密度。其中,硬盘密度的增加必然导致线缆密度增加,而服务器机箱空间有限,因此借助本申请减少机箱内线缆数量,易于在狭小空间完成大容量存储。Among them, a higher density storage solution is to increase the hard disk density by plugging more hard disks into a server. For example, in a 4U server height space, 60, 72 or 100 hard disks can be configured to achieve different storage densities. Among them, the increase in hard disk density will inevitably lead to an increase in cable density, and the server chassis space is limited. Therefore, with the help of this application, the number of cables in the chassis is reduced, making it easy to complete large-capacity storage in a small space.
下面对本申请实施例提供的一种电子设备进行介绍,下文描述的一种电子设备与上文描述的一种硬盘控制方法及装置可以相互参照。An electronic device provided in an embodiment of the present application is introduced below. The electronic device described below and the hard disk control method and device described above can be referenced to each other.
本申请实施例公开了一种电子设备,包括:The present application discloses an electronic device, including:
存储器,用于保存计算机程序;Memory, used to store computer programs;
处理器,用于执行计算机程序,以实现上述任意实施例公开的方法。A processor is used to execute a computer program to implement the method disclosed in any of the above embodiments.
下面对本申请实施例提供的一种非易失性可读存储介质进行介绍,下文描述的一种非易失性可读存储介质与上文描述的一种硬盘控制方法、装置及设备可以相互参照。
A non-volatile readable storage medium provided in an embodiment of the present application is introduced below. The non-volatile readable storage medium described below and the hard disk control method, device and apparatus described above can be referenced to each other.
一种非易失性可读存储介质,用于保存计算机程序,其中,计算机程序被处理器执行时实现前述实施例公开的硬盘控制方法。A non-volatile readable storage medium is used to store a computer program, wherein the computer program implements the hard disk control method disclosed in the above embodiment when executed by a processor.
下面对本申请实施例提供的一种服务器进行介绍,下文描述的一种服务器与上文描述的一种硬盘控制方法及装置可以相互参照。A server provided in an embodiment of the present application is introduced below. The server described below and the hard disk control method and device described above can be referenced to each other.
本申请实施例公开了一种服务器,包括:上述任一实施例的硬盘控制装置,该装置设置于服务器的机箱外侧壁,以便实现扩展卡及硬盘的热插拔。An embodiment of the present application discloses a server, comprising: a hard disk control device of any of the above embodiments, the device being arranged on an outer side wall of a chassis of the server to implement hot plugging of an expansion card and a hard disk.
在一种具体实施方式中,该装置包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于扩展连接器的硬盘形态的扩展卡;以及与各硬盘连接器和扩展连接器连接的电源模块;其中,扩展连接器通过线缆连接服务器;在电源模块为各硬盘连接器和扩展连接器供电的情况下,扩展连接器接收服务器通过线缆发送的硬盘控制信号,以使扩展卡将硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。可见,扩展卡的外观形态与硬盘的外观形态保持一致。In a specific embodiment, the device includes: multiple hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card in the form of a hard disk plugged into the expansion connector; and a power module connected to each hard disk connector and the expansion connector; wherein the expansion connector is connected to the server via a cable; when the power module supplies power to each hard disk connector and the expansion connector, the expansion connector receives a hard disk control signal sent by the server via the cable, so that the expansion card expands the hard disk control signal into multiple signals, and sends the multiple signals obtained by the expansion to each hard disk connector to control the working state of the hard disk plugged into each hard disk connector. It can be seen that the appearance of the expansion card is consistent with the appearance of the hard disk.
在一种具体实施方式中,该装置还包括:与各硬盘连接器、扩展连接器和电源模块连接的检测电路;相应地,检测电路用于检测自身所连接的各连接器上插接的设备的工作状态。In a specific implementation, the device further includes: a detection circuit connected to each hard disk connector, expansion connector and power module; accordingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which it is connected.
在一种具体实施方式中,扩展连接器和电源模块通过第一使能控制模块连接;相应地,第一使能控制模块用于在扩展卡从扩展连接器上拔除时,控制扩展连接器断电;在扩展卡插接于扩展连接器时,控制扩展连接器通电。In a specific implementation, the expansion connector and the power module are connected via a first enabling control module; accordingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
在一种具体实施方式中,扩展连接器和电源模块通过物理开关连接;相应地,物理开关用于在用户操作下,控制扩展连接器断电或通电。In a specific implementation, the expansion connector and the power module are connected via a physical switch; accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
在一种具体实施方式中,任意硬盘连接器和电源模块通过第二使能控制模块连接;相应地,第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。In a specific embodiment, any hard disk connector and power module are connected through a second enabling control module; accordingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
在一种具体实施方式中,扩展卡内的扩展芯片为expander芯片、SAS芯片或RAID芯片。其中,若扩展芯片为expander芯片,则扩展连接器通过线缆连接服务器中的SAS卡或RAID卡。In a specific implementation, the expansion chip in the expansion card is an expander chip, a SAS chip or a RAID chip. If the expansion chip is an expander chip, the expansion connector is connected to the SAS card or the RAID card in the server through a cable.
在一种具体实施方式中,各硬盘连接器和扩展连接器均设有设备状态指示灯。
In a specific implementation, each hard disk connector and expansion connector is provided with a device status indicator light.
在一种具体实施方式中,扩展连接器为多个。In a specific implementation, there are multiple expansion connectors.
在一种具体实施方式中,该装置中的各器件通过背板连接。In a specific embodiment, the devices in the apparatus are connected via a backplane.
进一步的,本申请实施例提供的服务器具体可以包括:至少一个处理器、至少一个存储器、电源、通信接口、输入输出接口和通信总线。其中,存储器用于存储计算机程序,计算机程序由处理器加载并执行。Furthermore, the server provided in the embodiment of the present application may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input/output interface, and a communication bus. The memory is used to store a computer program, and the computer program is loaded and executed by the processor.
本实施例中,电源用于为服务器上的各硬件设备提供工作电压;通信接口能够为服务器创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;输入输出接口,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply is used to provide working voltage for each hardware device on the server; the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
另外,存储器作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源包括操作系统、计算机程序及数据等,存储方式可以是短暂存储或者永久存储。In addition, the memory as a carrier for resource storage can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon include operating system, computer programs and data, etc. The storage method can be temporary storage or permanent storage.
其中,操作系统用于管理与控制服务器上的各硬件设备以及计算机程序,以实现处理器对存储器中数据的运算与处理,其可以是Windows Server、Netware、Unix、Linux等。计算机程序可以是能够用于完成其他特定工作的计算机程序。数据除了可以包括虚拟机等数据外,还可以包括虚拟机的开发商信息等数据。The operating system is used to manage and control the hardware devices and computer programs on the server to realize the operation and processing of the data in the memory by the processor. It can be Windows Server, Netware, Unix, Linux, etc. The computer program can be a computer program that can be used to complete other specific tasks. In addition to data such as virtual machines, data can also include data such as the developer information of the virtual machine.
进一步的,本申请实施例提供的服务器可以与终端进行通信。该终端具体可以包括但不限于智能手机、平板电脑、笔记本电脑或台式电脑等。Furthermore, the server provided in the embodiment of the present application can communicate with a terminal. The terminal may specifically include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.
通常情况下,终端可以包括有:处理器和存储器。Typically, a terminal may include: a processor and a memory.
其中,处理器可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处
理有关机器学习的计算操作。Among them, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which is used to process Process computational operations related to machine learning.
存储器可以包括一个或多个计算机非易失性可读存储介质,该计算机非易失性可读存储介质可以是非暂态的。存储器还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器至少用于存储计算机程序。另外,存储器所存储的资源还可以包括操作系统和数据等,存储方式可以是短暂存储或者永久存储。其中,操作系统可以包括Windows、Unix、Linux等。数据可以包括但不限于应用程序的更新信息。The memory may include one or more computer non-volatile readable storage media, which may be non-transitory. The memory may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory is at least used to store computer programs. In addition, the resources stored in the memory may also include operating systems and data, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include but is not limited to update information of the application.
在一些实施例中,终端还可包括有显示屏、输入输出接口、通信接口、传感器、电源以及通信总线。In some embodiments, the terminal may also include a display screen, an input and output interface, a communication interface, a sensor, a power supply, and a communication bus.
本申请涉及的“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法或设备固有的其它步骤或单元。The "first", "second", "third", "fourth", etc. (if any) referred to in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, or devices.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions involving "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可
编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的非易失性可读存储介质中。The steps of the methods or algorithms described in the embodiments disclosed herein may be implemented directly using hardware, software modules executed by a processor, or a combination of the two. The software modules may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable Program ROM, registers, hard disk, removable disk, CD-ROM, or any other form of non-volatile readable storage medium known in the technical field.
本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本申请的限制。
Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims (22)
- 一种硬盘控制装置,其中,包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于所述扩展连接器的扩展卡,所述扩展卡的外观形态与硬盘一致;A hard disk control device, comprising: a plurality of hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk;其中,所述扩展连接器通过线缆连接服务器;Wherein, the expansion connector is connected to the server via a cable;所述扩展连接器用于接收所述服务器通过所述线缆发送的硬盘控制信号;The expansion connector is used to receive a hard disk control signal sent by the server through the cable;所述扩展卡用于将所述硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。The expansion card is used to expand the hard disk control signal into multiple signals, and send the multiple signals obtained by the expansion to each hard disk connector to control the working state of the hard disk plugged into each hard disk connector.
- 根据权利要求1所述的硬盘控制装置,其中,该装置还包括:The hard disk control device according to claim 1, wherein the device further comprises:与各硬盘连接器和所述扩展连接器连接的检测电路;A detection circuit connected to each hard disk connector and the expansion connector;相应地,所述检测电路用于检测自身所连接的各连接器上插接的设备的工作状态。Correspondingly, the detection circuit is used to detect the working status of the devices plugged into each connector to which the detection circuit is connected.
- 根据权利要求1所述的硬盘控制装置,其中,该装置还包括:The hard disk control device according to claim 1, wherein the device further comprises:与各硬盘连接器和所述扩展连接器连接的电源模块;A power module connected to each hard disk connector and the expansion connector;所述电源模块用于为各硬盘连接器和所述扩展连接器供电。The power module is used to supply power to each hard disk connector and the expansion connector.
- 根据权利要求3所述的硬盘控制装置,其中,The hard disk control device according to claim 3, wherein:所述扩展连接器和所述电源模块通过第一使能控制模块连接;The expansion connector and the power module are connected via a first enabling control module;相应地,所述第一使能控制模块用于在所述扩展卡从所述扩展连接器上拔除时,控制所述扩展连接器断电;在所述扩展卡插接于所述扩展连接器时,控制所述扩展连接器通电。Correspondingly, the first enabling control module is used to control the expansion connector to be powered off when the expansion card is unplugged from the expansion connector; and to control the expansion connector to be powered on when the expansion card is plugged into the expansion connector.
- 根据权利要求3所述的硬盘控制装置,其中,The hard disk control device according to claim 3, wherein:所述扩展连接器和所述电源模块通过物理开关连接;The expansion connector and the power module are connected via a physical switch;相应地,所述物理开关用于在用户操作下,控制所述扩展连接器断电或通电。Accordingly, the physical switch is used to control the expansion connector to be powered off or powered on under user operation.
- 根据权利要求3所述的硬盘控制装置,其中,The hard disk control device according to claim 3, wherein:任意硬盘连接器和所述电源模块通过第二使能控制模块连接;Any hard disk connector and the power module are connected via a second enabling control module;相应地,所述第二使能控制模块用于在硬盘从相应硬盘连接器上拔除时,控制相应硬盘连接器断电;在硬盘插接于相应硬盘连接器时,控制相应硬盘连接器通电。 Correspondingly, the second enabling control module is used to control the corresponding hard disk connector to be powered off when the hard disk is unplugged from the corresponding hard disk connector; and to control the corresponding hard disk connector to be powered on when the hard disk is plugged into the corresponding hard disk connector.
- 根据权利要求1所述的硬盘控制装置,其中,所述扩展卡内的扩展芯片为expander芯片、SAS芯片或RAID芯片。The hard disk control device according to claim 1, wherein the expansion chip in the expansion card is an expander chip, a SAS chip or a RAID chip.
- 根据权利要求7所述的硬盘控制装置,其中,若所述扩展芯片为expander芯片,则所述扩展连接器通过所述线缆连接所述服务器中的SAS卡或RAID卡。The hard disk control device according to claim 7, wherein if the expansion chip is an expander chip, the expansion connector is connected to a SAS card or a RAID card in the server through the cable.
- 根据权利要求1至8任一项所述的硬盘控制装置,其中,各硬盘连接器和所述扩展连接器均设有设备状态指示灯。The hard disk control device according to any one of claims 1 to 8, wherein each hard disk connector and the expansion connector are provided with a device status indicator light.
- 根据权利要求9所述的硬盘控制装置,其中,所述检测电路还用于根据到达各所述连接器的信号,控制所述连接器对应有设备状态指示灯的亮灭或颜色,其中,所述连接器包括所述硬盘连接器和所述扩展连接器。According to the hard disk control device of claim 9, wherein the detection circuit is also used to control the lighting or color of the device status indicator light corresponding to the connector according to the signal reaching each of the connectors, wherein the connectors include the hard disk connector and the expansion connector.
- 根据权利要求1至8任一项所述的硬盘控制装置,其中,所述扩展连接器为多个。The hard disk control device according to any one of claims 1 to 8, wherein there are multiple expansion connectors.
- 根据权利要求11所述的硬盘控制装置,其中,多个所述扩展连接器分别连接所述硬盘控制装置中的部分硬盘连接器,使任一个硬盘连接器与至少一个所述扩展连接器连接。The hard disk control device according to claim 11, wherein the plurality of expansion connectors are respectively connected to some hard disk connectors in the hard disk control device, so that any hard disk connector is connected to at least one of the expansion connectors.
- 根据权利要求1至8任一项所述的硬盘控制装置,其中,该装置中的各器件通过背板连接。The hard disk control device according to any one of claims 1 to 8, wherein the components in the device are connected via a backplane.
- 根据权利要求1至8任一项所述的硬盘控制装置,其中,所述扩展卡具有防干扰外壳。The hard disk control device according to any one of claims 1 to 8, wherein the expansion card has an anti-tampering housing.
- 一种硬盘控制方法,其中,A hard disk control method, wherein:应用于如权利要求1至14任一项所述的硬盘控制装置,该装置包括:多个硬盘连接器;与各硬盘连接器连接的扩展连接器;插接于所述扩展连接器的扩展卡,所述扩展卡的外观形态与硬盘一致;其中,所述扩展连接器通过线缆连接服务器;The hard disk control device according to any one of claims 1 to 14 comprises: a plurality of hard disk connectors; an expansion connector connected to each hard disk connector; an expansion card plugged into the expansion connector, the appearance of the expansion card being consistent with the hard disk; wherein the expansion connector is connected to the server via a cable;该方法包括:The method includes:在所述扩展连接器接收到所述服务器通过所述线缆发送的硬盘控制信号时,所述扩展卡将所述硬盘控制信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的工作状态。When the expansion connector receives the hard disk control signal sent by the server through the cable, the expansion card expands the hard disk control signal into multiple signals and sends the expanded multiple signals to each hard disk connector to control the working status of the hard disk plugged into each hard disk connector.
- 根据权利要求15所述的硬盘控制方法,其中,所述硬盘控制信号包括:读写信号、配置信号和/或告警信号。 The hard disk control method according to claim 15, wherein the hard disk control signal includes: a read/write signal, a configuration signal and/or an alarm signal.
- 根据权利要求16所述的硬盘控制方法,其中,若所述硬盘控制信号为:读写信号,则在所述扩展连接器接收到所述服务器通过所述线缆发送的读写信号时,所述扩展卡将读写信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以控制各硬盘连接器上插接的硬盘的读写操作。According to the hard disk control method of claim 16, if the hard disk control signal is a read-write signal, when the expansion connector receives the read-write signal sent by the server through the cable, the expansion card expands the read-write signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to control the read and write operations of the hard disk plugged into each hard disk connector.
- 根据权利要求16所述的硬盘控制方法,其中,若所述硬盘控制信号为:配置信号,则在所述扩展连接器接收到所述服务器通过所述线缆发送的配置信号时,所述扩展卡将配置信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以对各硬盘连接器上插接的硬盘进行配置。According to the hard disk control method of claim 16, if the hard disk control signal is a configuration signal, when the expansion connector receives the configuration signal sent by the server through the cable, the expansion card expands the configuration signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to configure the hard disk plugged into each hard disk connector.
- 根据权利要求16所述的硬盘控制方法,其中,若所述硬盘控制信号为:告警信号,则在所述扩展连接器接收到所述服务器通过所述线缆发送的告警信号时,所述扩展卡将告警信号扩展为多个,并将扩展得到的多个信号发送至各硬盘连接器,以对各硬盘连接器上插接的硬盘进行告警。According to the hard disk control method of claim 16, if the hard disk control signal is an alarm signal, when the expansion connector receives the alarm signal sent by the server through the cable, the expansion card expands the alarm signal into multiple signals, and sends the expanded multiple signals to each hard disk connector to alarm the hard disks plugged into each hard disk connector.
- 一种电子设备,其中,包括:An electronic device, comprising:存储器,用于存储计算机程序;Memory for storing computer programs;处理器,用于执行所述计算机程序,以实现如权利要求15至19任一项所述的方法。A processor, configured to execute the computer program to implement the method according to any one of claims 15 to 19.
- 一种非易失性可读存储介质,其中,用于保存计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求15至19任一项所述的方法。A non-volatile readable storage medium, wherein the medium is used to store a computer program, wherein the computer program implements the method according to any one of claims 15 to 19 when executed by a processor.
- 一种服务器,其中,包括:如权利要求1至14任一项所述的硬盘控制装置,该装置设置于所述服务器的机箱外侧壁。 A server, comprising: a hard disk control device as claimed in any one of claims 1 to 14, wherein the device is arranged on an outer side wall of a chassis of the server.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211482036.9 | 2022-11-24 | ||
CN202211482036.9A CN115757219A (en) | 2022-11-24 | 2022-11-24 | Hard disk control device, method and equipment, readable storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024108938A1 true WO2024108938A1 (en) | 2024-05-30 |
Family
ID=85337620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/095609 WO2024108938A1 (en) | 2022-11-24 | 2023-05-22 | Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115757219A (en) |
WO (1) | WO2024108938A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115757219A (en) * | 2022-11-24 | 2023-03-07 | 苏州浪潮智能科技有限公司 | Hard disk control device, method and equipment, readable storage medium and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120331198A1 (en) * | 2011-06-23 | 2012-12-27 | Hon Hai Precision Industry Co., Ltd. | Hard disk expansion apparatus and electronic device employing same |
CN105676973A (en) * | 2016-02-19 | 2016-06-15 | 深圳海云海量信息技术有限公司 | Plug-in type storage server |
CN206696775U (en) * | 2017-04-18 | 2017-12-01 | 深圳市同泰怡信息技术有限公司 | Multistage JBOD dual controls storage server is connected based on existing cabinet outside |
CN110377546A (en) * | 2019-06-26 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of storage expansion board and server storage architecture |
CN113064470A (en) * | 2021-03-12 | 2021-07-02 | 山东英信计算机技术有限公司 | Server backboard expansion device and working method thereof |
CN115757219A (en) * | 2022-11-24 | 2023-03-07 | 苏州浪潮智能科技有限公司 | Hard disk control device, method and equipment, readable storage medium and server |
-
2022
- 2022-11-24 CN CN202211482036.9A patent/CN115757219A/en active Pending
-
2023
- 2023-05-22 WO PCT/CN2023/095609 patent/WO2024108938A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120331198A1 (en) * | 2011-06-23 | 2012-12-27 | Hon Hai Precision Industry Co., Ltd. | Hard disk expansion apparatus and electronic device employing same |
CN105676973A (en) * | 2016-02-19 | 2016-06-15 | 深圳海云海量信息技术有限公司 | Plug-in type storage server |
CN206696775U (en) * | 2017-04-18 | 2017-12-01 | 深圳市同泰怡信息技术有限公司 | Multistage JBOD dual controls storage server is connected based on existing cabinet outside |
CN110377546A (en) * | 2019-06-26 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of storage expansion board and server storage architecture |
CN113064470A (en) * | 2021-03-12 | 2021-07-02 | 山东英信计算机技术有限公司 | Server backboard expansion device and working method thereof |
CN115757219A (en) * | 2022-11-24 | 2023-03-07 | 苏州浪潮智能科技有限公司 | Hard disk control device, method and equipment, readable storage medium and server |
Also Published As
Publication number | Publication date |
---|---|
CN115757219A (en) | 2023-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3504625B1 (en) | Automatically configuring a universal serial bus (usb) type-c port of a computing device | |
US7694029B2 (en) | Detecting miscabling in a storage area network | |
US7093033B2 (en) | Integrated circuit capable of communicating using different communication protocols | |
US8275599B2 (en) | Embedded bus emulation | |
WO2017113683A1 (en) | Usb data line comprising extension interface and control method thereof | |
KR20140000182A (en) | Systems and methods for dynamic multi-link compilation partitioning | |
CN112463689B (en) | OCP card hot plug device, method and computer readable storage medium | |
WO2024103829A1 (en) | Port configuration method, component, and hard disk expansion apparatus | |
WO2024108938A1 (en) | Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server | |
CN213365380U (en) | Server mainboard and server | |
CN112799985B (en) | USB interface control method, USB control circuit and intelligent networking equipment mainboard | |
JP2015049907A (en) | Mother board capable of hot swapping memory | |
US20240160379A1 (en) | Systems, methods, and devices for attachable compute resources for storage devices | |
CN105354116A (en) | Hot-plug detection method, apparatus, system and mobile terminal | |
WO2024087933A1 (en) | Memory card and computing device | |
JP2009104625A (en) | System and method for adapting computer peripherals | |
US7650447B2 (en) | System and method for a host to access an internal SATA storage device within an accessible host using an external serial ATA connection | |
CN205809854U (en) | Flash memory module copying device | |
US8806123B1 (en) | Expandable data storage system | |
CN213211716U (en) | USB flash drive copying device | |
TWI728363B (en) | Integrated electronic apparatus for data access, data transmission and power management and method thereof | |
CN115422110B (en) | Port configuration method of electronic equipment and PCIE Switch chip | |
CN203434312U (en) | All-in-one SATA interface storage device | |
CN111414323B (en) | Redundant bundle disk | |
CN118295496A (en) | Computing device and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23893039 Country of ref document: EP Kind code of ref document: A1 |