WO2015035791A1 - 硬盘和管理方法 - Google Patents

硬盘和管理方法 Download PDF

Info

Publication number
WO2015035791A1
WO2015035791A1 PCT/CN2014/076718 CN2014076718W WO2015035791A1 WO 2015035791 A1 WO2015035791 A1 WO 2015035791A1 CN 2014076718 W CN2014076718 W CN 2014076718W WO 2015035791 A1 WO2015035791 A1 WO 2015035791A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
command
management
hard disk
soc
Prior art date
Application number
PCT/CN2014/076718
Other languages
English (en)
French (fr)
Inventor
毕德春
张宇
王振华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP14844884.8A priority Critical patent/EP3035187B1/en
Priority to JP2016541775A priority patent/JP2016536735A/ja
Publication of WO2015035791A1 publication Critical patent/WO2015035791A1/zh
Priority to US15/065,691 priority patent/US20160188216A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7825Globally asynchronous, locally synchronous, e.g. network on chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device

Definitions

  • the present invention relates to the field of storage technology, and more particularly to a hard disk and a management method.
  • Cloud storage is a new concept extended and developed in the concept of cloud computing. It refers to the collection of a large number of different types of storage devices in the network through application software through functions such as cluster application, grid technology or distributed file system. Get together and work together.
  • the storage device includes a hard disk, and the hard disk may include an SOC (System on Chip), a disk motor, a voice coil motor, etc., which processes 10 (Input/Output), how to implement cloud storage.
  • Server (cloud storage system) is currently a hot research topic for storage devices, especially for the management of one or some devices in the hard disk.
  • an object of embodiments of the present invention is to provide a hard disk and a management method for implementing management of one or some devices in a storage device (mainly a hard disk) by a cloud storage service system.
  • a storage device mainly a hard disk
  • a cloud storage service system mainly a cloud storage service system
  • a hard disk including: a manager, a managed device, and a communication interface; the communication interface includes a network interface and a management interface, and the managed device includes at least a system-level chip SOC;
  • the manager is configured to receive an external management command through the management interface, process the received external management command, perform an operation corresponding to the external management command on the corresponding managed device, and return an operation result through the management interface;
  • the network interface is configured to receive an external read/write operation command, so that the SOC performs a corresponding read/write operation according to the received external read/write operation command, and returns a read/write operation result through the network interface.
  • the managed device further includes a disk motor and a voice coil motor VCM.
  • VCM voice coil motor
  • at least one of a temperature sensor, a vibration sensor, a humidity sensor, an altitude sensor, a current sensor, and a voltage sensor is further included.
  • the manager is a management CPU, where
  • the management interface is an internal integrated circuit I 2 C bus interface.
  • the network interface and the I 2 C bus interface occupy the same serial connection small computer interface SAS male plug, the SAS public The second power pin and the third power pin of the plug are commonly used as the I 2 C bus interface, and the second, third, fifth and sixth signal pins of the SAS male plug are commonly used as the network The interface, or the ninth, tenth, twelfth and thirteenth signal pins of the SAS male plug together serve as the network interface.
  • the manager is a substrate management controller
  • the management interface is an intelligent platform management interface IPMI interface.
  • the IPMI interface and the network interface correspond to a physical Ethernet interface.
  • the hard disk further includes a physical switch chip, where the physical switch chip includes a first interface to a fourth interface, where the first interface Connected to a physical Ethernet interface corresponding to the IPMI interface, the second interface is connected to a physical Ethernet interface corresponding to the network interface, the third interface is connected to the BMC, and the fourth interface is connected to the SOC .
  • a management method for managing a managed device in the hard disk from the first aspect to the seventh possible implementation of the first aspect, the method comprising:
  • the management command includes at least one of a power-on command, a power-off command, a first diagnostic command, a second diagnostic command, a third diagnostic command, and a reset command.
  • performing, according to the power-on command, the operation corresponding to the external management command comprising: controlling at least one of a SOC, a disk motor, and a VCM to be powered on;
  • the operation corresponding to the external management command includes: controlling at least one of the SOC, the disc motor, and the VCM to be powered off;
  • the performing the operation corresponding to the external management command includes: indicating the SOC Providing an operation state of the self; for performing the operation corresponding to the external management command, the operation includes: instructing the SOC to acquire related data of other devices in the hard disk;
  • Performing an operation corresponding to the external management command includes: instructing the SOC to acquire a working environment monitoring of the working environment monitoring unit Data, the working environment monitoring data includes at least one of temperature data, vibration
  • the SOC is equivalent to the "CPU" of the hard disk
  • the cloud server can send and write commands to the SOC through the network interface, directly controlling the disk to read and write data, and the SOC performs the external read/write operation command according to the received external read/write operation command. After the corresponding read and write operations, the read and write operation results are returned through the network interface.
  • the manager can manage the managed devices such as the SOC according to external management commands, which is equivalent to the "regulation" of the hard disk, so that the external system or device (the cloud storage system or the cloud storage server) can issue external management commands.
  • One or some of the devices in the storage device (primarily the hard disk) can be managed via the manager.
  • 1 is a schematic structural diagram of a hard disk according to an embodiment of the present invention
  • 2 is a schematic structural diagram of another hard disk according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a storage device according to an embodiment of the present disclosure.
  • FIG. 4a is a schematic structural diagram of another hard disk according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a front structure of a SAS male plug according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a rear structure of a SAS male plug according to an embodiment of the present invention
  • FIG. 6 is another schematic structural diagram of a storage device according to an embodiment of the present invention.
  • FIG. 7 is still another schematic structural diagram of a hard disk according to an embodiment of the present disclosure.
  • FIG. 8 is a flowchart of a management method according to an embodiment of the present invention.
  • FIG. 9 is another flowchart of a management method according to an embodiment of the present invention.
  • FIG. 10 is still another flowchart of a management method according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a cloud server according to an embodiment of the present invention. detailed description
  • Cache cache memory
  • IPMI Intelligent Platform Management Interface
  • VCM Voice coil motor, voice coil motor
  • ATA AT Attachment, computer attached equipment
  • SCSI Small computer system interface, small computer interface
  • SAS Serial Attached SCSI, Serial Attached SCSI.
  • SAS is a new interface developed after the parallel SCSI interface. This interface is designed to improve the performance, availability, and scalability of the storage system and to provide compatibility with SATA drives;
  • BCM Board management controller, substrate management controller
  • I 2 C Inter- Integrated Circuit, internal integrated circuit
  • SGMII Serial Gigabit Media Independent Interface
  • serial Gigabit Media Independent Interface Serial Gigabit Media Independent Interface
  • Embodiments of the present invention disclose a hard disk and a management method for implementing management of one or some devices in a storage device (mainly a hard disk) by an external system or device (a cloud storage system or a cloud storage server).
  • a storage device mainly a hard disk
  • an external system or device a cloud storage system or a cloud storage server
  • the above storage device may include at least one hard disk.
  • the hard disk may include a manager 1, a managed device, and a communication interface.
  • the communication interface may include a network interface 2 and a management interface 3.
  • the managed device includes at least SOC4. Manager 1 is connected to management interface 3, and SOC4 is connected to network interface 2.
  • the manager 1 is configured to receive an external management command through the management interface 3, process the received external management command, and perform an operation corresponding to the external management command on the corresponding managed device.
  • the network interface 2 is configured to receive an external read/write operation command, so that the SOC4 performs corresponding read and write operations according to the received external read/write operation command, and returns the read/write operation result through the network interface 2.
  • network interface 2 and the management interface 3 can be integrated into one physical interface or two physical interfaces that are independent of each other. This article will be described in detail later.
  • FIG. 1 is a schematic diagram showing the relationship between the devices.
  • the SOC4 is equivalent to the "CPU" of the hard disk
  • the cloud server sends an external read/write command to the SOC4 through the network interface 2, which can directly control the disk read and write data, and the SOC4 is based on the received external read/write operation.
  • the command After the command performs the corresponding read and write operations, it returns to read through network interface 2.
  • Manager 1 can manage managed devices such as SOC4 according to external management commands, which is equivalent to "regulatory,” such as external systems (cloud storage service systems) or devices (cloud servers), through external management. With the command, one or some devices in the storage device (mainly the hard disk) can be managed via Manager 1.
  • the manager 1 described above can also be used to return operational results via the management interface 3.
  • the hard disk may include some conventional devices such as a cache, a VCM, a disk interface, a disk, a preamplifier, and the like. These can be designed and implemented according to the prior art, and will not be described herein.
  • the SOC 4 communicates with a cache, a VCM, or the like in the hard disk by an internal command.
  • the message received by SOC4 from network interface 2, and the message sent to cloud server through network interface 2, is in accordance with the network protocol (generally Ethernet protocol).
  • SOC4 has two main functions, one is the protocol conversion function, so that data conforming to the network protocol received through the network interface 2 can be converted into internal commands (such as ATA/SCSI commands) / internal messages, or internal commands / Internal messages are converted into data that conforms to the network protocol.
  • the second is the 10 management function, which can control the disk read and write data according to the external read and write commands sent by the cloud server.
  • SOC4 can also integrate the functions of Manager 1. Therefore, SOC4 and Manager 1 can be integrated into one hardware device, and of course, two independent hardware devices. Considering that in the event of a SOC4 failure, the external system or device can still manage the storage device (hard disk), SOC4 and Manager 1 can be designed as two independent hardware devices. In the following article, the SOC4 and Manager 1 are two independent hardware devices as an example.
  • the managed devices of all of the above embodiments may further include a disk motor and a VCM.
  • the disc motor is responsible for controlling the rotation of the disc, while the VCM is responsible for controlling the movement of the head.
  • the motor control chip on the board is responsible for driving the disc motor and VCM. In practical applications, one motor control chip can be used to drive the disc motor and VCM at the same time, and different motor control chips can be used to drive the disc motor and VCM respectively.
  • the hard disk in all the above embodiments may further include a working environment monitoring unit. More specifically, the work environment monitoring unit may include at least one of a temperature sensor, a vibration sensor, a humidity sensor, an altitude sensor, a current sensor, and a voltage sensor.
  • the manager 1 of the hard disk 100 may specifically be the management CPU 11, and the management interface 3 may specifically be an I 2 C bus interface 31, and the network interface 2 is specifically It can be an Ethernet interface 21.
  • the management CPU 11 and the I 2 C bus interface 31 are connected by an I 2 C bus.
  • the storage device 5 includes a plurality of hard disks 100.
  • the storage device 5 further includes a first BMC 6 and a data switch 8.
  • the first BMC6 is connected to the management CPU 11 through an I 2 C bus interface, and is connected to the cloud server 7 through an IPMI interface; the data switch 8 is respectively connected to the SOC 4 and the cloud server 7 through an Ethernet interface.
  • the first BMC6 is used at least to convert an IPMI-compliant external management command received through the IPMI interface into a command conforming to the bus protocol, and forward it to the management CPU 11 through the I 2 C bus interface 31, and will pass the I 2 C
  • the operation result received by the bus interface 31 conforming to the I 2 C bus protocol is converted into data conforming to the IPMI protocol, and is forwarded to the cloud server through the IPMI interface.
  • the data switch 8 is mainly used to transmit 10 data.
  • the data switch 8 can also be used to transmit an external read/write operation command, and the result of the read/write operation returned by the SOC4 is the above 10 data.
  • I 2 C bus interface 31 and Ethernet interface 21 can be integrated on one physical interface 9.
  • the physical interface 9 may specifically be a SAS male plug.
  • Figure 4b is the front of the SAS male plug
  • Figure 4c is the back of the SAS male plug.
  • the first port and the power pin are distributed
  • the second port is distributed on the back of the SAS male plug.
  • the pins S1, S4, and S7 are used for grounding
  • the pins S2 and S3 are used for inputting differential signals
  • the two pins are combined for signal input
  • the pins S5 and S6 are used for outputting differential signals.
  • the two pins are combined for signal output.
  • the second port on the back of the SAS male plug is similar to the first port, from right to left, followed by the eighth to fourteenth signal pins (S8-S14).
  • pins S8, S11 and S14 are used for grounding respectively
  • S9 and S10 are used for inputting differential signals, these two pins are combined for signal input
  • S12 and S13 are used for outputting differential signals, these two pins Combined for signal output.
  • the second power pin and the third power pin can be used together as the I 2 C bus interface, wherein the pin P2 can be used as the clock end of the I 2 C bus interface.
  • Pin P3 can be used as the data side of the I 2 C bus interface.
  • the pins S2, S3, S5, and S6 in the first port can be used, wherein S2 and S3 are used as input terminals, and S5 and S6 are used as output terminals;
  • the pins S9, S10, S12, and S13 in the second port are implemented, wherein S9 and S10 are used as input terminals, and S12 and S13 are used as output terminals.
  • pins S2, S3, S5, and S6 serve as network interfaces for connecting the data switch 8 and the SOC 4. Since pins S2, S3, S5, and S6 (or pins S9, S10, S12, and S13) serve as network interfaces for connecting the data switch 8 and the SOC 4. Since pins S2, S3, S5, and S6 (or pins S9, S10, S12, and S13) are differential inputs and outputs, they can be carried as long as they are based on differential input and output protocols. That is, the data switch 8 and the SOC 4 need to support the same protocol based on the differential input and output, respectively, and the two can communicate. For example, data exchange 8 and SOC4 can support the SGMII protocol, respectively.
  • the manager of the hard disk 101 may specifically be the second BMC 12.
  • the management interface may be an IPMI interface 32
  • the network interface may be an Ethernet interface 21 .
  • the IPMI interface 32 and the Ethernet interface 21 can actually be two physical Ethernets. Interface, except that one physical Ethernet interface is fixed as an IPMI interface and the other is fixed as an Ethernet interface.
  • the storage device 5 may further include a management switch 10.
  • the management switch 10 is configured to forward the received external management command to the second BMC 12, and forward the operation result returned by the second BMC 12 to the cloud server 7.
  • each hard disk 101 includes a second BMC 12, the second BMC 12 has the functions of the foregoing management CPU 11 and the first BMC 6. Therefore, the first BMC 6 shown in Fig. 3 can be replaced by the management switch 10.
  • the management switch 10 is connected to the second BMC 12 through the IPMI interface, and is connected to the cloud server 7 through the IPMI interface.
  • the IPMI interface 32 and the Ethernet interface 21 are actually two physical Ethernet interfaces, except that one physical Ethernet interface is fixed as an IPMI interface, and the other is fixed as an Ethernet interface, such as a physical Ethernet interface A fixed.
  • the physical Ethernet interface B is fixed as an Ethernet interface. Therefore, when connecting, there is no connection error.
  • the hard disk may further include a physical switch chip 13 and the physical switch chip 13 includes the first one.
  • the interface is connected to the fourth interface, wherein the first interface is connected to the IPMI interface 32 (corresponding physical Ethernet interface), the second interface is connected to the Ethernet interface 21 (corresponding physical Ethernet interface), and the third interface is connected to the second interface.
  • the BMC 12 is connected, and the fourth interface is connected to the SOC 4.
  • Two IP addresses are configured for the second BMC12 and SOC4, so that the second BMC12 and SOC4 can be accessed directly through the IP address, and either of the two physical Ethernet interfaces can be used as an IPMI interface or an Ethernet interface.
  • the physical Ethernet interface transmits data conforming to the IPMI protocol, it is the IPMI interface 32.
  • the Ethernet interface 21 When the data conforming to the Ethernet protocol is transmitted, it is the Ethernet interface 21.
  • the storage device in all the foregoing embodiments is also a protection object of the embodiment of the present invention.
  • the structural composition of the storage device refer to the foregoing description, and no further details are provided herein.
  • the foregoing management method may at least include the following steps:
  • the above external management commands are generally from a cloud server or a cloud storage system.
  • the foregoing management method may further include the following steps:
  • the above-mentioned management commands may include power-on commands.
  • the cloud server can issue power-on commands in batches to control the hard disk power-on in batches, thereby solving a large number of hard disks simultaneously powering up, which will generate a large inrush current. The problem.
  • the managed devices in all of the above embodiments may include a disk motor and a VCM (the motor consumes more power) in addition to the SOC 4.
  • execution of the operation corresponding to the external management command in the above step S2 may include: controlling at least one of the SOC, the disk motor, and the VCM to be powered.
  • the cloud server can also control the power-off of the hard disk. Therefore, the foregoing management command may include a power-off command;
  • the "execution of the operation corresponding to the external management command" in the above step S2 may include: controlling at least one of the SOC, the disk motor and the VCM to be powered off.
  • the cloud server may need to diagnose the hard disk. Therefore, the above management commands may include diagnostic commands. Further, the diagnostic command may include a first diagnostic command, a second diagnostic command, and a third diagnostic command due to different diagnostic objects.
  • the diagnostic object of the first diagnostic command is the SOC. Therefore, after receiving the first diagnosis command, "execution of the operation corresponding to the external management command" in the above step S2 may include: (Manager 1) indicating that the SOC 4 provides its own operating state.
  • step S3 includes the operational state of SOC4.
  • the second diagnostic command is diagnosed by other devices on the hard disk (such as a platter).
  • the "execution of the operation corresponding to the external management command" in the above step S2 may include: (Manager 1) instructing the SOC 4 to acquire data related to other devices (for example, a disk) of the hard disk.
  • the second diagnostic command can be subdivided into multiple diagnostic subcommands to enable diagnosis for different physical properties of different devices.
  • the "operation result" in step S3 includes related data of other devices on the hard disk.
  • the diagnostic object of the third diagnostic command is the working environment of the hard disk.
  • the work environment can be reflected by the work environment monitoring data collected by the work monitoring unit.
  • the "execution of the operation corresponding to the external management command" in the above step S2 may include: (Manager 1) instructing the SOC 4 to acquire the work environment monitoring data collected by the work environment monitoring unit.
  • the "operation result" in step S3 includes the work environment monitoring data.
  • the working environment monitoring unit may include at least one of a temperature sensor, a vibration sensor, a humidity sensor, an altitude sensor, a current sensor, and a voltage sensor; accordingly, the working environment monitoring data may include temperature data, vibration data, humidity data, At least one of altitude data, current data, and voltage data.
  • the above management commands may include a reset command.
  • "execution of the operation corresponding to the external management command" in step S2 may include: (Manager 1) controlling the SOC 4 to perform resetting.
  • step S3 includes the reset result of SOC4.
  • the above reset command may further include a soft reset command and a hard reset command (hard reset is generally performed when the soft reset fails).
  • Manager 1 sends a soft reset command to SOC4 upon receiving a soft reset command. When a hard reset command is received, the manager 1 directly controls the SOC4 reset by breaking and powering up.
  • the cloud server sends a power-on command to control the power-on of the hard disk A.
  • the cloud server After power-on, when the hard disk A has a network port or the 10 interface does not respond, the cloud server sends a diagnostic command (the first diagnostic command and the third diagnostic command).
  • the manager of the hard disk A returns the running status of the SOC and the working environment monitoring data
  • the cloud server sends a soft reset command according to the operating state of the SOC of the hard disk A and the monitoring data of the working environment, and determines that the hard disk A cannot be repaired;
  • the manager of the hard disk A sends a software reset command to the SOC
  • the cloud server sends a hard reset command
  • the manager of hard disk A performs a hard reset on the SOC; if it still cannot be reset, the manager returns the result of the operation of the (hard) reset;
  • the cloud server isolates the hard disk A from the cloud storage system and transfers the task of the hard disk A to other hard disks.
  • the cloud server sends a power-off command
  • the manager of the hard disk A controls the SOC to be powered off. Or, in step B, when the network port of the hard disk A or the 10 interface does not respond, the cloud server sends a second diagnostic command.
  • the cloud server may issue a more detailed diagnostic sub-command for the disk
  • the cloud server continues to use the hard disk; and if the hard disk A is determined to be unsuitable for further use according to the operation result returned by the hard disk A, the cloud server will use the hard disk.
  • A is isolated from the cloud storage system, and the task of the hard disk A is transferred to another hard disk. Then, the power-off command for the hard disk A is sent, and the hard disk A is powered off.
  • the embodiment of the present invention further provides another management method, and the execution subject is a cloud service disk.
  • the method includes:
  • the above method may further include the following steps:
  • the embodiment of the invention further provides a cloud server for managing the storage devices in all the above embodiments.
  • the cloud server may include:
  • the transmitter 111 is configured to send an external management command, so that the manager in the storage device performs an operation corresponding to the external management command to the corresponding managed device.
  • the cloud server may further include: a receiver 112, configured to receive an operation result returned by a manager in the storage device.
  • the cloud server may further include a CPU 113, which is at least operable to generate the foregoing external management command.
  • the various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Power Sources (AREA)

