JBOD cascading system, storage resource allocation method and device

By introducing multi-machine heads and SAS interconnection chip modules into the JBOD system, the group attributes of the hard disk group are dynamically managed, which solves the problem of uneven utilization of hard disk resources in the existing technology and achieves on-demand partitioning of hard disks and efficient utilization of resources.

CN114780033BActive Publication Date: 2024-10-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210433011.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2024-10-22
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

The existing JBOD system cannot effectively utilize hard disk resources, resulting in a waste of resources. Because the hard disk is not partitioned on demand to bind associated ports, the hard disk cannot be utilized evenly.

Method used

By introducing multiple machine heads and SAS interconnection chip modules into the JBOD system, the remaining storage resource information of the hard disk group is monitored, and the group attributes of the hard disk are dynamically modified to realize on-demand partitioning and regrouping of hard disks and reduce idle resources.

Benefits of technology

It achieves balanced utilization of hard disks, reduces idle resources, dynamically allocates hard disks to each machine head according to demand, and improves the utilization rate of storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114780033B_ABST
    Figure CN114780033B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to a JBOD cascading system, a storage resource allocation method and a device, comprising: a plurality of hard disk backplanes, a plurality of SAS interconnect chip modules, and a plurality of heads; each hard disk backplane comprises a plurality of hard disks for providing storage resources for the JBOD cascading system; the plurality of SAS interconnect chip modules comprises a first SAS interconnect chip module connected with the plurality of heads and other SAS interconnect chip modules; each hard disk on each hard disk backplane is connected with a SAS interconnect chip module in the other SAS interconnect chip modules through a PHY physical interface. According to the system, idle resources can be reduced by sharing a JBOD cascading system with multiple heads, and balanced utilization of hard disks can be achieved through on-demand partitioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer systems, and more particularly to a JBOD cascade system, a storage resource allocation method and apparatus. Background Technology

[0002] With the rapid development of technology, data is growing exponentially. Current JBOD systems are specifically designed for data storage, interconnecting a large number of physical hard drives using SAS expanders and connecting them to the host's HBA card via SAS cables for data access.

[0003] The data storage capacity of a JBOD system increases gradually; it's generally not the case that the data is already full as soon as the machine is installed. For example, a JBOD system with 60 hard drives might only use 30 of them in a year, and the price of hard drives could drop significantly within that year. To address this, some JBOD systems save costs by adding hard drives on demand, initially installing only a small number of hard drives and then adding new ones as needed.

[0004] Existing JBOD cascading systems, including SAS channel cards and a set of SAS expansion cards connected to them, utilize zoning partitioning technology. In this system, the uplink port and connected hard drive of each SAS expansion card in the SAS expansion card set are on the same partition, while the downlink port is on a different partition. This ensures that the SAS expansion card can only receive authentication information from the SAS channel card via its uplink port and return a response. The SAS channel card determines whether the SAS expansion card is connected incorrectly by checking if a response has been received. However, existing technologies do not bind associated ports to hard drives on demand, failing to achieve balanced hard drive utilization and wasting resources. Summary of the Invention

[0005] In view of this, in order to solve the above-mentioned technical problems or some of the technical problems, the present invention provides a JBOD cascading system, a storage resource allocation method and apparatus.

[0006] In a first aspect, embodiments of the present invention provide a JBOD cascading system, comprising:

[0007] Multiple hard drive backplanes, multiple SAS interconnect chip modules, multiple machine heads;

[0008] Each hard drive backplane contains multiple hard drives to provide storage resources for the JBOD cascade system;

[0009] The plurality of SAS interconnect chip modules includes a first SAS interconnect chip module that is connected to the plurality of machine heads and other SAS interconnect chip modules;

[0010] Each hard drive on each hard drive backplane is connected to one of the other SAS interconnect chip modules via a PHY physical interface.

[0011] In one possible implementation, the system further includes:

[0012] Multiple hard disk groups, wherein the hard disk groups are divided based on the group attribute of the PHY physical interface;

[0013] The head unit connected to each hard drive group can access all the hard drives in the hard drive group.

[0014] In one possible implementation, the system further includes:

[0015] The plurality of hard disk groups includes at least one spare hard disk group, which is used to provide storage resources based on the storage resource requirements of the plurality of machine heads.

[0016] Secondly, embodiments of the present invention provide a storage resource allocation method, including:

[0017] Monitor the remaining storage resources of hard drive groups connected to multiple head units;

