CN107632923B - Cascaded hard disk and alarm method thereof - Google Patents

Cascaded hard disk and alarm method thereof Download PDF

Info

Publication number
CN107632923B
CN107632923B CN201710929088.9A CN201710929088A CN107632923B CN 107632923 B CN107632923 B CN 107632923B CN 201710929088 A CN201710929088 A CN 201710929088A CN 107632923 B CN107632923 B CN 107632923B
Authority
CN
China
Prior art keywords
hard disk
cascade
cascaded
connector
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710929088.9A
Other languages
Chinese (zh)
Other versions
CN107632923A (en
Inventor
尹泽生
陈明
季筱玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107632923A publication Critical patent/CN107632923A/en
Priority to PCT/CN2018/107585 priority Critical patent/WO2019062756A1/en
Application granted granted Critical
Publication of CN107632923B publication Critical patent/CN107632923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a cascade hard disk and an alarm method thereof, which relate to the field of communication. The cascade hard disk at least comprises: the device comprises a first connector, a hard disk main body, a second connector and a cascade chip, wherein the cascade chip is connected with the first connector, the hard disk main body and the second connector; the first connector is used for being electrically connected with a first hard disk or storage equipment; the second connector is used for electrically connecting with the second hard disk; and the cascade chip is used for determining to transmit the received data to the hard disk main body or the second connector.

Description

Cascaded hard disk and alarm method thereof
The present application claims priority of chinese patent application having application number 201610871156.6 and entitled "a tandem hard disk and its alarm method" filed by the chinese patent office at 30/09/2016, which is incorporated herein by reference in its entirety.
Technical Field
The invention relates to the field of communication, in particular to a cascade hard disk and an alarm method thereof.
Background
Hard disks are the main storage media of computers, and can be generally classified into Solid State Drives (SSDs), Hard Disk Drives (HDDs) and Hybrid Hard Disks (HHDs). Among them, the SSD is widely used in the fields of military, vehicle-mounted, communication, electric power, medical, aviation, etc., because of its advantages of fast read/write speed, excellent shock and fall resistance, low power consumption, etc.
Fig. 1 shows a schematic structural diagram of an SSD, wherein the SSD includes: the System comprises a serial connected Small Computer System Interface (SAS) connector, a control chip connected with the SAS connector, a backup capacitor connected with the control chip, a Memory connected with both the control chip and the backup capacitor, and at least one Flash Memory (Flash) connected with the control chip. However, the number of SSDs that can be accessed in one storage device is limited, and the capacity of one SSD is also limited, for example, tens of SSDs can be accessed in one storage device, and the capacity of one SSD is typically 500 Gigabytes (GB), 1 Terabyte (TB), or 2 TB. Thereby limiting the capacity of the storage device.
Disclosure of Invention
Embodiments of the present invention provide a cascaded hard disk and an alarm method thereof, where the cascaded hard disks can be connected to each other through a connector, so as to implement capacity expansion of a storage device without increasing a storage device interface.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a cascaded hard disk, where the cascaded hard disk at least includes: the first SAS connector, the cascading type hard disk main body, the second SAS connector and the cascading chip which is connected with the first SAS connector, the cascading type hard disk main body and the second SAS connector. The functions realized by each unit module provided by the embodiment of the invention are specifically as follows: the second SAS connector is used for being connected with the first SAS connector of other cascaded hard disks; and the cascade chip is used for controlling the cascade of the cascade hard disk and other cascade hard disks. Therefore, the cascade chip for controlling cascade connection of the cascade connection type hard disk and other cascade connection type hard disks is arranged in the cascade connection type hard disk, so that the cascade connection type hard disks can be connected through the first SAS connector and the second SAS connector, the capacity of the cascade connection type hard disk after cascade connection is greatly increased, and the capacity expansion of the communication equipment is realized under the condition that the communication equipment is not improved.
Further, the cascade hard disk further comprises: the first fixing device is arranged on the shell of the cascade type hard disk, and the second fixing device is arranged on the shell of the cascade type hard disk. The first fixing device is used for connecting with second fixing devices of other cascade hard disks and enhancing acting force between the cascade hard disks and the other cascade hard disks; and the second fixing device is used for connecting with the first fixing devices of other cascade hard disks and enhancing the acting force between the cascade hard disks and the other cascade hard disks. So that the two cascaded hard disks can be tightly connected.
Optionally, the first and second fastening means are a pair of adhesive structures cooperating, or a pair of magnetic structures cooperating, or a pair of fastener structures cooperating.
Optionally, the first fixing device is a card seat structure, and the second fixing device is a card slot structure, wherein the card seat structure can be clamped into the card slot structure.
Further, a spring can be arranged in the pair of clamping seat structures and the clamping groove structures, so that a user can conveniently detach the clamping seat structures.
Optionally, the cascaded hard disk main body specifically includes: the FLASH memory comprises a control chip connected with the cascade chip, a standby capacitor connected with the control chip, a memory connected with both the control chip and the standby capacitor, and at least one FLASH memory FLASH connected with the control chip.
In a second aspect, an embodiment of the present invention further provides an alarm method for a cascaded hard disk, which is applied to a communication device, where the communication device includes N cascaded hard disks having any one of the features of the first aspect, where N is an integer greater than or equal to 2, and the alarm method for a cascaded hard disk includes: firstly, communication equipment acquires the occupied capacity of a cascaded hard disk after cascading; and secondly, when the communication equipment determines that the occupied capacity is larger than or equal to a first preset threshold value and the number of the cascaded hard disks with faults in the cascaded hard disks is a second preset threshold value corresponding to the first preset threshold value one by one, the communication equipment sends an alarm. Therefore, the communication equipment sends out alarm information to remind a user to replace the failed cascade hard disk when the occupied capacity is determined to be larger than or equal to the first preset threshold and the number of the failed cascade hard disks in the cascade hard disks is determined to be the second preset threshold. Meanwhile, the first SAS connector of one cascading hard disk and the second SAS connector of the other cascading hard disk are connected through the first fixing device and the second fixing device between the cascading hard disks, so that a user can conveniently detach the cascading hard disks when replacing the cascading hard disks, the independent replacement of the cascading hard disks is realized, and the workload of maintenance is reduced.
Further, if the available capacity of each of the N cascaded hard disks is X, the first preset threshold is C X, and the second preset threshold is N-C, where C is an integer greater than or equal to 1 and less than N, the method for the communication device to determine that the occupied capacity is greater than or equal to the first preset threshold, and the number of the cascaded hard disks having a failure in the cascaded hard disks is the second preset threshold specifically includes: the communication equipment determines that the occupied capacity is larger than or equal to C X, and the number of the cascaded hard disks with faults in the cascaded hard disks is N-C.
Further, the method further comprises: and when the communication equipment confirms that the number of the cascaded hard disks with faults in the cascaded hard disks is N, the communication equipment sends an alarm. When all cascaded hard disks in the cascaded hard disks have faults, the communication equipment directly sends an alarm to remind a user of replacing the cascaded hard disks.
In a third aspect, an embodiment of the present invention further provides a communication device, which includes a memory, a processor, a communication interface, and a system bus. The memory, the processor and the communication interface are connected through a system bus, the memory is used for storing computer instructions, and the processor is used for executing the computer instructions stored by the memory, so that the communication device executes the alarm method of the cascaded hard disk of the second aspect.
In the present application, the names of the above-mentioned communication devices do not constitute a limitation on the devices or functional modules themselves, which may appear by other names in an actual implementation. Insofar as the functions of the respective devices or functional modules are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalents.
In addition, the embodiment of the invention also provides a software product, and the software product comprises a computer instruction for realizing the alarm method of the cascade hard disk. The computer instructions may be stored on a readable storage medium; from the readable storage medium, the processor can read and execute the computer instructions, so that the processor realizes the alarm method of the cascade hard disk.
For a detailed description of the third aspect and various implementations thereof, reference may be made to the detailed description of the second aspect and various implementations thereof; in addition, for the beneficial effects of the third aspect and various implementation manners thereof, reference may be made to beneficial effect analysis in the second aspect and various implementation manners thereof, and details are not described here.
In a fourth aspect, an embodiment of the present invention further provides a cascaded hard disk, where the cascaded hard disk at least includes: the device comprises a first connector, a hard disk main body, a second connector and a cascade chip, wherein the cascade chip is connected with the first connector, the hard disk main body and the second connector; the functions realized by each unit module provided by the embodiment of the invention are specifically as follows: the first connector is used for being electrically connected with a first hard disk or a storage device; the second connector is used for being electrically connected with the second hard disk; and the cascade chip is used for determining that the received data is transmitted to the hard disk main body or the second connector. Therefore, the cascade type hard disks are provided with the connectors cascaded with other cascade type hard disks, and data exchange among the cascade type hard disks is realized through the cascade chips arranged in the cascade type hard disks, so that the cascade type hard disks can be mutually connected to form a cascade type hard disk group, the capacity of the cascade type hard disk group is greatly increased compared with the capacity of a single hard disk, and the capacity expansion of the storage equipment is realized under the condition of not increasing the interfaces of the storage equipment.
Further, when the first connector is used for electrically connecting with the storage device, the cascaded hard disk further comprises: and the fixing device is arranged on the shell of the cascade type hard disk. The fixing device is used for being fixedly connected with the second hard disk and enhancing acting force between the cascade hard disk and the second cascade hard disk so that the two cascade hard disks can be tightly connected. The fixing device is arranged on one side, connected with the first hard disk, of the shell of the cascading type hard disk.
Further, when the first connector is used for electrically connecting with the first hard disk, the cascaded hard disk further comprises: a first fixing device and a second fixing device. The first fixing device is used for being fixedly connected with the first hard disk and enhancing acting force between the cascade hard disk and the first hard disk; and the second fixing device is fixedly connected with the second hard disk and used for enhancing the acting force between the cascade hard disk and the second hard disk. So that the two cascaded hard disks can be tightly connected. The first fixing device is arranged on one side, connected with the first hard disk, of the cascading type hard disk shell, and the second fixing device is arranged on one side, connected with the second hard disk, of the cascading type hard disk shell.
Further, the cascade hard disk further comprises: a first fixing member. The first fixing piece is used for being connected with the connecting structural member so as to fix the cascading type hard disk on the connecting structural member. The first fixing piece is arranged on one side, connected with the connecting structural component, of the cascaded hard disk shell.
Optionally, the hard disk main body specifically includes: the FLASH memory comprises a control chip connected with the cascade chip, a standby capacitor connected with the control chip, a memory connected with both the control chip and the standby capacitor, and at least one FLASH connected with the control chip.
Optionally, the first connector and the second connector are both SAS connectors, or Non-Volatile Memory (NVME) connectors, or Serial Advanced Technology Attachment (ATA) interface Specification (SATA) connectors, or Fibre Channel (FC) connectors.
It should be noted that the method for alarming a cascaded hard disk provided in the second aspect of the embodiment of the present invention can also be applied to a storage device including N cascaded hard disks having any one of the features of the fourth aspect. The first hard disk and the second hard disk in the fourth aspect may be both common hard disks or cascade hard disks, and are not limited specifically herein.
In a fifth aspect, an embodiment of the present invention further provides a cascaded hard disk module, where the cascaded hard disk module at least includes: the device comprises a cascade hard disk and a connecting structural member for fixing the cascade hard disk. Wherein, the cascade type hard disk includes at least: the device comprises a first connector, a hard disk main body, a second connector and a cascade chip connected with the first connector, the hard disk main body and the second connector; the first connector is used for being electrically connected with a first hard disk or a storage device, the second connector is used for being electrically connected with a second hard disk, and the cascade chip is used for determining that received data are transmitted to the hard disk main body or the second connector. The connection structure member includes at least: the connecting device comprises a connecting body, a first connecting piece and a second connecting piece, wherein the first connecting piece and the second connecting piece are arranged on the connecting body; the first connecting piece is used for fixedly connecting the cascading type hard disk module to a first hard disk or storage equipment; and the second connecting piece is used for fixedly connecting the cascading type hard disk module to the second hard disk. So that the two hard disks in the cascade can be tightly connected.
Therefore, the cascade hard disk modules are connected with each other to form the cascade hard disk group by arranging the connector cascaded with other cascade hard disks in the cascade hard disks included in the cascade hard disk modules and realizing data exchange among the cascade hard disks through the cascade chips arranged in the cascade hard disks. And, through set up the link on connecting the structural component, make the close connection between two cascade type hard disk modules of cascade connection. The capacity of the cascade hard disk group is greatly increased compared with the capacity of a single hard disk, and the capacity expansion of the storage equipment is realized under the condition that the interface of the storage equipment is not increased.
Further, the cascade hard disk further comprises: a first fixing member; the connection structure member further includes: a second fixing member provided on the connecting body; the first fixing piece is fixedly connected with the second fixing piece so as to fix the cascading type hard disk on the connecting structural piece.
The first fixing piece is arranged on one side of the cascading type hard disk shell connected with the connecting structural member, and the second fixing piece is arranged on one side of the connecting main body connected with the cascading type hard disk.
Further, the connection structure member further includes: the second fixing piece is arranged on the guide piece, and the cascade type hard disk can slide along the guide piece under the pushing of external force, so that the first fixing piece and the second fixing piece are fixedly connected.
Optionally, the first fixing member and the second fixing member are a pair of adhesive structures used together, or a pair of magnetic structures used together, or a pair of fastener structures used together.
Optionally, the first fixing piece is of a clamping groove structure, and the second fixing piece is of a clamping hook structure; or, the first fixing piece is of a clamping hook structure, and the second fixing piece is of a clamping groove structure. Wherein, the trip structure can block in the draw-in groove structure. Optionally, the hook structure may further be provided with a reed, so as to facilitate assembly of the cascaded hard disk and the connection structural member.
Optionally, the hard disk main body specifically includes: the FLASH memory comprises a control chip connected with the cascade chip, a standby capacitor connected with the control chip, a memory connected with both the control chip and the standby capacitor, and at least one FLASH connected with the control chip.
Optionally, the first connector and the second connector are both SAS connectors, or NVME connectors, or SATA connectors, or FC connectors.
In a sixth aspect, an embodiment of the present invention further provides a cascaded hard disk group, where the cascaded hard disk group at least includes: the system comprises a first cascade hard disk and a second cascade hard disk; the first cascade hard disk and the second cascade hard disk both comprise: the device comprises a first connector, a hard disk main body, a second connector and a cascade chip, wherein the cascade chip is connected with the first connector, the hard disk main body and the second connector;
the first connector of the first cascade hard disk is used for being electrically connected with other cascade hard disks; the second connector of the first cascade hard disk is used for being electrically connected with the first connector of the second cascade hard disk; the cascade chip of the first cascade hard disk is used for determining that the received data is transmitted to a hard disk main body of the first cascade hard disk or a second connector of the first cascade hard disk;
the first connector of the second cascade hard disk is used for being electrically connected with the second connector of the first cascade hard disk; the second connector of the second cascade hard disk is used for being electrically connected with other cascade hard disks; and the cascade chip of the second cascade hard disk is used for determining that the received data is transmitted to the hard disk main body of the second cascade hard disk or the second connector of the second cascade hard disk.
Therefore, the capacity of the cascade hard disk group formed by cascading at least two cascade hard disks is greatly increased compared with the capacity of a single hard disk, and the capacity expansion of the storage device is realized under the condition that the interface of the storage device is not increased.
Further, the first cascade hard disk and the second cascade hard disk further include: a first and a second fixing device;
the first fixing device of the first cascade hard disk is used for fixedly connecting with other cascade hard disks; and the second fixing device of the first cascade hard disk is used for being fixedly connected with the first fixing device of the second cascade hard disk.
The first fixing device of the second cascade hard disk is used for being fixedly connected with the first fixing device of the first cascade hard disk; and the second fixing device of the second cascade hard disk is used for fixedly connecting with other cascade hard disks.
Optionally, the second fixing device of the first cascade hard disk and the first fixing device of the second cascade hard disk are a pair of adhesive structures used in cooperation, or a pair of magnetic structures used in cooperation, or a pair of fastener structures used in cooperation.
Optionally, the second fixing device of the first cascade hard disk is in a card seat structure, and the first fixing device of the second cascade hard disk is in a card slot structure; or the second fixing device of the first cascade hard disk is of a clamping groove structure, and the first fixing device of the second cascade hard disk is of a clamping seat structure. Wherein, the cassette structure can be blocked into the card slot structure. Optionally, a spring may be further disposed in the slot structure, so as to facilitate detachment by a user.
Further, the hard disk main body may specifically include: the FLASH memory comprises a control chip connected with the cascade chip, a standby capacitor connected with the control chip, a memory connected with both the control chip and the standby capacitor, and at least one FLASH connected with the control chip.
Further, the first connector and the second connector are both SAS connectors or NVME connectors; alternatively, a SATA connector; alternatively, an FC connector.
In a seventh aspect, an embodiment of the present invention further provides a cascaded hard disk group, where the cascaded hard disk group at least includes: the system comprises a first cascade hard disk module and a second cascade hard disk module; wherein, first cascade type hard disk module and second cascade type hard disk module all include: the system comprises a cascade hard disk and a connecting structure for fixing the cascade hard disk; the cascade hard disk at least comprises: the device comprises a first connector, a hard disk main body, a second connector and a cascade chip connected with the first connector, the hard disk main body and the second connector; the connection structure member includes at least: the connecting device comprises a connecting body, a first connecting piece and a second connecting piece, wherein the first connecting piece and the second connecting piece are arranged on the connecting body;
the first connector of the first cascade hard disk module is used for being electrically connected with other cascade hard disk modules, the second connector of the first cascade hard disk module is used for being electrically connected with the first connector of the second cascade hard disk module, and the cascade chip of the first cascade hard disk module is used for determining that the received data is transmitted to the hard disk main body of the first cascade hard disk module or the second connector of the first cascade hard disk module; the first connecting piece of the first cascade hard disk module is used for fixedly connecting the first cascade hard disk module to other cascade hard disk modules; the second connecting piece of the first cascade hard disk module is used for being fixedly connected with the first connecting piece of the second cascade hard disk module;
the first connector of the second cascade hard disk module is used for being electrically connected with the second connector of the first cascade hard disk module, the second connector of the second cascade hard disk module is used for being electrically connected with other cascade hard disk modules, and the cascade chip of the second cascade hard disk module is used for determining that the received data is transmitted to the hard disk main body of the second cascade hard disk module or the second connector of the second cascade hard disk module; the first connecting piece of the second cascade hard disk module is used for being fixedly connected with the second connecting piece of the first cascade hard disk module; and the second connecting piece of the second cascade hard disk module is used for connecting the first cascade hard disk module to other cascade hard disk modules.
Further, the cascade hard disk of the first cascade hard disk module and the second cascade hard disk module further comprises: a first fixing member; the connection structure member further includes: a second fixing member provided on the connecting body; the first fixing piece is fixedly connected with the second fixing piece so as to fix the cascading type hard disk on the connecting structural piece.
Further, the connecting structure of the first cascade hard disk module and the second cascade hard disk module further comprises: the second fixing piece is arranged on the guide piece, and the cascade type hard disk can slide along the guide piece under the pushing of external force, so that the first fixing piece and the second fixing piece are fixedly connected.
Optionally, the first connecting piece of the second cascade hard disk module and the second connecting piece of the first cascade hard disk module are a pair of adhesive structures used in cooperation, or a pair of magnetic structures used in cooperation, or a pair of fastener structures used in cooperation.
Optionally, the first connecting piece of the second cascade hard disk module is of a clamping groove structure, and the second connecting piece of the first cascade hard disk module is of a clamping hook structure; or the first connecting piece of the second cascade hard disk module is of a clamping hook structure, and the second connecting piece of the first cascade hard disk module is of a clamping groove structure; wherein, the trip structure can block in the draw-in groove structure. Optionally, a spring plate may be further disposed in the hook structure, so as to facilitate detachment by a user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a schematic structural diagram of a conventional SSD according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a RAID according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cascaded hard disk 20 according to an embodiment of the present invention;
fig. 4 is a first schematic structural diagram of a cascaded hard disk according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a cascaded hard disk according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a cascade of 3 cascaded hard disks according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a cascade hard disk according to an embodiment of the present invention;
fig. 8 is a first schematic diagram illustrating cascade connection of 2 cascaded hard disks according to an embodiment of the present invention;
fig. 9 is a second schematic diagram of 2 cascaded hard disks according to an embodiment of the present invention;
fig. 10 is a schematic composition diagram of a cascaded hard disk module 4 according to an embodiment of the present invention;
fig. 11 is a schematic composition diagram of another cascaded hard disk module 4 according to an embodiment of the present invention;
fig. 12 is a schematic composition diagram of another cascaded hard disk module 4 according to an embodiment of the present invention;
fig. 13 is a schematic composition diagram of another cascaded hard disk module 4 according to an embodiment of the present invention;
fig. 14 is a schematic diagram of a cascade of hard disks according to an embodiment of the present invention;
fig. 15 is a schematic diagram of another cascade hard disk according to an embodiment of the present invention;
fig. 16 is a first flowchart illustrating an alarm method of a cascaded hard disk according to an embodiment of the present invention;
fig. 17 is a second flowchart illustrating an alarm method for a cascaded hard disk according to an embodiment of the present invention;
fig. 18 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, interfaces, techniques, etc., in order to provide a thorough understanding of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Embodiments of the invention may be implemented as a computer-implemented process (method), a computing system, or as an article of manufacture, such as a computer program product or computer readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for causing the computer or computing system to perform an example process. The computer readable storage medium is a non-transitory computer readable memory device. For example, the computer-readable storage medium may be implemented via one or more of a volatile computer memory, a non-volatile memory, a hard drive, a flash drive, a floppy or compact disk, and similar media.
In addition, the term "and/or" in the embodiment of the present application is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Furthermore, the terms "first" and "second", etc. in the description and claims of the present invention and the accompanying drawings are used for distinguishing different objects and are not intended to limit a specific order. The terms "upper", "lower", "left" and "right" described in the embodiments of the present invention are merely used to explain the present invention by referring to the drawings, and are not used as limiting terms.
The technical scheme of the invention can be applied to various storage devices using hard disks, and is particularly suitable for occasions using SSD.
The SSD is also called an electronic hard disk or a solid state electronic disk, and is a hard disk composed of a control unit and a solid state storage unit (Dynamic Random Access Memory (DRAM) or FLASH chip). The SSD is the same as a general hard disk in terms of interface specification and definition, function, and usage method, and is also the same as a general hard disk in terms of product shape and size. Since the SSD has no rotating medium of a general hard disk, shock resistance is excellent. Compared with a common hard disk, the SSD has the following advantages: 1. the starting is fast, and the process of accelerating rotation of the motor is avoided; 2. the magnetic head is not used, the random reading is fast, and the reading delay is extremely small; 3. the relatively fixed reading time, because the addressing time is irrelevant to the data storage position, the reading time is not influenced by the disk fragments; 4. the writing speed is extremely high; 5. no noise exists; 6. no mechanical moving part exists in the device, so that mechanical failure can not occur, and the device is not afraid of collision, impact and vibration; 7. the operating temperature range is much larger, i.e. typical hard disk drives can only operate in the 5 to 55 degree celsius range, while most solid state drives can operate in the-10 to 70 degree celsius range, and some industry grade SSDs can also operate in the-40 to 85 degree celsius range, or even larger. Certainly, compared with a common hard disk, the SSD has the disadvantages of high cost, low capacity, limited write lifetime, and the like.
Taking a computer as an example, a conventional computer can assemble and insert a plurality of hard Disks into a hard disk array frame to form a Redundant Array of Inexpensive Disks (RAID), and a schematic structural diagram of RAID is shown in fig. 2. It can be seen that the number of hard disks that can be inserted into a computer is limited, and the capacity of an SSD is also limited, thereby limiting the capacity of the computer. The embodiment of the invention provides a cascade hard disk which can be connected with each other through a connector, so that the capacity expansion of a storage device is realized under the condition that the interface of the storage device is not increased.
The embodiment of the present invention provides a cascaded hard disk 20, a schematic structural diagram of the cascaded hard disk 20 is shown in fig. 3, where the cascaded hard disk 20 at least includes: the computer comprises a first connector 200, a hard disk main body 203, a second connector 201, and a cascade chip 202 connected with the first connector 200, the hard disk main body 203 and the second connector 201.
The first connector 200 is used for electrically connecting with a first hard disk or a storage device; a second connector 201 for electrically connecting with a second hard disk; and the cascade chip 202 is used for determining that the received data is transmitted to the hard disk main body 203 or the second connector 201. The first hard disk and the second hard disk may be both common hard disks and cascade hard disks, and are not limited herein.
Therefore, the cascade type hard disks are provided with the connectors cascaded with other cascade type hard disks, and data exchange among the cascade type hard disks is realized through the cascade chips arranged in the cascade type hard disks, so that the cascade type hard disks can be mutually connected to form a cascade type hard disk group, the capacity of the cascade type hard disk group is greatly increased compared with the capacity of a single hard disk, and the capacity expansion of the storage equipment is realized under the condition of not increasing the interfaces of the storage equipment.
In a possible implementation manner of the embodiment of the present invention, the first connector 200 and the second connector 201 are both SAS connectors. Accordingly, the cascade chip 202 may be an SAS cascade chip. In another possible implementation manner of the embodiment of the present invention, the first connector 200 and the second connector 201 are both NVME connectors, or SATA connectors, or FC connectors. Correspondingly, the cascade chip 202 may be an NVME cascade chip, an SATA cascade chip, or an FC cascade chip.
The SAS cascade chip, NVME cascade chip, SATA cascade chip, and FC cascade chip refer to cascade chips that use SAS protocol, NVME protocol, SATA protocol, and FC protocol, respectively, and their functions are the same as those of the cascade chip 202, except that the protocols used to implement their functions are different.
Further, in order to enable the two cascaded hard disks to be tightly connected, the embodiment of the present invention provides two connection modes:
the first method is as follows: the fixing device is arranged on the shell of the cascading type hard disk, so that the two cascading type hard disks can be tightly connected.
The second method comprises the following steps: the method comprises the steps of fixing a cascading type hard disk on a connecting structural member to form a cascading type hard disk module, and enabling the two cascading type hard disks to be tightly connected through a fixing member arranged on the connecting structural member.
For convenience of understanding, as shown in fig. 4, in an embodiment of the present invention, the first connector 200 and the second connector 201 are both SAS connectors, and a close connection effect is achieved by using a first connection manner of two cascaded hard disks, and the cascaded hard disks provided in the embodiment of the present invention are specifically described by taking the first hard disk and the second hard disk as examples.
An embodiment of the present invention provides a cascaded hard disk 10, a schematic structural diagram of the cascaded hard disk 10 is shown in fig. 4, where the cascaded hard disk 10 at least includes: the device comprises a first SAS connector 100, a hard disk main body 103, a second SAS connector 101 and a cascade chip 102 connected with the first SAS connector 100, the hard disk main body 103 and the second SAS connector 101. For ease of implementation, typically the first SAS connector 100 may be a male connector and the second SAS connector 101 may be a female connector; alternatively, the first SAS connector 100 may be a female connector and the second SAS connector 101 may be a male connector, which is not particularly limited in the present invention.
It should be noted that the male and female connectors are generally referred to as sets of connectors or two ends of an extension cord. The male end is typically a pin-type end and the female end is typically a socket-type end.
Further, as shown in fig. 5, the hard disk main body 103 (as indicated by a dashed line box in fig. 5) specifically includes: the FLASH memory comprises a control chip 1030 connected with the cascade chip 102, a standby capacitor 1031 connected with the control chip 1030, a memory 1032 connected with both the control chip 1030 and the standby capacitor 1031, and at least one FLASH memory FLASH1033 connected with the control chip 1030.
For convenience of description, the upper cascaded hard disk in fig. 6 is referred to as a cascaded hard disk a, the middle cascaded hard disk in fig. 6 is referred to as a cascaded hard disk B, the lower cascaded hard disk in fig. 6 is referred to as a cascaded hard disk C, and the cascaded hard disk a, the cascaded hard disk B, and the cascaded hard disk C are cascaded and referred to as a cascaded hard disk group. It can be seen that the first SAS connector 100 of the cascaded hard disk a is connected to a corresponding interface in the storage device, the second SAS connector 101 of the cascaded hard disk a is connected to the first SAS connector 100 of the cascaded hard disk B, and the second SAS connector 101 of the cascaded hard disk B is connected to the first SAS connector 100 of the cascaded hard disk C. Meanwhile, the cascade chips 102 in the cascade hard disk a, the cascade hard disk B and the cascade hard disk C can cooperatively control the storage of data issued by the storage device. For example, for data sent by the storage device and needing to be stored in the cascaded hard disk a, the storage device transmits the data to the cascaded chip 102 of the cascaded hard disk a through the first SAS connector 100 of the cascaded hard disk a, and when it is determined that the received data needs to be transmitted to the hard disk main body 103 of the cascaded hard disk a, the cascaded chip 102 of the cascaded hard disk a transmits the received data to the hard disk main body 103 of the cascaded hard disk a for storage. For data which is sent by the storage device and needs to be stored in the cascade type hard disk B, the storage device transmits the data to the cascade chip 102 of the cascade type hard disk a through the first SAS connector 100 of the cascade type hard disk a, and when it is determined that the received data needs to be transmitted to the second SAS connector 101 of the cascade type hard disk a, the cascade chip 102 of the cascade type hard disk a transmits the received data to the second SAS connector 101 of the cascade type hard disk a, so as to transmit the data to the cascade type hard disk B. After receiving the data, the first SAS connector 100 of the cascade hard disk B transmits the data to the cascade chip 102 of the cascade hard disk B, and when determining that the received data needs to be transmitted to the hard disk main body 103 of the cascade hard disk B, the cascade chip 102 of the cascade hard disk B transmits the received data to the hard disk main body 103 of the cascade hard disk B for storage. For data required to be stored in the cascaded hard disk C, the storage process is similar to the above process, and is not described herein again. After the cascade hard disk A, the cascade hard disk B and the cascade hard disk C are cascaded, the capacity of the cascade hard disk group is the sum of the capacity of the cascade hard disk A, the capacity of the cascade hard disk B and the capacity of the cascade hard disk C, and the capacity expansion of the storage device is realized under the condition that the interface of the storage device is not increased.
Optionally, in order to enable the two cascaded hard disks 10 to be tightly connected, as shown in fig. 7, the cascaded hard disk 10 further includes: a first fixing device 104 provided on the casing of the tandem hard disk 10, and a second fixing device 105 provided on the casing of the tandem hard disk 10. The first fixing device is arranged on one side, connected with the first cascade hard disk, of the cascade hard disk shell, and the second fixing device is arranged on one side, connected with the second cascade hard disk, of the cascade hard disk shell.
The first fixing device 104 is used for fixedly connecting with the first cascade hard disk and enhancing the acting force between the cascade hard disk 10 and the first cascade hard disk; and the second fixing device 105 is used for being fixedly connected with the second-stage hard disk and enhancing the acting force between the cascade hard disk 10 and the second-stage hard disk.
For convenience of description, the upper cascaded hard disk in fig. 8 is referred to as a cascaded hard disk a, the lower cascaded hard disk in fig. 8 is referred to as a cascaded hard disk B, and the cascaded hard disk a and the cascaded hard disk B are referred to as a cascaded hard disk group after being cascaded. It can be seen that the second fixing device 105 (card slot structure) of the cascaded hard disk a is connected to the first fixing device 104 (card slot structure) of the cascaded hard disk B, and the card slot structure of the cascaded hard disk B is clamped into the card slot structure of the cascaded hard disk a (as shown in the partially enlarged portion in fig. 8).
Specifically, the first fixing device 104 of the cascaded hard disk B and the second fixing device 105 of the cascaded hard disk a are a pair of adhesive structures used in cooperation, or a pair of magnetic structures used in cooperation, or a pair of fastener structures used in cooperation.
Further, if the first fixing device 104 of the cascaded hard disk B and the second fixing device 105 of the cascaded hard disk a are a pair of fastener structures, the first fixing device 104 of the cascaded hard disk B may be a card seat structure, and correspondingly, the second fixing device 105 of the cascaded hard disk a may be a card slot structure, or the first fixing device 104 of the cascaded hard disk B may be a card slot structure, and correspondingly, the second fixing device 105 of the cascaded hard disk a may be a card hook structure. Wherein, the cassette structure can be blocked into the card slot structure.
Furthermore, a spring can be arranged in the clamping groove structure, on one hand, the connection of the two cascaded cascading hard disks can be more stable, and on the other hand, the elastic force of the spring is utilized, so that the user can conveniently detach the hard disks.
It should be added that, the first fixing device 104 and the second fixing device 105 according to the embodiment of the present invention not only can enhance the acting force between the cascaded hard disk 10 and other cascaded hard disks, but also can be easily detached when the cascaded hard disk 10 is replaced, so that the cascaded hard disk 10 is replaced separately. Taking the first fixing device 104 of the cascaded hard disk B as the card socket structure and the second fixing device 105 of the cascaded hard disk a as the card slot structure as an example, as shown in fig. 9, when the cascaded hard disk B is replaced, force is applied in a direction opposite to the direction in which the card socket structure is clamped into the card slot structure (as indicated by an arrow in fig. 9), so that the cascaded hard disk a and the cascaded hard disk B can be separated, and thus the cascaded hard disk can be replaced independently.
Based on the description of the above embodiment, the cascade hard disks are provided with the connectors for cascading with other cascade hard disks, and the cascade chips provided in the cascade hard disks are used to exchange data between the cascade hard disks, so that the cascade hard disks can be connected with each other to form a cascade hard disk group, and the capacity of the cascade hard disk group is greatly increased compared with the capacity of a single hard disk, thereby realizing capacity expansion of the storage device without increasing the interface of the storage device.
In another embodiment of the present invention, the first connector 200 and the second connector 201 are SAS connectors, and the effect of tight connection between two cascaded hard disks in the second connection mode is taken as an example, so as to specifically describe the cascaded hard disks provided in the embodiment of the present invention. As shown in fig. 10, an embodiment of the present invention provides a cascaded hard disk 40 and a cascaded hard disk module 4 including the cascaded hard disk 40, where the cascaded hard disk module 4 further includes a connection structure 41 for fixing the cascaded hard disk 40.
The cascade hard disk 40 at least includes: a first SAS connector 400, a hard disk body 403, a second SAS connector 401, and a cascade chip 402 connected to the first SAS connector 400, the hard disk body 403, and the second SAS connector 401. The structure of the cascaded hard disk 40 is the same as the hard disk structure shown in fig. 3, and is not described herein again.
As shown in fig. 12, the connection structure 41 in the tandem hard disk module 4 includes at least: a connecting body 411, and a first connecting member 412 and a second connecting member 413 provided on the connecting body 411; a first connector 412, configured to fixedly connect the cascaded hard disk module 4 to a first hard disk or a storage device; and a second connection 413 for fixedly connecting the cascaded hard disk module 4 to a second hard disk.
In the tandem hard disk module 4 provided in the embodiment of the present invention, the tandem hard disk 40 included in the tandem hard disk module 4 is provided with a connector that is in cascade connection with other tandem hard disks, and data exchange between the tandem hard disks is realized through the cascade chip 402 provided in the tandem hard disk 40, so that the tandem hard disk modules 4 can be connected to each other to form a tandem hard disk group. And, by providing the connection member on the connection structural member 41, the two cascaded hard disk modules can be tightly connected. The capacity of the cascade hard disk group is greatly increased compared with the capacity of a single hard disk, and the capacity expansion of the storage equipment is realized under the condition that the interface of the storage equipment is not increased.
Further, as shown in fig. 11, the hard disk main body 403 (a portion indicated by a dotted line in fig. 11) specifically includes: the FLASH memory comprises a control chip 4030 connected with the cascade chip 402, a backup capacitor 4031 connected with the control chip 4030, a memory 4032 connected with both the control chip 4030 and the backup capacitor 4031, and at least one FLASH 4033 connected with the control chip 4030.
It should be noted that, in the embodiment of the present invention, the connecting structural member 41 mainly functions to fix the cascaded hard disk 40 and to realize tight connection between the cascaded hard disk modules, that is, structural members capable of functioning as a fixing function and a function of fixing and connecting the cascaded hard disk all belong to the connecting structural member 41 in the embodiment of the present invention, and a specific structure of the connecting structural member 41 is not limited in this embodiment.
For the convenience of understanding, the embodiment of the present invention describes the connection structural member 41 and the fixed connection of the connection structural member 41 and the tandem type hard disk 40 by using a structural example. As shown in fig. 12, the cascade hard disk 40 further includes: a first mount 404 provided on the casing of the tandem hard disk 40. The connecting structure member 41 further includes: and a second fixing member 414 disposed on the connecting body 411, wherein the first fixing member 404 is fixedly connected with the second fixing member 414 to fix the hard disk 40 on the connecting structural member 41, so that the hard disk 40 is fastened and fixed with the connecting structural member 41. The first fixing member 404 is disposed on a side of the casing of the tandem hard disk 40 connected to the connecting structure 41, and the second fixing member 414 is disposed on a side of the connecting body 411 connected to the tandem hard disk 40.
Specifically, first mount 404 and second mount 414 are a pair of adhesive structures that cooperate, or a pair of magnetic structures that cooperate, or a pair of fastener structures that cooperate.
Further, if the first fixing element 404 and the second fixing element 414 are a pair of fastener structures, the first fixing element 404 may be a slot structure, and correspondingly, the second fixing element 414 may be a hook structure, or the first fixing element 404 may be a hook structure, and correspondingly, the second fixing element 414 may be a slot structure. Wherein, the trip structure can block in the draw-in groove structure. Optionally, a spring may be further disposed in the hook structure to facilitate assembly of the cascaded hard disk 40 and the connection structural member 41.
Further, as shown in fig. 12, the connection structure member 41 may further include: the guide 415 is disposed on the connecting body 411, the second fixing member 414 is disposed on the guide 415, and the tandem hard disk 40 can slide along the guide 415 under the pushing of an external force, so that the first fixing member 404 and the second fixing member 414 are fixedly connected. Illustratively, as shown in fig. 12, the guide 415 is a guide slot.
For example, as shown in fig. 12, the tandem hard disk 40 may be pushed by an external force to slide inside the connecting body 411 of the connecting joint member 41 through the guide 415 (guide groove), so that the second fixing member 414 (hook structure) with the spring and the first fixing member 404 (slot structure) are fastened and fixed, forming the tandem hard disk module 4 shown in fig. 13.
In the embodiment of the present invention, 2 cascaded hard disk modules are cascaded as an example, a connection schematic diagram of the 2 cascaded hard disk modules is shown in fig. 14, for convenience of description, a left cascaded hard disk module in fig. 14 is referred to as a cascaded hard disk module a, a right cascaded hard disk module in fig. 14 is referred to as a cascaded hard disk module B, and the cascaded hard disk module a and the cascaded hard disk module B are cascaded and then referred to as a cascaded hard disk group. It can be seen that the second connecting member 413 of the connecting structure included in the cascaded hard disk module a is connected to the first connecting member 412 of the connecting structure included in the cascaded hard disk module B, for example, the hook structure of the connecting structure included in the cascaded hard disk module a is clamped into the slot structure of the connecting structure included in the cascaded hard disk module B. It should be added that, in the embodiment of the present invention, in order to facilitate replacement of a single tandem hard disk module, as shown in fig. 14, the handle bar 43 may be assembled separately. After the connection is completed, a cascade hard disk group as shown in fig. 15 is formed.
Illustratively, the first connector 412 of the cascaded hard disk module B and the second connector 413 of the cascaded hard disk module a are a pair of adhesive structures used cooperatively, or a pair of magnetic structures used cooperatively, or a pair of fastener structures used cooperatively.
Further, if the first connection element 412 of the cascaded hard disk module B and the second connection element 413 of the cascaded hard disk module a are of a pair of fastener structures, the first connection element 412 of the cascaded hard disk module B may be of a slot structure, and the second connection element 413 of the cascaded hard disk module a may be of a hook structure, or the first connection element 412 of the cascaded hard disk module B may be of a hook structure, and the second connection element 413 of the cascaded hard disk module a may be of a slot structure; wherein, the trip structure can block in the draw-in groove structure.
Furthermore, a reed can be arranged in the clamping groove structure, and the spring force of the reed is utilized, so that the clamping groove structure is convenient for a user to detach.
Another embodiment of the present invention provides an alarm method for a cascaded hard disk, where the method is applied to a storage device, where the storage device includes N cascaded hard disks having any one of the above features, or the storage device includes N cascaded hard disk modules having any one of the above features, where N is an integer greater than or equal to 2, as shown in fig. 16, and the method includes S101 to S104:
s101, the storage device acquires occupied capacity of the cascade hard disk group.
It should be noted that the cascaded hard disk group refers to a hard disk group formed by cascading N cascaded hard disks or cascaded hard disk modules. The occupied capacity mentioned in the embodiment of the present invention refers to the sum of occupied capacities of the individual cascaded hard disks in the cascaded hard disk group. For example, if after 3 cascaded hard disks (namely, a cascaded hard disk a, a cascaded hard disk B, and a cascaded hard disk C) are cascaded, the occupied capacity of the cascaded hard disk a is 20GB, the occupied capacity of the cascaded hard disk B is 50GB, and the occupied capacity of the cascaded hard disk C is 0, then the occupied capacity of the cascaded hard disk group is 70 GB.
S102, the storage device judges whether the occupied capacity is larger than or equal to a first preset threshold value.
S103, if the occupied capacity is larger than or equal to a first preset threshold, the storage device judges whether the number of the failed cascade hard disks in the cascade hard disk group is a second preset threshold.
And S104, if the number of the failed cascaded hard disks in the cascaded hard disk group is a second preset threshold, the storage device sends an alarm, wherein the first preset threshold corresponds to the second preset threshold one to one.
Next, step S102, step S103, and step S104 will be described in detail:
when the occupied capacity of the cascade hard disk group is larger than or equal to a first preset threshold and the number of the cascade hard disks with faults in the cascade hard disk group is a second preset threshold, the cascade hard disk group cannot meet the requirement of current work at the moment, and therefore the storage device can send an alarm to remind a user of replacing the cascade hard disks with faults.
Meanwhile, the alarm mentioned in the embodiment of the present invention may be alarm information that can attract the attention of the user, such as sound, light, vibration, and the like, or alarm information that is sent to the electronic device used by the user in the form of a mail, a short message, a popup, and the like, and the present invention is not particularly limited to this.
It should be noted that more than one set of preset threshold values (i.e. including a first preset threshold value and a second preset threshold value corresponding to the first preset threshold value) can be set in the storage device. In a possible implementation manner, a corresponding list of the first preset threshold and the second preset threshold can be stored in the storage device, as shown in table 1:
TABLE 1
First preset threshold Second preset threshold
100 5
200 4
…… ……
500 1
And the value of the second preset threshold is a positive integer less than the cascade number N of the cascade hard disks.
It should be understood that the above-mentioned scheme of storing a corresponding list of the first preset threshold and the second preset threshold in the storage device is only an implementable way of storing a corresponding relationship between the first preset threshold and the second preset threshold, and other schemes capable of embodying the corresponding relationship between the first preset threshold and the second preset threshold also belong to the protection scope of the embodiment of the present invention, and the present invention is not limited to this specifically.
For example, if the available capacity of each of the N cascaded hard disks is X, the first preset threshold is C × X, and the second preset threshold is N-C, where C is an integer greater than or equal to 1 and less than N, as shown in fig. 17, steps S102 to S104 may include S102a to S104 a:
s102a, the storage device determines whether the occupied capacity is greater than or equal to C X.
And S103a, if the occupied capacity is larger than or equal to C X, the storage device judges whether the number of the failed cascade hard disks in the cascade hard disk group is N-C.
S104a, if the number of the failed cascade hard disks in the cascade hard disk group is N-C, the storage device sends an alarm.
For example, taking the example that the number of the cascaded hard disks included in the cascaded hard disk group is 3, and the available capacity of each cascaded hard disk is 100GB, C in the method for alarming the cascaded hard disks provided in the embodiment of the present invention may be 1 or 2, that is, the method for alarming the cascaded hard disks may include two sets of first preset thresholds and second preset thresholds: the first preset threshold value in the first group is 100GB, and the second preset threshold value is 2; the first preset threshold in the second group is 200GB, and the second preset threshold is 1.
Firstly, the storage device judges whether the occupied capacity is greater than or equal to 100GB, and if the occupied capacity is less than 100GB, the storage device does not alarm; and if the occupied capacity is larger than or equal to 100GB, the storage equipment judges whether the number of the failed cascade hard disks in the cascade hard disk group is 2. If the storage device judges that the number of the failed cascaded hard disks in the cascaded hard disk group is 1 or 0, the storage device does not give an alarm; if the storage device determines that the number of the failed cascaded hard disks in the cascaded hard disk group is 2, it indicates that the cascaded hard disk group cannot meet the requirement of the current work, so the storage device sends an alarm.
And then, the storage device judges whether the occupied capacity is greater than or equal to 200GB, and if the occupied capacity is greater than or equal to 200GB, the storage device judges whether the number of the failed cascade hard disks in the cascade hard disk group is 1. If the storage device judges that the number of the failed cascaded hard disks in the cascaded hard disk group is 0, the storage device does not give an alarm; if the storage device determines that the number of the failed cascaded hard disks in the cascaded hard disk group is 1, it indicates that the cascaded hard disk group cannot meet the requirement of the current work, and therefore the storage device sends an alarm.
Further, the method may further include S105 and S106:
s105, the storage device judges whether the number of the failed cascade hard disks in the cascade hard disk group is N.
And S106, if the number of the failed cascaded hard disks in the cascaded hard disk group is N, the storage equipment sends an alarm.
When all the cascade hard disks in the cascade hard disk group have faults, the storage equipment directly sends an alarm to remind a user of replacing the cascade hard disks.
The embodiment of the invention provides an alarm method of a cascade hard disk, which is applied to a storage device, wherein the storage device comprises N cascade hard disks with any one of the characteristics, N is an integer greater than or equal to 2, and the alarm method of the cascade hard disks comprises the following steps: the storage equipment acquires the occupied capacity of the cascade hard disk group; and when the storage equipment determines that the occupied capacity is greater than or equal to a first preset threshold and the number of the failed cascading hard disks in the cascading hard disk group is a second preset threshold, the storage equipment sends an alarm, wherein the first preset threshold corresponds to the second preset threshold one to one. Based on the description of the above embodiment, the storage device sends an alarm message to remind the user to replace the failed tandem hard disk by determining that the occupied capacity is greater than or equal to the first preset threshold and the number of the failed tandem hard disks in the tandem hard disk group is the second preset threshold. Meanwhile, the first SAS connector of one cascading hard disk and the second SAS connector of the other cascading hard disk are connected through the first fixing device and the second fixing device between the cascading hard disks, so that a user can conveniently detach the cascading hard disks when replacing the cascading hard disks, the independent replacement of the cascading hard disks is realized, and the workload of maintenance is reduced.
The embodiment of the invention also provides a storage device, which is used for executing the steps executed by the storage device in the alarm method of the cascaded hard disk. The storage device provided by the embodiment of the invention can comprise modules corresponding to the corresponding steps.
In the embodiment of the present invention, the storage device may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one functional module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The division of the modules in the embodiment of the present invention is schematic, and only one logic function division is adopted, and another division manner may be adopted in actual implementation.
As shown in fig. 18, the storage device includes: a communication interface 30, a processor 31 and a memory 32. The communication interface 30, the processor 31 and the memory 32 are connected by a system bus 33, and perform mutual communication.
When the storage device runs, the storage device executes the alarm method of the cascaded hard disk according to the illustrated embodiment, and for a specific alarm method of the cascaded hard disk, reference may be made to the related description in the embodiments illustrated in fig. 16 to 17, which is not described herein again.
Wherein the communication interface 30 is used for communicating with other devices or communication networks, such as ethernet, WLAN, etc. Specifically, the communication interface 30 may mainly include a receiver 300 and a transmitter 301, wherein the receiver 300 may receive data transmitted by other devices or communication networks. Transmitter 301 may transmit data to other devices or a communication network.
The memory 32 may be used to store program codes and application modules of the storage device, and the processor 31 executes various functional applications and data processing of the storage device by running the software programs and application modules stored in the memory 32.
The memory 32 may mainly include a storage program area 320 and a storage data area 321, wherein the storage program area 320 may store an operating system, an application program required for at least one function; the storage data area 321 may store the correspondence relationship between the first preset threshold and the second preset threshold mentioned in the above embodiments.
The Memory 32 may be a Read-Only Memory (ROM), or other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM), or other types of dynamic storage devices that can store information and instructions, or an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic disk storage medium, or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a storage device, but is not limited thereto.
The memory 32 may be self-contained and coupled to the processor 31 via a system bus 33. The memory 32 may also be integrated with the processor 31.
The processor 31 is the control center of the storage device. The processor 31 connects various parts of the entire storage device using various interfaces and lines, performs various functions of the storage device and processes data by running or executing software programs and/or application modules stored in the memory 32, and calling data stored in the memory 32, thereby monitoring the storage device as a whole.
In a specific implementation, the processor 31 may include one or more CPUs, for example, the processor 31 in fig. 18 includes a CPU 0 and a CPU 1.
The system bus 33 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (extended Industry Standard Architecture) bus, or the like. The system bus 33 may be divided into an address bus, a data bus, a control bus, and the like. For clarity of illustration in the embodiments of the present invention, the various buses are illustrated in FIG. 18 as system bus 33.
Further, the memory device may also include a power supply (not shown) for powering the various components of the memory device to maintain operation thereof. As a general understanding, the power source may be a built-in battery, such as a common lithium ion battery, nickel metal hydride battery, etc., and also include an external power source that directly supplies power to the storage device, such as an Alternating Current (AC) adapter, etc. In some implementations provided by embodiments of the present invention, the power supply may be more broadly defined and may include, for example, a power management system, a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode), and any other components associated with the generation, management, and distribution of electrical energy to a storage device.
Accordingly, another embodiment of the present application further provides a computer-readable storage medium including one or more program codes, where the one or more programs include instructions, and when a processor in a storage device executes the program codes, the storage device executes the method for alarming a cascaded hard disk described in the foregoing embodiment.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners.
Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. A method for alarming cascade hard disks is applied to storage equipment and is characterized in that the storage equipment comprises N cascade hard disks, N is an integer greater than or equal to 2, and the method for alarming the cascade hard disks comprises the following steps:
the method comprises the steps that a storage device obtains occupied capacity of a cascade hard disk group, the cascade hard disk group comprises N cascade hard disks, and the available capacity of each cascade hard disk in the N cascade hard disks is X;
the storage equipment acquires the number of the failed cascade hard disks in the cascade hard disk group;
when the storage device determines that the occupied capacity is larger than or equal to a first preset threshold and the number of the cascaded hard disks with faults in the cascaded hard disk group is a second preset threshold, the storage device sends an alarm, wherein the first preset threshold corresponds to the second preset threshold one by one, the first preset threshold is C X, the second preset threshold is N-C, and C is an integer which is larger than or equal to 1 and smaller than N;
when the storage device determines that the occupied capacity is greater than or equal to a first preset threshold and the number of the failed cascaded hard disks in the cascaded hard disk group is a second preset threshold, the method for alarming by the storage device includes:
and when the storage equipment determines that the occupied capacity is greater than or equal to C X and the number of the cascaded hard disks with faults in the cascaded hard disk group is N-C, the storage equipment sends an alarm.
2. The method for alarming in a cascaded hard disk according to claim 1, further comprising:
and when the storage equipment confirms that the number of the cascaded hard disks with faults in the cascaded hard disk group is N, the storage equipment sends an alarm.
3. The method for alarming in a cascaded hard disk according to claim 1 or 2, wherein the cascaded hard disk comprises at least: the device comprises a first connector, a hard disk main body, a second connector and a cascade chip, wherein the cascade chip is connected with the first connector, the hard disk main body and the second connector;
the first connector is used for being electrically connected with a first hard disk or a storage device, and the first connector is used for receiving data issued by the first hard disk or the storage device;
the second connector is used for being electrically connected with a second hard disk;
the cascade chip is used for determining that the data received from the first connector is transmitted to the hard disk main body or the second connector.
4. The warning method of the cascaded hard disk according to claim 3, wherein when the first connector is used to electrically connect to the storage device, the cascaded hard disk further comprises: a fixing device;
and the fixing device is used for being fixedly connected with the second hard disk.
5. The warning method of the cascaded hard disk according to claim 3, wherein when the first connector is used to electrically connect with the first hard disk, the cascaded hard disk further comprises: a first and a second fixing device;
the first fixing device is used for being fixedly connected with the first hard disk;
and the second fixing device is used for being fixedly connected with the second hard disk.
6. The method for alarming in a cascaded hard disk according to claim 3, wherein the cascaded hard disk further comprises: a first fixing member;
the first fixing piece is used for being connected with a connecting structural member so as to fix the cascading type hard disk on the connecting structural member.
7. The method for alarming of a cascaded hard disk according to any one of claims 4 to 6, wherein the hard disk main body specifically comprises: the FLASH memory comprises a control chip connected with the cascade chip, a standby capacitor connected with the control chip, a memory connected with the control chip and the standby capacitor, and at least one FLASH memory FLASH connected with the control chip.
8. The method for alarming of a tandem hard disk according to any one of claims 4 to 6,
the first connector and the second connector are serial small computer system interface (SAS) connectors or nonvolatile memory standard (NVME) connectors; or,
the serial advanced technology attachment ATA interface is a standard SATA connector; or,
fibre channel FC connectors.
CN201710929088.9A 2016-09-30 2017-09-30 Cascaded hard disk and alarm method thereof Active CN107632923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/107585 WO2019062756A1 (en) 2016-09-30 2018-09-26 Cascaded hard disk and alarm method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016108711566 2016-09-30
CN201610871156 2016-09-30

