Re-encryption Strategy for Encrypted Database Joins

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing encrypted databases face inefficiencies in dynamically adjusting encryption during join operations, leading to an infinite number of re-encryptions and sub-optimal performance, as naive approaches fail to efficiently select columns for re-encryption under varying query schedules.

Innovation Solution

The method involves determining the ranks of encryption keys associated with columns to be joined, selecting the column with the lower rank for re-encryption, updating the ranks, and deleting keys when necessary, ensuring that re-encryption is performed optimally with a bound of at most O(n3/2) re-encryptions for n columns, and enhancing this by considering cluster keys and non-uniform costs to minimize re-encryption costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If naive approaches to column selection are used for re-encryption, then the database can perform join operations on encrypted data, but the number of re-encryptions becomes infinite and performance deteriorates

Engineering Contradiction:
Improveability to perform join operations on encrypted dataVSAvoidnumber of re-encryptions
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent introduces a ranking parameter for encryption keys and changes the re-encryption strategy based on rank comparisons. Instead of arbitrary column selection, the system selects columns for re-encryption based on their key ranks, ensuring that each re-encryption operation reduces the total rank sum by a guaranteed amount, thereby bounding the total number of re-encryptions.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system maintains and updates rank values for each encryption key, using this feedback information to make informed decisions about which columns to re-encrypt. The rank metric provides continuous feedback on the state of encryption keys, guiding the selection process to avoid infinite re-encryptions.

Inventive Principle:
Principle #23Feedback

2Reliability

If the database dynamically adjusts encryption by re-encrypting columns during join operations, then security is maintained against cryptanalysis, but the complexity of key management increases

Engineering Contradiction:
Improvesecurity against cryptanalysisVSAvoidkey management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary ranking system that mediates between the encryption keys and the join operations. Rather than directly managing complex key relationships, the system uses ranks as an intermediary metric to guide re-encryption decisions, simplifying key management while maintaining security.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system transforms the key management problem into a parameter-based problem by assigning and manipulating rank values. This parameter change approach converts complex key relationship management into simpler numerical comparisons and updates, reducing management complexity while preserving security properties.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If multiple columns are re-encrypted to enable join operations, then the join functionality is achieved, but the cost of re-encryption operations increases

Engineering Contradiction:
Improvejoin operation functionalityVSAvoidre-encryption cost
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The patent introduces a cost parameter for each column re-encryption operation and uses rank differences to bound the total cost. By selecting columns for re-encryption based on rank comparisons rather than arbitrary selection, the system guarantees that each operation contributes to reducing the total cost, achieving join functionality with bounded re-encryption expenses.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9607161B2Optimal re-encryption strategy for joins in encrypted databases
Publication Date: 2017.03.28 SAP SE
  • US9607161B2 patent drawing
  • US9607161B2 patent drawing
  • US9607161B2 patent drawing

AI summary

Methods, systems, and computer-readable storage media for selecting columns for re-encryption in join operations. In some implementations, actions include determining a first column and a second column to be joined, receiving a first key corresponding to the first column and a second key corresponding to the second column, receiving a first rank associated with the first key and a second rank associated with the second key, selecting the second column for re-encryption based on the first rank and the second rank, and providing the first column, the second column, and the first key for performing a join operation, the second column being re-encrypted based on the first key.