[0018] Based on the remaining storage resource information, determine whether it is necessary to allocate a hard drive to the hard drive group;

[0019] If necessary, select the target number of hard drives from the spare hard drive group;

[0020] Modify the group attribute of the PHY physical interface to which the selected hard drive is connected to to the group attribute of the hard drive group to which the hard drive needs to be allocated.

[0021] In one possible implementation, the method further includes:

[0022] Based on the storage resource requirements of multiple machine heads, the group attribute of the PHY physical interface corresponding to the hard disk in the hard disk group connected to the multiple machine heads is dynamically modified.

[0023] The hard drives are regrouped based on the modified group attribute.

[0024] In one possible implementation, the method further includes:

[0025] Power off the hardware of the spare hard drive group.

[0026] Thirdly, embodiments of the present invention provide a storage resource allocation device, comprising:

[0027] The monitoring module is used to monitor the remaining storage resources of hard drive groups connected to multiple head units;

[0028] The judgment module is used to determine, based on the remaining information of the storage resources, whether it is necessary to allocate a hard drive to the hard drive group;

[0029] The filtering module is used to filter the target number of hard drives in the spare hard drive group if necessary.

[0030] The allocation module is used to modify the group attribute of the PHY physical interface to which the filtered hard drives are connected to to the group attribute of the hard drive group to which the hard drives need to be allocated.

[0031] Fourthly, embodiments of the present invention provide an electronic device, including: a processor and a memory, wherein the processor is configured to execute a storage resource allocation program stored in the memory to implement the storage resource allocation method described in the second aspect above.

[0032] Fifthly, embodiments of the present invention provide a storage medium, comprising: the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the storage resource allocation method described in the second aspect above.

[0033] The JBOD cascading system provided in this invention includes: multiple hard disk backplanes, multiple SAS interconnect chip modules, and multiple machine heads; each hard disk backplane contains multiple hard disks for providing storage resources for the JBOD cascading system; the multiple SAS interconnect chip modules include a first SAS interconnect chip module connected to the multiple machine heads and other SAS interconnect chip modules; each hard disk on each hard disk backplane is connected to one of the other SAS interconnect chip modules through a PHY physical interface. Compared to the existing JBOD cascading systems where hard disks are not partitioned on demand and associated ports are not bound, resulting in unbalanced utilization of hard disks and wasted resources, this system reduces resource idleness and achieves balanced utilization of hard disks through on-demand partitioning by multiple machine heads sharing a single JBOD cascading system.

[0034] The storage resource allocation method provided in this invention monitors the remaining storage resources of hard disk groups connected to multiple machine heads; based on the remaining storage resources, it determines whether hard disks need to be allocated to the hard disk groups; if so, it selects a target number of hard disks from the spare hard disk groups; and it modifies the group attribute of the PHY physical interface connected to the selected hard disks to the group attribute of the hard disk group to which the hard disks need to be allocated. By using this method, multiple machine heads share a single JBOD cascade system, and hard disks are dynamically allocated to each machine head according to demand, which can reduce resource idleness and achieve on-demand partitioning and balanced utilization of hard disks. Attached Figure Description

[0035] Figure 1 A schematic diagram of a JBOD cascade system provided in an embodiment of the present invention;

[0036] Figure 2 A schematic diagram of a hard disk grouping structure provided in an embodiment of the present invention;

[0037] Figure 3 This is a schematic diagram of a storage resource allocation structure provided in an embodiment of the present invention;

[0038] Figure 4 A flowchart illustrating a storage resource allocation method provided in an embodiment of the present invention;

[0039] Figure 5 This is a schematic diagram of a storage resource allocation device provided in an embodiment of the present invention;

[0040] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0042] To facilitate understanding of the embodiments of the present invention, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of the present invention.

[0043] Figure 1 A schematic diagram of a JBOD cascade system provided in an embodiment of the present invention is shown below. Figure 1As shown, the JBOD cascaded system includes: multiple hard disk backplanes, multiple SAS interconnect chip modules, and multiple machine heads. The diagram uses two hard disk backplanes, three SAS interconnect chip modules, and two machine heads as an example. Each hard disk backplane contains multiple hard disks to provide storage resources for the JBOD cascaded system. The first SAS interconnect chip module connects the two machine heads and SAS interconnect chip module 1 and SAS interconnect chip module 2 via an HBA card. The numbers within the boxes in the diagram indicate the number of PHY physical interfaces used. Each hard disk on each hard disk backplane is connected to either SAS interconnect chip module 1 or SAS interconnect chip module 2 via a PHY physical interface. This connection method ensures that all machine heads can access any hard disk in the entire system.

