# US 2014/0207827 A1 · Method and system for configuring storage device in hybrid storage environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0207827 A1
- Document ID: US20140207827A1
- Status: Published application
- Kind: A1
- Application number: 14/225,205
- Filed: 2014-03-25
- Published: 2014-07-24
- Earliest claimed: 2011-09-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wenlong Huang; Haibin Wei; Shishi Shan; Kun Dai
- Web page: https://patentgrep.com/patent/US20140207827A1

## CPC

- G06F 16/21: Design, administration or maintenance of databases
- G06F 3/061: {Improving I/O performance}
- G06F 3/0625: {Power saving in storage systems}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present invention provides a method and a system for configuring a storage device in a hybrid storage environment. The method includes: acquiring a plurality of attribute parameters of each storage device; performing calculation according to the attribute parameters to obtain a priority of each storage device; acquiring a storage priority of each data object; and performing matching according to the storage priority of each data object and the priority of each storage device, so as to store each data object into a storage device with a priority corresponding to the storage priority of the data object. Accordingly, configuration of a plurality of storage devices and a plurality of data objects in a hybrid storage environment can be implemented, which avoids manual involvement, thereby reducing security risks, improving performance of the system, and reducing energy consumption of the system.

## Claims

### Claim 1

A method for configuring a storage device in a hybrid storage environment, the method comprising:
acquiring a plurality of attribute parameters of each storage device in a plurality of storage devices;
performing calculation according to the attribute parameters to obtain a priority of each storage device;
acquiring a storage priority of each data object; and
performing matching according to the storage priority of each data object and the priority of each storage device, so as to store each data object into a storage device with a priority corresponding to the storage priority of the data object.

### Claim 2 (depends on 1)

The method according to claim 1, after performing matching according to the storage priority of each data object and the priority of each storage device, the method further comprises:
generating storage device configuration information of each data object; and
writing the storage device configuration information of each data object into a configuration file of the data object, so as to store the data object into a storage device configured for the data object.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the attribute parameters comprise at least one of the following: capacity, latency, bandwidth, cost, energy consumption, and size.

### Claim 4 (depends on 3)

The method according to claim 3, wherein performing calculation according to the attribute parameters to obtain a priority of each storage device comprises:
calculating a comprehensive priority score of each storage device according to the following formula (1):
p
=
(
a
1
×
Capacity
+
a
2
×
Bandwidth
)
a
3
×
Latency
+
a
4
×
Cost
+
a
5
×
Energy
+
a
6
×
Size
Formula


(
1
)
wherein a1 to a6 are influencing factors set by a user, each of which is greater than or equal to 0 and less than 1; and
determining the priority of each storage device according to the comprehensive priority score.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the data object is a database object in a database system, and acquiring a storage priority of each data object comprises:
establishing a database object set DO:
DO={TableSpace,Table,Index,Log,TempData}
wherein the database object set DO comprises five types of database objects: table space, table, index, log, and temporary data; and
the storage priority of each database object is set by a user.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the latency parameter of a storage device is acquired by using an active detection mechanism comprising:
performing, actively, random and sequential reading and writing on each storage device for a plurality of times to obtain an access latency of each time; and
calculating an average access latency, which is used as the latency parameter of the storage device, based on the access latency of each time.

### Claim 7 (depends on 2)

The method according to claim 2, wherein by providing a unified abstract interface for different operating systems and different data object types, the plurality of attribute parameters is acquired from each storage device in the plurality of devices and the storage device configuration information of each data object is written into the configuration file of the data object.

### Claim 8

A system for configuring a storage device in a hybrid storage environment, the system comprising:
a device parameter acquisition apparatus, configured to acquire a plurality of attribute parameters of each storage device in a plurality of storage devices;
a device priority calculation apparatus, connected to the device parameter acquisition apparatus, and configured to perform calculation according to the attribute parameters to obtain a priority of each storage device;
an object priority acquisition apparatus, configured to acquire a storage priority of each data object; and
a matching apparatus, connected to the device priority calculation apparatus and the object priority acquisition apparatus, and configured to perform matching according to the storage priority of each data object and the priority of each storage device, so as to store each data object into a storage device with a priority corresponding to the storage priority of the data object.

### Claim 9 (depends on 8)

The system according to claim 8, further comprising:
a configuration information generation apparatus, connected to the matching apparatus, and configured to generate storage device configuration information of each data object; and
a configuration information writing apparatus, connected to the configuration information generation apparatus, and configured to write the storage device configuration information of each data object into a configuration file of the data object, so as to store the data object into a storage device configured for the data object.

### Claim 10 (depends on 8)

The system according to claim 8, wherein the attribute parameters comprise at least one of the following: capacity, latency, bandwidth, cost, energy consumption, and size.

### Claim 11 (depends on 10)

The system according to claim 10, wherein the device priority calculation apparatus is configured to:
calculate a comprehensive priority score of each storage device according to the following formula (1):
p
=
(
a
1
×
Capacity
+
a
2
×
Bandwidth
)
a
3
×
Latency
+
a
4
×
Cost
+
a
5
×
Energy
+
a
6
×
Size
Formula


(
1
)
wherein a1 to a6 are influencing factors set by a user, each of which is greater than or equal to 0 and less than 1; and
determine the priority of each storage device according to the comprehensive priority score.

### Claim 12 (depends on 8)

The system according to claim 8, wherein the data object is a database object in a database system, and the object priority acquisition apparatus is specifically configured to:
establish a database object set DO:
DO={TableSpace,Table,Index,Log,TempData}
wherein the database object set DO comprises five types of database objects: tablespace, table, index, log, and temporary data; and
the storage priority of each database object is set by a user.

### Claim 13 (depends on 10)

The system according to claim 10, wherein the device parameter acquisition apparatus comprises an active detection mechanism, configured to acquire a latency parameter of a storage device, and the active detection mechanism:
perform, actively, random and sequential reading and writing on each storage device for a plurality of times to obtain an access latency of each time; and
calculate an average access latency, which is used as the latency parameter of the storage device, based on the access latency of each time.

### Claim 14 (depends on 9)

The system according to claim 9, further comprising:
a unified abstract interface for different operating systems and different data object types, connected to the device parameter acquisition apparatus and the configuration information writing apparatus, wherein
the device parameter acquisition apparatus is configured to acquire, through the abstract interface, the plurality of attribute parameters from each storage device in the plurality of storage devices, and
the configuration information writing apparatus is configured to write, through the abstract interface, the storage device configuration information of each data object into the configuration file of the data object.

### Claim 15

A distributed system for configuring a storage device in a hybrid storage environment, the distributed system comprising:
a plurality of agents, each agent comprising:
a device parameter acquisition apparatus, configured to acquire a plurality of attribute parameters of each storage device in a plurality of storage devices; and
a centralized configuration server comprising:
a device priority calculation apparatus, connected to each device parameter acquisition apparatus of each agent, and configured to perform calculation according to the attribute parameters to obtain a priority of each storage device;
an object priority acquisition apparatus, configured to acquire a storage priority of each data object; and
a matching apparatus, connected to the device priority calculation apparatus and the object priority acquisition apparatus, and configured to perform matching according to the storage priority of each data object and the priority of each storage device, so as to store each data object into a storage device with a priority corresponding to the storage priority of the data object; and
each agent further comprises:
a configuration information generation apparatus, connected to the matching apparatus, and configured to generate storage device configuration information of each data object; and
a data object storage apparatus, connected to the configuration information generation apparatus, and configured to write the storage device configuration information of each data object into a configuration file of the data object, so as to store the data object into a storage device configured for the data object.