Abstract

本发明实施例公开了硬盘和管理方法,以实现云存储服务系统对存储设备(主要是硬盘)中某一或某些器件的管理。上述硬盘包括:管理器、被管理器件和通信接口;通信接口包括网络接口和管理接口,被管理器件至少包括SOC;管理器用于通过管理接口接收外部管理命令,处理接收到的外部管理命令,对相应的被管理器件,执行与外部管理命令相对应的操作,以及通过管理接口返回操作结果;网络接口用于接收外部读写操作命令。可见,在本发明实施例中,管理器可根据外部管理命令,对SOC等被管理器件进行管理,这样外部系统或设备(云存储系统或云存储服务器),通过下发外部管理命令,就可经由管理器对存储设备(主要是硬盘)中某一或某些器件进行管理了。

Description

硬盘和管理方法 技术领域
本发明涉及存储技术领域, 更具体地说, 涉及硬盘和管理方法。
背景技术
云存储是在云计算概念上延伸和发展出来的一个新的概念, 是指通过集 群应用、 网格技术或分布式文件系统等功能, 将网络中大量各种不同类型的 存储设备通过应用软件集合起来协同工作。 存储设备中包括硬盘, 硬盘中可 包含处理 10 ( (Input/Output, 输入 /输出) 的 SOC ( System on Chip, 片上系统 / 系统级芯片) 、 盘片马达、 音圈马达等, 如何实现云存储服务器 (云存储系 统)对存储设备, 特别是对硬盘中某一或某些器件的管理, 是目前的研究热 门。
发明内容
有鉴于此, 本发明实施例的目的在于提供硬盘和管理方法, 以实现云存 储服务系统对存储设备(主要是硬盘) 中某一或某些器件的管理。 为实现上述目的, 本发明实施例提供如下技术方案:
根据本发明实施例的第一方面, 提供一种硬盘, 包括: 管理器、 被管理 器件和通信接口; 所述通信接口包括网络接口和管理接口, 所述被管理器件 至少包括系统级芯片 SOC;所述管理器用于通过管理接口接收外部管理命令, 处理接收到的外部管理命令, 对相应的被管理器件, 执行与所述外部管理命 令相对应的操作, 以及通过所述管理接口返回操作结果; 所述网络接口用于 接收外部读写操作命令, 以便所述 SOC根据所述接收到的外部读写操作命令 进行相应的读写操作, 并通过所述网络接口返回读写操作结果。
结合第一方面, 在第一种可能的实现方式中, 所述被管理器件还包括盘 片马达和音圈马达 VCM。 结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 还包括温度传感器、 振动传感器、 湿度传感器、 海拔传感器、 电流传感器和 电压传感器中的至少一种。
结合第一方面, 或第一方面的第一种可能的实现方式, 或第一方面的第 二种可能的实现方式, 在第三种可能的实现方式中, 所述管理器为管理 CPU, 所述管理接口为内部整合电路 I2C总线接口。
结合第一方面的第三种可能的实现方式, 在第四种可能的实现方式中, 所述网络接口和 I2C总线接口占用同一串行连接小型计算机接口 SAS公座插 头, 所述 SAS公座插头的第二电源管脚和第三电源管脚共同作为所述 I2C总 线接口, 所述 SAS公座插头的第二、 第三、 第五和第六信号管脚共同作为所 述网络接口, 或者, 所述 SAS公座插头的第九、 第十、 第十二和第十三信号 管脚共同作为所述网络接口。
结合第一方面, 或第一方面的第一种可能的实现方式, 或第一方面的第 二种可能的实现方式, 在第五种可能的实现方式中, 所述管理器为基板管理 控制器 BMC, 所述管理接口为智能平台管理接口 IPMI接口。
结合第一方面的第五种可能的实现方式, 在第六种可能的实现方式中, 所述 IPMI接口和网络接口均对应物理以太网接口。
结合第一方面的第六种可能的实现方式, 在第七种可能的实现方式中, 所述硬盘还包括物理交换芯片, 所述物理交换芯片包括第一接口至第四接口, 其中第一接口与所述 IPMI接口对应的物理以太网接口相连接, 第二接口与所 述网络接口对应的物理以太网接口相连接, 第三接口与所述 BMC相连接, 第 四接口与所述 SOC相连接。
根据本发明实施例的第二方面, 提供一种管理方法, 用于管理如第一方 面至第一方面的第七种可能的实现方式所述硬盘中的被管理器件, 所述方法 包括:
通过管理接口接收外部管理命令;
处理接收到的外部管理命令, 对硬盘中的被管理器件, 执行与所述外部 管理命令相对应的操作; 通过所述管理接口返回操作结果。
结合第二方面,在第一种可能的实现方式中,所述管理命令包括上电命令、 下电命令、 第一诊断命令、 第二诊断命令、 第三诊断命令和复位命令中的至 少一种; 针对所述上电命令, 所述执行与所述外部管理命令相对应的操作包 括: 控制 SOC、 盘片马达和 VCM中的至少一个上电; 针对所述下电命令, 所述执行与所述外部管理命令相对应的操作包括: 控制 SOC、 盘片马达和 VCM中的至少一个下电; 针对所述第一诊断命令, 所述执行与所述外部管理 命令相对应的操作包括: 指示 SOC提供自身的运行状态; 针对所述第二诊断 命令, 所述执行与所述外部管理命令相对应的操作包括: 指示 SOC获取硬盘 中其他器件的相关数据; 针对所述第三诊断命令, 所述执行与所述外部管理 命令相对应的操作包括: 指示 SOC获取所述工作环境监控单元的工作环境监 控数据, 所述工作环境监控数据包括温度数据、 振动数据、 湿度数据、 海拔 数据、 电流数据和电压数据中的至少一种; 针对所述复位命令, 所述执行与 所述外部管理命令相对应的操作包括: 控制 SOC进行复位。
可见, 在本发明实施例中, SOC相当于硬盘的 "CPU", 云服务器可通过 网络接口向 SOC发送读写命令, 直接控制盘片读写数据, SOC根据接收到的 外部读写操作命令进行相应的读写操作后, 通过网络接口返回读写操作结果。 而管理器则可根据外部管理命令, 对 SOC等被管理器件进行管理, 相当于硬 盘的"监管", 这样外部系统或设备(云存储系统或云存储服务器), 通过下发 外部管理命令, 就可经由管理器对存储设备(主要是硬盘) 中某一或某些器 件进行管理了。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的硬盘结构示意图; 图 2为本发明实施例提供的硬盘另一结构示意图;
图 3为本发明实施例提供的存储设备结构示意图;
图 4a为本发明实施例提供的硬盘又一结构示意图;
图 4b为本发明实施例提供的 SAS公座插头的正面结构示意图; 图 4c为本发明实施例提供的 SAS公座插头的背面结构示意图; 图 5为本发明实施例提供的硬盘又一结构示意图;
图 6为本发明实施例提供的存储设备另一结构示意图;
图 7为本发明实施例提供的硬盘又一结构示意图;
图 8为本发明实施例提供的管理方法流程图;
图 9为本发明实施例提供的管理方法另一流程图;
图 10为本发明实施例提供的管理方法又一流程图;
图 11为本发明实施例提供的云服务器结构示意图。 具体实施方式
为了引用和清楚起见, 下文中使用的技术名词、 筒写或缩写总结解释如 下:
10: Input/Output, 输入 /输出;
Cache: 高速緩沖存储器;
IPMI: 智能平台管理接口;
VCM: Voice coil motor,音圈马达;
ATA: AT Attachment, 计算机附加设备;
SCSI: Small computer system interface, 小型计算机接口;
SAS: Serial Attached SCSI, 串行连接 SCSI。 SAS是并行 SCSI接口之后 开发出的全新接口。 此接口的设计是为了改善存储系统的效能、 可用性和扩 充性, 并且提供与 SATA硬盘的兼容性;
BCM: Board management controller, 基板管理控制器; I2C: Inter - Integrated Circuit, 内部整合电路;
SGMII: Serial Gigabit Media Independent Interface , 串行千兆位媒质独立 接口。
例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显 然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基 于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所 获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例公开了硬盘和管理方法, 以实现外部系统或设备(云存储 系统或云存储服务器)对存储设备(主要是硬盘) 中某一或某些器件的管理。
上述存储设备可包括至少一个硬盘。 其中, 参见图 1 , 硬盘可包括管理器 1、 被管理器件和通信接口, 通信接口可包括网络接口 2和管理接口 3 , 被管 理器件至少包括 SOC4。 管理器 1与管理接口 3相连接, SOC4与网络接口 2 相连接。
其中, 管理器 1用于通过管理接口 3接收外部管理命令, 处理接收到的 外部管理命令, 对相应的被管理器件, 执行与外部管理命令相对应的操作。
网络接口 2用于接收外部读写操作命令, 以便 SOC4根据接收到的外部 读写操作命令进行相应的读写操作, 并通过网络接口 2返回读写操作结果。
需要说明的是, 网络接口 2和管理接口 3可集成为一个物理接口, 也可 为相互独立的两个物理接口。 本文后续将作详细介绍。
上述管理器 1、 网络接口 2、 管理接口 3和 SOC4等可集成在同一电路板 上。 盘片和前置放大器则集成在基座上。 需要说明的是, 电路板和基座一般 是上下叠合在一起的, 而为了清楚表示各器件之间的关系, 图 1 给出的是各 器件间关系的示意图。
可见, 在本发明实施例中, SOC4相当于硬盘的 "CPU", 云服务器通过网 络接口 2 向 SOC4发送外部读写命令,可直接控制盘片读写数据, SOC4根据 接收到的外部读写操作命令进行相应的读写操作后, 通过网络接口 2返回读 写操作结果。 而管理器 1则可根据外部管理命令, 对 SOC4等被管理器件进 行管理, 相当于硬盘的 "监管,,, 这样外部系统(云存储服务系统)或设备(云 服务器) , 通过下发外部管理命令, 就可经由管理器 1 对存储设备(主要是 硬盘) 中某一或某些器件进行管理了。
在本发明其他实施例中, 上述管理器 1还可用于通过管理接口 3返回操 作结果。
此外, 硬盘还可包括一些常规器件, 例如, cache、 VCM、 盘片接口、 盘 片、 前置放大器等。 这些可依照现有技术加以设计实现, 在此不作赘述。
需要说明的是, 上述 SOC4与硬盘内的 cache、 VCM等, 通过内部指令 通信。 而 SOC4从网络接口 2接收到的消息, 以及, 通过网络接口 2向云服 务器发送的消息, 是符合网络协议(一般为以太网协议) 的。
因此, SOC4具有两个主要功能, 一是协议转换功能, 这样, 可将通过网 络接口 2接收的、 符合网络协议的数据转换成内部命令(例如 ATA/SCSI命 令) /内部消息, 或者将内部命令 /内部消息转换成符合网络协议的数据。 二是 10管理功能, 从而可以根据云服务器发送的外部读写命令, 控制盘片读写数 据。
此外, SOC4也可集成管理器 1的功能。 因此, SOC4和管理器 1可集成 为一个硬件器件, 当然, 也可为独立的两个硬件器件。 考虑到在 SOC4 出现 故障时, 外部系统或设备仍可实现对存储设备(硬盘)的管理, 可设计 SOC4 和管理器 1为两个独立的硬件器件。 本文下述将以 SOC4和管理器 1为两独 立的硬件器件为例进行介绍。
在本发明其他实施例中, 除 SOC4 夕卜, 上述所有实施例中的被管理器件 还可包括盘片马达和 VCM。 盘片马达负责控制盘片转动, 而 VCM负责控制 磁头运动。 在电路板上的马达控制芯片, 负责驱动盘片马达和 VCM。 在实际 应用中, 可用一个马达控制芯片同时负责驱动盘片马达和 VCM, 也可用不同 的马达控制芯片分别负责驱动盘片马达和 VCM。 在本发明其他实施例中, 上述所有实施例中的硬盘还可包括工作环境监 控单元。 更具体的, 工作环境监控单元可包括温度传感器、 振动传感器、 湿 度传感器、 海拔传感器、 电流传感器和电压传感器中的至少一种。
下面, 将对硬盘以及存储设备的内部器件进行介绍。
在本发明其他实施例中, 参见图 2, 上述所有实施例中, 硬盘 100的管理 器 1具体可为管理 CPU11 , 而上述管理接口 3具体可为 I2C总线接口 31 , 上 述网络接口 2具体可为以太网接口 21。 管理 CPU11与 I2C总线接口 31之间, 通过 I2C总线相连接。
图 3示出了包含多个硬盘 100的存储设备 5的结构, 在本实施例中, 存 储设备 5还包括第一 BMC6和数据用交换机 8。
其中, 第一 BMC6通过 I2C总线接口与管理 CPU11相连接, 通过 IPMI 接口与云服务器 7相连接; 数据用交换机 8通过以太网接口分别与 SOC4和 云服务器 7相连接。
第一 BMC6至少用于, 将通过 IPMI接口接收到的、 符合 IPMI协议的外 部管理命令转换成符合 总线协议的命令, 并通过 I2C总线接口 31转发给 管理 CPU11 , 以及, 将通过 I2C总线接口 31接收到的、 符合 I2C总线协议的 操作结果转换成符合 IPMI协议的数据, 并通过 IPMI接口转发给云服务器。
数据用交换机 8主要用于, 传输 10数据。
此外, 数据用交换机 8还可用于, 传输外部读写操作命令, 而 SOC4返 回的读写操作结果, 即为上述 10数据。
更具体的, 参见图 4a, 上述 I2C总线接口 31和以太网接口 21可集成于 一个物理接口 9上。
上述物理接口 9具体可为 SAS公座插头。
参见图 4b和图 4c, 图 4b为 SAS公座插头的正面, 图 4c为 SAS公座插 头的背面。 在 SAS公座插头的正面上, 分布着第一端口和电源管脚, 在 SAS 公座插头的背面上分布着第二端口。 请先看第一端口, 由右至左, 依次为第一信号管脚至第七信号管脚 ( S1-S7 ) 。 其中, 管脚 Sl、 S4、 S7分别用于接地, 管脚 S2和 S3用于输入 差分信号, 这两个管脚组合起来用于信号输入, 而管脚 S5和 S6用于输出差 分信号, 这两个管脚组合起来用于信号输出。
SAS 公座插头背面的第二端口与第一端口相类似, 由右至左, 依次为第 八信号管脚至第十四信号管脚(S8-S14 ) 。 其中, 管脚 S8、 S11和 S14分别 用于接地, S9、 S10用于输入差分信号, 这两个管脚组合起来用于信号输入, 而 S12和 S13用于输出差分信号, 这两个管脚组合起来用于信号输出。
再看电源管脚部分, 其由右至左依次为第一电源管脚至第十五电源管脚 ( P1至 P15 ) 。
在本实施例中, 可使用第二电源管脚和第三电源管脚(P2和 P3 )共同作 为上述 I2C总线接口, 其中, 管脚 P2可作为 I2C总线接口的时钟端, 管脚 P3 可作为 I2C总线接口的数据端。
至于网络接口 (以太网接口) , 可釆用第一端口中的管脚 S2、 S3、 S5、 S6实现, 其中, S2、 S3作为输入端, S5和 S6作为输出端; 或者, 也可釆用 第二端口中的管脚 S9、 S10、 S12、 S13 实现, 其中, S9、 S10作为输入端, S12和 S13作为输出端。
此外, 需要说明的是, 管脚 S2、 S3、 S5和 S6 (或者管脚 S9、 S10、 S12 和 S13 )作为网络接口,用于连接数据用交换机 8与 SOC4。 由于管脚 S2、 S3、 S5和 S6 (或者管脚 S9、 S10、 S12和 S13 ) , 是差分输入输出, 因此, 只要 是基于差分输入输出的协议, 都可承载。 也即, 数据用交换机 8与 SOC4需 要分别支持基于差分输入输出的同一协议, 二者才可互通。 例如, 数据用交 换机 8与 SOC4可分别支持 SGMII协议。
在本发明其他实施例中, 参见图 5, 上述所有实施例中, 硬盘 101的管理 器具体可为第二 BMC12, 上述管理接口具体可为 IPMI接口 32, 上述网络接 口具体可为以太网接口 21。需要说明的是,釆用 IPMI协议的信息可通过以太 网接口传输, 因此, IPMI接口 32与以太网接口 21其实可为两个物理以太网 接口, 只不过, 一个物理以太网接口固定作为 IPMI接口, 另一个固定作为以 太网接口。
图 6示出了包含多个硬盘 101的存储设备 5的结构, 在本实施例中, 存 储设备 5还可包括管理用交换机 10。管理用交换机 10至少用于,将接收到的、 外部管理命令转发给第二 BMC12, 以及, 将第二 BMC12返回的操作结果转 发给云服务器 7。
需要说明的是, 由于每一硬盘 101 中都包含一个第二 BMC12, 而第二 BMC12兼具上述管理 CPU11和第一 BMC6的功能。 因此, 图 3示出的第一 BMC6可由管理用交换机 10取代。 管理用交换机 10通过 IPMI接口与第二 BMC12相连接, 并通过 IPMI接口与云服务器 7相连接。
前述提及了, IPMI接口 32与以太网接口 21其实为两个物理以太网接口, 只不过, 一个物理以太网接口固定作为 IPMI接口, 另一个固定作为以太网接 口, 比如物理以太网接口 A固定作为 IPMI接口, 而物理以太网接口 B固定 作为以太网接口。 因此, 在进行连接时, 不可连接错误。
为了令两个物理以太网接口的任一个都可以作为 IPMI接口或以太网接 口, 在本发明其他实施例中, 参见图 7, 上述硬盘还可包括物理交换芯片 13 , 物理交换芯片 13包括第一接口至第四接口,其中第一接口与 IPMI接口 32(对 应的物理以太网接口)相连接, 第二接口与以太网接口 21 (对应的物理以太 网接口)相连接,第三接口与第二 BMC12相连接,第四接口与 SOC4相连接。
为第二 BMC12和 SOC4配置两个 IP地址, 这样就可以直接通过 IP地址 访问第二 BMC12和 SOC4了, 并且, 两个物理以太网接口的任一个都可以作 为 IPMI接口或以太网接口了。
需要说明的是, 由于可通过 IP地址访问, 因此, 还可仅通过一个物理以 太网接口与物理交换芯片 13相连接, 这一物理以太网接口在传输符合 IPMI 协议的数据时, 是 IPMI接口 32, 而在传输符合以太网协议的数据时, 是以太 网接口 21。
需要说明的是, 上述所有实施例中的存储设备, 也是本发明实施例的保 护对象。 存储设备的结构组成可参见本文前述记载, 在此不作赘述。 与之相对应, 当执行主体为上述管理器时, 请参见图 8, 上述管理方法至 少可包括如下步骤:
51、 通过管理接口 3接收外部管理命令;
上述外部管理命令, 一般来自云服务器或云存储系统。
52、 处理接收到的外部管理命令, 对相应的被管理器件, 执行与外部管 理命令相对应的操作。
在本发明其他实施例中, 参见图 9, 上述管理方法还可包括如下步骤:
53、 通过管理接口 3返回操作结果。
下面将对管理器所执行的、 与外部管理命令相对应的操作进行介绍。 一, 上电:
考虑下述情况, 云存储技术中往往需要多个存储设备参与存储, 而一个 存储设备中就可能包括多块硬盘。 硬盘在上电过程的电流又比较大, 大量硬 盘同时上电时, 会有^大的冲击电流。
为解决这一问题, 上述管理命令可包括上电命令, 这样, 云服务器可分 批下发上电命令, 来控制硬盘分批上电, 从而解决大量硬盘同时上电, 会产 生很大冲击电流的问题。
进一步的, 再考虑下述情况, 硬盘中有一些器件耗电比较多, 如果能控 制耗电比较多的器件在需要时上电, 则可减少耗电。
因此,在本发明其他实施例中,上述所有实施例中的被管理器件,除 SOC4 外, 还可包括盘片马达和 VCM (马达耗电比较多 ) 。
相应的, 上述步骤 S2中的"执行与外部管理命令相对应的操作 "可包括: 控制 SOC、 盘片马达和 VCM中的至少一个上电。
二, 下电:
与上电相类似, 云服务器也可控制硬盘下电。 因此, 上述管理命令可包 括下电命令; 而相应的, 上述步骤 S2中的"执行与外部管理命令相对应的操作"则可包 括: 控制 SOC、 盘片马达和 VCM中的至少一个下电。
三, 诊断:
当硬盘出现故障时, 云服务器可能需要对硬盘进行诊断。 因此, 上述管 理命令可包括诊断命令。 进一步的, 由于诊断对象不同, 诊断命令可包括第 一诊断命令、 第二诊断命令和第三诊断命令。
第一诊断命令的诊断对象是 SOC。 因此, 当接收到第一诊断命令后, 上 述步骤 S2中的"执行与外部管理命令相对应的操作 "可包括: (管理器 1 )指 示 SOC4提供自身的运行状态。
与之相对应, 步骤 S3中的"操作结果"即包括 SOC4的运行状态。
第二诊断命令的诊断对象是硬盘其他器件 (例如盘片) 。 当接收到第二 诊断命令后, 上述步骤 S2中的"执行与外部管理命令相对应的操作 "可包括: (管理器 1 )指示 SOC4获取硬盘其他器件 (例如盘片 ) 的相关数据。
由于硬盘包括多个器件, 不同的器件还可能有不同的物理属性, 因此, 第二诊断命令还可细分为多个诊断子命令, 以实现针对不同器件的不同物理 属性进行诊断。
与之相对应, 步骤 S3中的"操作结果"即包括硬盘其他器件的相关数据。 第三诊断命令的诊断对象是硬盘的工作环境。 工作环境可通过工作监控 单元釆集的工作环境监控数据来体现。
因此, 当接收到第三诊断命令后, 上述步骤 S2 中的"执行与外部管理命 令相对应的操作"可包括: (管理器 1 )指示 SOC4获取工作环境监控单元釆 集的工作环境监控数据。
与之相对应, 步骤 S3中的"操作结果"即包括工作环境监控数据。
由于工作环境监控单元可包括温度传感器、 振动传感器、 湿度传感器、 海拔传感器、 电流传感器和电压传感器中的至少一种; 因此, 相应的, 工作 环境监控数据可包括温度数据、 振动数据、 湿度数据、 海拔数据、 电流数据 和电压数据中的至少一种。 四、 复位:
为方便云服务器控制 SOC复位,上述管理命令可包括复位命令。相应的, 步骤 S2中的"执行与外部管理命令相对应的操作 "可包括: (管理器 1 )控制 SOC4进行复位。
与之相对应, 步骤 S3中的"操作结果"即包括 SOC4的复位结果。
上述复位命令还可进一步的包括软复位命令和硬复位命令(硬复位一般 是在软复位失效时才进行的) 。 管理器 1 在接收到软复位命令时, 向 SOC4 发送软复位指令。 而在接收到硬复位命令时, 管理器 1 直接通过断、 通电, 控制 SOC4复位。
需要说明的是, 上述上电、 下电、 诊断和复位等, 可组成一系列的管理 流程。 例如:
A, 云服务器下发上电命令, 控制硬盘 A的上电;
B, 上电后, 当硬盘 A出现网口或 10接口不响应时, 云服务器下发诊断 命令(第一诊断命令和第三诊断命令) ;
C, 硬盘 A的管理器返回 SOC的运行状态以及工作环境监控数据;
D, 云服务器根据硬盘 A的 SOC的运行状态以及工作环境监控数据, 判 断硬盘 A不能修复时, 下发软复位命令;
E, 硬盘 A的管理器向 SOC下发软件复位指令;
F, 假定 SOC无法软复位, 硬盘 A的管理器返回无法(软) 复位的操作 结果;
G, 云服务器下发硬复位命令;
H, 硬盘 A的管理器对 SOC进行硬复位; 如仍无法复位, 管理器返回无 法(硬) 复位的操作结果;
I, 云服务器将硬盘 A隔离出云存储系统,将硬盘 A的任务转移至其他硬 盘执行;
K, 云服务器下发下电命令;
L, 硬盘 A的管理器控制 SOC下电。 或者, 在步骤 B中, 当硬盘 A出现网口或 10接口不响应时, 云服务器 下发第二诊断命令;
如硬盘 A的管理器返回的操作结果表明盘片有坏道时, 云服务器针对盘 片, 可下发更详细的诊断子命令;
之后, 如根据硬盘 A返回的操作结果判断出可继续使用硬盘 A, 则云服 务器继续使用该硬盘; 而如根据硬盘 A返回的操作结果判断出硬盘 A不适宜 再继续使用, 云服务器则将硬盘 A隔离出云存储系统, 将硬盘 A的任务转移 至其他硬盘执行, 再下发针对硬盘 A的下电命令, 控制硬盘 A下电。
与之相对应, 本发明实施例还提供了另一管理方法, 其执行主体为云服 盘) , 参见图 10, 该方法包括:
5101、 发送外部管理命令, 以便存储设备中的管理器对相应的被管理器 件, 执行与外部管理命令相对应的操作。
在本发明其他实施例中, 上述方法还可包括如下步骤:
5102、 接收管理器返回的操作结果。
相关细节请参见本文前述记载, 在此不作赘述。
与之对应, 本发明实施例还提供了一种云服务器, 用于管理上述所有实 施例中的存储设备。 参见图 11 , 该云服务器可包括:
发送器 111 , 用于发送外部管理命令, 以便存储设备中的管理器对相应的 被管理器件, 执行与外部管理命令相对应的操作。
在本发明其他实施例中, 上述云服务器还可包括: 接收器 112, 用于接收 存储设备中的管理器返回的操作结果。
在本发明其他实施例中,仍请参见图 11 ,上述云服务器还可包括 CPU113 , 其至少可用于生成上述外部管理命令。
本说明书中各个实施例釆用递进的方式描述, 每个实施例重点说明的都 是与其他实施例的不同之处, 各个实施例之间相同相似部分互相参见即可。 结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、 处理器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存 储器(RAM ) 、 内存、 只读存储器(ROM ) 、 电可编程 ROM、 电可擦除可编 程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的任 意其它形式的存储介质中。
对所公开的实施例的上述说明, 使本领域专业技术人员能够实现或使用 本发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易 见的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下, 在其它实施例中实现。 因此, 本发明将不会被限制于本文所示的这些实施例, 而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
+