[0044] Furthermore, such as Figure 2 The diagram illustrates a hard disk grouping structure according to an embodiment of the present invention. Zoning partitioning technology is used to group the hard disks. The numbers within the circles in the diagram refer to the zonegroup settings of the PHY physical interfaces used. Circle 8 indicates belonging to zone group 8, circle 9 indicates belonging to zone group 9, and circle IZ indicates the boundary of the expander. The zone groups in SAS interconnect chip module 1 and SAS interconnect chip module 2 can be dynamically modified as needed. By modifying the group attribute of the PHY physical interface where the hard disk resides, the hard disks can be assigned to different groups. A head unit connected to zone group 8 can access all hard disks in that group, and a head unit connected to zone group 9 can access all hard disks in that group. The end device in the diagram generally refers to the hard disk.

[0045] Optionally, the multiple hard drive groups may include at least one spare hard drive group to provide storage resources based on the storage resource requirements of multiple machine heads. For example... Figure 3 This is a schematic diagram of a storage resource allocation structure provided in an embodiment of the present invention. The hard drive in zone group 8 is used by head unit 1, and the hard drive in zone group 9 is used by head unit 2. The hard drives in the spare hard drive group are inaccessible to both head units, and the hardware devices in the spare hard drive group are powered down by default to save energy. When the storage space of head unit 1 needs to be increased, the group attribute of the physical interface PHY of the hard drive Disk4 in the spare hard drive group can be modified to zone group 8. After modification, head unit 1 can then access hard drive Disk4.

[0046] The JBOD cascading system provided in this invention includes: multiple hard disk backplanes, multiple SAS interconnect chip modules, and multiple machine heads; each hard disk backplane contains multiple hard disks for providing storage resources for the JBOD cascading system; the multiple SAS interconnect chip modules include a first SAS interconnect chip module connected to the multiple machine heads and other SAS interconnect chip modules; each hard disk on each hard disk backplane is connected to one of the other SAS interconnect chip modules through a PHY physical interface. Compared to the existing JBOD cascading systems where hard disks are not partitioned on demand and associated ports are not bound, resulting in unbalanced utilization of hard disks and wasted resources, this system reduces resource idleness and achieves balanced utilization of hard disks through on-demand partitioning by multiple machine heads sharing a single JBOD cascading system.

[0047] Figure 4 This is a flowchart illustrating a storage resource allocation method provided in an embodiment of the present invention, as shown below. Figure 4 As shown, the method specifically includes:

[0048] S41. Monitor the remaining storage resources of hard drive groups connected to multiple head units.

[0049] In this embodiment of the invention, the remaining storage resource information of a hard disk group connected to multiple head units can be monitored in real time, wherein the remaining storage resource information may be the remaining storage space of the hard disk.

[0050] S42. Based on the remaining information of the storage resources, determine whether it is necessary to allocate a hard disk to the hard disk group.

[0051] S43. If necessary, select the target number of hard drives from the spare hard drive group.

[0052] In this embodiment of the invention, a storage resource remaining threshold can be preset, for example, the remaining storage space of the current hard disk group is 20%. When it is detected that the remaining storage resource information of a hard disk group connected to a certain head unit is less than the storage resource remaining threshold, it is determined that a hard disk needs to be allocated to the hard disk group to increase the storage space.

[0053] Furthermore, the number of hard drives that need to be added can be determined based on the historical usage of storage resources. For example, if the historical peak usage of hard drives is 50 and the current number of hard drives is 30, then 20 hard drives can be directly selected from the spare hard drive group and allocated to the current hard drive group.

[0054] For example, a resource usage prediction model can be pre-trained to predict the amount of data that may be received in the future, and the number of hard drives needed can be determined based on the predicted amount of data, and then the corresponding number of hard drives can be allocated.

[0055] It should be noted that the hardware devices of the spare hard drive group are powered down by default to save energy.

[0056] S44. Modify the group attribute of the PHY physical interface to which the selected hard drive is connected to to the group attribute of the hard drive group to which the hard drive needs to be allocated.

[0057] In this embodiment of the invention, after selecting the target number of hard drives from the spare hard drive group, the group attribute of the PHY physical interface connected to the selected hard drives is modified to the group attribute of the hard drive group to which the hard drives need to be allocated.