Publications (2)

Publication Number Publication Date
CN107632923A CN107632923A (en) 2018-01-26
CN107632923B true CN107632923B (en) 2020-09-08

Family

ID=61104049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710929088.9A Active CN107632923B (en) 2016-09-30 2017-09-30 Cascaded hard disk and alarm method thereof

Country Status (2)

Country Link
CN (1) CN107632923B (en)
WO (1) WO2019062756A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632923B (en) * 2016-09-30 2020-09-08 华为技术有限公司 Cascaded hard disk and alarm method thereof
CN109408442B (en) * 2018-12-28 2024-04-09 郑州云海信息技术有限公司 Multi-chip expansion device and expansion method
CN109979500B (en) * 2019-02-28 2021-05-11 深圳市大迈科技有限公司 Basic hardware box, extended hardware box, hardware box assembly and terminal equipment
CN115376569A (en) * 2021-05-20 2022-11-22 中国联合网络通信集团有限公司 Expandable data storage device
CN113312000B (en) * 2021-06-04 2023-04-28 河北光兴半导体技术有限公司 Hard disk and storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605053A (en) * 2009-07-02 2009-12-16 中兴通讯股份有限公司 A kind of monitored data dump and unload database back method and system
CN104598847A (en) * 2015-02-02 2015-05-06 北京汉龙思琪数码科技有限公司 Cascading system of SATA (Serial Advanced Technology Attachment) hard disc matrix
CN105446437A (en) * 2014-08-19 2016-03-30 华为技术有限公司 Disk array cooling device
CN105700817A (en) * 2014-11-27 2016-06-22 华为技术有限公司 Just Bunch of Discs JBOD apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1260634C (en) * 2003-01-06 2006-06-21 华仕德科技股份有限公司 Universal series connected bus shiftable magnet disc
CN101458674A (en) * 2007-12-14 2009-06-17 英业达股份有限公司 Storage apparatus back board and identification circuit
CN103488575B (en) * 2013-08-12 2017-02-01 记忆科技(深圳)有限公司 Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk
CN103543961B (en) * 2013-10-12 2017-04-19 浙江宇视科技有限公司 PCIe-based storage extension system and method
CN107632923B (en) * 2016-09-30 2020-09-08 华为技术有限公司 Cascaded hard disk and alarm method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605053A (en) * 2009-07-02 2009-12-16 中兴通讯股份有限公司 A kind of monitored data dump and unload database back method and system
CN105446437A (en) * 2014-08-19 2016-03-30 华为技术有限公司 Disk array cooling device
CN105700817A (en) * 2014-11-27 2016-06-22 华为技术有限公司 Just Bunch of Discs JBOD apparatus
CN104598847A (en) * 2015-02-02 2015-05-06 北京汉龙思琪数码科技有限公司 Cascading system of SATA (Serial Advanced Technology Attachment) hard disc matrix