Claims

权 利 要 求
1、 一种硬盘,其特征在于,包括:管理器、 被管理器件和通信接口 ; 所述通信接口包括网络接口和管理接口 ,所述被管理器件至少包括系统 级芯片 SOC;
所述管理器用于通过管理接口接收外部管理命令,处理接收到的外部管 理命令,对相应的被管理器件,执行与所述外部管理命令相对应的操作,以 及通过所述管理接口返回操作结果;
所述网络接口用于接收外部读写操作命令,以便所述 SOC根据所述接收 到的外部读写操作命令进行相应的读写操作,并通过所述网络接口返回读写 操作结果。
2、 如权利要求 1所述的硬盘,其特征在于,所述被管理器件还包括盘片 马达和音圈马达 VCM。
3、 如权利要求 2所述的硬盘,其特征在于,还包括温度传感器、 振动传 感器、 湿度传感器、 海拔传感器、 电流传感器和电压传感器中的至少一种。
4、如权利要求 1至 3所述的硬盘,其特征在于,所述管理器为管理 CPU , 所述管理接口为内部整合电路 I2C总线接口。
5、 如权利要求 4所述的硬盘,其特征在于,所述网络接口和 I2C总线接 口占用同一串行连接小型计算机接口 SAS公座插头,所述 SAS公座插头的第 二电源管脚和第三电源管脚共同作为所述 I2C总线接口 ,所述 SAS公座插头 的第二、 第三、 第五和第六信号管脚共同作为所述网络接口 ,或者,所述 SAS 公座插头的第九、 第十、 第十二和第十三信号管脚共同作为所述网络接口。
6、 如权利要求 1至 3所述的硬盘,其特征在于,所述管理器为基板管理 控制器 BMC ,所述管理接口为智能平台管理接口 IPMI接口。
7、 如权利要求 6所述的硬盘,其特征在于,所述 IPMI接口和网络接口 均对应物理以太网接口。
8、 如权利要求 7所述的硬盘,其特征在于,所述硬盘还包括物理交换芯 片,所述物理交换芯片包括第一接口至第四接口 ,其中第一接口与所述 IPMI 接口对应的物理以太网接口相连接,第二接口与所述网络接口对应的物理以 太网接口相连接,第三接口与所述 BMC相连接,第四接口与所述 SOC相连
9、 一种管理方法,其特征在于,用于管理如权利要求 1-8所述硬盘中的 被管理器件,所述方法包括:
通过管理接口接收外部管理命令;
处理接收到的外部管理命令,对硬盘中的被管理器件,执行与所述外部 管理命令相对应的操作;
通过所述管理接口返回操作结果。
10、 如权利要求 9所述的方法,其特征在于:
所述管理命令包括上电命令、 下电命令、 第一诊断命令、 第二诊断命令、 第三诊断命令和复位命令中的至少一种;
当所述管理命令为上电命令时,所述执行与所述外部管理命令相对应的 操作包括:控制 SOC、 盘片马达和 VCM中的至少一个上电;
当所述管理命令为下电命令时,所述执行与所述外部管理命令相对应的 操作包括:控制 SOC、 盘片马达和 VCM中的至少一个下电;
当所述管理命令为第一诊断命令时,所述执行与所述外部管理命令相对 应的操作包括:指示 SOC提供自身的运行状态;
当所述管理命令为第二诊断命令时,所述执行与所述外部管理命令相对 应的操作包括:指示 SOC获取硬盘中其他器件的相关数据;
当所述管理命令为第三诊断命令时,所述执行与所述外部管理命令相对 应的操作包括:指示 SOC获取所述工作环境监控单元采集的工作环境监控数 据,所述工作环境监控数据包括温度数据、 振动数据、 湿度数据、 海拔数据、 电流数据和电压数据中的至少一种; 当所述管理命令为复位命令时,所述执行与所述外部管理命令相对应的 操作包括:控制 SOC进行复位。
PCT/CN2014/076718 2013-09-10 2014-05-04 硬盘和管理方法 WO2015035791A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP14844884.8A EP3035187B1 (en) 2013-09-10 2014-05-04 Hard disk and management method
JP2016541775A JP2016536735A (ja) 2013-09-10 2014-05-04 ハードディスクおよび管理方法
US15/065,691 US20160188216A1 (en) 2013-09-10 2016-03-09 Hard Disk and Management Method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310410760.5 2013-09-10
CN201310410760.5A CN103473018B (zh) 2013-09-10 2013-09-10 硬盘和管理方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/065,691 Continuation US20160188216A1 (en) 2013-09-10 2016-03-09 Hard Disk and Management Method

