Storage Controller and Duplicated Data Detection Method Using Storage Controller
First Claim
1. A storage controller that comprises a first communications controller for carrying out data communications with a host computer, a second communications controller for carrying out data communications with a storage device, a cache memory that is used in the exchange of data between the first communications controller and the second communications controller, and a controller for controlling the first communications controller, the second communications controller and the cache memory respectively, the storage controller further comprising:
- a determination data setting unit for setting, in respective data, determination data for making a primary determination as to whether or not the respective data matches with other data;
a duplicated data detector, which is for detecting whether or not a plurality of prescribed data is duplicated data, and which comprises a primary determination unit that makes a primary determination as to whether or not the respective prescribed data match with one another by comparing the respective determination data set in the respective prescribed data, and a secondary determination unit that compares the respective prescribed data and makes a secondary determination as to whether or not the respective prescribed data is duplicated data when the primary determination unit makes a primary determination that the respective prescribed data match with one another; and
a duplicated data processor that implements a preconfigured prescribed process for the duplicated data, when a secondary determination is that the respective prescribed data is duplicated data,wherein at least the determination data setting unit and the secondary determination unit are configured as dedicated circuits that are separate from the controller.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage controller of the present invention narrows down the target for data comparison by comparing hash codes beforehand and rapidly detects duplicated data. A hash value setting unit sets a hash code in data received from a host. Hash code-attached data is stored in a logical volume. A microprocessor unit compares the hash codes for each comparison-targeted data. When hash codes match with one another, a data comparator compares the target data, and determines whether or not the data is duplicated data. When duplicated data is detected, the microprocessor unit removes the duplicated data.
117 Citations
9 Claims
-
1. A storage controller that comprises a first communications controller for carrying out data communications with a host computer, a second communications controller for carrying out data communications with a storage device, a cache memory that is used in the exchange of data between the first communications controller and the second communications controller, and a controller for controlling the first communications controller, the second communications controller and the cache memory respectively, the storage controller further comprising:
-
a determination data setting unit for setting, in respective data, determination data for making a primary determination as to whether or not the respective data matches with other data; a duplicated data detector, which is for detecting whether or not a plurality of prescribed data is duplicated data, and which comprises a primary determination unit that makes a primary determination as to whether or not the respective prescribed data match with one another by comparing the respective determination data set in the respective prescribed data, and a secondary determination unit that compares the respective prescribed data and makes a secondary determination as to whether or not the respective prescribed data is duplicated data when the primary determination unit makes a primary determination that the respective prescribed data match with one another; and a duplicated data processor that implements a preconfigured prescribed process for the duplicated data, when a secondary determination is that the respective prescribed data is duplicated data, wherein at least the determination data setting unit and the secondary determination unit are configured as dedicated circuits that are separate from the controller. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for detecting duplicated data by using a storage controller that controls data communications between a host computer and a storage device, comprising the steps of:
-
using a dedicated circuit to set, in respective data, determination data for making a primary determination as to whether or not the respective data matches other data; transferring to and storing in cache memory a plurality of prescribed data targeted for comparison; making a primary determination by comparing whether or not respective determination data created for the respective prescribed data match with one another; making a secondary determination as to whether or not the respective prescribed data is duplicated data by inputting the respective prescribed data into a comparison circuit and making a comparison thereof when the primary determination is that the determination data match with one another; and implementing a preconfigured prescribed process for either any one or all of the respective prescribed data when the secondary determination is that the respective prescribed data is the duplicated data.
-
Specification