Search

CN-115686357-B - Storage resource management system and storage system

CN115686357BCN 115686357 BCN115686357 BCN 115686357BCN-115686357-B

Abstract

The application discloses a storage resource management system and a storage system, which relate to the field of storage, wherein the storage resource management system comprises a first control module, a second control module and a storage module, wherein the first control module is used for determining a current access mode and generating a switching instruction based on the current access mode; the first switching module comprises a plurality of first ports and a plurality of second ports, the first ports are used for connecting computing resources, the second ports are used for connecting storage resources, and the first switching module is used for controlling the first ports and the second ports corresponding to the switching instructions to be communicated when the switching instructions are received, so that the computing resources access the storage resources according to the current access mode. The application has flexible configuration, can ensure that one data link fails or the power supply is lost, other data links can still normally run, has no influence on the service, and improves the reliability of the storage system.

Inventors

  • LI XISHUAN
  • LU ZONGTANG

Assignees

  • 苏州浪潮智能科技有限公司

Dates

Publication Date
20260505
Application Date
20220927

Claims (3)

  1. 1. A storage resource management system, comprising: The first control module is used for determining a current access mode and generating a switching instruction based on the current access mode; The first switching module comprises a plurality of first ports and a plurality of second ports, the first ports are used for being connected with computing resources, the second ports are used for being connected with storage resources, and the first switching module is used for controlling the first ports and the second ports corresponding to the switching instructions to be communicated when the switching instructions are received, so that the computing resources access the storage resources according to the current access mode; the storage resource is a dual-port hard disk; The storage resource management system further includes: The second switching module is used for adjusting the port state of the dual-port hard disk, wherein the port state is a dual-port state or a single-port state; A first clock buffer configured to not output a first clock signal when the port state is the single port state, and output the first clock signal when the port state is the dual port state; A second clock buffer for outputting a second clock signal; the second switching module comprises a pin header and a jumper, wherein the pin header is connected with a dual-port enabling end of the dual-port hard disk so as to enable the dual-port hard disk to enter the dual-port state by connecting the pin header with a dual-port enabling signal pulled down by the pin header; the processing module is used for outputting control signals according to the port state and IFDET signals output by the dual-port hard disk, wherein the control signals comprise a first sub-control signal corresponding to the single-port state and a second sub-control signal corresponding to the dual-port state; The first clock buffer is configured to not output the first clock signal when the first sub-control signal is received, and output the first clock signal when the second sub-control signal is received; the first control module is used for generating a first switching instruction based on a first access mode if the current access mode is the first access mode; the first switching module is used for controlling the first port and the second port corresponding to the first switching instruction to be communicated when the first switching instruction is received, so that any computing resource accesses any storage resource through a plurality of data links; The first control module is configured to generate a second switching instruction based on a second access mode if the current access mode is the second access mode; The first switching module is used for controlling the first port and the second port corresponding to the second switching instruction to be communicated when the second switching instruction is received, so that a plurality of computing resources access any storage resource; The storage resource management system further includes: the processing module comprises an OR gate, wherein a first input end of the OR gate is connected with the IFDET signal, a second input end of the OR gate is connected with a dual-port enabling signal, and an output end of the OR gate is connected with an output enabling end of the first clock buffer so as to output the control signal to the first clock buffer.
  2. 2. The storage resource management system of claim 1, wherein the first switching module comprises a first PCIE SWITCH, a second PCIE SWITCH, a third PCIE SWITCH, and a fourth PCIE SWITCH, wherein: the first port of the first PCIE SWITCH and the first port of the second PCIE SWITCH are the first ports of the first switching modules, the second port of the third PCIE SWITCH and the second port of the fourth PCIE SWITCH are the second ports of the first switching modules, the second port of the first PCIE SWITCH is connected with the first port of the third PCIE SWITCH and the first port of the fourth PCIE SWITCH, respectively, and the second port of the second PCIE SWITCH is connected with the first port of the third PCIE SWITCH and the first port of the fourth PCIE SWITCH, respectively.
  3. 3. A storage system comprising a storage resource and a storage resource management system as claimed in any one of claims 1-2.

Description

Storage resource management system and storage system Technical Field The present application relates to the field of storage, and in particular, to a storage resource management system and a storage system. Background With the development of technologies such as big data, cloud computing and 5G, data presents exponential explosive growth, and the security and reliability of data storage become more and more important. At present, the hard disks serving as main storage devices are all in a single-port form, the hard disks on the hard disk backboard are all mounted on a CPU, the configuration is not flexible enough, and once the hard disks or hardware links are damaged, data are lost, so that the reliability is poor. Therefore, how to provide a solution to the above technical problem is a problem that a person skilled in the art needs to solve at present. Disclosure of Invention The application aims to provide a storage resource management system and a storage system, which relate to the field of storage, are flexible in configuration, can ensure that one data link fails or power is lost, and the other data links can still normally operate without influencing the service, so that the reliability of the storage system is improved. In order to solve the above technical problems, the present application provides a storage resource management system, including: The first control module is used for determining a current access mode and generating a switching instruction based on the current access mode; The first switching module comprises a plurality of first ports and a plurality of second ports, the first ports are used for being connected with computing resources, the second ports are used for being connected with storage resources, and the first switching module is used for controlling the first ports and the second ports corresponding to the switching instructions to be communicated when the switching instructions are received, so that the computing resources access the storage resources according to the current access mode. Optionally, the first control module is configured to generate a first switching instruction based on a first access mode if the current access mode is the first access mode; The first switching module is configured to control, when the first switching instruction is received, the first port and the second port corresponding to the first switching instruction to be communicated, so that any one of the computing resources accesses any one of the storage resources through a plurality of data links. Optionally, the first control module is configured to generate a second switching instruction based on a second access mode if the current access mode is the second access mode; and the first switching module is used for controlling the first port and the second port corresponding to the second switching instruction to be communicated when the second switching instruction is received, so that a plurality of computing resources access any storage resource. Optionally, the storage resource is a dual-port hard disk; The storage resource management system further includes: The second control module is arranged on the same hard disk backboard with the dual-port hard disk, and is used for determining the port state of the dual-port hard disk and processing signals output by the computing resource based on the port state, wherein the port state is a dual-port state or a single-port state. Optionally, the storage resource management system further includes: The second switching module is used for adjusting the port state of the dual-port hard disk; A first clock buffer configured to not output a first clock signal when the port state is the single port state, and output the first clock signal when the port state is the dual port state; and the second clock buffer is used for outputting a second clock signal. Optionally, the second switching module includes a pin header and a jumper, where the pin header is connected to a dual-port enabling end of the dual-port hard disk. Optionally, the storage resource management system further includes: the processing module is used for outputting control signals according to the port state and IFDET signals output by the dual-port hard disk, wherein the control signals comprise a first sub-control signal corresponding to the single-port state and a second sub-control signal corresponding to the dual-port state; The first clock buffer is configured to not output the first clock signal when the first sub-control signal is received, and output the first clock signal when the second sub-control signal is received. Optionally, the processing module includes an or gate, a first input terminal of the or gate is connected to the IFDET signal, a second input terminal of the or gate is connected to a dual-port enable signal, and an output terminal of the or gate is connected to an output enable terminal of the first clock buffer, so as to output the control signal to the firs