Publications (1)

Publication Number Publication Date
WO2015035791A1 true WO2015035791A1 (zh) 2015-03-19

Family

ID=49797896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076718 WO2015035791A1 (zh) 2013-09-10 2014-05-04 硬盘和管理方法

Country Status (5)

Country Link
US (1) US20160188216A1 (zh)
EP (1) EP3035187B1 (zh)
JP (1) JP2016536735A (zh)
CN (1) CN103473018B (zh)
WO (1) WO2015035791A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473018B (zh) * 2013-09-10 2016-09-14 华为技术有限公司 硬盘和管理方法
CN103927133B (zh) * 2014-04-02 2017-03-01 华为技术有限公司 硬盘装置及计算机系统
CN106776388A (zh) * 2016-11-24 2017-05-31 英业达科技有限公司 服务器系统与读取方法
TWI620067B (zh) * 2016-12-01 2018-04-01 英業達股份有限公司 伺服器系統與讀取方法
CN106874214B (zh) * 2017-02-15 2022-08-02 腾讯科技(深圳)有限公司 云硬盘资源的回收方法及相关装置
KR101866977B1 (ko) * 2017-12-27 2018-06-14 부산대학교 산학협력단 LoRa 통신 기반 대화형 원격장치 관리 시스템 및 방법
CN108228422A (zh) * 2017-12-29 2018-06-29 佛山市幻云科技有限公司 存储型服务器管理系统与方法
CN108287770B (zh) * 2018-03-01 2020-12-18 联想(北京)有限公司 电子设备、信息处理方法及可读存储介质
US10515042B1 (en) * 2018-06-20 2019-12-24 Quanta Computer Inc. DAS storage cable identification
CN114691586B (zh) * 2022-05-26 2022-10-04 阿里巴巴(中国)有限公司 服务器、传输数据的方法以及带外管理芯片
US11909575B1 (en) * 2023-06-15 2024-02-20 Microsoft Technology Licensing, Llc Cloud-connected baseboard management controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949386A (zh) * 2006-10-23 2007-04-18 深圳易拓科技有限公司 一种硬盘及其使用方法
CN202003677U (zh) * 2010-11-23 2011-10-05 爱国者电子科技有限公司 移动硬盘
CN103187085A (zh) * 2011-12-30 2013-07-03 鸿富锦精密工业(深圳)有限公司 硬盘
CN103473018A (zh) * 2013-09-10 2013-12-25 深圳市华为技术软件有限公司 硬盘和管理方法

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000028406A2 (en) * 1998-11-08 2000-05-18 Cirrus Logic, Inc. Mixed-signal single-chip integrated system electronics for magnetic hard disk drives
US7966389B2 (en) * 2003-04-22 2011-06-21 Hewlett-Packard Development Company, L.P. System and method for application programming interface for extended intelligent platform management
WO2006100760A1 (ja) * 2005-03-22 2006-09-28 Fujitsu Limited 記憶装置、記憶装置管理システムおよび記憶装置管理方法
US8028109B2 (en) * 2006-03-09 2011-09-27 Marvell World Trade Ltd. Hard disk drive integrated circuit with integrated gigabit ethernet interface module
US7911901B2 (en) * 2006-07-24 2011-03-22 Marvell World Trade Ltd. Magnetic and optical rotating storage systems with audio monitoring
US8281301B2 (en) * 2007-03-30 2012-10-02 Hitachi, Ltd. Method and apparatus for controlling storage provisioning
US7685329B1 (en) * 2007-08-10 2010-03-23 American Megatreads, Inc. Detecting the presence and activity of a mass storage device
US20090049236A1 (en) * 2007-08-15 2009-02-19 Hitachi, Ltd. System and method for data protection management for network storage
JP5156310B2 (ja) * 2007-09-19 2013-03-06 株式会社日立製作所 バックアップ構成の構築を支援する方法及び計算機
JP2009176033A (ja) * 2008-01-24 2009-08-06 Hitachi Ltd ストレージシステム及びその消費電力削減方法
JP5090941B2 (ja) * 2008-01-29 2012-12-05 株式会社日立製作所 ストレージサブシステム及びストレージシステム
JP2009265930A (ja) * 2008-04-24 2009-11-12 Hitachi Ltd ストレージサブシステムおよびストレージシステム
JP5317807B2 (ja) * 2009-04-13 2013-10-16 株式会社日立製作所 ファイル制御システムおよびそれに用いるファイル制御計算機
US8677167B2 (en) * 2010-10-18 2014-03-18 Hitachi, Ltd. Storage apparatus and power control method
EP2717533A4 (en) * 2011-07-19 2015-01-07 Huawei Tech Co Ltd METHOD, NETWORK CARD, AND HARD DISK CARD FOR ACCESSING HARD DISK
CN103729279A (zh) * 2012-10-11 2014-04-16 鸿富锦精密工业(深圳)有限公司 硬盘温度侦测系统
CN103793307A (zh) * 2012-10-31 2014-05-14 英业达科技有限公司 电子装置及其管理方法与机柜伺服系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949386A (zh) * 2006-10-23 2007-04-18 深圳易拓科技有限公司 一种硬盘及其使用方法
CN202003677U (zh) * 2010-11-23 2011-10-05 爱国者电子科技有限公司 移动硬盘
CN103187085A (zh) * 2011-12-30 2013-07-03 鸿富锦精密工业(深圳)有限公司 硬盘
CN103473018A (zh) * 2013-09-10 2013-12-25 深圳市华为技术软件有限公司 硬盘和管理方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3035187A4 *