[0058] like Figure 3 As shown, when the storage space of the head unit 1 needs to be increased by one hard drive, the group attribute of the physical interface PHY where the hard drive Disk4 in the spare hard drive group is located can be modified to zone group 8. After the modification is completed, the head unit 1 can access the hard drive Disk4.

[0059] Optionally, if there are many idle hard drives in the already allocated hard drive groups, the group attribute of the PHY physical interface corresponding to the hard drives in the hard drive groups connected to multiple head units can be dynamically modified based on the storage resource demand information of multiple head units, and the idle hard drives in the hard drive groups can be regrouped. This method can maximize the use of hard drives already allocated to hard drive groups without using hard drives in spare hard drive groups, thereby improving the utilization rate of storage resources.

[0060] The storage resource allocation method provided in this invention monitors the remaining storage resources of hard disk groups connected to multiple machine heads; based on the remaining storage resources, it determines whether hard disks need to be allocated to the hard disk groups; if so, it selects a target number of hard disks from the spare hard disk groups; and it modifies the group attribute of the PHY physical interface connected to the selected hard disks to the group attribute of the hard disk group to which the hard disks need to be allocated. By using this method, multiple machine heads share a single JBOD cascade system, and hard disks are dynamically allocated to each machine head according to demand, which can reduce resource idleness and achieve on-demand partitioning and balanced utilization of hard disks.

[0061] Figure 5 A schematic diagram of a storage resource allocation device provided in an embodiment of the present invention specifically includes:

[0062] Monitoring module 501 is used to monitor the remaining storage resources of hard disk groups connected to multiple machine heads;

[0063] The judgment module 502 is used to determine, based on the remaining information of the storage resources, whether it is necessary to allocate a hard disk to the hard disk group;

[0064] The filtering module 503 is used to filter a target number of hard drives in the spare hard drive group if necessary.

[0065] The allocation module 504 is used to modify the group attribute of the PHY physical interface to which the filtered hard disks are connected to to the group attribute of the hard disk group to which the hard disks need to be allocated.

[0066] In one possible implementation, the allocation module 504 is specifically used to dynamically modify the group attribute of the PHY physical interface corresponding to the hard disk in the hard disk group connected to the multiple machine heads based on the storage resource demand information of the multiple machine heads; and to regroup the hard disks based on the modified group attribute.

[0067] The storage resource allocation device provided in this embodiment can be as follows: Figure 5 The storage resource allocation device shown can perform, for example... Figure 4 All steps of the storage resource allocation method are implemented to achieve Figure 4 For details on the technical effects of the storage resource allocation method shown, please refer to [link / reference]. Figure 4 The relevant descriptions are presented concisely and will not be elaborated upon here.

[0068] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 6 The illustrated electronic device 600 includes at least one processor 601, a memory 602, at least one network interface 604, and other user interfaces 603. The various components in the electronic device 600 are coupled together via a bus system 605. It is understood that the bus system 605 is used to implement communication between these components. In addition to a data bus, the bus system 605 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 6 The general designated all buses as Bus System 605.

[0069] The user interface 603 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).

[0070] It is understood that the memory 602 in this embodiment of the invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0071] In some implementations, memory 602 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 6021 and application program 6022.

[0072] The operating system 6021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 6022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 6022.

[0073] In this embodiment of the invention, by calling the program or instructions stored in memory 602, specifically the program or instructions stored in application program 6022, processor 601 executes the method steps provided in each method embodiment, including, for example:

[0074] Monitor the remaining storage resources of hard disk groups connected to multiple head units; based on the remaining storage resources, determine whether it is necessary to allocate hard disks to the hard disk groups; if so, filter the target number of hard disks in the spare hard disk groups; modify the group attribute of the PHY physical interface connected to the filtered hard disks to the group attribute of the hard disk group that needs to be allocated hard disks.

[0075] In one possible implementation, based on the storage resource requirements of multiple head units, the group attribute of the PHY physical interface corresponding to the hard disk in the hard disk group connected to the multiple head units is dynamically modified; based on the modified group attribute, the hard disks are regrouped.

[0076] In one possible implementation, the hardware of the spare hard drive group is powered down.

[0077] The methods disclosed in the above embodiments of the present invention can be applied to processor 601, or implemented by processor 601. Processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 601 or by instructions in the form of software. The processor 601 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 602. Processor 601 reads the information in memory 602 and, in conjunction with its hardware, completes the steps of the above method.

[0078] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.

