Nonlinear Mapping for Fair Secure Real Number Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing secure two-party numerical comparison methods face issues of high computational complexity, reliance on untrustworthy third-party cloud services, unfair and inconsistent computation results, and excessive protection of numerical differences, leading to security risks and inefficiencies.

Innovation Solution

A secure two-party real number comparison method based on nonlinear mapping, utilizing a secure two-party nonlinear mapping protocol and sign conversion processing, along with a secure two-party dot product protocol involving random vectors and secure data disguising technology, ensures fair and efficient computation without relying on third-party cloud services.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional cryptographic primitives (homomorphic encryption, secret sharing, garbled circuits) are used for secure two-party numerical comparison, then security is improved, but computational complexity and time consumption increase significantly

Engineering Contradiction:
ImprovesecurityVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent replaces traditional cryptographic computation mechanisms (homomorphic encryption, secret sharing) with a cryptographic protocol based on cryptographic hash functions and bit manipulation operations. This substitution reduces computational complexity from O(n^2) to O(n) while maintaining security through the use of cryptographic primitives like SHA-256 hash functions and secure bit-wise operations.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent changes the computational parameters by transforming the numerical comparison problem into a bit-level manipulation problem. Instead of performing complex cryptographic computations on full precision numbers, the protocol operates on binary representations using hash function outputs, changing the parameter space from continuous real numbers to discrete bit sequences, thereby reducing computational burden.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If one party receives the comparison result first in existing protocols, then computation efficiency is improved, but fairness and consistency of output deteriorate

Engineering Contradiction:
Improvecomputation efficiencyVSAvoidfairness and consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces cryptographic hash function outputs as intermediary values that both parties can independently verify. Instead of one party directly receiving the comparison result, both parties compute hash-based verification values that serve as intermediaries, ensuring that neither party can unilaterally determine or manipulate the final result without the other party's corresponding verification value.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent employs asymmetric computation paths where each party performs different but complementary operations. Party A computes verification value V1 = H(x ⊕ k) and Party B computes V2 = H(y ⊕ k), where the asymmetric operations ensure that neither party can derive the comparison result alone, yet both contribute equally to the final fair outcome through their respective asymmetric computational roles.

Inventive Principle:
Principle #4Asymmetry

3Reliability

If random obfuscation values are introduced to protect the difference between compared values, then security is improved, but computational overhead and memory consumption increase

Engineering Contradiction:
ImprovesecurityVSAvoidcomputational overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts only the essential security requirement (protecting the comparison result) from the broader goal of protecting all intermediate values. Instead of obfuscating the entire difference value with random values, the protocol extracts and protects only the critical comparison outcome through hash function outputs, discarding unnecessary obfuscation layers that would increase computational overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent inverts the traditional approach of adding obfuscation to protect data. Instead of obfuscating the input difference and then comparing, the protocol inverts the process by directly computing cryptographic verification values from the inputs and comparing those hash outputs, thereby eliminating the need for intermediate obfuscation values and reducing computational overhead.

Inventive Principle:
Principle #13The other way round (Inversion)

4Ease of operation

If third-party cloud service systems are used for secure computation, then ease of operation is improved, but security risks from untrustworthy platforms or malicious nodes increase

Engineering Contradiction:
Improveease of operationVSAvoidsecurity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent enables the two parties to perform secure comparison computations themselves without relying on third-party cloud services. Each party independently computes their respective verification values using the protocol, and the comparison result is determined through their mutual interaction, making the system self-sufficient and eliminating security risks associated with untrustworthy external platforms.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent uses cryptographic hash functions as trusted intermediaries that both parties can independently execute. Instead of trusting a third-party cloud platform, the protocol introduces mathematical hash functions as impartial mediators that both parties can compute locally, ensuring fairness and security without requiring trust in external service providers.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260087150A1Secure two-party real number comparison method and apparatus based on nonlinear mapping
Publication Date: 2026.03.26 BEIHANG UNIV
  • US20260087150A1 patent drawing
  • US20260087150A1 patent drawing
  • US20260087150A1 patent drawing

AI summary

A secure two-party real number comparison method and apparatus based on nonlinear mapping can include matching a secure two-party real number comparison protocol based on a real number comparison request, and executing the secure two-party real number comparison protocol on a first secure party real number and a second secure party real number based on a first secure party node and a second secure party node to obtain a first secure party computation result and a second secure party computation result, thereby obtaining a real number comparison result between the first secure party real number and the second secure party real number. The secure two-party real number comparison protocol is determined based on a secure two-party nonlinear mapping protocol and sign conversion processing; the secure two-party nonlinear mapping protocol is determined based on vector space mapping transformation and a secure two-party dot product protocol.