RAID6 Stripe Index Calculation via Parity Block Offset

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The conventional method for calculating the stripe location in RAID6 is cumbersome, requiring guesswork and verification, which complicates the process and slows down storage operations.

Innovation Solution

A method and system that calculate the pack offset and address of a parity block, then compare these to determine if it is on a to-be-checked strip, allowing direct calculation of the stripe index considering redundant elements, thereby simplifying the process and improving calculation speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the conventional method for calculating stripe location in RAID6 is used, then the calculation can be performed, but the process is cumbersome and slow due to requiring guesswork and verification

Engineering Contradiction:
Improvecalculation speedVSAvoidcalculation process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent calculates the parity block's strip address in advance using the formula involving disk index and pack offset. By determining the parity block location beforehand and storing it, the system eliminates the need for guesswork and verification during stripe index calculation, directly computing the result through comparison with the pre-calculated parity block address

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts the parity block calculation from the general stripe index calculation process. By separately calculating and storing the parity block's strip address independently, the system can then quickly determine whether a given strip address corresponds to a parity block without going through the complex conventional guesswork process

Inventive Principle:
Principle #2Taking out (Extraction)

2Productivity

If the conventional method is used, then stripe index can be calculated, but reading and writing efficiency is reduced due to the cumbersome process

Engineering Contradiction:
Improvereading and writing efficiencyVSAvoidcalculation time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

By pre-calculating and storing the parity block's strip address, the system prepares the necessary information in advance. During actual read/write operations, the system only needs to compare the given strip address with the pre-stored parity block address and compute the stripe index directly, significantly reducing calculation time and improving storage operation efficiency

Inventive Principle:
Principle #10Preliminary action

3Productivity

If direct calculation method is used, then calculation speed is improved, but accuracy may be compromised without considering redundant elements

Engineering Contradiction:
Improvecalculation speedVSAvoidstripe index calculation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent uses a feedback mechanism by comparing the given strip address with the pre-calculated parity block strip address. Based on this comparison result, the system determines whether to apply the direct calculation formula or to use the formula that accounts for redundant elements caused by parity blocks, ensuring both speed and accuracy

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent changes the calculation approach based on the parameter of whether the strip address corresponds to a parity block location. When the addresses match, the system uses a modified formula that accounts for redundant elements; when they don't match, the system uses the direct calculation formula, thus adapting the calculation method to the specific case

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11893246B2Method for calculating index of stripe where strip is located for disk, terminal and storage medium
Publication Date: 2024.02.06 INSPUR SUZHOU INTELLIGENT TECH CO LTD
  • US11893246B2 patent drawing
  • US11893246B2 patent drawing

AI summary

The present application provides a method and a system for calculating a stripe of a strip for a disk, a terminal and a storage medium. The method includes: calculating a pack offset of a parity block according to a given disk index; calculating an address of a strip where the parity block is located in the disk according to the pack offset; comparing an address of a to-be-checked strip with the address of the strip where the parity block is located in the disk to determine whether the parity block is on the to-be-checked strip; and calculating a stripe index of the to-be-checked strip by considering redundant elements caused by the parity block in response to determining that the parity block is on the to-be-checked strip; or calculating the stripe index of the to-be-checked strip directly in response to determining that the parity block is not on the to-be-checked strip.