[0079] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

[0080] The electronic device provided in this embodiment may be as follows: Figure 6 The electronic device shown can perform the following: Figure 4 All steps of the storage resource allocation method are implemented to achieve Figure 4 For details on the technical effects of the storage resource allocation method shown, please refer to [link / reference]. Figure 4 The relevant descriptions are presented concisely and will not be elaborated upon here.

[0081] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; the memory may also include combinations of the above types of memory.

[0082] When one or more programs in the storage medium can be executed by one or more processors to implement the storage resource allocation method described above that is executed on the electronic device side.

[0083] The processor is used to execute a storage resource allocation program stored in the memory to implement the following steps of a storage resource allocation method executed on the electronic device side:

[0084] Monitor the remaining storage resources of hard disk groups connected to multiple head units; based on the remaining storage resources, determine whether it is necessary to allocate hard disks to the hard disk groups; if so, filter the target number of hard disks in the spare hard disk groups; modify the group attribute of the PHY physical interface connected to the filtered hard disks to the group attribute of the hard disk group that needs to be allocated hard disks.

[0085] In one possible implementation, based on the storage resource requirements of multiple head units, the group attribute of the PHY physical interface corresponding to the hard disk in the hard disk group connected to the multiple head units is dynamically modified; based on the modified group attribute, the hard disks are regrouped.

[0086] In one possible implementation, the hardware of the spare hard drive group is powered down.

[0087] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0088] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0089] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A JBOD cascade system, characterized in that: include: Multiple hard disk backplanes, multiple SAS interconnect chip modules, multiple heads, and multiple hard disk groups; Each hard disk backplane includes multiple hard disks for providing storage resources for the JBOD cascade system; The plurality of SAS interconnect chip modules include a first SAS interconnect chip module connected to the plurality of heads and other SAS interconnect chip modules; Each hard disk on each hard disk backplane is connected to one of the other SAS interconnect chip modules through a PHY physical interface; The hard disk grouping is divided based on the group attribute of the PHY physical interface; The head connected to each hard disk group can access all hard disks in the hard disk group; The multiple hard disk groups include at least one spare hard disk group, which is used to provide storage resources based on the storage resource requirements of the multiple heads.

2. A storage resource allocation method, applied to the JBOD cascade system as claimed in claim 1, characterized in that: include: Monitor the remaining storage resource information of the hard disk group connected to multiple heads; Based on the remaining information of the storage resources, determining whether it is necessary to allocate a hard disk to the hard disk group; If necessary, select the target number of hard disks in the spare hard disk group; Change the group attribute of the PHY physical interface to which the filtered hard disk is connected to the group attribute of the hard disk group to which the hard disk needs to be assigned.

3. The method according to claim 2, characterized in that The method further comprises: Dynamically modifying the group attributes of the PHY physical interfaces corresponding to the hard disks in the hard disk groups connected to the multiple heads based on the storage resource demand information of the multiple heads; Regroup the hard disks based on the modified group attributes.

4. The method according to claim 2, characterized in that: The method further comprises: Power off the hardware devices of the spare hard disk group.

5. A storage resource allocation device, characterized in that: The device is applied to the JBOD cascading system as claimed in claim 1, comprising: A monitoring module, used to monitor the remaining information of storage resources of the hard disk groups connected to the multiple heads; A judgment module, used for judging whether it is necessary to allocate a hard disk to the hard disk group based on the remaining information of the storage resources; A screening module, used for screening a target number of hard disks in the spare hard disk group if necessary; The allocation module is used to modify the group attribute of the PHY physical interface to which the screened hard disk is connected to the group attribute of the hard disk group to which the hard disk needs to be allocated.

6. The storage resource allocation device according to claim 5, characterized in that: The allocation module is specifically used to dynamically modify the group attributes of the PHY physical interfaces corresponding to the hard disks in the hard disk group connected to the multiple heads based on the storage resource demand information of the multiple heads; and regroup the hard disks based on the modified group attributes.

7. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a storage resource allocation program stored in the memory to implement the storage resource allocation method according to any one of claims 2 to 4.

8. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the storage resource allocation method according to any one of claims 2 to 4.

Citation Information

Patent Citations

  • Four-component-star server system with dynamically-allocated hard disk

    CN106502933A

  • Method, system and device for adjusting number of hard disks accessed by host, and medium

    CN112463068A

  • JBOD board based on general memory system

    CN206133410U

  • Storage resource management system and method

    WO2017000639A1