Hash Collision Detection via Bucket Sorting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The separate chaining hash table method is inefficient for NAND flash memory due to slower reading speeds and resource wastage, especially when collisions occur, leading to reduced memory buffer hit rates and increased storage needs.

Innovation Solution

A method for hash collision detection based on the sorting unit of the bucket, where new records are assigned to a new bucket connected to the pre-aligned existing bucket, maintaining alignment within buckets to prevent additional alignment and improve hash table efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If the separate chaining method is used with buckets sized to the Page unit of NAND flash memory, then the storage space is optimized for flash memory characteristics, but the memory buffer hit rate is reduced and resource waste increases

Engineering Contradiction:
Improvestorage space optimizationVSAvoidmemory buffer hit rate
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent segments the hash table into multiple buckets, where each bucket is a separate data structure that can be independently managed. This segmentation allows the system to optimize for flash memory Page unit characteristics while maintaining efficient buffer utilization by keeping frequently accessed buckets in memory buffer separately

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary alignment of records within each bucket before insertion, pre-organizing data in sorted order. This preliminary action eliminates the need for subsequent sorting operations and ensures optimal buffer hit rates by pre-positioning data for efficient access patterns

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If records are continuously inserted and removed from the hash table, then the hash table remains adaptable to changing data, but maintaining ideal record distribution becomes difficult

Engineering Contradiction:
Improveadaptability to changing record numbersVSAvoidrecord distribution uniformity
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The patent implements dynamic bucket allocation where the number and size of buckets can automatically adjust based on the current number of records. When records are inserted or removed, the system dynamically redistributes records across buckets, maintaining ideal distribution without requiring manual reconfiguration

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of bucket count and size based on the number of records. By monitoring record count and adjusting bucket parameters accordingly, the system maintains optimal record distribution and collision rates even as data is continuously added or removed

Inventive Principle:
Principle #35Parameter changes

3Reliability

If Rehashing is used to reduce collisions when they occur frequently, then collision rate decreases, but the complexity and time consumption increase

Engineering Contradiction:
Improvecollision rateVSAvoidhash table complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary sorting and alignment of records within each bucket before insertion. By pre-organizing records in sorted order and predicting potential collision zones, the system reduces actual collisions without requiring Rehashing, thereby avoiding the complexity and time overhead of rehashing operations

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10628487B2Method for hash collision detection based on the sorting unit of the bucket
Publication Date: 2020.04.21 RES COOPERATION FOUND OF YEUNGNAM UNIV
  • US10628487B2 patent drawing
  • US10628487B2 patent drawing
  • US10628487B2 patent drawing

AI summary

The present disclosure relates to a method for hash collision detection based on the sorting unit of the bucket designed to reduce the future search time by pre-aligning the database in the bucket and to enhance the efficiency in a search within the database. The present disclosure, a method for hash collision detection based on the sorting unit of the bucket using conventional separate chaining method, comprises aligning records in a single bucket of a directory in ascending order or descending order and maintaining the alignment of records in the bucket when new records are added to the directory.