Also Published As

Publication number Publication date
EP3035187A1 (en) 2016-06-22
CN103473018A (zh) 2013-12-25
EP3035187A4 (en) 2016-08-24
JP2016536735A (ja) 2016-11-24
EP3035187B1 (en) 2018-03-21
CN103473018B (zh) 2016-09-14
US20160188216A1 (en) 2016-06-30

Similar Documents

Publication Publication Date Title
WO2015035791A1 (zh) 硬盘和管理方法
JP6515132B2 (ja) シャーシ管理システム及びシャーシ管理方法
US10127170B2 (en) High density serial over LAN management system
US10810085B2 (en) Baseboard management controllers for server chassis
TWI531907B (zh) 基板管理系統架構
WO2016037501A1 (zh) 设备管理的方法和装置
TWI569134B (zh) 使用串列連接scsi擴充器用於儲存區域網路管理之儲存介質、系統及方法
US20080043769A1 (en) Clustering system and system management architecture thereof
TWI670604B (zh) 多主機拓撲系統之cpld快取應用
JP5903801B2 (ja) 通信装置およびid設定方法
US11086813B1 (en) Modular non-volatile memory express storage appliance and method therefor
US20170220506A1 (en) Modular Software Defined Storage Technology
JP2017531856A (ja) アクティブストレージユニットおよびアレイ
US20150032925A1 (en) System Management through Direct Communication between System Management Controllers
TW201222208A (en) Server integrate system
TWI468922B (zh) 電子裝置及其管理方法與機櫃伺服系統
US10140235B2 (en) Server
US8935555B2 (en) Wake-on-local-area-network operations in a modular chassis using a virtualized input-output-virtualization environment
JP6197195B2 (ja) 装置、プログラム、および方法
US10489328B2 (en) Universal sleds server architecture
US9423863B2 (en) Server system with power distribution board and storage control method thereof
TW201421467A (zh) 電腦系統
US20240028201A1 (en) Optimal memory tiering of large memory systems using a minimal number of processors
WO2023093210A1 (zh) 为存储器提供备电的方法和相关设备
TWI738825B (zh) 伺服器系統

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: 14844884

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016541775

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2014844884

Country of ref document: EP