Also Published As

Publication number Publication date
WO2019062756A1 (en) 2019-04-04
CN107632923A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
CN107632923B (en) Cascaded hard disk and alarm method thereof
US10693197B2 (en) System and method of cell block voltage analytics to improve balancing effectiveness and identify self-discharge rate
US10275356B2 (en) Component carrier with converter board
US11150714B2 (en) Storage device and method for powering storage device
US20150279463A1 (en) Adjustable non-volatile memory regions of dram-based memory module
EP3035187B1 (en) Hard disk and management method
US11061454B2 (en) Power supply apparatus, backup power module and method for providing backup power in computing systems
TW200921675A (en) Scaleable and maintainable solid state drive
JP2009259210A (en) Method, apparatus, logic device and storage system for power-fail protection
GB2543981A (en) Modular computer system and server module
US20150205541A1 (en) High-capacity solid state disk drives
CN105045688A (en) Dual-active dual-control storage system with management function
CN111857568A (en) Centralized power-off management system for data storage devices
CN107636480B (en) Parallel monitoring device for battery pack state
CN101364138A (en) Power supply management method and device of solid hard disk storage system
CN109116964A (en) A kind of server method of supplying power to and its power supply unit
US11311114B1 (en) Plastic drive caddy assembly
US20140082258A1 (en) Multi-server aggregated flash storage appliance
US20170018941A1 (en) System and Method for Green Battery Conditioning
CN105117303A (en) Data recovery method and equipment
US20230393959A1 (en) Out-of-band management method for storage apparatus, baseboard management controller and storage apparatus
CN113535666A (en) Data writing method and device, database system and storage medium
CN104050108A (en) Storage device and system and data storage method
CN216527166U (en) Large-capacity storage system
CN105511990A (en) Novel dual-redundancy storage control node architecture based on fusion architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant