Namespace-Based Compression Control for Encrypted Memory Writes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face challenges in effectively utilizing storage space and protecting user data, particularly in non-volatile memory systems like SSDs, due to inefficiencies in data compression and encryption methods that can compromise security and performance.

Innovation Solution

A memory system with a controller that manages namespaces, compresses data using lossless algorithms, encrypts using namespace-specific encryption keys, and ensures that data items requiring different encryption keys are compressed in separate units, thereby maintaining security and enhancing compression efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data compression is performed using a fixed compression unit, then compression efficiency is improved, but encryption key switching may occur within the compression unit causing security issues

Engineering Contradiction:
Improvecompression efficiencyVSAvoidencryption security
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The compression unit is segmented into multiple sub-compression units, each corresponding to a specific encryption key. This segmentation ensures that data encrypted with different keys is compressed separately, preventing key switching within a compression unit while maintaining compression efficiency through parallel processing of multiple sub-units.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The compression unit size is made dynamic and adjustable based on the number of encryption keys and data characteristics. The system can adaptively determine the optimal compression unit size to balance compression efficiency with encryption security requirements, allowing the compression unit to expand or contract based on runtime conditions.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If the compression unit is increased to improve compression efficiency, then storage space utilization is improved, but the complexity of managing encryption key switching increases

Engineering Contradiction:
Improvestorage space utilizationVSAvoidencryption key management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The system segments the compression process into sub-compression units tied to specific encryption keys, simplifying key management by ensuring each segment uses only its associated key. This segmentation reduces the complexity of tracking and managing key switches across large compression units.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An intermediary component (compression unit determination circuit) is introduced to automatically determine and manage the compression unit size based on encryption key information. This intermediary handles the complexity of key management internally, presenting a simplified interface to the rest of the system while optimizing storage space utilization.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If multiple encryption keys are used for different namespaces, then data security is improved, but compression efficiency decreases due to separate compression for each key

Engineering Contradiction:
Improvedata securityVSAvoidcompression efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

Multiple sub-compression units processing different encryption keys are merged into a unified compression framework that operates in parallel. This merging allows the system to maintain separate compression streams for security while achieving overall compression efficiency through coordinated parallel processing and shared resources.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The compression unit determination circuit is designed with multi-functionality to handle both security requirements (determining compression units based on encryption keys) and efficiency requirements (optimizing compression ratios). This universal component performs multiple functions including key-based segmentation, compression unit sizing, and coordination of parallel compression operations.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12602492B2Memory system and control method
Publication Date: 2026.04.14 KIOXIA CORP
  • US12602492B2 patent drawing
  • US12602492B2 patent drawing
  • US12602492B2 patent drawing

AI summary

A controller of a memory system includes circuitry that generates a first compression unit that is calculated based on first namespace setting information indicating setting of a write-destination namespace, and corresponds to the write-destination namespace. The first compression unit has a size satisfying a constraint that an encryption key for encrypting data to be written into the write-destination namespace is not switched in the first compression unit.